Improved Denoising Diffusion Probabilistic Models
Paper · 2021 · Alex Nichol and Prafulla Dhariwal
Summary
An image generator has to do more than produce a convincing picture. It has to account for the variety of pictures that could have been drawn from its training distribution. Denoising diffusion had already made progress on the first task. Its approach is to corrupt images gradually with Gaussian noise, then train a neural network to reverse that process. The authors ask whether the same approach can assign competitive probabilities to real images, work on a more diverse dataset such as ImageNet, and produce samples without executing the entire reverse chain.
The main changes concern what happens between neighboring noise levels. Earlier diffusion systems predicted where the next reverse state should be centered and used a fixed amount of randomness around that prediction. Here, the network learns that amount as well. It expresses each variance relative to reference values derived from the corruption process. A hybrid loss keeps noise prediction as the primary training task and adds a small likelihood-based term to teach variance. The authors also introduce a cosine schedule that distributes the loss of image information more gradually. These changes improve likelihood while keeping sample quality close to the earlier baseline. Training directly on the likelihood bound can improve likelihood further when timesteps are sampled according to their estimated loss magnitudes, though the resulting images score worse on FID, a feature-based comparison of generated and real images.
The learned variance also makes generation more adaptable. The main sampling experiments train on a grid of 4000 diffusion steps, then generate images by visiting a subset of those steps and adjusting the variance to match the longer jumps. Useful images are possible with 50 network evaluations, and 100 sampling steps bring the fully trained systems close to their best FID in the main experiments. The same trained parameters can be used without fine-tuning. A comparison with DDIM gives a different answer at very small step budgets, where that alternative performs better.
On class-conditional ImageNet, the diffusion systems achieve higher recall than the BigGAN-deep comparison, indicating wider coverage under the paper's image-feature metric. A separate study finds that FID improves fairly regularly as network width and training computation increase. Validation likelihood follows a less regular trend, and FID can deteriorate when some runs continue past their best checkpoint. The experiments give distinct answers about probability, sample quality, coverage and sampling cost. In particular, the training objective that gives the best likelihood and the sampler that gives the best images at a particular cost are choices the results allow readers to make separately.
Deep dive: Improved Denoising Diffusion Probabilistic Models
Improved denoising diffusion learns how much noise to add at each reverse step, improving image likelihood and making generation faster. · about 43 minutes to read
The problem and its context
What a generator learns from images
A person looking at several generated images can judge whether the objects and scenes seem plausible. A statistical question remains even if every picture in the display looks plausible. A generator that repeatedly produces a few familiar kinds of images can give a good first impression while assigning very little probability to other examples from the same dataset. The modes of a distribution are its different concentrations of probability. In an image collection, a mode might correspond to a recurring kind of visual structure, and even pictures belonging to the same labeled category can vary in ways a generator has to represent.
Likelihood gives the authors a way to ask how well a system accounts for observed data. It starts with the probability the system assigns to an image that actually occurs. Assigning very little probability to such an image incurs a large loss under negative log-likelihood. This gives likelihood-based learning an incentive to account for different parts of the data distribution. The paper takes that incentive as a reason to investigate diffusion's weak likelihood results. It also points to earlier work in which even small improvements in likelihood accompanied changes in the quality of generated outputs and learned representations. An image-generation method that already produced credible samples was therefore an interesting case in which to ask what had kept likelihood behind.
Autoregressive generators and variational autoencoders gave the authors points of comparison. In an autoregressive formulation, the probability of an observation is assembled from predictions conditioned on portions of that observation. A variational autoencoder introduces hidden variables and uses a tractable bound to learn about the probability of the observed data. Diffusion belongs to the latter framework in the formulation used here. The hidden variables are noisy versions of the image, and the distribution that creates them is deliberately specified. The connection is to the variational framework in Auto-Encoding Variational Bayes.
The paper also separates the variety of the source data from the size of each image. Earlier DDPM work obtained strong image samples on CIFAR-10 and LSUN. The authors wanted to know whether diffusion would work on a collection with greater diversity. ImageNet at 64 × 64 offered a way to retain substantial variety while keeping the cost of experiments manageable. There was also a body of likelihood-based work on this resolution to compare against. The choice makes it possible to ask whether diffusion can improve its fit on a difficult distribution without making the investigation depend on high-resolution rendering.
What the earlier denoising objective solved
Diffusion starts with an asymmetry. A researcher can define a sequence that makes a photograph harder and harder to recognize. Going in the other direction requires knowledge of images. Very different clean pictures can lead to noisy states that look similar, and the corruption rule alone gives no preference among the clean possibilities. The purpose of training is to learn what a likely previous state looks like when only the current noisy state and the amount of corruption are available.
Earlier DDPM work connected this denoising problem to score-based generation. A score is the gradient of a log probability density with respect to its input. It describes the local direction and rate of change of log density. A denoising network has access to a supervised signal for learning about that local structure because the corruption can be generated during training. The paper places the DDPM objective alongside Generative Modeling by Estimating Gradients of the Data Distribution.
An important earlier choice was to predict the noise used in the corruption. A squared prediction error provided a simple training objective and gave different weight to the steps of the chain than the variational likelihood calculation did. That change had been valuable for sample quality. It also meant that the loss offered no direct guidance about the spread of a reverse transition. The earlier setup supplied that spread analytically, using a fixed variance at each step. It consequently left a question about whether learning this part of the transition could improve the probabilities assigned to images without losing the benefits of noise prediction.
Why the length of the reverse chain mattered
The diffusion construction gives the generator a convenient starting distribution, at the cost of a sequence of decisions between that starting point and the final image. Sampling normally visits all of the training noise levels in reverse. Each transition uses the network's prediction, and the next prediction depends on the state sampled using the previous one. The cost of generating an image therefore includes serial work even after all training has finished.
The paper situates the speed question alongside work on audio. WaveGrad and DiffWave generated audio conditioned on mel-spectrograms, which give a representation of sound for the generator to follow. WaveGrad explored shorter sampling chains with changes to the schedule and training loss. The authors suggest that the strength of the mel-spectrogram conditioning might make short-chain generation easier than producing an unconditional image. Their image experiments ask how much of the chain can be dispensed with in the absence of that kind of input.
Other concurrent work changed the route from noise to data itself. DDIM shares diffusion's marginal noise distributions and can generate images through a deterministic mapping from an initial noise draw. The work on Score-Based Generative Modeling through Stochastic Differential Equations describes a continuous process and a corresponding ordinary differential equation. The number of evaluations then becomes partly a question of numerical accuracy. As the authors describe that work, direct use of its differential-equation sampler gives worse samples than ancestral sampling, while adding Langevin correction steps can improve FID at the cost of a signal-to-noise setting that needs tuning. The opportunity in this paper is to reduce the amount of work within ancestral sampling, in which each new state is drawn from the probability distribution specified by the current reverse transition.
The method, step by step
The training example and the generation process
Training begins with a real image. The authors choose a noise level and construct the corresponding corrupted view. The network receives that view and an indication of the level. It learns to predict the noise in the view and how widely the possible preceding states should be distributed around the reverse mean. The original image is available for calculating the loss. Once training is complete, generation starts from a draw of random noise and uses the network to supply the information previously learned from pairs of clean and corrupted images.
Imagine a noisy picture in which a large shape is still discernible but details at its edges have disappeared. There will be uncertainty about both the most plausible edges and the range of edges that could give rise to the observation. The reverse mean and reverse variance play these different roles in the Gaussian transition. If the sampler makes a longer jump, the reference amounts of variance change with the gap it is crossing. The design allows that change to be made without changing the trained network.
From a training image to a shortened reverse chain
The steps in order.
Specify how images are corrupted
The paper uses a forward Markov chain. In this chain, once the current state is known, the next corruption is specified without looking at earlier states. This lets the probability of the full sequence be expressed as a product of local conditional distributions.
q(x₁, …, x_T | x₀) ≔ ∏ₜ₌₁ᵀ q(x_t | x_{t−1})
Here q is the fixed forward distribution, x₀ is the original image, and x₁ through x_T are its noisy states. T counts the forward transitions, and t indexes a transition. The vertical bar means “given,” and ∏ multiplies the transition factors over the indicated range. The symbol ≔ introduces a definition. The original image itself is drawn from the data distribution, which the authors write as q(x₀).
q(x_t | x_{t−1}) ≔ 𝒩(x_t; √(1 − β_t) x_{t−1}, β_t I)
The notation 𝒩 gives a Gaussian evaluated at its first argument, with the following arguments specifying its mean and covariance. The current image-like array is x_t, and x_{t−1} is the preceding array. The variance β_t is set by the forward schedule and lies strictly between zero and one. I is the identity matrix on the image dimensions, so β_t I gives mutually independent Gaussian perturbations with the same variance in each dimension. The square root in the mean reduces the amplitude of the preceding state as the process adds noise.
The reduction of the preceding state matters for the destination of the chain. Adding random perturbations to an unchanged signal would simply build increasing variance around that signal. Here the clean image accounts for a progressively smaller part of each state. Given a suitable schedule and enough steps, even different starting images lead to terminal distributions close to the same standard Gaussian. The sampler can start from that Gaussian without knowing which image it will end up producing.
The paper expresses the fraction retained by a transition through the complement of its noise variance.
α_t ≔ 1 − β_t
Here α_t is the retention factor on the variance scale at transition t, and β_t is the variance inserted at that transition. The coefficient of the preceding state in the Gaussian mean is the square root of α_t.
ᾱ_t ≔ ∏ₛ₌₀ᵗ α_s
The bar indicates cumulative retention. The product uses s as a running timestep index and combines the factors α_s up to t, with the initial factor corresponding to the uncorrupted starting state and contributing unity. Timestep zero thus marks the clean end of the process.
Since the forward transitions are Gaussian, the distribution of a state at any chosen level given the original image can be calculated by combining them. The resulting distribution has a Gaussian mean proportional to the original image and a variance determined by the cumulative schedule.
q(x_t | x₀) = 𝒩(x_t; √ᾱ_t x₀, (1 − ᾱ_t) I)
Here x_t is the state being evaluated and x₀ is the image it came from. The square root of ᾱ_t sets the clean image's amplitude. The complement of ᾱ_t sets the variance of the accumulated noise in each dimension, with I indicating the diagonal covariance. The corresponding sampling expression writes the random part explicitly.
x_t = √ᾱ_t x₀ + √(1 − ᾱ_t) ε
The vector ε is a Gaussian draw with zero mean and identity covariance. The remaining terms give the signal and noise contributions to x_t. Drawing ε and applying these coefficients gives the correct distribution for the chosen t. A training batch can contain images at many noise levels even though the network sees each training image at only its sampled level. Constructing the batch does not require materializing the entire trajectory of every image.
Turn the reverse problem into something that can be trained
The exact reverse transition would use the conditional distribution of the preceding state given the current state. Computing that distribution requires information about the entire data distribution. The authors represent it with a Gaussian whose parameters come from the network.
p_θ(x_{t−1} | x_t) ≔ 𝒩(x_{t−1}; μ_θ(x_t, t), Σ_θ(x_t, t))
The symbol p_θ denotes the learned reverse distribution and θ denotes the network's parameters. The function μ_θ supplies the Gaussian mean and Σ_θ supplies its covariance. Both are functions of x_t and its timestep t. The distribution is evaluated at a candidate preceding state x_{t−1}. In the learned-variance formulation, the covariance is diagonal, and the network supplies a variance for each dimension.
During training, the authors can ask a more specific question. Given that a noisy state came from a particular clean image, what distribution over the preceding state follows from the known corruption process? Bayes' theorem yields the answer because the required forward distributions are Gaussian. The clean image in the conditioning information is what makes the calculation tractable.
β̃_t ≔ ((1 − ᾱ_{t−1}) / (1 − ᾱ_t)) β_t
The tilde on β̃_t marks the variance of this clean-image-conditioned posterior. The two cumulative retention terms describe the preceding and current noise levels. The ratio accounts for how much noise had already accumulated before the last transition, compared with how much is present now. Multiplying by β_t puts the result on the variance scale of the transition.
μ̃_t(x_t, x₀) ≔ (√ᾱ_{t−1} β_t / (1 − ᾱ_t)) x₀
+ (√α_t (1 − ᾱ_{t−1}) / (1 − ᾱ_t)) x_t
The function μ̃_t is the posterior mean and uses both the clean image x₀ and the current state x_t. The first coefficient combines prior cumulative retention ᾱ_{t−1} with the current transition variance β_t. The second uses the local retention α_t and the noise already present at the preceding level. Both are scaled by the accumulated noise variance at t. The tilde distinguishes the analytical target from the mean supplied by the network.
q(x_{t−1} | x_t, x₀) = 𝒩(x_{t−1}; μ̃_t(x_t, x₀), β̃_t I)
Here the Gaussian gives the forward process's conditional distribution over x_{t−1} when x_t and x₀ are available. It uses the posterior mean μ̃_t and the posterior variance β̃_t in each dimension, as indicated by I. Training uses this distribution to judge a reverse prediction based on x_t alone. Across examples, the network learns from many different clean images that could underlie noisy inputs. At synthesis time, the original image is absent because it is the eventual output of the chain.
Predict the noise, then obtain the mean
A network could predict the Gaussian mean directly. It could also estimate the clean image, which could be inserted into the posterior mean formula. The authors follow the earlier finding that predicting the noise is effective. They know the noise vector they drew when forming the training state, and the schedule tells them how to turn a prediction of that vector into a candidate reverse mean.
μ_θ(x_t, t) = (1 / √α_t) (x_t − (β_t / √(1 − ᾱ_t)) ε_θ(x_t, t))
Here ε_θ is the predicted noise, evaluated at x_t and t using the learned parameters θ. The local factors α_t and β_t come from the transition schedule. The barred factor ᾱ_t tells how much of the clean image has been retained up to that point. The expression removes a contribution proportional to the predicted noise and rescales the result to give μ_θ, the center of the preceding state's Gaussian.
L_simple = E_{t,x₀,ε}[‖ε − ε_θ(x_t, t)‖²]
The loss L_simple is the expected squared Euclidean error of the noise prediction. E averages over the timestep t, original image x₀ and sampled noise ε. The doubled bars denote the Euclidean norm of the error vector, and the square makes this a sum of squared errors over dimensions. The predicted vector comes from the noisy state made from those same draws. Earlier DDPM training draws t uniformly for each image in a minibatch.
The simple loss gives the network feedback about the part of the reverse distribution that comes from its noise prediction. Its mathematical form contains no reverse covariance. Two networks could make the same noise prediction and supply different amounts of randomness for the reverse transition, with identical simple losses. The authors need another signal for the variance output.
Calculate the variational loss along the chain
The variational calculation gives a lower bound on log-likelihood. With the negative sign used for minimization, the resulting loss bounds negative log-likelihood from above. The paper refers to this loss as L_vlb and breaks it into a reconstruction term, terms for the hidden transitions and a terminal term.
L_vlb ≔ L₀ + L₁ + … + L_{T−1} + L_T
Here L₀ scores reconstruction from the first noisy state. L₁ through L_{T−1} correspond to intermediate reverse transitions, and L_T accounts for the match to the starting distribution at the noisy end. T is the length of the original chain. This decomposition gives access to individual terms during training and permits inspection of which parts of the process contribute most to the reported loss.
L₀ ≔ −log p_θ(x₀ | x₁)
The quantity p_θ(x₀ | x₁) is the reverse probability assigned to the actual clean image when the first noisy state is the input. The negative logarithm gives a large loss when that probability is small. The authors divide each color component into 256 bins for this calculation. The probability assigned to the observed value is the Gaussian probability mass within the corresponding bin, evaluated using its cumulative distribution function. This is how a Gaussian prediction yields a probability for a discrete color value.
L_{t−1} ≔ D_KL(q(x_{t−1} | x_t, x₀) ‖ p_θ(x_{t−1} | x_t))
For the intermediate transitions, D_KL denotes Kullback–Leibler divergence, which measures the discrepancy when one distribution is used in place of another. The distribution to the left of the double bar is the posterior supplied by the corruption process and the clean image x₀. The distribution to the right is the learned transition available given only x_t. Both are Gaussian, allowing the divergence for each state to be evaluated in closed form.
L_T ≔ D_KL(q(x_T | x₀) ‖ p(x_T))
The terminal term compares the corruption distribution at x_T with p(x_T), the standard Gaussian used to start generation. If the schedule has removed almost all dependence on x₀, the two distributions are close. This term depends on the fixed corruption and starting distributions, so adjusting θ cannot reduce it. At the intermediate timesteps, the network's mean and covariance both affect the divergence. This gives the authors a way to train the covariance while retaining a separate loss for noise prediction.
The decomposition is economical during training. Each sampled timestep provides an estimate of a local term using the noisy image drawn directly at the corresponding level. Over images, Gaussian draws and timesteps, these estimates provide information about the full sum without evaluating the reverse network along a complete chain for every training image. The choice of which timestep to sample becomes consequential when the terms in the sum have very different magnitudes.
Learn variance on a scale set by the forward process
The earlier fixed-variance setup used either β_t or β̃_t. These correspond to two extreme assumptions about the original data. An isotropic standard Gaussian gives the reference β_t, and a data distribution collapsed to a single point gives β̃_t. Over much of the chain, the reference values are close. The authors reason that a network could have difficulty predicting a useful variance as an unrestricted quantity, particularly when the difference between meaningful values is small and their scale changes with time.
They make the output a coordinate relative to those two references. The combination is performed in logarithmic space, where blending the references corresponds to a multiplicative change in variance.
Σ_θ(x_t, t) = exp(v log β_t + (1 − v) log β̃_t)
The vector v is predicted from x_t and t by the network with parameters θ. Its components specify the blend for the respective diagonal entries of Σ_θ. The scalars β_t and β̃_t are the two variance references. The logarithms put them on a common additive scale, and exp returns the resulting variance to its ordinary positive scale. The expression is evaluated component by component.
If a component of v lies between zero and one, the variance lies between the references. The parameterization itself allows a wider range because v is unconstrained. The authors did not observe estimates going beyond the reference range in practice. Encoding the variance this way lets the same output be interpreted using new scales when the sampler changes the distance between reverse states.
L_hybrid = L_simple + λ L_vlb
The hybrid loss L_hybrid adds the squared noise-prediction objective L_simple and the variational loss L_vlb weighted by λ. The experiments use λ equal to 0.001. The authors also stop the gradient through the mean prediction when computing the variational term. The variational term still evaluates the transition using the predicted mean. Its gradients through that output are blocked, so its direct training signal flows through the variance output. Noise-prediction error guides the mean through the network's estimate of ε. The small coefficient and the gradient intervention address different aspects of training, since changing the weight alone would still permit a direct contribution through the mean.
Distribute corruption more evenly across time
The schedule controls which denoising problems the network encounters when timesteps are sampled. A linear schedule refers to a linear increase in the local variances β_t. The cumulative signal ᾱ_t is a product, so it can fall rapidly under that schedule. In the small-image settings, the paper finds that the later part of the forward chain spends a substantial interval at levels where the image is already hard to distinguish from noise.
The authors design the new schedule directly in terms of cumulative retention. Their aim is for the signal to decline at a roughly steady rate through the middle and change gently near the endpoints.
f(t) = cos²(((t/T + s) / (1 + s)) · π/2)
The function f is an unnormalized retention curve. Its argument uses the current step t divided by the total number of steps T. The offset s shifts the position of the starting point on the curve, with the denominator keeping the end at the intended position. The cosine of the resulting angle is squared. The constant π has its usual meaning, and the factor π/2 sets the angular scale.
ᾱ_t = f(t) / f(0)
This equation normalizes f by its value at timestep zero. The result ᾱ_t is the intended cumulative retention at t. Setting the clean endpoint through the normalization makes the schedule compatible with the direct corruption formula. The squared cosine supplies a convenient curve of the desired shape. The authors expect that other functions with a similar profile could serve the same purpose.
β_t = 1 − ᾱ_t / ᾱ_{t−1}
The fraction recovers the local retention from the cumulative retention at adjacent levels. Its complement is the Gaussian variance β_t for the transition. The authors cap this variance at 0.999 to avoid a singular transition near the final timestep. They set s to 0.008 so that at the clean end the initial noise standard deviation is slightly below the pixel bin size of 1/127.5. Their motivation is that an extremely small corruption made accurate noise prediction difficult. The offset avoids making the prediction task there depend on a perturbation much smaller than the image's bin scale.
For linear-schedule runs with 4000 diffusion steps, the appendix gives the endpoint variances as 0.0001/4 and 0.02/4. The per-step variance changes linearly between the endpoints. This adjustment is intended to preserve the shape of cumulative retention when using the longer discretization. It illustrates why the total number of steps and the local variances have to be considered together. A schedule describes the degradation of the signal along the whole chain, even when the quantities supplied to the implementation are local.
Sample likelihood terms according to their scale
The authors also train directly on L_vlb. The immediate obstacle is variability in the training signal. Timesteps that contribute large loss terms are mixed with timesteps that contribute much smaller ones. Two minibatches can therefore give rather different estimates of the loss and its gradient even when drawn from the same image distribution. The paper uses importance sampling to change the frequency of visits to the timesteps while keeping the variational sum as the objective.
L_vlb = E_{t∼p_t}[L_t / p_t]
In this expression t indexes the sampled loss terms, so the paper writes the selected term as L_t. The probability of selecting that index is p_t, and E averages according to those probabilities. The notation ∼ indicates a draw from the sampling distribution. Dividing by the selection probability balances the increased or decreased frequency of the term. The terminal contribution is fixed with respect to training parameters and can be accounted for separately from the sampled terms that drive the update.
p_t ∝ √E[L_t²]
The symbol ∝ means that the probabilities are proportional to these weights. The expectation here is the second moment of the selected term, estimated from observations of that term during training. Taking its square root puts the weight back on the scale of the loss. The authors normalize the weights so their probabilities sum to one. A term that tends to contribute a large squared value is thus visited more often, with the inverse-probability factor maintaining its proper contribution to the objective.
The needed expectations change as the network learns. The authors keep the previous 10 observations of each term and update the estimates dynamically. Initially they draw timesteps uniformly, continuing until every sampled term has 10 observations. This gives the procedure some data on every term before letting its recent losses determine how frequently it is selected. The method is based on the loss magnitudes, and its effect on noise and likelihood is an empirical part of the paper.
Recompute transition scales for generation
A network trained across many noise levels can be evaluated on a selected subset of them. To choose K sampling steps, the authors space K real-valued positions evenly between 1 and T, including the endpoints, then round each position to the nearest integer. Generation visits the chosen states in reverse order. The network still receives the selected timestep from the training grid so it can interpret the input at the corresponding noise level.
β_{S_t} = 1 − ᾱ_{S_t} / ᾱ_{S_{t−1}}
The sequence S contains the retained timesteps in forward order, and S_t is its entry at index t. Its predecessor S_{t−1} is the preceding retained level, with the clean state serving as the boundary of the chain. The cumulative retentions ᾱ are those at the chosen levels of the original schedule. In this equation β_{S_t} means the effective forward variance for traversing the gap between those levels. The fraction works across the gap because it expresses how much signal remains at the later level relative to the preceding one.
β̃_{S_t} = ((1 − ᾱ_{S_{t−1}}) / (1 − ᾱ_{S_t})) β_{S_t}
The effective posterior reference β̃_{S_t} is computed with the same structure as for consecutive steps. It uses the accumulated noise at the retained predecessor and the selected current level, together with the new local variance β_{S_t}. Both references now describe the same larger jump. The draw in the reverse direction uses a mean obtained from the noise prediction with the shortened schedule and a covariance obtained by inserting the rescaled references into the learned variance formula.
This construction leaves the marginal distribution at a selected forward level in place. A state carrying the original timestep label still has the corresponding amount of corruption. What changes is the transition target in the reverse chain, since the preceding level is now farther away. A fixed-variance sampler can also use a shortened grid. The comparison tests how well the resulting samples hold up when the network can specify where the variance falls relative to the two recalculated references.
Build the image network and supply conditioning
The authors use a UNet with a downsampling stack and a corresponding upsampling stack. The lower resolutions let the network work with a coarser representation of the image, and the upsampling stack returns its predictions to the original resolution. The ImageNet ablation configuration has four downsampling stages with three residual blocks per stage. Its channel counts from the highest to the lowest resolution are given as follows.
[C, 2C, 3C, 4C]
Here C is the first-stage channel count, and each multiplier sets the width of the corresponding stage. The main ImageNet 64 × 64 ablations use C equal to 128. The authors estimate 120M parameters for that configuration and roughly 39 billion floating-point operations per forward pass. The CIFAR-10 configuration also uses three residual blocks per downsampling stage, with a smaller progression of channel widths.
[C, 2C, 2C, 2C]
Here C again equals 128. The later stages maintain the same width as the second stage. The residual blocks used throughout the architecture are connected to Deep Residual Learning for Image Recognition.
The authors use four attention heads while keeping the total number of attention channels the same as in the earlier configuration. Attention is applied at 16x16 and 8x8. The multi-head design follows the attention mechanism described in Attention Is All You Need. They also revise the way the timestep affects a residual block. In the earlier arrangement, the conditioning is added before normalization.
GroupNorm(h + v)
Here h is the hidden state and v is a vector encoding the timestep for this block. The v in this expression is distinct from the coordinate used for predicting variance. GroupNorm applies group normalization to its input. In the revised arrangement, the timestep supplies a scale and shift after normalization.
GroupNorm(h)(w + 1) + b
The vector w adjusts the scale of the normalized h, with the added one giving a reference scale. The vector b shifts the result. Both are computed from the conditioning input. For class-conditional generation, the authors combine the class with the time input before passing it through the network's residual blocks.
e_t + v_i
Here e_t is the embedding for timestep t and v_i is the embedding for image class i. An embedding is a vector representation used by the network. Adding them lets the existing timestep conditioning pathway carry information about the requested class as well as the noise level.
The optimizer is Adam. Most runs use a batch of 128 examples, a learning rate of 0.0001 and an exponential moving average of network parameters with rate 0.9999. The moving average retains a smoothed record of the parameter updates. The larger class-conditional ImageNet 64 × 64 experiments raise the batch size to 2048 for training on more GPUs. The unconditional ImageNet 64 × 64 work uses the official ImageNet-64 data, while the class-conditional experiments use center crops and area downsampling. The authors release their implementation under the name improved-diffusion.
Experiments and results
Read the metrics in the context of each experiment
The likelihood comparisons report negative log-likelihood, or NLL, in bits/dim. The unit expresses the negative log probability on a per-dimension scale in bits. A lower value means a better likelihood result under the reported evaluation. The diffusion values are obtained from the variational calculation. Because the calculation includes the image reconstruction distribution, details that matter for the probability of a recorded pixel value can affect the result even if they make little difference to how the image looks.
Fréchet Inception Distance, or FID, compares statistics of image features for generated and reference samples. A lower FID indicates closer agreement under that statistic. The precision and recall comparison goes further by asking about the two distributions from different directions. Precision measures how much generated output falls within the estimated support of real images. Recall measures how much of the real-image distribution is covered by the generated set under the same kind of feature-space assessment. In the class-conditional comparison, the authors use Inception-V3 features and a neighborhood parameter of K=5. This K specifies the metric's neighborhood setting, separate from the number of steps in a sampling chain.
Evaluation sample size varies by experiment. Unconditional ImageNet 64 × 64 FID uses 10K generated images so that repeated evaluations are less expensive. The class-conditional comparison uses 50K generated images for comparability with other work. CIFAR-10 FID also uses 50K. The reference statistics for CIFAR-10 and ImageNet come from the full training sets, and the LSUN reference uses 50K training examples. The authors report that more generated samples lowered estimated FID by approximately 2 points in their comparison of sample counts. Relative comparisons made with the same count avoid mixing that effect with changes to the generator.
Establish a likelihood baseline before changing the objective
The first ImageNet 64 × 64 comparison uses the earlier simplified objective and fixes the reverse variance to β_t. The baseline with 1000 diffusion steps gives a reported NLL of 3.99 bits/dim after 200K training iterations. With 4000 diffusion steps, the reported NLL improves to 3.77 bits/dim. The comparison is in the unconditional likelihood study. The authors carry the longer training grid forward into the main comparisons of objective and noise schedule.
Diffusion grid length and NLL on unconditional ImageNet 64 × 64
The longer grid gives a better likelihood result with the simple objective and fixed variance.
The numbers
| System or setting | NLL, bits/dim |
|---|---|
| Simple loss with 1000 diffusion steps | 3.99 |
| Simple loss with 4000 diffusion steps (this paper) | 3.77 |
The subsequent experiments on unconditional ImageNet 64 × 64 and CIFAR-10 compare objective and schedule choices. Combining the cosine schedule with the hybrid objective improves likelihood while keeping FID similar to the earlier baseline. The networks trained on the hybrid objective or directly on the bound both learn their variances. The direct-bound runs use importance sampling. Some of the strongest ImageNet 64 × 64 configurations are also trained for 1.5M iterations.
Direct variational training with the revised timestep sampling gives a further likelihood gain and an increase in FID. In operational terms, a researcher choosing a generator for image sampling has a reason to prefer the hybrid checkpoint, whereas the direct objective is a way to improve the likelihood score. On unconditional ImageNet 64 × 64 the likelihood comparison puts the best diffusion results in competition with strong convolutional systems. The paper identifies a continuing advantage for fully Transformer-based architectures, a comparison that includes Efficient Content-Based Sparse Attention with Routing Transformers. The higher FID of the direct-bound runs also shows why the likelihood ranking alone gives an incomplete account of the experiments.
Compare sampling across checkpoints and step budgets
For the main sampling comparison, the authors hold the training grid at 4000 steps and measure FID using 25, 50, 100, 200, 400, 1000 and 4000 sampling steps. They evaluate intermediate and longer-trained checkpoints. For CIFAR-10 those checkpoints are at 200K and 500K training iterations. For unconditional ImageNet 64 × 64 they are at 500K and 1500K. Using both checkpoints makes it possible to see whether a sampler's apparent advantage depends on how long the network has trained.
The baselines trained with the simple loss use fixed variances. The authors check both the larger β_t and the smaller β̃_t settings. Both experience a substantially larger deterioration in FID as the sampling budget shrinks than the learned-variance system trained with the hybrid loss. At the longer-trained checkpoints on both datasets, 100 sampling steps are enough to approach the best FID in the sweep. The paper also illustrates unconditional samples at 50 steps. In the authors' setup the full process takes minutes on a GPU, whereas shortening the chain makes it possible to generate samples in seconds. The number of network evaluations is the more directly specified measure of the change.
DDIM performs better in the main comparison below 50 steps. At 50 steps and above, the learned-variance ancestral sampler does better. The relative performance of DDIM improves with additional training of the underlying denoiser. These results concern the tested checkpoints and timestep selections. The authors find that their own spacing convention harms DDIM, so they give DDIM its constant-stride schedule.
T − T/K + 1
This is the final forward timestep selected by the constant-stride convention described in the paper. T is the length of the training grid and K is the sampling budget. The expression gives the high-noise end of the sequence, where sampling begins in reverse. The authors also test DDIM's quadratic stride and report that it harms FID in combination with their cosine schedule. The other tested samplers fare slightly better with the authors' spacing, which includes the last timestep of the training grid. Consequently, the comparison reflects each procedure with the spacing used for its reported results.
Examine image coverage with a class-conditional comparison
The ImageNet 64 × 64 coverage experiment supplies class labels to the diffusion network and to the GAN used for comparison. The smaller diffusion system has 100M parameters and trains for 1.7M steps. The larger has 270 million parameters and trains for 250K iterations. Both use the hybrid loss and 250 reverse sampling steps. BigGAN-deep has 100M parameters across its generator and discriminator and is trained for 125K iterations. In a GAN, the generator produces examples and the discriminator provides a training signal based on its ability to distinguish generated and real examples. The paper uses the approach associated with Large Scale GAN Training for High Fidelity Natural Image Synthesis.
The authors sample BigGAN-deep without truncation to favor recall. In this setting, truncation would constrain which initial inputs are sampled and could restrict the diversity of the resulting images. They use 50K generated images for the metrics and the full training set to construct the FID reference. Giving recall its own measurement forces the comparison to account for a property that attractive individual samples and aggregate FID can leave unclear.
BigGAN-deep has better FID than the smaller diffusion system, while its recall is lower. The paper interprets the recall result as evidence that diffusion covers more of the target distribution in this comparison. The illustrated samples from the larger diffusion system have FID 2.92 on class-conditional ImageNet 64 × 64 at 250 sampling steps. The examples include different-looking outputs within classes such as ostrich, goldfinch, papillon and spotted salamander. The images make within-class variation visible, while the recall statistic assesses coverage across the generated set.
Check what happens at higher resolutions
The LSUN bedroom experiment examines sampling at 256 × 256. It tests the hybrid and simple losses in a domain with larger images and a more specific subject than ImageNet. The training configurations include a batch size of 64 with a learning rate of 2 × 10⁻⁵ and a batch size of 128 with a learning rate of 10⁻⁴. Each run uses 153.6M training examples, equivalent to 2.4M training iterations for the batch of 64, as reported by the authors.
The FID curves again show an advantage for DDIM below 50 sampling steps and an advantage for the hybrid sampler above 50. They also show a dependence on training settings. DDIM benefits from the smaller learning rate and batch size, while the authors' ancestral sampler can use the larger learning rate and batch size effectively. This is a separate higher-resolution test of the sampling result. The exact behavior of the two samplers depends on how the network was trained.
For class-conditional ImageNet at 256 × 256, the authors test direct generation at the output resolution and a staged procedure intended to reduce computation. The staged procedure first generates a 64 × 64 image from a class label. A second diffusion network receives the lower-resolution result and the same class information while generating the larger image. In the upsampling UNet, the lower-resolution image is an additional conditioning input. The paper relates this organization to VQ-VAE-2, which uses priors at different latent resolutions to address global and local image structure.
In the figure showing the two stages, the class-conditional 64 × 64 outputs have FID 2.92, and the resulting conditional 256 × 256 outputs have FID 12.3. Each stage uses 250 sampling steps. Each FID concerns the reference distribution for its own resolution. At 256 × 256 the authors use the linear schedule because it performs better for these ImageNet runs. The paper reports favorable FID relative to the likelihood-based comparisons at this resolution and a smaller gap to GANs. The BigGAN values in this higher-resolution comparison use the truncation setting that gives its best FID, reflecting a different comparison goal from the recall-oriented experiment.
Vary network width and training work
The compute study uses the hybrid objective on ImageNet 64 × 64 and sets the first layer to 64, 96, 128 or 192 channels. Changing this width also changes the channel counts elsewhere in the network. Since the authors change width, they adjust the learning rate used by Adam. The 128-channel configuration retains the 0.0001 rate used elsewhere.
1 / √m
This is the scaling factor for the learning rate, with m denoting the channel multiplier relative to the 128-channel reference. The inverse square root decreases the factor as channel width increases. The authors use it to account for changes in the scale of the initial weights as the layers change size.
Across the tested runs, FID improves with theoretical training compute. On logarithmic axes its trend is roughly linear, consistent with a power-law relationship in the range examined. A power-law description here would give a regular relationship between growth in compute and improvement in the metric after allowing for the fitted constant. The FID figure approximates that constant using the score of in-distribution data. The validation NLL curves fit their trend less cleanly, with their constant approximated from the strongest likelihood result on that dataset cited in the paper. The contrast is relevant to scaling laws because the regularity depends on which outcome is being tracked. The compute axis represents theoretical work under full hardware utilization.
What the ablations show
Fixed variance is a closer approximation at some timesteps than others
The authors plot the ratio of the posterior variance β̃_t to the forward variance β_t across the chain. The references are near each other at most noise levels. Much of their separation occurs near the beginning of the forward process, which corresponds to the final part of image generation. As the number of forward steps increases, the references remain close across more of the process. This gives a plausible account of the earlier observation that selecting either fixed variance yielded similar sample quality on a long chain.
The paper separately plots the contributions of individual timesteps to the variational loss. The steps close to clean images account for a large part of that loss. Thus the region where the references differ is also important to the likelihood calculation. A small change in the probability of a pixel value can matter considerably when scores are accumulated across the image, even if the image looks much the same. This is the motivation for the seemingly narrow variance prediction range. The figures support the choice of coordinates and explain why likelihood can benefit even when full-chain image quality is relatively insensitive to the fixed reference.
The shortened-chain comparison tests a different role for variance. The baselines involve the simple loss with fixed variances, and the strongest shortened-chain results come from the hybrid setup with a learned variance. A larger jump brings a change in both variance references. Recasting the fixed-variance baselines with either reference still leaves them more sensitive to shortening than the hybrid system. The evidence is a comparison of these trained setups under changes to inference, so it ties robustness to the learned-variance configuration as a whole.
Inspect the noise schedule before judging the final image
The schedule analysis starts with a visualization of noisy states spaced throughout the forward process. The late states of the linear schedule look almost entirely like noise. Under the cosine schedule, recognizable information persists farther through the chain. That observation describes the inputs presented to the denoiser at different timesteps. It also leads to an intervention that can be evaluated through actual generated samples.
The authors omit a prefix of reverse steps on ImageNet 64 × 64. With the linear schedule, dropping up to 20% of the reverse process gives little deterioration in FID. The prefix is at the noisy end, so the sampler is dropping transitions where the corresponding forward states are already close to noise. The intervention supports the diagnosis that much of this portion of the chain contributes little to the measured quality of final samples. It also explains why the authors design the replacement through cumulative retention, the quantity that controls how much of the image is present in an intermediate state.
When the objective and schedule are compared on the small-image datasets, the combination of hybrid training and cosine corruption provides the balance the authors seek. Schedule choice, however, also changes the pace of training. On the CIFAR-10 runs that hold dropout at 0.1, the cosine schedule reaches its best FID sooner and then deteriorates sooner. The authors suggest that lower noise might provide less regularization, or that the changed schedule might simply make optimization easier. These are possible explanations for the difference observed at matched dropout.
Distinguish an objective from the noise in its estimates
On ImageNet 64 × 64, the direct variational objective with uniform timestep sampling initially yields worse training likelihood than the hybrid objective at comparable training time. The direct loss is the more immediate estimator of the quantity the authors wish to improve. Its learning curve raises the question of whether the updates are too variable to use that advantage.
The authors measure gradient noise scales for the two training objectives. The direct loss gives the noisier gradient estimate. After resampling timesteps according to their loss second moments, the direct loss yields a less noisy learning curve and achieves the strongest likelihood. The importance weights retain the original sum as the target. The comparison therefore shows that an apparent disadvantage of direct optimization can be reduced by changing which terms are estimated on a given update.
Importance sampling did not help when the authors applied it to the hybrid objective. The simple loss in that objective already changes the relative emphasis across the chain, and the gradient-noise measurements make the hybrid objective's training signal look less variable. The result confines the demonstrated benefit of the resampling scheme to a setting where the distribution of term sizes makes uniform sampling troublesome. It also leaves a distinct loss tradeoff intact. The improved direct-bound system still scores worse on FID than the hybrid system.
Switch objectives at different parts of the reverse chain
The authors investigate the likelihood and FID tradeoff by comparing the variational loss terms of a hybrid-trained network and a direct-bound network. The direct-bound network scores better near the two ends of the process. The hybrid network scores better through the middle. Looking at the terms separately shows that each training objective favors a different part of the chain, even when both are judged by the local variational calculation.
The paper suggests that the direct-bound system spends more of its capacity on perceptually subtle details. To test whether the complementary strengths can be used in a single chain, the authors run an ensemble that changes networks with timestep. It uses the hybrid network from timestep 100 up to, but excluding, T minus 100. It uses the direct-bound network outside that interval. Here T is the original chain length. The sample illustration keeps the initial noise fixed so that changes in output can be inspected without also changing the seed.
On unconditional ImageNet 64 × 64, the ensemble attains FID 19.9 and NLL 3.52 bits/dim. Its FID is slightly worse than the hybrid network's, while its NLL is better than that of either constituent. This result gives concrete evidence that the local strengths of the two objectives can be combined through the reverse process. It uses independently trained networks and shows what happens when their predictions are selected by stage. The interpretation about which visible details account for the differences remains the authors' explanation of the loss profiles and samples.
Preserve early forward steps for short-chain likelihood
The choice of sampling grid depends on what the researcher plans to measure. The authors find that using a constant stride can leave FID largely intact while substantially worsening likelihood. Likelihood remains sensitive to the fine steps close to the clean image, consistent with the earlier observation about where the variational terms are largest.
For likelihood evaluation on ImageNet 64 × 64 and CIFAR-10, the authors supplement the strided grid with every timestep from 1 through T/K, where T is the original training grid length and K is the number of strided steps. The paper describes this as requiring T/K additional evaluations. By retaining more of the small transitions at the clean end, they recover much of the likelihood lost to uniform spacing. A sequence that works well for producing images can therefore have a different allocation of steps from one used to evaluate probabilities.
The authors omit DDIM from that likelihood comparison. The DDIM paper, as they describe it, gives neither NLL results nor a straightforward likelihood calculation for them to apply. The comparison between DDIM and the learned-variance sampler consequently concerns image quality at a given step budget. The short-chain likelihood analysis compares choices within the diffusion calculation used in this paper.
See how architecture and regularization change the outcome
In preliminary experiments, a ResNet-style network that avoids downsampling obtains better likelihood and worse FID than the UNet. The authors also report a small preliminary FID gain from their architecture changes on ImageNet 64 × 64, including the attention and conditioning changes. These observations matter because the loss is only one source of the likelihood and FID difference. The architecture can alter it as well. The reported preliminary comparison concerns the changes as used in the paper, with the detailed ablations concentrated on schedule and objective.
The CIFAR-10 experiments sweep dropout settings of 0.1, 0.2 and 0.3. Dropout randomly suppresses activations during training as a form of regularization. The linear runs work best with 0.1 and the cosine runs with 0.3. Across the runs, the best FID reached during training tends to be similar even though the timing and extent of deterioration differ. Higher dropout for cosine training addresses its tendency to overfit sooner. The settings at a checkpoint that gives good samples are therefore partly a consequence of how the corruption process affects training.
Class-conditional ImageNet 64 × 64 also exhibits worsening FID when training continues. The authors sweep the rate of the parameter moving average and find that 0.9999 and 0.99995 work best among the tested choices. They compare dropout settings of 0.1 and 0.3 and report that a small amount of dropout improves the best attainable FID, takes longer to reach the same performance, and still eventually overfits. The paper's conclusion for this setting is to stop at a good checkpoint and use additional compute to increase network capacity. This distinguishes the benefit of running a wider system from the effect of continuing an already overfitting run.
Limitations
Limits reported by the authors
The scaling study is preliminary. FID follows a fairly orderly pattern over the tested compute range, while validation likelihood fits its trend less well. The paper names both an unexpectedly high irreducible loss and overfitting as possible explanations. The study uses hybrid training to keep a balance between FID and likelihood, so the likelihood curves describe that objective. Scaling the best likelihood attainable with direct-bound training would require a different set of runs. The computation estimates further assume full utilization of the hardware, which makes actual elapsed time a separate quantity.
The experiments also put boundaries on the cosine schedule. The authors chose its shape as a convenient way to arrange the decay of cumulative retention and expect alternative curves with similar behavior to be workable. At ImageNet 256 × 256, a linear schedule works better for their reported configurations. At smaller resolutions, cosine training can reach its best FID sooner and then overfit sooner. The two examples concern different effects of the schedule, since one is a comparison at another image resolution and the other concerns how performance changes across checkpoints.
The speed result has a budget boundary. DDIM has the advantage at the shortest sampling budgets in the reported comparisons. At longer budgets, the authors' stochastic sampler produces better FID in their main tests. Likelihood introduces another condition because the shortened grid for good FID can lose fine steps needed for a good likelihood result. The additional clean-end evaluations improve this, and the paper leaves DDIM likelihood out of the comparison. The resulting evidence about very short chains applies most directly to image sample quality.
Overfitting is an observed limitation even on class-conditional ImageNet 64 × 64. The paper finds it through worsening FID and investigates dropout and moving averages. Choosing a smoothed set of parameters or adjusting dropout helps the best achieved value in some settings while leaving eventual deterioration. The authors' capacity study and overfitting analysis together give an account of why more available compute may be useful even when more updates to the current network have stopped helping.
Limits of what the experimental design establishes
Likelihood and FID operate on different representations of an image. The variational loss rewards assigning probability to recorded color values and to the transitions used in the calculation. FID assesses generated and reference sets through feature statistics. The comparison establishes that a gain in one can coexist with deterioration in the other. A direct assessment of which semantic distinctions a system captures would require evidence about those distinctions. The term-by-term analysis and the illustrated samples help localize the likelihood gains, but they cannot identify all the content responsible for them.
The GAN comparison establishes a coverage advantage under the chosen feature and neighborhood procedure. Its recall value estimates how much of the represented real distribution the generated examples cover. The result depends on the reference set, the features and the generated sample size. It also depends on the particular networks and their training and sampling settings. The generator and discriminator parameter count for BigGAN-deep describes a different allocation of parameters from that of the denoising network. The recorded training iteration counts describe the respective runs and leave the ordering under matched training compute unresolved.
The FID values from different tasks have to be interpreted with their protocols. Unconditional and class-conditional ImageNet differ in conditioning, data preparation and the number of generated samples used for evaluation. The higher-resolution FID also uses another image resolution and its corresponding reference. Comparisons within a task directly test changes to a schedule, objective or sampler. Comparing absolute FID values between these tasks would mix those changes with differences in the evaluation setup.
The speed experiments make a strong comparison in network evaluations and give a practical indication of generation time in the authors' environment. Timing another implementation would also depend on the cost of each forward pass and on how the system executes the sequential chain. The architecture estimate gives one example of per-pass work, and the theoretical compute study addresses training. The paper's experiments leave hardware-specific latency, throughput and batching behavior open.
Finally, the experiments with learned variance, cosine corruption and shortened sampling are on images. The discussion of audio establishes context, including the authors' hypothesis about strong conditioning. Other output spaces would have to specify what corruption means, what the reverse step predicts and how to assess useful outputs. In the paper's setting the intermediate states admit Gaussian calculations even though final pixel values are scored in bins. The evidence for that combination is tied to this image setup.
What came after
Give image generation a more specific input
The ImageNet experiments use class labels to guide the denoiser, and the staged experiment also supplies a lower-resolution image. Later citing work explores other ways to communicate what should appear in the output. GLIDE applies text-guided diffusion to photorealistic generation and editing. The task extends from providing a category to supplying guidance in language, and it includes changing an image as well as generating one. The continuity is the use of a denoising process for controlled image synthesis. The citation establishes that connection without identifying which variance or scheduling choices the later work carries over.
Hierarchical Text-Conditional Image Generation with CLIP Latents organizes text-conditioned image generation around a hierarchy involving CLIP latents. The earlier paper's ImageNet hierarchy passes a smaller image to a denoiser that produces a larger one. The later work's stated hierarchy involves an intermediate representation for text-conditioned generation. Both place a diffusion generator within a staged system, with the kind of information passed between stages becoming part of the design.
Photorealistic Text-to-Image Diffusion develops text-to-image synthesis with an emphasis on language understanding. The earlier class-conditioned experiments ask whether diffusion can cover variation within requested image categories. A text-conditioned task makes the content of the condition a larger part of the generation problem. Classifier-Free Diffusion Guidance focuses on the guidance mechanism itself. This connects to the same distinction between training a denoiser and deciding how to direct generation, while addressing a different mechanism from the paper's addition of a class embedding to the timestep input.
Denoising Diffusion Restoration makes restoration the task. An observed image becomes the starting point for specifying what should be recovered. The earlier upsampling experiment illustrates one form of conditioning on an image at lower resolution. Restoration takes the relationship between an image observation and the desired output as its central problem, extending the use of denoising diffusion beyond drawing images from an unconditional distribution.
Reduce the work required to produce a sample
Latent Consistency targets high-resolution synthesis with few inference steps. This continues the question posed by the earlier FID-versus-step sweeps. Improved DDPM changes the grid used by an already trained denoiser and recalculates the reference variances for the jumps. The later work's title places the few-step aim in a latent consistency formulation. That shift makes the form of the generative procedure part of the speed question alongside the choice of timesteps.
Score Identity Distillation pursues one-step generation by distilling a pretrained diffusion system. Distillation makes a pretrained system the basis for training a new approximation. Applied to inference, it addresses the repeated evaluations that motivated the earlier paper's shortened-chain experiment. The methods intervene at different stages of the system's life. The shortened ancestral chain reuses the trained network directly, and the distillation work specifies another training procedure aimed at producing a one-step generator.
Flow Matching studies generative learning through flows. Rectified Flow emphasizes straighter paths for generating and transferring data. The earlier paper treats the path through noise levels as an object to design, then asks how sparsely it can be traversed. The citing flow work addresses generative paths through different formulations. The relationship is clearest in the shared concern with the route between distributions and what following it costs.
Change the states that diffusion acts on
Structured Denoising Diffusion in Discrete State-Spaces takes the forward and reverse process into a discrete setting. In the image paper, the transition operates on a continuously valued noisy array and the likelihood calculation accounts for discrete bins at reconstruction. Defining the intermediate state space itself as discrete changes what a corruption step can be. The later work develops the denoising formulation in that setting.
Diffusion-LM applies diffusion to controllable text generation. DiffuSeq makes the task sequence-to-sequence generation, and DiffuSeq-v2 addresses accelerated generation by relating discrete and continuous text spaces. These tasks put the choice of representation alongside the choice of objective and the cost of sampling. The earlier image work supplies a concrete instance in which the structure of the intermediate states makes it possible to go directly to a chosen corruption level and to reinterpret longer steps. The text work brings the relationship between observable sequences and those intermediate representations to the foreground.
Other citing work changes the output domain again. Diffusion Policy uses action diffusion for visuomotor policy learning. The object produced by the diffusion process is tied to action instead of an image to be viewed. AudioLDM places diffusion in a latent representation for text-conditioned audio generation. These uses extend the underlying research questions about conditioning and iterative generation to different outputs. The image paper's evidence remains specific about what its own changes achieve. It measures gains in likelihood, coverage and speed through distinct experiments, and subsequent work can take up any of those concerns while changing the data, the representation or the route used to generate a sample.
Cite
Cite as Alex Nichol and Prafulla Dhariwal. 2021. Improved Denoising Diffusion Probabilistic Models. arXiv (Cornell University).
@misc{nichol2021improved,
title = {{Improved Denoising Diffusion Probabilistic Models}},
author = {Alex Nichol and Prafulla Dhariwal},
year = {2021},
doi = {10.48550/arxiv.2102.09672},
eprint = {2102.09672},
archivePrefix = {arXiv},
url = {https://doi.org/10.48550/arxiv.2102.09672}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/nichol-2021-improved-denoising-diffusion-probabilistic-models/
References
- Brock, A., Donahue, J., and Simonyan, K. Large scale gan training for high fidelity natural image synthesis. arXiv preprint arXiv:1809.11096, 2018. our card
- Brown, T. B., Mann, B., Ryder, N., Subbiah, M., Kaplan, J., Dhariwal, P., Neelakantan, A., Shyam, P., Sastry, G., Askell, A., Agarwal, S., Herbert-Voss, A., Krueger, G., Henighan, T., Child, R., Ramesh, A., Ziegler, D. M., Wu, J., Winter, C., Hesse, C., Chen, M., Sigler, E., Litwin, M., Gray, S., Chess, B., Clark, J., Berner, C., McCandlish, S., Radford, A., Sutskever, I., and Amodei, D. Language models are few-shot learners, 2020. our card
- Chen, M., Radford, A., Child, R., Wu, J., Jun, H., Dhariwal, P., Luan, D., and Sutskever, I. Generative pretraining from pixels, 2020a. URL https://cdn.openai.com/papers/Generative_Pretraining_from_Pixels_V2.pdf. OpenAlex ↗ · Scholar ↗
- Chen, N., Zhang, Y., Zen, H., Weiss, R. J., Norouzi, M., and Chan, W. Wavegrad: Estimating gradients for waveform generation, 2020b. OpenAlex ↗ · Scholar ↗
- Chen, X., Mishra, N., Rohaninejad, M., and Abbeel, P. Pixelsnail: An improved autoregressive generative model. In International Conference on Machine Learning, pp. 864–872. PMLR, 2018. OpenAlex ↗ · Scholar ↗
- Child, R. Very deep vaes generalize autoregressive models and can outperform them on images. arXiv preprint arXiv:2011.10650, 2020. OpenAlex ↗ · Scholar ↗
- Child, R., Gray, S., Radford, A., and Sutskever, I. Generating long sequences with sparse transformers, 2019. our card
- Gao, R., Song, Y., Poole, B., Wu, Y. N., and Kingma, D. P. Learning energy-based models by diffusion recovery likelihood, 2020. OpenAlex ↗ · Scholar ↗
- He, K., Zhang, X., Ren, S., and Sun, J. Deep residual learning for image recognition, 2015. our card
- Henighan, T., Kaplan, J., Katz, M., Chen, M., Hesse, C., Jackson, J., Jun, H., Brown, T. B., Dhariwal, P., Gray, S., Hallacy, C., Mann, B., Radford, A., Ramesh, A., Ryder, N., Ziegler, D. M., Schulman, J., Amodei, D., and McCandlish, S. Scaling laws for autoregressive generative modeling, 2020. our card
- Heusel, M., Ramsauer, H., Unterthiner, T., Nessler, B., and Hochreiter, S. Gans trained by a two time-scale update rule converge to a local nash equilibrium. Advances in Neural Information Processing Systems 30 (NIPS 2017), 2017. OpenAlex ↗ · Scholar ↗
- Ho, J., Chen, X., Srinivas, A., Duan, Y., and Abbeel, P. Flow++: Improving flow-based generative models with variational dequantization and architecture design. arXiv preprint arXiv:1902.00275, 2019. OpenAlex ↗ · Scholar ↗
- Ho, J., Jain, A., and Abbeel, P. Denoising diffusion probabilistic models, 2020. OpenAlex ↗ · Scholar ↗
- Hyvärinen, A. Estimation of non-normalized statistical models by score matching. Journal of Machine Learning Research, 60 (Apr):0 695–709, 2005. OpenAlex ↗ · Scholar ↗
- Jolicoeur-Martineau, A., Piché-Taillefer, R., des Combes, R. T., and Mitliagkas, I. Adversarial score matching and improved sampling for image generation, 2020. OpenAlex ↗ · Scholar ↗
- Kaplan, J., McCandlish, S., Henighan, T., Brown, T. B., Chess, B., Child, R., Gray, S., Radford, A., Wu, J., and Amodei, D. Scaling laws for neural language models, 2020. our card
- Kingma, D. P. and Ba, J. Adam: A method for stochastic optimization, 2014. our card
- Kingma, D. P. and Dhariwal, P. Glow: Generative flow with invertible 1x1 convolutions. In Advances in neural information processing systems, pp. 10215–10224, 2018. our card
- Kingma, D. P. and Welling, M. Auto-encoding variational bayes, 2013. our card
- Kong, Z., Ping, W., Huang, J., Zhao, K., and Catanzaro, B. Diffwave: A versatile diffusion model for audio synthesis, 2020. OpenAlex ↗ · Scholar ↗
- Krizhevsky, A. Learning multiple layers of features from tiny images, 2009. URL http://www.cs.toronto.edu/~kriz/learning-features-2009-TR.pdf. OpenAlex ↗ · Scholar ↗
- Kynkäänniemi, T., Karras, T., Laine, S., Lehtinen, J., and Aila, T. Improved precision and recall metric for assessing generative models, 2019. OpenAlex ↗ · Scholar ↗
- McCandlish, S., Kaplan, J., Amodei, D., and Team, O. D. An empirical model of large-batch training, 2018. OpenAlex ↗ · Scholar ↗
- Menick, J. and Kalchbrenner, N. Generating high fidelity images with subscale pixel networks and multidimensional upscaling, 2018. OpenAlex ↗ · Scholar ↗
- Parmar, N., Vaswani, A., Uszkoreit, J., Kaiser, Ł., Shazeer, N., Ku, A., and Tran, D. Image transformer. arXiv preprint arXiv:1802.05751, 2018. OpenAlex ↗ · Scholar ↗
- Ravuri, S. and Vinyals, O. Classification accuracy score for conditional generative models. arXiv preprint arXiv:1905.10887, 2019. OpenAlex ↗ · Scholar ↗
- Razavi, A., van den Oord, A., and Vinyals, O. Generating diverse high-fidelity images with vq-vae-2, 2019. our card
- Roy, A., Saffar, M., Vaswani, A., and Grangier, D. Efficient content-based sparse attention with routing transformers, 2020. our card
- Salimans, T., Goodfellow, I., Zaremba, W., Cheung, V., Radford, A., and Chen, X. Improved techniques for training gans, 2016. our card
- Salimans, T., Karpathy, A., Chen, X., and Kingma, D. P. Pixelcnn++: Improving the pixelcnn with discretized logistic mixture likelihood and other modifications, 2017. OpenAlex ↗ · Scholar ↗
- Sohl-Dickstein, J., Weiss, E. A., Maheswaranathan, N., and Ganguli, S. Deep unsupervised learning using nonequilibrium thermodynamics, 2015. our card
- Song, J., Meng, C., and Ermon, S. Denoising diffusion implicit models, 2020a. our card
- Song, Y. and Ermon, S. Generative modeling by estimating gradients of the data distribution. In Advances in Neural Information Processing Systems, pp. 11918–11930, 2019. our card
- Song, Y. and Ermon, S. Improved techniques for training score-based generative models. arXiv preprint arXiv:2006.09011, 2020. OpenAlex ↗ · Scholar ↗
- Song, Y., Sohl-Dickstein, J., Kingma, D. P., Kumar, A., Ermon, S., and Poole, B. Score-based generative modeling through stochastic differential equations, 2020b. our card
- Vahdat, A. and Kautz, J. Nvae: A deep hierarchical variational autoencoder. arXiv preprint arXiv:2007.03898, 2020. our card
- van den Oord, A., Kalchbrenner, N., and Kavukcuoglu, K. Pixel recurrent neural networks, 2016a. OpenAlex ↗ · Scholar ↗
- van den Oord, A., Kalchbrenner, N., Vinyals, O., Espeholt, L., Graves, A., and Kavukcuoglu, K. Conditional image generation with pixelcnn decoders, 2016b. URL http://image-net.org/small/download.php. OpenAlex ↗ · Scholar ↗
- van den Oord, A., Kalchbrenner, N., Vinyals, O., Espeholt, L., Graves, A., and Kavukcuoglu, K. Conditional image generation with pixelcnn decoders, 2016c. OpenAlex ↗ · Scholar ↗
- Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Kaiser, L., and Polosukhin, I. Attention is all you need, 2017. our card
- Yu, F., Seff, A., Zhang, Y., Song, S., Funkhouser, T., and Xiao, J. Lsun: Construction of a large-scale image dataset using deep learning with humans in the loop, 2015. OpenAlex ↗ · Scholar ↗