Paper Breakdowns  /  Diffusion Models
Paper 13~7 min readHo et al. · 2020
Paper Breakdown

Diffusion Models,
explained.

Imagine filming a photograph slowly dissolving into TV static, then playing the film backwards — order emerging from noise, an image assembling itself out of chaos. Teach a neural network to run that film in reverse and it can paint pictures that never existed. That's the idea behind Stable Diffusion, DALL·E, and Midjourney.

Video breakdown
The animated walkthrough is in production.
Read the full breakdown below in the meantime ↓
01

The generation problem

Generating a realistic image is fantastically hard — a million pixels that all have to agree with each other to look like a face, a street, a cat. Before diffusion, the leading approach was GANs, which pit a forger network against a detective network. Powerful, but notoriously unstable to train and prone to producing a narrow range of outputs.

Diffusion took a completely different, almost sneaky route: instead of learning to build an image in one shot, learn to clean up a messy one — a task that's far easier to train.

02

The forward process: dissolve into static

Start with a real image. Add a tiny bit of random Gaussian noise. Repeat, hundreds of times, each step nudging the picture a little further toward chaos, until nothing remains but pure television static. This is the forward process — and crucially, it's fixed and requires no learning at all. It's just a controlled way of destroying an image.

Forward: image → noise (fixed)  ·  Reverse: noise → image (learned)
clean
noisy
noisier
static
the network learns to walk this arrow backwards, one step at a time

Why deliberately wreck a perfectly good image? Because every noised copy is a free training example: the noisy version, paired with the exact noise that was added.

03

The reverse process: learn to denoise

Now the learning. A neural network is trained on one deceptively simple task: given a noisy image, predict the noise that was added. If it can spot the noise, it can subtract it and step back toward a cleaner picture.

The training objective is just a regression — a stable, well-behaved "predict this value" loss, nothing like the adversarial tug-of-war of GANs. That stability is a big part of why diffusion worked so well.

Worth knowing

The whole model reduces to one repeated question: "how much noise is in this picture, and what does it look like?" Answer that well enough, thousands of times, and images fall out.

04

Painting from noise

To generate a brand-new image, you don't start from a photo — you start from a canvas of pure random noise. Then you run the trained network over and over: it estimates the noise, removes a little, and a slightly clearer image appears. Step by step, over hundreds of iterations, coherent structure emerges from static — like a sculptor chipping a figure out of marble, except the marble is noise.

For text-to-image, the denoising is steered by a text prompt, so the picture that assembles itself matches your words. That steering is where a model like CLIP comes in — connecting language to the image being formed.

05

Why it won

DDPM produced image quality rivaling and soon surpassing the best GANs, with a training process that was stable, simple, and covered the full diversity of the data instead of collapsing to a few looks. It traded GANs' fragility for a calm regression objective — and quickly became the dominant approach to image generation.

TrainingDiversityStability
GANsAdversarial (2 networks)Can collapseFragile
Diffusion (DDPM)Predict the noise (regression)HighStable
06

Why it still matters

Every major image generator is a diffusion model. Stable Diffusion runs the process in a compressed latent space for speed; DALL·E and Midjourney use related diffusion techniques; the approach has since spread to audio, video, and even molecule and protein design. The 2020 DDPM paper is the clean formulation they all build on.

Its enduring lesson is a beautiful piece of lateral thinking: a problem too hard to solve in one leap (make an image) became easy when reframed as a tiny, repeatable step (remove a little noise). Break the impossible into a thousand possible steps, and run them backwards.

Frequently asked

Quick answers

What is a diffusion model?

A generative model that makes images by learning to reverse a noising process — add noise to real images in training, then denoise from pure noise at generation. The basis of Stable Diffusion, DALL·E, and Midjourney.

Forward vs reverse process?

Forward is fixed: repeatedly add Gaussian noise to an image until it's static. Reverse is learned: a network predicts and removes noise step by step to recover a clean image.

How does it generate an image?

Start from pure random noise and apply the trained denoiser many times, each step revealing a clearer picture — steered by a text prompt for text-to-image.

Why better than GANs?

GANs are unstable and can collapse to limited variety. Diffusion trains with a simple, stable regression loss and covers the data's diversity well.

Link to Stable Diffusion / DALL·E?

They're diffusion models — Stable Diffusion works in a compressed latent space with text conditioning; all inherit the DDPM forward-noising, learned-reverse-denoising idea.

Finished this one? 0 / 30 Paper Breakdowns done

Explore the topic

See this alongside everything else on the same subject — handbooks, system designs, challenges and tools, in one place.

More Paper Breakdowns