Abstract
Score-based generative modeling with probability flow ordinary differential equations (ODEs) has achieved remarkable success in a variety of applications. While various fast ODE-based samplers have been proposed in the literature and employed in practice, the theoretical understandings about convergence properties of the probability flow ODE are still quite limited. In this paper, we provide the first non-asymptotic convergence analysis for a general class of probability flow ODE samplers in 2-Wasserstein distance, assuming accurate score estimates and smooth log-concave data distributions. We then consider various examples and establish results on the iteration complexity of the corresponding ODE-based samplers. Our proof technique relies on spelling out explicitly the contraction rate for the continuous-time ODE and analyzing the discretization and score-matching errors by using synchronous coupling; the challenge in our analysis mainly arises from the inherent non-autonomy of the probability flow ODE and the specific exponential integrator that we study.
Introduction
Score-based generative models, or diffusion models, have revolutionized generative AI by learning to reverse a noise-corrupting process. While the reversal can be modeled as a Stochastic Differential Equation (SDE), practitioners frequently utilize the deterministic Probability Flow (PF) ODE. This deterministic approach offers advantages in sampling speed and enables unique encoding/decoding paths.
Despite their practical dominance, theoretical guarantees for PF-ODE samplers have historically lagged behind SDE-based methods. Most existing literature focuses on Total Variation (TV) distance or requires "stochastic corrector" steps that compromise the deterministic nature of the sampler. Furthermore, there is a significant gap in understanding convergence in the 2-Wasserstein distance ($W_2$), a metric closely aligned with the Fréchet Inception Distance (FID) used to evaluate image quality. This paper provides the first non-asymptotic convergence analysis for fully deterministic PF-ODE samplers in $W_2$ distance.
Methodology
The authors analyze a general class of PF-ODEs defined by the following dynamics: $$\frac{d\tilde{\mathbf{x}}_t}{dt} = f(T - t)\tilde{\mathbf{x}}_t + \frac{1}{2}(g(T - t))^2\nabla_{\mathbf{x}} \log p_{T-t}(\tilde{\mathbf{x}}_t)$$
To derive convergence bounds, the study employs several key technical strategies:
- Exponential Integrator: Rather than standard Euler discretization, the analysis focuses on an exponential integrator. This solver exactly handles the linear part of the ODE, mirroring high-performance implementations like DPM-Solver.
- Synchronous Coupling: To bound the error between the idealized continuous-time path and the discrete numerical sampler, the authors use a coupling technique to track the distance between trajectories.
- Error Decomposition: The total error is partitioned into three distinct sources: Initialization Error (the gap between the Gaussian prior and the true noise distribution), Score-Matching Error (the $L_2$ error of the neural network approximation), and Discretization Error (the numerical error from finite-step integration).
Convergence Analysis and Iteration Complexity
The central contribution of this work is a general convergence theorem (Theorem 3.4) applicable to various noise schedules. A primary finding is the theoretical justification for the empirical success of Variance Preserving (VP) schedules over Variance Exploding (VE) schedules.
As shown in the table above, the iteration complexity ($K$) for VP-SDE types (where $f \neq 0$) scales as $\tilde{O}(\sqrt{d}/\epsilon)$. In contrast, VE-SDE types (where $f = 0$) exhibit a much poorer scaling of $O(d^{3/2}/\epsilon^3)$. This gap explains why modern architectures like Stable Diffusion, which utilize VP-style schedules, are more efficient in high-dimensional spaces.
Crucially, the authors establish a lower bound (Proposition 3.12) suggesting that $\tilde{O}(\sqrt{d}/\epsilon)$ is the fundamental limit for this class of samplers under the given assumptions. The analysis also highlights that the final sampling error is linearly dependent on the score-matching error ($M$), emphasizing that the fidelity of the generative model is strictly capped by the quality of the learned score function.
Discussion and Limitations
While this work provides a rigorous foundation for PF-ODEs, it acknowledges several limitations that pave the way for future research:
- Log-Concavity Assumption: The current proof assumes the target distribution is strongly log-concave. Real-world data, such as natural images, typically resides on low-dimensional manifolds and is highly non-log-concave.
- Score Error Sensitivity: The assumption of a constant $L_2$ bound on score error is standard but simplifies the complex training dynamics of neural networks. Future work could aim for "end-to-end" guarantees that link training loss directly to sampling convergence.
- Non-Autonomy: The inherent non-autonomy of PF-ODEs (where dynamics change over time) remains a significant analytical challenge. The authors suggest that traditional SDE techniques like reflection coupling may not have direct ODE analogues, necessitating the development of new mathematical tools for non-log-concave deterministic sampling.
Summary updated