papers / scoresde2020
Next task →
Research Papers/Generative models and diffusion/Score-Based Generative Modeling through Stochastic Differential Equations
Generative models and diffusion · #5 · seminal

Score-Based Generative Modeling through Stochastic Differential Equations

Yang Song, Stefano Ermon · 2020 · ICLR (2021)

1. Research problem

Different continuous-time generative approaches were studied separately, and it was unclear how to sample from a learned score with a principled reverse process.

2. Motivation

The authors wanted a unified framework connecting score matching, diffusion, and stochastic differential equations.

3. Previous approaches

Score matching with Langevin dynamics and discrete diffusion models were parallel lines; the connection between them was implicit.

4. Core contribution

Formulated generation as reversing a forward SDE using a time-dependent score network, and showed that diffusion and score-based models are special cases of this framework.

5. Mathematical formulation

Forward dx = f(x,t)dt + g(t)dw; reverse dx = [f(x,t) - g(t)^2 * score_x p_t(x)]dt + g(t)dwbar, with score estimated by denoising score matching.

6. Methodology

Unify perturbing kernels via an SDE, train a single score network across noise scales, and sample using numerical SDE/ODE solvers or predictor-corrector schemes.

7. Architecture

Time-conditional U-Net score network with noise-conditioning embeddings.

8. Experimental setup

Unconditional image generation and inpainting on several image datasets.

9. Datasets

CIFAR-10, CelebA, LSUN.

10. Results

Provided a coherent theoretical framework and competitive sample quality, clarifying the relationship between diffusion and score matching.

11. Limitations

Requires numerical SDE solvers and many function evaluations; theory assumes accurate score estimation; training across many noise scales is costly.

12. Critical analysis

The theoretical unification that explains why diffusion works, and the source of later ODE-based sampler design.

13. Implementation tasks

  • 1.Derive the reverse-time SDE for a simple Ornstein-Uhlenbeck forward process.
  • 2.Train a score network on a 2D toy distribution and sample with Euler-Maruyama.
  • 3.Compare SDE and probability-flow ODE sampling on a small image dataset.

14. Follow-up work

  • 1.Improved Techniques for Training Score-Based Generative Models (Song and Ermon, 2020)
  • 2.Elucidating the Design Space of Diffusion-Based Generative Models (Karras et al., 2022)

15. Open research questions

  • 1.Which SDE noise schedule is optimal for a given data distribution?
  • 2.Can score estimation errors be controlled theoretically?
16. Reproduce it. Record the hypothesis, configuration, dataset, metrics and discrepancies in the Experiment Tracker. A reproduction is not complete until you have run the experiments, performed at least one ablation and documented the differences from the reported numbers.