Denoising Diffusion Probabilistic Models (DDPM)
Jonathan Ho, Ajay Jain, Pieter Abbeel
Read the Paper on arXivDenoising Diffusion Probabilistic Models (DDPMs) are generative models that learn to produce images by reversing a gradual noising process. The core idea: define a forward process that progressively destroys data by adding Gaussian noise over steps until the image becomes pure noise, then train a neural network to learn the reverse process — denoising one step at a time, gradually transforming noise back into coherent images.
Why diffusion models won: Unlike GANs (adversarial training → mode collapse, training instability) and VAEs (evidence lower bound → blurry outputs), DDPMs optimize a simple mean squared error loss between predicted and actual noise: . This loss is stable, well-behaved, and doesn't require adversarial dynamics or carefully balanced architectures.
Key results from the DDPM paper (Ho et al., 2020):
DDPMs form the foundation of virtually all modern image generation systems: Stable Diffusion (Latent Diffusion + CLIP conditioning), DALL-E 2 (CLIP + diffusion prior + decoder), Midjourney, Imagen (T5 text encoder + cascaded diffusion), and Sora (video diffusion). The architecture has extended to audio (AudioLDM), 3D (DreamFusion), video (Stable Video Diffusion), and molecular design (DiffDock).
Click any topic to jump in
Gaussian noise schedule that lets you jump to any timestep in closed form — $x_t = \sqrt{\bar\alpha_t} x_0 + \sqrt{1-\bar\alpha_t} \epsilon$.
Train a noise predictor with MSE; sample by iteratively subtracting predicted noise from $x_T$ to $x_0$.
Linear vs cosine $\beta_t$ — the ramp shape controls where training signal is spent, and cosine wins on FID.
U-Net with time-conditioned FiLM layers and self-attention at low resolutions — the workhorse of modern diffusion.
Non-Markovian deterministic sampler — 20× fewer steps and invertible latent interpolation.
Extrapolate in the direction that conditioning changes the prediction — no extra classifier needed, just one net.
Run diffusion in a VAE latent space ($64\times$ smaller) — 48× less compute, same perceptual quality.
Upgrade to PixelBank Premium to unlock this content.