Introduction
Diffusion models have revolutionized generative AI by reversing a noise-injection process to create data from noise. However, a persistent gap exists between the two primary sampling methods: deterministic Probability Flow ODEs and stochastic SDEs. While ODEs allow for exact likelihood calculations, stochastic sampling often yields higher-quality, more diverse results. This paper bridges this gap by reformulating score-based diffusion models through the lens of Feynman’s path integral formalism, a cornerstone of quantum mechanics.
Methods: The Path Integral Framework
The authors treat the sampling process not as a sequence of points, but as a distribution of entire paths. By defining an "Action" ($A$) and a "Lagrangian" ($L$) for these trajectories, they introduce a physical intuition for stochasticity.
A central innovation is the interpolating parameter $\mathfrak{h} \in [0, 1]$, which acts as a counterpart to Planck’s constant ($\hbar$):
- $\mathfrak{h} = 0$ (Classical Limit): Corresponds to the deterministic Probability Flow ODE, following the "principle of least action."
- $\mathfrak{h} = 1$ (Quantum Regime): Corresponds to standard stochastic SDE sampling.
Using the WKB expansion—a technique for approximating quantum systems—the authors derive a first-order correction for the Negative Log-Likelihood (NLL). This allows for the direct evaluation of how "noise" affects model performance, a task previously considered computationally prohibitive for stochastic processes.
Key Insights and Results
The framework provides a rigorous theoretical backing for the empirical observation that noise improves sample quality. In experiments using synthetic datasets like the Swiss-roll and a 25-Gaussian grid, the authors demonstrated that when the model's internal "score" is imperfect (represented by an error $\epsilon$), increasing the noise parameter $\mathfrak{h}$ actually reduces both the NLL and the 2-Wasserstein distance ($W_2$).
This suggests that stochasticity helps "propel" the sampling process out of local minima caused by model inaccuracies, much like quantum fluctuations allow particles to explore paths beyond classical trajectories. The $O(\mathfrak{h}^1)$ perturbative expansion accurately predicts these performance gains, providing a new tool for optimizing diffusion models.
Limitations and Future Work
While powerful, the current method faces the "dimensionality curse" due to its reliance on discrete differentials, making it difficult to apply to high-resolution images. Future research may extend this framework to Diffusion Schrödinger Bridges and explore scenarios where noise might degrade quality, further refining our understanding of the generative "quantum" landscape.
Summary updated