Reading preferences
Concept

Four Ways to Generate

Build intuition for autoregressive, variational, adversarial, and diffusion models.

generative ai, diffusion, autoregression, vae, gan

Different recipes

Imagine making a picture or a sentence. An autoregressive model builds a sequence piece by piece. A variational autoencoder (VAE) learns a probabilistic compressed representation, then decodes samples from that space. A generative adversarial network (GAN) trains a generator against a discriminator that tries to distinguish real and generated examples. These are model families, not guaranteed quality levels.

A noisy picture, step by step

  1. Start with a noisy image-like pattern.
  2. A diffusion model applies a learned denoising step, guided by its conditioning when present.
  3. Further steps yield a clearer sample. The example is conceptual: the number of steps and exact method vary by model.

See the reasoning

Denoise an illustrative sample

Follow a conceptual diffusion process. This is a prepared demonstration, not live code execution.

Start with noise

States are descriptions, not generated images
  1. SampleNoisy patternCurrent focus
  2. DenoisingNot started

Generation begins with noise in this simplified example.

Where the analogy stops

Diffusion training commonly corrupts data with noise and learns to reverse that process. VAE training balances reconstruction with a regularising probabilistic objective; GAN training can be unstable and miss parts of the data distribution. Generated material can be misleading or resemble training data. Evaluate quality, diversity, privacy and permissions rather than assuming a family is safe.

Reflect on the concept

Four fixed questions to reinforce the reasoning. Answers are not saved or scored.

1. How does an autoregressive text model commonly generate?
2. What is a latent representation in a VAE?
3. What two components interact in a GAN?
4. What is a simple intuition for diffusion generation?

References and further reading