Diffusion Models
A denoising diffusion probabilistic model defines a fixed process that gradually corrupts data and learns a reverse process that reconstructs samples step by step.
Forward Process
For a variance schedule and ,
Let . Any timestep can be sampled directly from clean data:
This closed form makes it unnecessary to simulate every earlier noising step during training.
Learned Reverse Process
Generation needs the reverse transition
One common parameterization predicts the noise added to . A widely used simplified objective is
This noise-prediction loss is connected to the variational objective, but exact weighting and parameterization matter; “predict noise with MSE” is not the complete definition of every diffusion model.
Sampling
- Draw from the chosen noise distribution.
- For , use the learned model and sampler to obtain .
- Return the final representation.
Conditioning supplies additional information—such as a class, text representation, or measurement—to the denoiser. Guidance can strengthen conditioning at the cost of changing the diversity, fidelity, or calibration trade-off.
Design and Evaluation Boundaries
- The noise schedule, prediction target, model architecture, and sampler are separate design choices.
- Standard sampling is iterative and can require many model evaluations; faster samplers trade computation against approximation behavior.
- A low denoising objective does not by itself establish perceptual quality, diversity, likelihood quality, or usefulness.
- Conditional generation can reproduce biases or memorized structure from training data.
- The model's output space, preprocessing, and decoder can be as important as the denoiser.
- Current image, audio, or API products belong in Frontier; this note owns the durable probabilistic process.
The canonical starting point is Denoising Diffusion Probabilistic Models. Framework-specific U-Net and sampling implementations are intentionally left to maintained libraries and papers.