Introduction
Diffusion-based generative models have recently achieved state-of-the-art performance in image synthesis. However, a theoretical gap has persisted between their training objective—score matching—and the principles of Maximum Likelihood Estimation (MLE) used in Variational Autoencoders (VAEs). This paper bridges that gap by deriving a Continuous-Time Evidence Lower Bound (CT-ELBO), proving that diffusion models are mathematically equivalent to infinitely deep hierarchical VAEs.
Methods: The Continuous-Time ELBO
To derive a rigorous framework for continuous-time diffusion models defined by Stochastic Differential Equations (SDEs), the authors employ two key tools from stochastic calculus:
- The Feynman-Kac Formula: This is used to represent the marginal density of the generative process as an expectation over paths, allowing the probability of a data point to be expressed as a function of its trajectory.
- The Girsanov Theorem: This acts as a "change of variables" formula for path space. Just as a standard VAE maps a simple distribution to a complex one, Girsanov allows for inference in the infinite-dimensional space of Brownian motion paths.
By combining these, the authors derive the CT-ELBO. This objective function allows researchers to estimate the likelihood of an SDE-based model directly. Crucially, they show that minimizing the standard score-matching loss is equivalent to maximizing this lower bound for a specific "plug-in" reverse SDE.
Datasets and Empirical Validation
The authors validated their theoretical findings using several benchmarks:
- Swiss Roll: A classic 2D toy dataset used to visualize how different SDE (stochastic) and ODE (deterministic) paths converge during training.
- MNIST & CIFAR-10: Standard benchmarks used to test the "debiasing" of likelihood estimates and evaluate Bits-Per-Dimension (BPD) scores.
Key Insights
Diffusion as an Infinitely Deep VAE
The authors prove that as the number of layers in a hierarchical VAE goes to infinity, the discrete-time ELBO converges exactly to the CT-ELBO. This confirms the intuition that diffusion is a VAE with infinite depth.
The λ-Family of SDEs
The research identifies a whole family of "marginal-equivalent" SDEs, indexed by a parameter $\lambda$. These SDEs all produce the same data distribution but have different noise characteristics. This family includes the deterministic "Probability Flow ODE" as a limiting case.
Score Matching and Likelihood Maximization
A central contribution is the proof that minimizing score-matching loss is equivalent to maximizing the CT-ELBO. Furthermore, the authors propose a non-uniform sampling strategy (debiasing) that significantly improves likelihood estimates on image datasets compared to standard uniform sampling.
Key Results
- Theoretical Unity: The paper unifies SDEs, score matching, and variational inference into a single cohesive framework.
- Improved Likelihoods: On MNIST and CIFAR-10, the "debiased" version of the training objective achieved lower (better) Bits-Per-Dimension than previous state-of-the-art diffusion models.
- Training Efficiency: SDE-based models were found to be faster in wall-clock time than Neural ODEs because they avoid expensive numerical integration during every training step.
Limitations and Future Work
While the paper focuses on likelihood, it does not fully address the trade-off between likelihood and perceptual sample quality (FID scores). Future work may explore learning more complex drift ($f$) and diffusion ($g$) coefficients or finding more stable ways to compute the divergence terms required for the ELBO in high-dimensional spaces.
Summary updated