Score-based Diffusion Models via Stochastic Differential Equations -- a Technical Tutorial
Wenpin Tang, Hanyang Zhao
TL;DR
This technical tutorial unifies score-based diffusion models under a continuous-time SDE framework, detailing how time reversal yields backward dynamics and how score matching learns the crucial score function to enable practical sampling. It covers a spectrum of score matching techniques (explicit, implicit, sliced, and denoising), introduces probability-flow ODE samplers and consistency models for one-shot generation, and surveys convergence analyses in total variation and Wasserstein distances along with discretization considerations. The paper also discusses statistical efficiency, neural-network implementations of score functions, and reinforcement-learning-inspired approaches to diffusion alignment, highlighting theoretical results and practical trade-offs. Collectively, it clarifies the theoretical backbone of diffusion models and outlines gaps and directions for robust, scalable, and task-aware diffusion-based generation.
Abstract
This is an expository article on the score-based diffusion models, with a particular focus on the formulation via stochastic differential equations (SDE). After a gentle introduction, we discuss the two pillars in the diffusion modeling -- sampling and score matching, which encompass the SDE/ODE sampling, score matching efficiency, the consistency models, and reinforcement learning. Short proofs are given to illustrate the main idea of the stated results. The article is primarily a technical introduction to the field, and practitioners may also find some analysis useful in designing new models or algorithms.
