Search

Search papers and lessons

Denoising Diffusion Probabilistic Models (DDPM)

Jonathan Ho, Ajay Jain, Pieter Abbeel · 2020

DDPM trains a U-Net to predict the noise added to an image at a random step of a fixed noising chain, and generates images by running a learned denoising chain backwards from pure noise.

On this page

  • Colour = topic mix
  • Probability
  • Calculus
  • Architectures
  • Linear algebra
  • Generative models
  • Neural network basics
  • Sign in to see your progress

TL;DR

DDPM is a recipe for generating images with a diffusion model. Take a training image and add a little Gaussian noise, repeated 1000 times, until nothing of the picture is left. Train one U-Net to guess the noise that was added at any given step. To make a new image, start from pure random noise and repeat the guess-and-subtract step 1000 times. The training loss is just a mean squared error between the true noise and the predicted noise, which made the method simple enough to scale up.

Where you'll see it: the paper that made high-quality image generation from diffusion models practical, and the base of image generators such as Stable Diffusion and many later video and audio models.

The problem

By 2020, the best image generators were GANs. They produced sharp images but were hard to train: the generator and discriminator had to be balanced against each other, and training often collapsed. Likelihood-based models were stable to train but produced blurry or poor samples on natural images. Diffusion models had been proposed in 2015 by Sohl-Dickstein and colleagues, with a tractable training objective and good theory, but nobody had shown they could produce samples that looked as good as GAN output. The gap DDPM closed was to show that a diffusion model, with a particular and simpler way of training it, could compete with GANs on sample quality.

Key idea

Think of a photograph slowly dissolving into static. Each step adds a small amount of noise, so the picture gets a little grainier. After enough steps it is indistinguishable from random static. The chain is easy to run forward: the noise is known, and nothing needs to be learned.

Generation runs the film backwards. Start from static and remove a little noise at a time. The step that undoes one bit of noise is hard to write down by hand, so a neural network learns it. The paper's key move is that this network does not need to predict the cleaner image directly. It only needs to predict the noise that was mixed in, and a loss that asks for exactly that works better in practice than the tighter variational bound that the theory suggests.

flowchart LR
  x0["clean image x0"] -->|add noise, step 1| x1["x1"]
  x1 -->|add noise| x2["x2"]
  x2 -->|"... 1000 steps"| xT["xT ~ pure noise"]
  xT -->|"learned denoise step"| y2["x2 (generated)"]
  y2 -->|"learned denoise step"| y1["x1 (generated)"]
  y1 -->|"learned denoise step"| y0["x0 (generated image)"]

Forward arrows are fixed. Backward arrows are the learned model, run 1000 times.

The method

Setup

A diffusion model is a latent variable model. The data is x0∼q(x0)\mathbf{x}_0 \sim q(\mathbf{x}_0), and there are latent variables x1,…,xT\mathbf{x}_1, \dots, \mathbf{x}_T with the same dimension as the data. Here TT is the number of steps and the paper uses T=1000T = 1000. The forward process qq is a fixed Markov chain that adds Gaussian noise. With a variance schedule β1,…,βT\beta_1, \dots, \beta_T:

q(xt∣xt−1)=N ⁣(xt; 1−βt xt−1, βtI)q(\mathbf{x}_t \mid \mathbf{x}_{t-1}) = \mathcal{N}\!\left(\mathbf{x}_t;\ \sqrt{1-\beta_t}\,\mathbf{x}_{t-1},\ \beta_t \mathbf{I}\right)

Each step shrinks the signal a little by the factor 1−βt\sqrt{1-\beta_t} and adds noise with variance βt\beta_t. The shrink factor keeps the overall variance from growing as noise is added. Here N(x;μ,Σ)\mathcal{N}(\mathbf{x}; \boldsymbol{\mu}, \boldsymbol{\Sigma}) is a Gaussian over the vector x\mathbf{x} with mean μ\boldsymbol{\mu} and covariance Σ\boldsymbol{\Sigma}, and I\mathbf{I} is the identity matrix.

The reverse process pθp_\theta is the model. It starts from a standard normal prior and applies learned Gaussian steps:

pθ(x0:T)=p(xT)∏t=1Tpθ(xt−1∣xt),p(xT)=N(xT;0,I)p_\theta(\mathbf{x}_{0:T}) = p(\mathbf{x}_T) \prod_{t=1}^{T} p_\theta(\mathbf{x}_{t-1} \mid \mathbf{x}_t), \qquad p(\mathbf{x}_T) = \mathcal{N}(\mathbf{x}_T; \mathbf{0}, \mathbf{I})

The paper fixes the reverse variance to σt2I\sigma_t^2 \mathbf{I} with σt2\sigma_t^2 a constant, and learns only the mean μθ(xt,t)\boldsymbol{\mu}_\theta(\mathbf{x}_t, t).

Closed form for any step

Write αt=1−βt\alpha_t = 1 - \beta_t and αˉt=∏s=1tαs\bar{\alpha}_t = \prod_{s=1}^{t} \alpha_s. Then the forward process can be sampled at any step tt in one jump, without running the chain:

q(xt∣x0)=N ⁣(xt; αˉt x0, (1−αˉt)I)q(\mathbf{x}_t \mid \mathbf{x}_0) = \mathcal{N}\!\left(\mathbf{x}_t;\ \sqrt{\bar{\alpha}_t}\,\mathbf{x}_0,\ (1-\bar{\alpha}_t)\mathbf{I}\right)

Equivalently, xt=αˉt x0+1−αˉt ϵ\mathbf{x}_t = \sqrt{\bar{\alpha}_t}\,\mathbf{x}_0 + \sqrt{1-\bar{\alpha}_t}\,\boldsymbol{\epsilon} with ϵ∼N(0,I)\boldsymbol{\epsilon} \sim \mathcal{N}(\mathbf{0}, \mathbf{I}). This is the reparameterization that makes training cheap: a training step can pick a random tt and sample ϵ\boldsymbol{\epsilon} directly, and it does not need to simulate the chain. The "reparameterization" of the noise is the same trick described in Reparameterization Trick.

The variational bound

Training maximizes a variational bound on the log likelihood. The paper rewrites the negative bound LL as a sum of KL divergences:

L=Eq[DKL(q(xT∣x0) ∥ p(xT))⏟LT+∑t>1DKL(q(xt−1∣xt,x0) ∥ pθ(xt−1∣xt))⏟Lt−1−log⁡pθ(x0∣x1)⏟L0]L = \mathbb{E}_q\Big[\underbrace{D_{\mathrm{KL}}\big(q(\mathbf{x}_T \mid \mathbf{x}_0)\,\|\,p(\mathbf{x}_T)\big)}_{L_T} + \sum_{t>1} \underbrace{D_{\mathrm{KL}}\big(q(\mathbf{x}_{t-1} \mid \mathbf{x}_t, \mathbf{x}_0)\,\|\,p_\theta(\mathbf{x}_{t-1} \mid \mathbf{x}_t)\big)}_{L_{t-1}} \underbrace{- \log p_\theta(\mathbf{x}_0 \mid \mathbf{x}_1)}_{L_0}\Big]

The target posterior q(xt−1∣xt,x0)q(\mathbf{x}_{t-1} \mid \mathbf{x}_t, \mathbf{x}_0) is also Gaussian, with mean

μ~t(xt,x0)=αˉt−1 βt1−αˉt x0+αt (1−αˉt−1)1−αˉt xt\tilde{\boldsymbol{\mu}}_t(\mathbf{x}_t, \mathbf{x}_0) = \frac{\sqrt{\bar{\alpha}_{t-1}}\,\beta_t}{1-\bar{\alpha}_t}\,\mathbf{x}_0 + \frac{\sqrt{\alpha_t}\,(1-\bar{\alpha}_{t-1})}{1-\bar{\alpha}_t}\,\mathbf{x}_t

Because every term is a KL between two Gaussians, each is available in closed form. That removes the high-variance Monte Carlo estimates that a naive bound would need.

The noise parameterization

Matching means, Lt−1L_{t-1} reduces to a weighted squared error between μ~t\tilde{\boldsymbol{\mu}}_t and μθ\boldsymbol{\mu}_\theta. The paper's choice is to parameterize the mean through a noise predictor ϵθ(xt,t)\boldsymbol{\epsilon}_\theta(\mathbf{x}_t, t):

μθ(xt,t)=1αt(xt−βt1−αˉt ϵθ(xt,t))\boldsymbol{\mu}_\theta(\mathbf{x}_t, t) = \frac{1}{\sqrt{\alpha_t}}\left(\mathbf{x}_t - \frac{\beta_t}{\sqrt{1-\bar{\alpha}_t}}\,\boldsymbol{\epsilon}_\theta(\mathbf{x}_t, t)\right)

With this choice, the per-step loss becomes a weighted squared error on the noise:

Lt−1−C=Ex0,ϵ[βt22σt2 αt (1−αˉt) ∥ϵ−ϵθ(αˉt x0+1−αˉt ϵ, t)∥2]L_{t-1} - C = \mathbb{E}_{\mathbf{x}_0, \boldsymbol{\epsilon}}\left[\frac{\beta_t^2}{2\sigma_t^2\,\alpha_t\,(1-\bar{\alpha}_t)}\,\big\|\boldsymbol{\epsilon} - \boldsymbol{\epsilon}_\theta\big(\sqrt{\bar{\alpha}_t}\,\mathbf{x}_0 + \sqrt{1-\bar{\alpha}_t}\,\boldsymbol{\epsilon},\ t\big)\big\|^2\right]

Here CC is a constant that does not depend on θ\theta. The paper notes that this objective resembles denoising score matching over several noise levels, which connects the model to Langevin dynamics for sampling.

The simplified objective

The paper's main training objective drops the time-dependent weight:

Lsimple(θ)=Et, x0, ϵ[∥ϵ−ϵθ(αˉt x0+1−αˉt ϵ, t)∥2]L_{\text{simple}}(\theta) = \mathbb{E}_{t,\, \mathbf{x}_0,\, \boldsymbol{\epsilon}}\Big[\big\|\boldsymbol{\epsilon} - \boldsymbol{\epsilon}_\theta\big(\sqrt{\bar{\alpha}_t}\,\mathbf{x}_0 + \sqrt{1-\bar{\alpha}_t}\,\boldsymbol{\epsilon},\ t\big)\big\|^2\Big]

where tt is drawn uniformly from 11 to TT. This is a plain Mean Squared Error between the noise and the predicted noise. The paper's explanation for why it works better for sample quality is that the dropped weight down-weights the very small-noise steps. Those steps are easy to denoise and were carrying a lot of the loss without helping the image look good. Training on the true bound gives better likelihoods, but this simpler objective gives better samples.

Training and sampling

Training (Algorithm 1 in the paper) is a loop: sample an image x0\mathbf{x}_0 from the dataset, sample tt uniformly, sample ϵ\boldsymbol{\epsilon}, take a gradient step on ∥ϵ−ϵθ(xt,t)∥2\|\boldsymbol{\epsilon} - \boldsymbol{\epsilon}_\theta(\mathbf{x}_t, t)\|^2, and repeat. The paper uses Adam with default settings, a learning rate of 2×10−42 \times 10^{-4} (lowered to 2×10−52 \times 10^{-5} for the 256×256256 \times 256 images, which were unstable at the larger rate), batch size 128 on CIFAR-10 and 64 on larger images, and an exponential moving average of the weights with decay 0.9999 for evaluation.

Sampling (Algorithm 2) starts from xT∼N(0,I)\mathbf{x}_T \sim \mathcal{N}(\mathbf{0}, \mathbf{I}) and, for t=Tt = T down to 11, computes

xt−1=1αt(xt−βt1−αˉt ϵθ(xt,t))+σtz,z∼N(0,I)\mathbf{x}_{t-1} = \frac{1}{\sqrt{\alpha_t}}\left(\mathbf{x}_t - \frac{\beta_t}{\sqrt{1-\bar{\alpha}_t}}\,\boldsymbol{\epsilon}_\theta(\mathbf{x}_t, t)\right) + \sigma_t \mathbf{z}, \qquad \mathbf{z} \sim \mathcal{N}(\mathbf{0}, \mathbf{I})

with z=0\mathbf{z} = \mathbf{0} at the last step. The paper observes that this update looks like Langevin dynamics, with ϵθ\boldsymbol{\epsilon}_\theta acting as a learned gradient of the data density.

Schedule and architecture

The paper uses T=1000T = 1000, with βt\beta_t rising linearly from 10−410^{-4} to 0.020.02. These values keep αˉT\bar{\alpha}_T near zero, so q(xT∣x0)q(\mathbf{x}_T \mid \mathbf{x}_0) is almost exactly the prior. The network is a U-Net based on PixelCNN++ with group normalization, self-attention at the 16×1616 \times 16 resolution, and the sinusoidal position embedding of the time step tt added into each residual block. The CIFAR-10 model has 35.7 million parameters. The LSUN and CelebA-HQ models have 114 million.

Worked examples

Example
Forward jump to step t

Take a one-dimensional "image" with x0=2x_0 = 2, and suppose αˉt=0.25\bar{\alpha}_t = 0.25 at some step tt. Draw noise ϵ=0.5\epsilon = 0.5.

  1. Signal coefficient: αˉt=0.25=0.5\sqrt{\bar{\alpha}_t} = \sqrt{0.25} = 0.5.
  2. Noise coefficient: 1−αˉt=0.75≈0.8660\sqrt{1 - \bar{\alpha}_t} = \sqrt{0.75} \approx 0.8660.
  3. Noisy sample: xt=0.5⋅2+0.8660⋅0.5=1+0.4330=1.4330x_t = 0.5 \cdot 2 + 0.8660 \cdot 0.5 = 1 + 0.4330 = 1.4330.
  4. Check by inverting: ϵ=(xt−αˉt x0)/1−αˉt=(1.4330−1)/0.8660=0.5\epsilon = (x_t - \sqrt{\bar{\alpha}_t}\,x_0) / \sqrt{1-\bar{\alpha}_t} = (1.4330 - 1) / 0.8660 = 0.5.

Interpretation: at this step the sample is still mostly signal, but the noise has moved it from 1.0 to 1.433. Training sees the pair (xt,ϵ)=(1.433,0.5)(x_t, \epsilon) = (1.433, 0.5), and the network's job is to recover ϵ\epsilon from xtx_t and tt alone.

Example
One reverse step

Use one denoising step with αt=0.99\alpha_t = 0.99, βt=0.01\beta_t = 0.01, αˉt=0.5\bar{\alpha}_t = 0.5, σt2=βt=0.01\sigma_t^2 = \beta_t = 0.01, and xt=1.0\mathbf{x}_t = 1.0. Suppose the network predicts ϵθ=0.3\epsilon_\theta = 0.3.

  1. Factor for the noise term: βt/1−αˉt=0.01/0.7071=0.01414\beta_t / \sqrt{1-\bar{\alpha}_t} = 0.01 / 0.7071 = 0.01414.
  2. Multiply by the prediction: 0.01414⋅0.3=0.0042430.01414 \cdot 0.3 = 0.004243.
  3. Subtract from xt\mathbf{x}_t: 1.0−0.004243=0.9957571.0 - 0.004243 = 0.995757.
  4. Scale by 1/αt=1/0.99499=1.005041/\sqrt{\alpha_t} = 1/0.99499 = 1.00504: μθ=0.995757⋅1.00504≈1.00077\boldsymbol{\mu}_\theta = 0.995757 \cdot 1.00504 \approx 1.00077.
  5. Add noise. With σt=0.1\sigma_t = 0.1 and a draw z=0.5z = 0.5: xt−1=1.00077+0.1⋅0.5≈1.0508\mathbf{x}_{t-1} = 1.00077 + 0.1 \cdot 0.5 \approx 1.0508.

Interpretation: the mean step barely moved the value because the predicted noise was small and βt\beta_t is small. Almost all of the change in a single step comes from the injected noise σtz\sigma_t z. The full 1000-step chain is needed to go from static to an image.

Example
One training term

For one sampled pair with true noise ϵ=0.5\epsilon = 0.5 and predicted noise ϵθ=0.3\epsilon_\theta = 0.3, the contribution to LsimpleL_{\text{simple}} is (0.5−0.3)2=0.04(0.5 - 0.3)^2 = 0.04. Averaging this quantity over a batch of images and random tt values gives the training loss. A network that predicts 00 everywhere would have loss equal to the average of ϵ2\epsilon^2, which is 11 in expectation for standard normal noise. The gap between 11 and the trained loss measures how much of the noise the network can explain.

Results

Sample quality on CIFAR-10. Trained on the simplified objective, the unconditional model reaches an Inception score of 9.46 and a Fréchet Inception Distance (FID) of 3.17, computed against the training set. The paper reports that this FID is better than most models in the literature, including class-conditional ones (the paper's Table 1, which lists the comparison models, is not reproduced in the course's text copy, so the Inception score is quoted from the paper's summary, not rechecked here). Measured against the test set, the FID is 5.24. The paper trains on the true variational bound as well, which gives better codelengths but worse samples.

Ablation on the objective. Predicting the mean μ~t\tilde{\boldsymbol{\mu}}_t works well only when trained on the true bound. An unweighted Mean Squared Error on the mean performs poorly. Learning the reverse variance destabilizes training and reduces quality, so fixed variances are used. Predicting the noise ϵ\boldsymbol{\epsilon} performs about as well as predicting the mean when trained on the bound, and much better when trained on LsimpleL_{\text{simple}}.

Likelihood. The paper is honest that the lossless codelengths are not competitive with the best likelihood models. They are better than the large annealed importance sampling estimates reported for energy-based models and score matching at the time. The gap between train and test codelength is at most 0.03 bits per dimension, so the model is not overfitting.

Rate and distortion. Treating the bound terms L1L_1 through LTL_T as rate and L0L_0 as distortion, the best-sample-quality CIFAR-10 model has a rate of 1.78 bits per dimension and a distortion of 1.97 bits per dimension (the paper's text in Section 4.3). The distortion of 1.97 is in bits per dimension, while the paper's Table 4 (test set, full chain) lists distortion as root mean squared error: rate 1.77581 bits per dimension and RMSE 0.95 on a 0 to 255 scale. These are the same quantity in two units, and the rates agree. More than half of the lossless codelength pays for imperceptible detail. Table 4 shows where the bits go: after 900 reverse steps the cumulative rate is only 0.12 bits per dimension and the RMSE is already 12.0, and the remaining 1.66 bits per dimension, spent in the last 100 steps, only take it from 12.0 down to 0.95.

Other datasets. At 256×256256 \times 256 resolution on LSUN, FIDs for the LsimpleL_{\text{simple}} model are 6.36 on Bedroom, 7.89 on Church and 19.75 on Cat (Table 3). A larger Bedroom model reaches 4.90. Against ProgressiveGAN (8.34, 6.42, 37.52) the model is better on Bedroom and Cat and worse on Church. It does not beat the stronger StyleGAN results in the same table (Bedroom 2.65, Church 4.21, Cat 8.53) or StyleGAN2 (Church 3.86, Cat 6.93). So the claim is competitive with the GANs of the time, not better than the best.

Why it mattered

DDPM showed that a likelihood-based, stable-to-train model could produce images that people and metrics rated as competitive with GANs. That changed where the field spent its effort. Within two years, diffusion models had become the default for high-resolution image generation. Later work followed up on the connection to score matching and stochastic differential equations, moved the diffusion to a learned latent space in latent diffusion models, and used the same recipe for text-to-image, video and audio generation.

The paper also introduced the view of sampling as progressive decoding. Early steps determine coarse structure and late steps add fine detail. That view is one reason diffusion sampling is a useful tool for controlling image content.

Tradeoffs and failure modes

SituationWhat goes wrongBetter choice
You need fast generation of one image1000 U-Net evaluations per sample is slow compared with a GAN generatorFewer-step samplers, or latent diffusion, which runs the chain in a compressed space
You need exact likelihoodsThe lossless codelengths are not competitive with the best autoregressive or flow modelsUse the true variational bound and accept worse samples, or use a likelihood-focused model
The data is not imagesThe U-Net and the linear schedule are tuned for image resolution and pixel scaleAdapt the architecture and schedule to the modality
Training on very small ttThe simplified loss gives these steps little weight, so they may be under-trainedThis is intended; use the true bound if small-noise accuracy matters
Reusing the schedule at a different resolutionThe schedule keeps αˉT\bar{\alpha}_T near zero only for the scale used in the paperRe-check αˉT\bar{\alpha}_T and the signal-to-noise ratio at the new scale

The method also inherits the general concerns of generative models. The paper's broader impact section notes that these models can produce convincing fake images and reflect dataset bias.

History

Sohl-Dickstein, Weiss, Maheswaranathan and Ganguli introduced the diffusion probabilistic model in 2015. Their version used the same forward and reverse chain idea but did not reach the sample quality of GANs. Song and Ermon later showed that denoising score matching at several noise levels, followed by annealed Langevin dynamics, could produce good samples. Ho, Jain and Abbeel published DDPM in 2020. Their contribution was the noise-prediction parameterization, the simplified loss, and the empirical result that these choices gave high-quality samples on CIFAR-10 and LSUN. The paper appeared at NeurIPS in 2020. It caught on because the training loop was simple, the results matched the strongest GAN baselines, and the code was released.

Reading guide

Read these in order. Each row lists the paper section and the prerequisites it depends on.

  1. Section 1, Introduction. Needs Diffusion Model (the general idea of a noising chain and a learned reverse chain) and an idea of what GANs and VAEs are.
  2. Section 2, Background. Needs Markov Chain for the forward and reverse chains, Gaussian (Normal) Distribution for every step, and Variational Lower Bound (ELBO) for the training bound.
  3. Equations 4 and 5. Needs Reparameterization Trick for the closed-form jump, and Kullback–Leibler Divergence for the bound decomposition.
  4. Section 3.2, Reverse process. Needs Score Matching and Langevin Dynamics for the link between the noise predictor and the score. Needs Mean Squared Error for the simplified loss.
  5. Section 3.3 and 3.4. Needs the idea of a discrete decoder from a continuous Gaussian. Needs Stochastic Gradient Descent for training.
  6. Section 4 and Appendix B, experiments. Needs U-Net and Convolutional Neural Network for the architecture, Encoder-Decoder Architecture for skip connections, and Exponential Moving Average for evaluation weights.
  7. Section 4.3 and Section 4.4. The rate-distortion and interpolation parts are easier after reading Latent Variable Model.

Check yourself

QuestionRecall: what does the forward process add at each step, and what is the variance of the added noise?Show answer

At each step the forward process multiplies the current state by 1−βt\sqrt{1-\beta_t} and adds Gaussian noise with variance βt\beta_t. The shrink factor keeps the total variance from growing, so the data gradually turns into a standard normal sample.

QuestionComputation: with αˉt=0.64\bar{\alpha}_t = 0.64, x0=3x_0 = 3 and ϵ=1\epsilon = 1, what is xtx_t?Show answer
  1. αˉt=0.8\sqrt{\bar{\alpha}_t} = 0.8.
  2. 1−αˉt=0.36=0.6\sqrt{1-\bar{\alpha}_t} = \sqrt{0.36} = 0.6.
  3. xt=0.8⋅3+0.6⋅1=2.4+0.6=3.0x_t = 0.8 \cdot 3 + 0.6 \cdot 1 = 2.4 + 0.6 = 3.0.

So xt=3.0x_t = 3.0, which equals x0x_0 in this case. This is a coincidence of the chosen numbers. In general xtx_t is a mix of signal and noise weighted by αˉt\sqrt{\bar{\alpha}_t} and 1−αˉt\sqrt{1-\bar{\alpha}_t}.

QuestionWhy does the paper train on the simplified loss instead of the exact variational bound, even though the bound is the principled objective?Show answer

The exact bound puts a weight on each step's error, and that weight is largest for the steps with the least noise. Those steps are easy to denoise, so they dominate the loss without teaching the model much about the global structure of images. Dropping the weight shifts the model's effort toward the harder, noisier steps. The paper finds that this improves sample quality, at the cost of a slightly worse likelihood.

QuestionWhy is the model parameterized to predict the noise ϵ\epsilon instead of the clean image x0x_0 or the mean?Show answer

Predicting ϵ\epsilon makes the reverse mean a fixed function of xt\mathbf{x}_t and the prediction. With the training loss written in terms of ϵ\epsilon, the loss has the same form as denoising score matching, which ties the model to Langevin sampling. The paper reports that predicting ϵ\epsilon is as good as predicting the mean on the true bound, and much better on the simplified loss. Predicting x0x_0 led to worse early samples in the authors' experiments.

QuestionApplied: a team wants to generate 1000 images on a fixed budget of network calls, and their sampler takes 1000 steps per image. What is the cost, and what change would reduce it?Show answer

Each image needs 1000 forward passes of the U-Net, so 1000 images need 1,000,000 passes. The paper sets T=1000T = 1000 so that the number of network evaluations matches earlier work. The cost per image is proportional to the number of steps, so a sampler that uses fewer steps (for example, later few-step samplers, or running the chain in a latent space) cuts the cost roughly in proportion. This is not something the paper itself tests, and fewer steps generally cost some sample quality.

Sources

Read the full paper

Jonathan Ho, Ajay Jain, Pieter Abbeel, 2020. arXiv:2006.11239