The Principles of Diffusion Models
Chieh-Hsin Lai, Yang Song, Dongjun Kim, Yuki Mitsufuji, Stefano Ermon
TL;DR
The Principles of Diffusion Models presents a unified, principled framework for diffusion-based generative modeling by tying together variational, score-based, and flow-based viewpoints. It shows how forward noising processes and backward denoising dynamics can be understood through time-dependent velocity fields and the Fokker–Planck equation, enabling sampling via reverse-time SDEs or probability-flow ODEs. The text develops both discrete and continuous-time formalisms (DDPM, NCSN, Score SDE/PF-ODE) and explains how denoising, score matching, and diffusion are mathematically equivalent perspectives on the same underlying transport of probability mass. It further discusses practical aspects such as guidance, fast solvers, and diffusion-motivated flow-maps, framing diffusion models as a durable foundation for controllable, efficient generative modeling with rigorous theory. The work culminates in a cohesive view that positions diffusion as a continuum of stochastic dynamics from simple priors to complex data, with wide implications for speed, control, and deployment of generative systems.
Abstract
This monograph presents the core principles that have guided the development of diffusion models, tracing their origins and showing how diverse formulations arise from shared mathematical ideas. Diffusion modeling starts by defining a forward process that gradually corrupts data into noise, linking the data distribution to a simple prior through a continuum of intermediate distributions. The goal is to learn a reverse process that transforms noise back into data while recovering the same intermediates. We describe three complementary views. The variational view, inspired by variational autoencoders, sees diffusion as learning to remove noise step by step. The score-based view, rooted in energy-based modeling, learns the gradient of the evolving data distribution, indicating how to nudge samples toward more likely regions. The flow-based view, related to normalizing flows, treats generation as following a smooth path that moves samples from noise to data under a learned velocity field. These perspectives share a common backbone: a time-dependent velocity field whose flow transports a simple prior to the data. Sampling then amounts to solving a differential equation that evolves noise into data along a continuous trajectory. On this foundation, the monograph discusses guidance for controllable generation, efficient numerical solvers, and diffusion-motivated flow-map models that learn direct mappings between arbitrary times. It provides a conceptual and mathematically grounded understanding of diffusion models for readers with basic deep-learning knowledge.
