Paper review: Score-Based Generative Modeling through SDEs

A summary of Song et al. (2021) which generalizes DDPMs and Score Matching into a unified continuous-time SDE framework.

  1. Score-Based Generative Modeling through Stochastic Differential Equations
    Yang Song, Jascha Sohl-Dickstein, Diederik P. Kingma, Abhishek Kumar, Stefano Ermon, and Ben Poole
    In International Conference on Learning Representations (ICLR), Jun 2020

The task

Statistical Modeling: Forward Process

Statistical Modeling: Reverse Process

We want to estimate the conditional score function $\nabla \log p_t(x\vert{}y)$ from our data. If we have this, we can solve the SDE backwards to generate samples.

Neural network & Classifier-free guidance

Training in Practice

My understanding

The discrete-time formulation frames diffusion as “predicting the noise,” while the continuous-time SDE formulation frames it as “score matching.” Mathematically, they are sides of the same coin, but the SDE viewpoint makes the transition to conditional generation highly elegant.

Classifier-free guidance essentially acts as a structured data augmentation trick at the architecture level. By randomly zeroing out $y$ during the creation of our on-the-fly training batches, a single neural network is forced to learn both the conditional density and the marginal density simultaneously. At inference time, this allows us to extrapolate between the unconditional and conditional score predictions, pushing the SDE generation stronger in the direction of $y$ without ever needing a separate classifier model.