Diffusion Models
How noise becomes images: the forward process, predicting noise, the score, sampling steps, classifier-free guidance, latent diffusion and fast samplers.
Intermediate lesson, about 35 minutes, with interactive demos and a quiz.
What you will learn
- Forward process and noise schedules
- Predicting the noise
- Score and denoising
- DDPM and DDIM sampling
- Classifier-free guidance
- Latent diffusion
- Fast samplers and distillation
- Video, audio and proteins
Generating by removing noise
Type a sentence and get a photograph that never existed. Stable Diffusion and Imagen draw images this way, and FLUX.1 uses a close variant; Sora and Veo make video this way; AlphaFold 3 places the atoms of proteins and the molecules they bind this way. Under all of them sits one strange idea: to create something, start with static and remove it, one small step at a time.
What is it?
A diffusion model generates data by learning to reverse a process that gradually turns data into noise. The idea came from Sohl-Dickstein and colleagues in 2015, borrowing from the physics of diffusion. It became practical when Ho, Jain and Abbeel’s denoising diffusion probabilistic models (DDPM) in 2020 reached image quality comparable to GANs with a simple, stable training recipe.
How does it work?
- Forward process (fixed). Take a real example and mix in Gaussian noise over many steps, by a fixed recipe, until nothing of the original is left. No learning happens here.
- Training (learned). Show a neural network a noised example and the step number, and ask it to predict the noise that was added. That is the whole objective: a squared error between the true and the predicted noise.
- Sampling (reverse process). Start from pure noise. At each step, ask the network what noise it sees, remove part of it, and repeat. After tens of steps, a new example has emerged.
Why does it matter?
Diffusion training is stable (no adversary to balance, unlike GANs), it covers the variety in the data better than GANs, and the sampler can be steered at generation time by text, images or other conditions. Google’s Veo 3 report calls diffusion the de facto standard for image, audio and video generation, and it is now a tool in protein design too. Its weakness is speed: every sample needs many passes through a large network, which is why so much research goes into making that loop shorter.
New to generative models? The Generative AI lesson puts diffusion next to GANs, VAEs and autoregressive models, and shows diffusion on a spiral of training points.Key takeaways
- A diffusion model learns to undo a fixed process that slowly turns data into Gaussian noise.
- Training is a plain regression: predict the noise that was added to a noised example.
- Generation starts from pure noise and removes it over many steps, so it is slower than one-pass generators.
The forward process and noise schedules
Destroying data is easy. Doing it by a precise, known recipe is what makes the reverse direction learnable.
What is it?
The forward process adds a little Gaussian noise at each of T steps (T = 1,000 in DDPM). The noise schedule β₁…β_T says how much noise each step adds. Each step also shrinks the data slightly, so data scaled to unit variance keeps a total variance of 1, and the end point is a standard Gaussian, whatever the data was.
How does it work?
Because sums of Gaussians are Gaussian, you never need to run the steps one by one. You can jump straight to any step t with one formula, where ᾱ_t is the product of (1 − β) over the first t steps: the share of the original signal’s variance that survives.
x_t = √ᾱ_t · x₀ + √(1 − ᾱ_t) · ε, ε ~ N(0, I)The closed-form forward process. ε is fresh standard Gaussian noise; ᾱ_t falls from 1 at t = 0 towards 0 at t = T.
Ho and colleagues used a linear schedule, with β rising from 0.0001 to 0.02. Nichol and Dhariwal noticed that it destroys information too fast: for small images, the last part of the chain is almost pure noise and teaches the model little. Their cosine schedule keeps more signal through the middle steps.
With the linear schedule the four blobs have merged into one cloud by about t = 300, and the last 500 steps all look like the same Gaussian. The cosine schedule reaches the same mix (ᾱ ≈ 0.4) only at about t = 560, and approaches pure noise more gently. Neither schedule is right in general: the best one depends on the data, including its resolution. Nichol and Dhariwal found the linear schedule worked well for high-resolution images but not for 64 × 64 and 32 × 32 ones. Some later work, including Ho and Salimans’ guidance paper, indexes noise levels by the signal-to-noise ratio, ᾱ / (1 − ᾱ), which the demo shows in decibels.
Why does it matter?
The schedule decides which noise levels the network practises on, and therefore where its capacity goes. Too little time at moderate noise and the model is poor at the steps that decide an image’s layout. The same diffusion network can be sampled with a different, shorter list of timesteps, which is the first lever for faster generation.
The Diffusion Lab runs the same forward process on a 64 × 64 image, with the measured correlation between the clean and noisy pixels.Key takeaways
- The forward process mixes data with Gaussian noise by a fixed schedule until only noise is left.
- A closed form jumps straight to any step: x_t = √ᾱ_t · x₀ + √(1 − ᾱ_t) · ε.
- The schedule (linear, cosine, and others) controls how quickly signal is destroyed and which noise levels the model learns.
Learning to predict the noise
The network’s only job is a guessing game: here is a noisy example and the step number; what noise was added?
What is it?
The denoising objective trains a network ε_θ(x_t, t) to predict the noise ε in x_t. Ho and colleagues found that this simple squared error, without the weighting the full probabilistic derivation suggests, gave the best images.
L = ‖ ε − ε_θ( √ᾱ_t · x₀ + √(1 − ᾱ_t) · ε , t ) ‖²Pick a training example x₀, a random step t and fresh noise ε; build x_t with the closed form; regress the noise.
How does it work?
Predicting the noise is the same as predicting the clean example: rearrange the formula and x̂₀ = (x_t − √(1 − ᾱ_t) · ε̂) / √ᾱ_t. Some models predict x₀ or a mix of the two (“v-prediction”, introduced by Salimans and Ho) instead; they are reparameterisations of one idea.
The best any network can do is predict the average of all the noise (or clean examples) consistent with what it sees, E[x₀ | x_t]. A noisy point between two blobs could have come from either, so the ideal estimate lies between them, weighted by how likely each is. For the four blobs this ideal is computable exactly, which is what the demo shows.
At t = 150, a point near a blob is pulled confidently into it. Raise t and the bars even out: with more noise, the point could have come from anywhere, and the estimate slides towards the average of all four blobs, near the centre of the plot. This is why a diffusion model’s guesses at high noise are blurry: it is predicting an average, correctly. The loss curve also has a small bump between about t = 125 and t = 300, where the noise is just large enough to make the blob a point came from uncertain.
Why does it matter?
The objective is plain regression with fresh random inputs at every step, so it trains stably and scales, with no adversary to balance. The same objective works for any data you can add Gaussian noise to, including audio waveforms, video latents, protein coordinates and robot actions.
Key takeaways
- Training picks an example, a random t and fresh noise, and regresses the noise with a squared error.
- Predicting the noise, the clean example or a mix are equivalent parameterisations.
- The ideal prediction is an average over every clean example consistent with the input, so it is blurry at high noise.
Why it works: denoising is the score
Predicting noise sounds like a narrow trick. It turns out to be the same as learning a map that points uphill towards likely data, everywhere.
What is it?
The score of a distribution is the gradient of its log density, ∇ log q(x): at every point, an arrow towards where data is more likely. Song and Ermon generated images by learning the score at many noise levels and following it. Their approach and DDPM turned out to be the same thing seen from two sides.
How does it work?
For Gaussian noise, the best denoiser and the score are tied by Tweedie’s formula: the ideal noise prediction is the score scaled by the noise level. Vincent had shown in 2011 that training to denoise is a way of estimating the score.
ε̂(x_t, t) = −√(1 − ᾱ_t) · ∇ log q_t(x_t)The ideal noise prediction is the score of the noisy data, up to the factor −√(1 − ᾱ_t).
So a trained noise predictor is a field of arrows for every noise level. At high noise the noisy data is one broad Gaussian and the arrows point to its centre. At low noise the field has a basin around each mode of the data. Sampling starts at high noise, follows the broad arrows to roughly the right region, and the sharpening field then pulls it into one particular mode. Song and colleagues made this precise as a stochastic differential equation run backwards in time, with an equivalent deterministic version, the probability-flow ODE.
Above about t = 300 the density has a single peak and every arrow points to it. At t = 250 it has split into two, and by t = 200 each of the four blobs has its own peak and its own basin of arrows. Generation commits to the big decisions first (which part of the plane) and the details last (which blob, and where inside it). In an image model, the early steps settle layout and colour, the late steps edges and texture.
Why does it matter?
The score view helps explain why diffusion covers the data well: it learns the shape of the whole distribution, at every scale, rather than a single mapping from noise to output. It also opens the door to faster samplers, since following an ODE is an old problem in numerical analysis whose methods EDM and DPM-Solver borrow, and to guidance, since steering a sample means adding another arrow.
Key takeaways
- The score ∇ log q(x) points towards more likely data; the ideal noise prediction is the score, rescaled.
- At high noise the field has one basin; as noise falls it splits into one basin per mode.
- Sampling follows the field while the noise falls, deciding coarse structure first and detail last.
The reverse loop and the number of steps
Generation is a loop: estimate the noise, remove part of it, repeat. How many times you go round decides both cost and quality.
What is it?
A sampler turns the noise predictor into samples. The DDPM sampler takes each step from t to the previous step by moving towards the predicted clean point and then adding a little fresh noise. DDIM uses the same trained network but adds no fresh noise, which makes the path deterministic and holds up better when you skip steps.
How does it work?
- Start with x_T drawn from a standard Gaussian.
- Pick a list of timesteps from T down to 0. Using every one of 1,000 is not required; the Stable Diffusion pipeline in Hugging Face’s diffusers library, for example, uses 50 by default.
- At each step, predict the noise, form the estimate x̂₀, and compute the point at the next, lower noise level from x̂₀ and the predicted noise (DDIM), plus a fresh noise term (DDPM).
- The last step returns x₀, a new sample. Each step costs one pass of the network per sample.
With 1 step every sample lands in the middle. With 2 steps they start to separate but sit between blobs. By 10 steps about 91% are on the data, and by 25 steps both samplers are within a few points of the 96% that real samples achieve. With this ideal denoiser DDPM and DDIM end up similar. With a real, imperfect network, DDIM’s deterministic path holds up better when steps are skipped, and DDPM’s fresh noise helps correct earlier mistakes when there are many steps. Watch the trails, too: DDIM paths are smooth curves, DDPM paths jitter.
Why does it matter?
Steps are the cost. A 50-step sampler runs the network 50 times per image, and doubling that with guidance (next section) gives 100. Each pass takes compute and time, so the step count largely sets how fast and how expensive generation is, on a server or on a phone. Better samplers and distillation, two sections on, are about getting the same quality with fewer steps.
Key takeaways
- Sampling repeats: predict the noise, step towards the estimated clean point, and (for DDPM) add fresh noise.
- Too few steps commit to blurry averages; tens of steps are usually needed with basic samplers.
- DDIM reuses the trained network without fresh noise, giving a deterministic path that skips steps more gracefully.
Conditioning and classifier-free guidance
A text-to-image model is a diffusion model whose noise predictor also reads the prompt. Guidance turns up how hard it listens.
What is it?
A conditional diffusion model predicts ε(x_t, t, c), where c is a class label, a text embedding or an image. Classifier-free guidance (Ho and Salimans) makes the condition count for more at sampling time. It does the job of classifier guidance (Dhariwal and Nichol) without the separate classifier, trained on noisy images, that method needs.
ε̃ = ε(x_t, ∅) + w · ( ε(x_t, c) − ε(x_t, ∅) )Train one network with the condition dropped for a share of examples, so it knows both predictions. w = 1 is plain conditional sampling; w > 1 extrapolates beyond it. This is the convention of the diffusers library; Ho and Salimans write (1 + w)·ε(c) − w·ε(∅), so their w is this w minus 1.
How does it work?
The difference between the conditional and unconditional predictions is, in score terms, the arrow towards “more like c, less like everything else”. Multiplying it by w greater than 1 exaggerates that arrow. Samples move towards the examples that are most unmistakably c, and away from borderline ones. The cost is two network passes per step and less variety.
With the imperfect model, guidance does its job: class A rises from 71% at w = 1 to about 95% at w = 3 and 100% by w = 10. It is not free. The lower-left blob, which sits nearer class B, is squeezed from its true 40% of class A to 23% at w = 10, and the spread of the samples shrinks. Switch to the perfect model: w = 1 already gives 100% class A, so guidance can only cost variety. A real text-to-image model is neither perfect nor this leaky, so moderate guidance helps it and very high guidance mostly costs variety. In images, Saharia and colleagues also found that high guidance gives highly saturated, unnatural pictures.
Why does it matter?
Guidance has a large effect on what a text-to-image model produces, which is why open pipelines expose it as a setting (diffusers defaults to 7.5 for Stable Diffusion and 5 for SDXL). It is also how negative prompts work: the pipeline replaces the empty prompt ∅ with the prompt to steer away from.
Key takeaways
- Conditional diffusion feeds the prompt or label into the noise predictor.
- Classifier-free guidance extrapolates from the unconditional prediction towards the conditional one by a scale w.
- Higher guidance raises adherence and lowers variety; very high values give oversaturated, unnatural images.
Latent diffusion
Most of the numbers in a photograph describe detail you would never miss. Latent diffusion stops spending denoising steps on them.
What is it?
Latent diffusion (Rombach and colleagues) runs the whole diffusion process inside the compressed latent space of a separately trained autoencoder. It is the design behind Stable Diffusion and many later generators, including Stable Diffusion 3, FLUX.1, Sora and Veo 3.
How does it work?
- Train an autoencoder that shrinks each image by a factor f on each side (f = 8 is common) into a few channels, and rebuilds it convincingly.
- Freeze it. Encode the training images and train the diffusion model on the latents instead of the pixels.
- To generate, run the sampler in latent space, then decode once at the end.
The saving compounds. A transformer denoiser’s attention compares every patch with every other, so 64 times fewer positions means about 4,000 times fewer comparisons per layer. The price is that the autoencoder caps the quality. Esser and colleagues call its reconstruction quality an upper bound on the achievable image quality: detail the decoder cannot rebuild, such as very small text, is lost whatever the diffusion model does. They found more latent channels reconstruct better, so Stable Diffusion 3 moved from 4 to 16, accepting a smaller saving.
Why does it matter?
Latent diffusion is why Stable Diffusion, with its 860-million-parameter U-Net, could run on a single graphics card with 10 GB of memory, and it is how video models such as Sora and Veo 3 cope with the size of video. It also splits the problem cleanly: the autoencoder handles perceptual detail, and the diffusion model handles content and composition, in newer models with a diffusion transformer working on patches of the latent.
The Autoencoders lesson builds the compressors that latent diffusion runs inside, from bottlenecks to VAEs.Key takeaways
- Latent diffusion denoises an autoencoder’s compact latent instead of pixels, and decodes once at the end.
- An f = 8 autoencoder cuts positions 64-fold; channels decide the final saving (48× with 4, 12× with 16).
- The autoencoder limits fine detail, which is why newer models use richer latents.
Faster samplers and distillation
From 1,000 steps in 2020 to tens of steps with better solvers, and one to four steps with distilled models such as SDXL Turbo.
What is it?
Two families of methods attack the cost of sampling. Better solvers follow the same trained model’s probability-flow ODE with fewer, more accurate steps. Distillation trains a new, student network to do in one or a few steps what the teacher does in many.
How does it work?
Smarter solversDDIM skips steps deterministically. EDM’s second-order Heun sampler and DPM-Solver use higher-order numerical methods tailored to the diffusion ODE. DPM-Solver reports high-quality samples in 10 to 20 network evaluations, and EDM a state-of-the-art CIFAR-10 result in 35. No retraining.Progressive distillationSalimans and Ho train a student to match two teacher steps with one, then repeat, halving the steps each round down to as few as 4.Consistency and adversarial distillationConsistency models learn to jump from any point on a path straight to its end. Adversarial diffusion distillation, behind SDXL Turbo, adds a discriminator so one to four steps stay sharp.Straighter pathsFlow matching trains the network to predict a velocity along a chosen, often straight, path from noise to data. Straighter paths need fewer steps. Stable Diffusion 3 and FLUX.1 use rectified flow, which takes the straight-line path.You saw the underlying problem in the sampler demo: with a basic sampler, a big step lands on the blurry average. Solvers reduce the error of each step; distilled students are trained to land on a sharp sample instead of the average. At one step they usually fall a little short of a many-step model: consistency models report a one-step FID of 3.55 on CIFAR-10, where EDM reaches 1.97 with 35 steps (lower is better). With four steps, adversarial diffusion distillation matches its SDXL teacher.
Why does it matter?
Steps translate directly into latency, energy and price. Its authors describe adversarial diffusion distillation as the first method to allow single-step, real-time image generation with a large model like SDXL. There are trade-offs beyond quality: SDXL Turbo is run without classifier-free guidance (its model card sets the guidance scale to 0), so negative prompts do not apply.
Key takeaways
- Higher-order ODE solvers reuse a trained model and cut steps from hundreds to tens.
- Distillation trains a student to take one to a few big steps, usually at a small cost in quality or in features such as guidance.
- Flow matching learns straighter noise-to-data paths, a close cousin of diffusion used by Stable Diffusion 3 and FLUX.1.
Video, audio, science and the limits
Anything you can gradually corrupt with noise, you can generate with diffusion. That has carried the idea far beyond pictures.
What is it?
VideoVideo diffusion models denoise a whole block of frames at once, so motion stays consistent. OpenAI described Sora as a diffusion transformer over space-time patches of a compressed video latent, and Google’s Veo 3 runs latent diffusion with a transformer denoiser.AudioDiffWave generates raw waveforms, for example turning spectrograms into speech, and Veo 3 generates a soundtrack by denoising compressed audio latents together with the video. The Speech and Audio lesson covers the spectrogram-and-vocoder pipeline and the codec language models that compete with diffusion for speech.Molecules and proteinsRFdiffusion designs new protein backbones by denoising the position and orientation of every residue, and AlphaFold 3 predicts the structure of molecular complexes with a diffusion module that works on raw atom coordinates.Actions and textDiffusion Policy generates robot actions by denoising. For text, diffusion language models such as LLaDA replace Gaussian noise with masking out words and fill in a whole passage over several steps; most large language models are still autoregressive.How does it work?
The recipe does not change: a fixed noising process on the data’s numbers, a network trained to predict the noise, a sampler. What changes is the network (a space-time transformer for video, a network built to respect rotations for RFdiffusion’s proteins) and the space (a video latent, a spectrogram, a set of atom coordinates). Text is the exception: its words are discrete, so text diffusion masks them instead of adding Gaussian noise.
Why does it matter?
The same few equations now generate images, video, sound and protein designs. Knowing what the denoiser, the steps, the guidance and the latent each do lets you reason about any of these systems: why they are slow, why they copy, why they over-saturate, and what a new model has actually changed.
Key takeaways
- Diffusion generalises to video, audio, proteins and actions by changing the network and the space, not the recipe.
- Video models denoise many frames together; consistency over long clips is still hard.
- Main limits: sampling cost, memorisation of duplicated data, and precise structure such as counts and positions.
Check your understanding
Seven situations from teams building with diffusion models. Each asks you to apply an idea, not just recall it.
Question 1 of 7A team cuts sampling from 50 steps to 4 to save money, keeping the same DDPM sampler and network. The images come out as soft, blurry averages. What is going on, and what would actually help?
Next, noise a 64 × 64 image and train a small network to generate 2-D data in the Diffusion Lab, or practise with short interactive cards in Practice.
References
The papers and reports behind the methods and claims in this lesson.
References
- [1]
Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding(opens in a new tab)
Chitwan Saharia, William Chan, Saurabh Saxena et al., 2022
NeurIPS 2022. Imagen, a pixel-space text-to-image diffusion model. Reports that high classifier-free guidance improves text alignment but gives highly saturated, unnatural images.
- [2]
Video generation models as world simulators(opens in a new tab)
Tim Brooks, Bill Peebles et al. (OpenAI), 2024
OpenAI technical report on Sora, 15 February 2024: a diffusion transformer that denoises space-time patches of a compressed video latent. Lists its limitations, including wrong physics and incoherence in long clips.
- [3]
Veo 3 Tech Report(opens in a new tab)
Google DeepMind, 2025
Veo 3 uses latent diffusion applied jointly to compressed audio and spatio-temporal video latents, each made by its own autoencoder, with a transformer denoiser. Calls diffusion the de facto standard for image, audio and video generation.
- [4]
Deep Unsupervised Learning using Nonequilibrium Thermodynamics(opens in a new tab)
Jascha Sohl-Dickstein, Eric Weiss, Niru Maheswaranathan & Surya Ganguli, 2015
ICML 2015. Introduces diffusion probabilistic models: slowly destroy structure in data with a fixed noising process, then learn a reverse process that restores it.
- [5]
Denoising Diffusion Probabilistic Models(opens in a new tab)
Jonathan Ho, Ajay Jain & Pieter Abbeel, 2020
NeurIPS 2020. DDPM: the closed-form forward process, the linear β schedule from 0.0001 to 0.02 over 1,000 steps, and the simple loss of predicting the added noise. State-of-the-art FID on CIFAR-10, and LSUN samples of similar quality to ProgressiveGAN.
- [6]
Diffusion Models Beat GANs on Image Synthesis(opens in a new tab)
Prafulla Dhariwal & Alex Nichol, 2021
NeurIPS 2021. Classifier guidance: steer sampling with the gradient of a separately trained classifier on noisy images, trading diversity for fidelity.
- [7]
Improved Denoising Diffusion Probabilistic Models(opens in a new tab)
Alex Nichol & Prafulla Dhariwal, 2021
ICML 2021. Introduces the cosine noise schedule, which destroys information more gradually than the linear one, and learned reverse-process variances.
- [8]
Classifier-Free Diffusion Guidance(opens in a new tab)
Jonathan Ho & Tim Salimans, 2022
arXiv preprint; a short version appeared at a NeurIPS 2021 workshop. Train one network both with and without the condition (by randomly dropping it), then extrapolate from the unconditional prediction past the conditional one. Higher guidance raises fidelity and lowers diversity. The paper writes the rule as (1 + w)·ε(c) − w·ε(∅), so its w = 0 is plain conditional sampling.
- [9]
Progressive Distillation for Fast Sampling of Diffusion Models(opens in a new tab)
Tim Salimans & Jonathan Ho, 2022
ICLR 2022. Repeatedly train a student to match two teacher steps with one, halving the number of steps each round, down to as few as 4. Also introduces the v-prediction parameterisation.
- [10]
Generative Modeling by Estimating Gradients of the Data Distribution(opens in a new tab)
Yang Song & Stefano Ermon, 2019
NeurIPS 2019. Score-based generation: learn the score (the gradient of log density) at many noise levels, then sample with annealed Langevin dynamics.
- [11]
Tweedie’s Formula and Selection Bias(opens in a new tab)
Bradley Efron, 2011
Journal of the American Statistical Association 106(496), 1602–1614. Tweedie’s formula: for Gaussian noise, the best estimate of the clean value is the noisy value plus the noise variance times the score of the noisy data, E[μ | z] = z + σ² · d/dz log f(z).
- [12]
A Connection Between Score Matching and Denoising Autoencoders(opens in a new tab)
Pascal Vincent, 2011
Neural Computation 23(7), 1661–1674. Shows that training a denoising autoencoder is equivalent to matching the score of a Gaussian-smoothed (Parzen) estimate of the data density, the idea now called denoising score matching.
- [13]
Score-Based Generative Modeling through Stochastic Differential Equations(opens in a new tab)
Yang Song, Jascha Sohl-Dickstein, Diederik P. Kingma, Abhishek Kumar, Stefano Ermon & Ben Poole, 2021
ICLR 2021. Unifies DDPM and score-based models as continuous-time stochastic differential equations, with a reverse-time SDE and a deterministic probability-flow ODE.
- [14]
Denoising Diffusion Implicit Models(opens in a new tab)
Jiaming Song, Chenlin Meng & Stefano Ermon, 2021
ICLR 2021. DDIM: a deterministic sampler that reuses a DDPM-trained network and produces high-quality samples 10 to 50 times faster than DDPM, holding up better than DDPM when steps are skipped.
- [15]
Elucidating the Design Space of Diffusion-Based Generative Models(opens in a new tab)
Tero Karras, Miika Aittala, Timo Aila & Samuli Laine, 2022
NeurIPS 2022. EDM: separates the design choices (noise levels, preconditioning, sampler) and uses a second-order Heun sampler, reaching a state-of-the-art CIFAR-10 FID with 35 network evaluations per image. Also explains how the fresh noise in stochastic sampling corrects errors from earlier steps.
- [16]
High-Resolution Image Synthesis with Latent Diffusion Models(opens in a new tab)
Robin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser & Björn Ommer, 2022
CVPR 2022. Run diffusion in the latent space of a separately trained autoencoder, with cross-attention for text conditioning. The basis of Stable Diffusion.
- [17]
Scaling Rectified Flow Transformers for High-Resolution Image Synthesis(opens in a new tab)
Patrick Esser et al., 2024
ICML 2024. Stable Diffusion 3: a rectified-flow transformer working in an f = 8 autoencoder latent with 16 channels, chosen because more channels reconstruct images better.
- [18]
Scalable Diffusion Models with Transformers(opens in a new tab)
William Peebles & Saining Xie, 2023
ICCV 2023. Diffusion transformers (DiT): split the latent into patches and denoise them with a transformer instead of a U-Net; quality improves steadily with compute.
- [19]
Cheng Lu, Yuhao Zhou, Fan Bao, Jianfei Chen, Chongxuan Li & Jun Zhu, 2022
NeurIPS 2022. A dedicated higher-order solver for the diffusion ODE, giving high-quality samples in about 10 to 20 network evaluations without retraining.
- [20]
Consistency Models(opens in a new tab)
Yang Song, Prafulla Dhariwal, Mark Chen & Ilya Sutskever, 2023
ICML 2023. Train a network to map any point on a sampling trajectory straight to its end, so a sample takes one or a few steps.
- [21]
Adversarial Diffusion Distillation(opens in a new tab)
Axel Sauer, Dominik Lorenz, Andreas Blattmann & Robin Rombach, 2023
The method behind SDXL Turbo: distil a diffusion model into a one-to-four-step generator using score distillation from a teacher model and an adversarial loss.
- [22]
Flow Matching for Generative Modeling(opens in a new tab)
Yaron Lipman, Ricky T. Q. Chen, Heli Ben-Hamu, Maximilian Nickel & Matt Le, 2023
ICLR 2023. Train a network to predict the velocity along a chosen path from noise to data; with straight (optimal transport) paths, training and sampling are faster. Diffusion paths are a special case.
- [23]
Video Diffusion Models(opens in a new tab)
Jonathan Ho, Tim Salimans, Alexey Gritsenko, William Chan, Mohammad Norouzi & David J. Fleet, 2022
NeurIPS 2022. Extends image diffusion to video by denoising a whole block of frames at once with a 3D U-Net factorised over space and time.
- [24]
DiffWave: A Versatile Diffusion Model for Audio Synthesis(opens in a new tab)
Zhifeng Kong, Wei Ping, Jiaji Huang, Kexin Zhao & Bryan Catanzaro, 2021
ICLR 2021. A diffusion model that generates raw audio waveforms: as a vocoder that turns spectrograms into speech, and for class-conditional and unconditional audio.
- [25]
De novo design of protein structure and function with RFdiffusion(opens in a new tab)
Joseph L. Watson et al., 2023
Nature 620(7976), 1089–1100. A diffusion model over protein backbones, which noises and denoises each residue’s position and orientation. Hundreds of its designs were characterised in the laboratory, including a binder whose cryo-EM structure nearly matches the design.
- [26]
Accurate structure prediction of biomolecular interactions with AlphaFold 3(opens in a new tab)
Josh Abramson et al., 2024
Nature 630(8016), 493–500. AlphaFold 3 replaces AlphaFold 2’s structure module with a diffusion module that works directly on raw atom coordinates, for complexes of proteins, nucleic acids, small molecules and ions.
- [27]
Diffusion Policy: Visuomotor Policy Learning via Action Diffusion(opens in a new tab)
Cheng Chi, Zhenjia Xu, Siyuan Feng, Eric Cousineau, Yilun Du, Benjamin Burchfiel, Russ Tedrake & Shuran Song, 2023
RSS 2023. Represents a robot’s policy as a conditional denoising diffusion process that generates actions, across 12 manipulation tasks.
- [28]
Large Language Diffusion Models(opens in a new tab)
Shen Nie, Fengqi Zhu, Zebin You et al., 2025
LLaDA: an 8-billion-parameter language model trained as a diffusion model, with masking in place of Gaussian noise, that predicts masked tokens. Competitive with LLaMA 3 8B in in-context learning.
- [29]
Extracting Training Data from Diffusion Models(opens in a new tab)
Nicholas Carlini et al., 2023
USENIX Security 2023. Extracted over a thousand training images from image diffusion models, searching among images duplicated in the training data, which are far more likely to be memorised.
- [30]
Zahra Kadkhodaie, Florentin Guth, Eero P. Simoncelli & Stéphane Mallat, 2024
ICLR 2024. With small training sets (up to about 100 face images) diffusion models memorise; with enough data (about 100,000), two models trained on disjoint sets generate nearly the same images.
Related
- Builds on: Generative AI
- Builds on: Autoencoders and VAEs
- Practise in the lab: Diffusion Lab