Denoising Diffusion Probabilistic Models (DDPM)
Diffusion2020 · UC Berkeley (Ho et al.)Iterative Gaussian score denoising reversing a Markov corruption chain
Intuition & Key Idea
ELI5 GuideWhy this model was invented and how it transforms generation
"Gradually turns static television noise into a crystal-clear photorealistic image by learning to subtract tiny amounts of noise step-by-step."
A sculptor carving a statue: starting with a rough, amorphous block of marble and chipping away tiny flakes layer-by-layer until a smooth sculpture appears.
No adversarial collapse; predicts added Gaussian noise directly.
Captures rare corners of image distributions without mode dropping.
Progressively denoises from pure Gaussian white noise to clean pixels.
Predicts noise vector ε_θ(x_t, t) conditioned on timestep t.
1. Sample Pure Gaussian White Noise x_T
Draw initial state x_T ~ 𝒩(0, I) from standard normal distribution. At this point, the canvas contains zero discernible structural signal.
The generator begins completely unconstrained in the high-dimensional noise space.
Starting from random Gaussian white noise, the neural network predicts and subtracts the noise component over iterative steps.
GPU Memory Hierarchy & HBM Traffic for this Step
HBM ↔ SRAM on-chipWeights are loaded from High-Bandwidth Memory (HBM) into Streaming Multiprocessor (SM) registers and SRAM cache for computation.
Active Tensor Dimensions & Memory Shapes
Overcame the training instability and mode collapse of GANs, serving as the foundational mathematical engine behind Stable Diffusion, Midjourney, and DALL-E 2/3.
Training Objective:Simplified L_simple MSE Loss: 𝔼_{t, x_0, ε}[ ||ε - ε_θ(x_t, t)||^2 ]
Inference Bottleneck:O(K) full-image U-Net forward passes (typically 20–1000 steps)
Foundational & Breakthrough Papers for Denoising Diffusion Probabilistic Models (DDPM)
Denoising Diffusion Probabilistic Models
Jonathan Ho, Ajay Jain, Pieter Abbeel (UC Berkeley)
High-Resolution Image Synthesis with Latent Diffusion Models
Rombach et al. (LMU Munich / Runway)
Scalable Diffusion Models with Transformers (DiT)
Peebles & Xie (UC Berkeley / NYU)