Improved DDPM: Improved Denoising Diffusion Probabilistic Models
Let a diffusion model learn the noise variance of each denoising step and switch to a cosine noise schedule to match top log-likelihood models and generate images in 50 to 100 steps.
Ho et al.'s 2020 diffusion model drew detailed images, yet scored poorly on log-likelihood and needed a thousand sequential network passes per sample. Nichol and Dhariwal show that three targeted changes fix both problems at once.
Explaining the paperImproved Denoising Diffusion Probabilistic ModelsIn June 2020, Denoising Diffusion Probabilistic Models (DDPM) generated CIFAR-10 images (a standard benchmark of 50,000 tiny 32×32 color photos across 10 object classes) with a Fréchet Inception Distance (FID, an image-quality score comparing generated and real feature distributions where lower is better) of 3.17, matching strong generative adversarial networks (GANs). Two doubts kept practitioners skeptical. First, DDPM scored 3.70 bits per dimension (bits/dim, a compression-style negative log-likelihood metric where lower is better: a score of 3.5 bits/dim means a lossless compressor built from the model could store each 8-bit RGB channel value in 3.5 bits on average) on CIFAR-10, well behind autoregressive pixel models at 2.80 to 2.90 and hierarchical variational autoencoders (VAEs) at 2.87 to 2.91. Poor log-likelihood raised a worry that diffusion models might be dropping modes of the data distribution just as GANs do. Second, generating a single batch required 1,000 sequential calls to a convolutional network, taking minutes on a GPU.
Nichol and Dhariwal (2021) trace both defects to shortcuts in the 2020 recipe: fixing the reverse step variance to a constant, using a linear noise schedule that destroys low-resolution images too early, and drawing timesteps at random during variational training. Repairing those three choices closes the likelihood gap (2.94 bits/dim on CIFAR-10 and 3.53 on ImageNet 64×64, a 1,000-class dataset of 1.28 million natural images), and learning the reverse variance also lets the same trained network skip 95% of its sampling steps and produce comparable images in 50 to 100 forward passes.
The DDPM baseline and its likelihood gap
A diffusion model, introduced by Sohl-Dickstein et al. (2015) and simplified by Ho et al. (2020), defines a fixed forward process that corrupts an original image over steps by scaling the signal down slightly and adding isotropic Gaussian noise of variance at each step :
Because each step is linear plus independent Gaussian noise, training does not need sequential loops to produce . Setting and (with ) collapses all transitions into one closed-form draw from :
In (2), is the fraction of original image variance still surviving at step , and is the variance of the accumulated noise. When , the final latent is indistinguishable from standard normal noise . To generate a new image, the model learns a reverse Gaussian transition with mean and covariance that steps backward from to .
Evaluating the exact probability would require integrating over every possible path . Just like a VAE, a diffusion model instead bounds the negative log-likelihood (NLL, lower is better) using the variational lower bound (VLB, written with the sign flipped so minimizing maximizes likelihood):
In (3), equals and scores how well the final Gaussian lands in the true 8-bit color bin: an integer channel value from 0 to 255 maps to in with bin width (about 0.00784), and integrates over that bin using the Gaussian cumulative distribution function (then divides nats by , where is 12,288 on ImageNet 64×64, to get bits/dim). Each middle term is a Kullback-Leibler (KL) divergence (a non-negative measure of mismatch between two distributions, zero only when they match) comparing the learned step against the exact reverse posterior conditioned on the known training image . The final term is the KL divergence between and ; it has no learnable parameters and sits near zero whenever .
By Bayes' rule, the conditioning posterior is itself a Gaussian with closed-form variance and mean :
In (4), is a weighted average of the target image and the current noisy image , while is always smaller than (because , making the fraction less than 1). Ho et al. (2020) solved (2) for and substituted it into (4) so the neural network predicts the added noise instead of predicting directly:
Ho et al. then replaced the KL sum in (3) with an unweighted mean-squared error on the noise, linking it to denoising score matching:
On ImageNet 64×64, this DDPM baseline (, linear schedule, , fixed variance ) reaches an NLL of 3.99 bits/dim and an FID of 32.5 after 200,000 training steps. Raising from 1,000 to 4,000 (scaling the linear endpoints down by 4× so keeps the same shape) drops NLL from 3.99 to 3.77 bits/dim and FID from 32.5 to 31.3, because finer steps make each reverse transition closer to a Gaussian. Even 3.77 bits/dim still trails autoregressive models (3.43 to 3.57) and normalizing-flow models like Flow++ (3.69).
How Improved DDPM learns the reverse variance
Equation (6) contains no , so training on gives zero gradient to the reverse variance. Ho et al. fixed to isotropic , setting to either or , and observed that both choices produced almost identical FID. Those two constants are the exact theoretical bounds for any data distribution: is exact if is a standard Gaussian , while is exact if is a single point mass (a Dirac delta), so any real image distribution has its true reverse variance between them.
Why did picking two opposite extremes barely change DDPM's sample quality, while still damaging log-likelihood? From (4), the ratio equals . At on the cosine schedule, is 0.49 at step 2, climbs past 0.97 by step 50, and reaches 0.9992 by step 2,000. Across 98% of the chain, the two endpoints are within 3% of each other, so the predicted mean governs almost the entire trajectory. Near , however, two things happen simultaneously: and pull apart, and the first few terms contribute the majority of the total VLB (3).
To train a diagonal variance without the instability Ho et al. saw when predicting raw log-variances directly, Nichol and Dhariwal parameterize the variance as a log-domain interpolation between the two bounds. Only the final 3×3 convolution of the U-Net changes, doubling its output from 3 RGB channels to 6: 3 for and 3 for an unconstrained interpolation vector (one scalar per pixel and channel):
Predicting rather than avoids a severe numerical scaling problem: across 4,000 steps, spans five orders of magnitude (from at step 1 to at step 4,000), whereas stays near order 1 at every step. Setting recovers and recovers ; in the released PyTorch code, the authors map so spans the interval and zero-initialized weights start at the geometric mean , while at (where would make ) the code substitutes inside the logarithm.
Because does not depend on , the authors pair it with a small weight on the variational bound:
Why set instead of 1, and why add a stop-gradient? On a 64×64 image, a single step's KL term near can be orders of magnitude larger than the unit-scale noise MSE in (6), so without down-weighting , its gradients would overwrite the mean updates that give strong sample quality. Nichol and Dhariwal therefore detach (and thus ) before passing it into . In one training step on a batch of images of shape , the U-Net runs once (with timesteps rescaled by so the sinusoidal embedding stays on Ho et al.'s 0 to 1,000 range) and emits a tensor of shape ; both halves share the entire U-Net backbone, while the first 3 channels receive gradients exclusively from and the last 3 receive gradients exclusively from . Because each training step evaluates at a single uniformly sampled timestep, multiplying that term by estimates the -term sum in (3), and applying produces the factor in the code below. At evaluation time, every reported NLL is computed from the exact full sum (3), not from .
# One training step of L_hybrid (equations (7) and (8), B images at 64x64)
x0 = next_batch() # [B, 3, 64, 64] in [-1, 1]
t = randint(0, T, size=(B,)) # [B], uniform in {0..T-1}
eps = randn_like(x0) # [B, 3, 64, 64]
xt = sqrt_abar[t] * x0 + sqrt_1m_abar[t] * eps # [B, 3, 64, 64], eq (2)
out = unet(xt, t * (1000.0 / T)) # [B, 6, 64, 64]
eps_hat, v = out.split(3, dim=1) # each [B, 3, 64, 64]
# Interpolate log-variance between beta_tilde and beta, eq (7) (code maps [-1,1])
frac = (v + 1.0) / 2.0 # [B, 3, 64, 64]
log_var = frac * log_beta[t] + (1 - frac) * log_bt_clip[t]
# Stop-gradient on eps_hat so L_vlb trains v without disturbing the mean
l_simple = ((eps - eps_hat) ** 2).mean(dim=(1, 2, 3)) # [B], eq (6)
l_vlb = vb_term_bpd(x0, xt, t, eps_hat.detach(), log_var) # [B], one L_t in bpd
loss = (l_simple + (T / 1000.0) * l_vlb).mean() # eq (8): lam * T * L_tAt on the linear schedule, switching from to lowers ImageNet 64×64 NLL from 3.77 to 3.66 bits/dim (with FID 32.2 vs. 31.3) and CIFAR-10 NLL from 3.37 to 3.26 bits/dim (with FID 3.07 vs. 2.90).
The cosine noise schedule
Inspecting intermediate noised images on 64×64 and 32×32 datasets revealed a second bottleneck in Ho et al.'s linear schedule ( rising linearly from to at , or scaled by at ). Under that linear ramp, plunges to 0.079 by the halfway mark () and to 0.0034 by three quarters of the way through (). At 80% of the schedule, , so the original pixel amplitude is buried under noise of standard deviation 0.999. When Nichol and Dhariwal skipped the first 20% of reverse steps (starting from instead of ) on a model trained with the linear schedule, FID on ImageNet 64×64 barely budged.
Rather than choosing directly and letting the cumulative product fall wherever it lands, the authors define directly with a squared cosine curve and derive from consecutive ratios:
Three design choices shape (9). First, falls nearly linearly through the middle of the process (at , instead of 0.079; at , instead of 0.0034), while curving gently at both ends so the noise level never jumps abruptly. Second, clipping prevents division-by-zero singularities at where . Third, the small offset prevents from vanishing at : if , the cosine derivative is zero at , producing a tiny initial noise step where predicting is numerically ill-conditioned. The authors pick so that the first step's noise standard deviation (0.0064 at , 0.0031 at ) stays just below one 8-bit pixel bin width .
Replacing the linear schedule with the cosine schedule at improves both metrics at once. On ImageNet 64×64 (200K iterations, ), NLL drops from 3.77 to 3.68 bits/dim and FID drops from 31.3 to 27.0. Combined with , NLL reaches 3.62 bits/dim (FID 28.0) at 200K iterations and 3.57 bits/dim (FID 19.2) at 1.5M iterations.
The cosine schedule is not universally superior. On CIFAR-10 at fixed dropout 0.1 (Appendix F), cosine models reach their best FID earlier and then overfit faster than linear models, so the authors raise dropout to 0.3 for cosine runs on CIFAR-10. At higher resolution (256×256 ImageNet in Appendix C and LSUN bedrooms in Appendix B), the linear schedule still performs better because adjacent pixels in a 256×256 image carry far more redundancy than in a 32×32 or 64×64 image and tolerate faster early corruption.
Gradient noise and importance sampling
With learned variances and the cosine schedule in place, training directly on ought to achieve a lower NLL than training on . On ImageNet 64×64, the opposite happened first: a model optimizing directly with random equal-probability timesteps stalled at a worse training NLL than the model trained for the same number of iterations.
To diagnose why, Nichol and Dhariwal measured the gradient noise scale from McCandlish et al. (2018), defined as the ratio of per-example gradient variance to squared mean gradient norm (a measure of how large a batch size is needed before gradient signal outweighs sampling noise). Uniformly sampled had a gradient noise scale orders of magnitude higher than . The mechanism comes straight from Figure 1: the terms span more than two orders of magnitude in size. When a mini-batch of 128 images draws with equal odds from 4,000 steps, most batches contain zero draws from and produce small gradients; an occasional batch hits and spikes the gradient by a huge factor.
To cut that Monte Carlo variance without biasing the expected objective, the authors replace equal-probability timestep sampling with importance sampling: draw from a proposal distribution that visits high-magnitude timesteps more often, and divide each sampled term by so the expectation stays equal to the full sum of expected terms across all steps:
Why the square root of the second moment rather than ? The estimator has second moment equal to the sum of over . By the Cauchy-Schwarz inequality, minimizing that weighted sum subject to probabilities summing to 1 sets proportional to , giving the unique zero-bias proposal with minimum estimator variance. Because shifts as training progresses, the sampler keeps a rolling ring buffer of the 10 most recent loss values for every from 0 to (sampling equally across all steps until every bin has 10 entries, at least 313 steps at and ). In the released code (resample.py), is also mixed with a 0.001 uniform floor so no timestep probability can collapse to zero.
Importance sampling turns direct training into a competitive likelihood model: on CIFAR-10 it reaches 2.94 bits/dim (beating DDPM's 3.70, Glow's 3.35, PixelCNN's 3.14, Flow++'s 3.08, and the continuous-time flow of Song et al. (2020b) at 2.99), and on ImageNet 64×64 at 1.5M iterations it reaches 3.53 bits/dim (matching Subscale Pixel Network (SPN), Very Deep VAE, and PixelSNAIL at 3.52, behind Sparse Transformer at 3.44 and Routing Transformer at 3.43). Importance sampling does not help , whose term already has uniform scale across .
Direct optimization comes with a steep visual penalty: FID degrades from 3.19 to 11.47 on CIFAR-10 and from 19.2 to 40.1 on ImageNet 64×64. Appendix D reveals why by comparing per-step VLB ratios between the two checkpoints: the model beats in the first and last 100 steps (fine pixel texture), whereas beats across the middle 3,800 steps (object structure). Combining them into an ensemble that calls the checkpoint for and the checkpoint in between achieves 3.52 bits/dim NLL (beating both individual models) at FID 19.9.
Strided sampling in 50 to 100 steps
Training at improves likelihood, yet running 4,000 sequential U-Net passes to draw one batch takes several minutes on a modern GPU. Because the forward process (2) gives a closed-form distribution at every step, generation does not have to visit all 4,000 indices. Pick any increasing subsequence of evenly spaced integers from 1 to inclusive (rounded to the nearest integer). Treating as a shorter -step diffusion schedule induces effective step variances:
Work a concrete stride to see why fixed variances fail here while learned variances succeed. With and , the rounded indices jump by roughly 82 original steps at a time: (0-indexed in code). At the second strided step (), the effective forward jump is , while the posterior lower bound is , a ratio of just 0.0053 (compared with 0.492 at the full ). Even at step 25 of 50 (the middle of sampling), drops to 0.940 (and to 0.872 at ). A model that fixed injects too much noise per coarse jump; one that fixed injects too little.
A model trained with (7) needs zero fine-tuning for any . At each strided step , the U-Net still receives the original noise-level index (rescaled by in code so the sinusoidal embedding stays on the 0 to 1,000 scale) and outputs its dimensionless interpolation fraction . Plugging into (7) with the strided bounds and automatically rescales the reverse variance to match the wider jump.
# Fast ancestral sampling with K strided steps (equation (11))
idx = [round(i * (T - 1) / (K - 1)) for i in range(K)] # K steps in 0..T-1
abar_s = abar[idx] # [K]
abar_p = np.append(1.0, abar_s[:-1]) # [K]
beta_s = 1.0 - abar_s / abar_p # [K], eq (11)
bt_s = beta_s * (1.0 - abar_p) / (1.0 - abar_s) # [K], eq (11)
x = randn(B, 3, 64, 64) # [B, 3, 64, 64]
for k in range(K - 1, -1, -1):
t_orig = full((B,), idx[k]) # [B], original index
eps_hat, v = unet(x, t_orig * (1000.0 / T)).split(3, dim=1)
x0_hat = ((x - sqrt(1 - abar_s[k]) * eps_hat) / sqrt(abar_s[k])).clamp(-1, 1)
mean = post_mean(x0_hat, x, beta_s[k], abar_s[k], abar_p[k]) # eq (4)
frac = (v + 1.0) / 2.0
lvar = frac * log(beta_s[k]) + (1 - frac) * log(bt_clip[k]) # eq (7)
x = mean + (exp(0.5 * lvar) * randn_like(x) if k > 0 else 0.0)In the paper's Figure 8, fully trained models on both ImageNet 64×64 (1.5M iters) and CIFAR-10 (500K iters) reach near-optimal FID in 100 sampling steps (a 40× speedup over 4,000 steps) and remain crisp at 50 steps, while both fixed-variance baselines degrade steeply below 400 steps. Comparing against the concurrent Denoising Diffusion Implicit Models (DDIM) sampler (Song et al., 2020), which steps deterministically without adding Gaussian noise at each reverse step, shows a crossover at 50 steps: DDIM produces better FID below 50 steps (for instance at 25 steps), whereas ancestral sampling (stochastic step-by-step reverse sampling) with learned variances beats DDIM at 50 steps and above on CIFAR-10 and ImageNet 64×64, and above 50 steps on LSUN 256×256 bedrooms (Appendix B). DDIM also needs its own constant stride ending at rather than , because Nichol and Dhariwal's inclusive stride hurts DDIM severely.
Fast evaluation of NLL needs one extra adjustment (Appendix E). Evenly striding steps keeps FID intact while degrading NLL, because skipping steps near coarsens the terms that dominate (3). Keeping every single step from to alongside the strided tail recovers nearly the full 4,000-step log-likelihood for extra network passes.
Diffusion models vs. GANs on mode coverage
Log-likelihood cannot compare diffusion models against GANs directly, because a GAN defines no tractable density . FID compares both families, yet compresses two distinct failure modes into one number: generating blurry or broken images (low fidelity) and ignoring parts of the real data distribution (low diversity, or mode collapse).
Nichol and Dhariwal separate those two axes using the improved precision and recall metric of Kynkäänniemi et al. (2019), evaluated on 50,000 generated samples using Inception-V3 feature vectors and nearest neighbors. Around every real feature vector, draw a hypersphere reaching its 5th nearest real neighbor; the union of those spheres estimates the real-data manifold. Precision (higher is better) is the fraction of generated samples landing inside the real manifold, measuring image realism. Reverse the roles to build a manifold around the generated samples: recall (higher is better) is the fraction of real images landing inside the generated manifold, measuring mode coverage.
To match the standard GAN benchmark, the authors train class-conditional models on ImageNet 64×64 by adding a learned class embedding to the timestep embedding before injecting it into each residual block, using and 250 sampling steps. They compare against a 100M-parameter BigGAN-deep model trained for 125K iterations with no truncation (the setting that maximizes a GAN's recall):
| Model (class-conditional ImageNet 64×64) | Params | FID ↓ | Precision ↑ | Recall ↑ |
|---|---|---|---|---|
| BigGAN-deep (no truncation) | 100M | 4.06 | 0.86 | 0.59 |
| Improved Diffusion (small, 1.7M iters) | 100M | 6.92 | 0.77 | 0.72 |
| Improved Diffusion (large, 250K iters, bs 2048) | 270M | 2.92 | 0.82 | 0.71 |
Even the smaller 100M diffusion model beats BigGAN-deep on recall by 13 points (0.72 vs. 0.59), and the 270M model beats BigGAN-deep on both FID (2.92 vs. 4.06) and recall (0.71 vs. 0.59) while staying close on precision (0.82 vs. 0.86). On higher-resolution class-conditional ImageNet 256×256 (Appendix C), training a single-stage diffusion model gets FID 31.5, while chaining the 64×64 generator with a 280M upsampling diffusion model cuts FID to 12.3 (well ahead of two-stage VQ-VAE-2 at 38.1, though still behind truncated BigGAN-deep at 7.0). Passing BigGAN at 256×256 waited for the U-Net upgrades and classifier guidance of Diffusion Models Beat GANs three months later.
Scaling with model capacity and compute
Inspired by neural language model scaling laws (Kaplan et al., 2020; Henighan et al., 2020), Section 6 tests whether diffusion models improve predictably when given wider networks and more training compute. On unconditional ImageNet 64×64 with , the authors scale the base channel width of the four-stage U-Net ( channels, 3 residual blocks per stage) across four sizes: . At the baseline , the network has about 120M parameters and requires roughly 39 billion floating-point operations (FLOPs) per forward pass.
Because wider layers change the scale of initial activations and weight norms, the authors scale the Adam learning rate proportionally to (where is the channel multiplier), anchored at for (giving roughly at and at ). Plotted against theoretical training compute on log-log axes (Figure 10 of the paper), FID follows a straight line (a power law approaching the in-distribution reference floor), with larger models taking over the frontier as compute increases.
Validation NLL improves more slowly and curves away from a straight power law. The authors flag three candidate explanations without claiming to distinguish them: a high irreducible likelihood floor for this diffusion formulation, mild overfitting on ImageNet 64×64 (Appendix G confirms that even class-conditional ImageNet 64×64 eventually degrades in FID if trained too long, making early stopping paired with a larger model the preferred recipe), and the fact that the scaling runs trained with rather than importance-sampled .
Ablations, code details, and limits
Figure 6 plots every configuration from Tables 1 and 2 together with the Appendix D ensemble, showing how each individual change shifts the trade-off between NLL (left is better) and FID (down is better). Table 1 uses 10,000 generated samples for fast unconditional ImageNet 64×64 ablations (which biases FID roughly 2 points higher than the 50,000-sample evaluation used in Table 4 and CIFAR-10 Table 2).
Appendix A documents three quiet architecture upgrades to Ho et al.'s U-Net that became standard in later diffusion models (including ADM and GLIDE):
- Multi-head self-attention at two resolutions: replacing single-head attention at 16×16 with 4-head multi-head attention (same total channel width) at both 16×16 and 8×8.
- Scale-and-shift GroupNorm conditioning: instead of adding the timestep embedding before normalization as , projecting the embedding into channelwise scale and shift vectors and applying (later named AdaGN in Dhariwal & Nichol, 2021).
- Training defaults: Adam at (batch size 128 for unconditional runs, 2,048 for the 270M class-conditional run) and an exponential moving average (EMA, a slow running average of weights used only at sampling time) with decay 0.9999.
Three practical limitations remain in this paper. First, 50 to 100 sampling steps is a large drop from 4,000, yet still 50 to 100 times slower than a single-pass GAN. Second, the paper's best likelihood models (2.94 bits/dim on CIFAR-10, 3.53 on ImageNet 64×64) require training on resampled , which hurts FID unless combined in a two-checkpoint ensemble; a single model still faces a tension between likelihood and visual fidelity. Third, the cosine schedule accelerates overfitting on small 32×32 datasets like CIFAR-10 (and even class-conditional ImageNet 64×64 eventually overfits without early stopping), and at 256×256 the authors revert to the linear schedule and a two-stage upsampling pipeline.
Questions you might still have
Why does the paper call L_vlb a variational lower bound if lower values are better?
In generative modeling, the Evidence Lower Bound (ELBO) is a lower bound on the log-likelihood log p(x_0), where higher is better. Following Ho et al. (2020), this paper flips the sign and minimizes L_vlb = -ELBO, which is an upper bound on the negative log-likelihood -log p(x_0). Dividing by the number of pixel dimensions times ln(2) converts it to bits per dimension, so smaller numbers mean the model assigns higher probability to real images.
Why not constrain the variance output v to [0, 1] with a sigmoid?
The authors left v unconstrained on purpose so they could test whether the theoretical bounds beta_tilde_t and beta_t were wide enough in practice. If the true optimal reverse variance lay outside that interval, an unconstrained network would push v below 0 or above 1 (below -1 or above +1 in the code). In training, the network kept v inside the interval anyway, confirming that the bounds already contain the useful range.
If L_vlb achieves the best likelihood (2.94 bits/dim on CIFAR-10), why do the authors recommend L_hybrid?
Training directly on resampled L_vlb pushes FID from 3.19 up to 11.47 on CIFAR-10 and from 19.2 up to 40.1 on ImageNet 64x64. As Appendix D shows, L_vlb spends most of its capacity on the first and last 100 timesteps (imperceptible pixel-level detail) at the expense of the middle timesteps that determine global image structure. L_hybrid keeps the visual quality of L_simple while still closing most of the likelihood gap and unlocking 50-step sampling.
Why does the cosine schedule work better at 32x32 and 64x64, yet the authors switch back to linear at 256x256?
Higher-resolution images have far more redundant neighboring pixels than 32x32 or 64x64 images. Adding the same variance per pixel destroys a 32x32 image much faster than a 256x256 image, because averaging over a 4x4 patch in a 256x256 image reduces pixel noise variance by 16x while keeping coarse shapes intact. The linear schedule is therefore too aggressive at low resolution but well matched to 256x256.
How does strided sampling with learned variances compare to DDIM?
Both reuse a pretrained network without retraining. Below 50 sampling steps (such as 10 to 25 steps), deterministic DDIM (covered in the DDIM explainer on this site) beats strided ancestral sampling on FID. At 50 steps and above on CIFAR-10 and ImageNet 64x64 (and above 50 steps on LSUN 256x256), ancestral sampling with learned variances beats DDIM, and it also scales better with larger batch sizes and learning rates.
Does Improved DDPM already beat BigGAN on ImageNet 256x256?
Not yet. On class-conditional ImageNet 64x64, the 270M Improved Diffusion model beats BigGAN-deep on FID (2.92 vs. 4.06) and recall (0.71 vs. 0.59). On ImageNet 256x256 (Appendix C), its two-stage 64-to-256 pipeline reaches FID 12.3, closing most of the gap from VQ-VAE-2 (38.1) but still behind BigGAN-deep (7.0). Passing BigGAN at 256x256 required the architecture changes and classifier guidance introduced three months later in Diffusion Models Beat GANs.
Footnotes & further reading
- The paper: Alex Nichol & Prafulla Dhariwal, Improved Denoising Diffusion Probabilistic Models (arXiv:2102.09672, Feb 2021; ICML 2021, PMLR 139, pp. 8162-8171). Official PyTorch implementation: openai/improved-diffusion.
- The baseline formulation: Ho, Jain & Abbeel, Denoising Diffusion Probabilistic Models (NeurIPS 2020), explained in our DDPM explainer. The original diffusion bound is Sohl-Dickstein et al., Deep Unsupervised Learning using Nonequilibrium Thermodynamics (ICML 2015; explainer).
- Concurrent fast samplers: Jiaming Song, Chenlin Meng & Stefano Ermon, Denoising Diffusion Implicit Models (ICLR 2021; DDIM explainer), and Yang Song et al., Score-Based Generative Modeling through Stochastic Differential Equations (ICLR 2021; Score SDE explainer).
- Gradient noise scale: Sam McCandlish et al., An Empirical Model of Large-Batch Training (2018). Improved precision and recall: Tuomas Kynkäänniemi et al., Improved Precision and Recall Metric for Assessing Generative Models (NeurIPS 2019).
- Direct sequel by the same authors (reverse order): Prafulla Dhariwal & Alex Nichol, Diffusion Models Beat GANs on Image Synthesis (NeurIPS 2021), covered in our ADM explainer.
How could this explainer be improved? Found an error, or something unclear? I read every message.