Abstract Diffusion models, which convert noise into new data instances by learning to reverse a diffusion process, have become a cornerstone in contemporary generative modeling. In this work, we develop non-asymptotic convergence theory for a popular diffusion-based sampler (i.e., the probability flow ODE sampler) in discrete time, assuming access to $\ell_2$-accurate estimates of the (Stein) score functions. For distributions in $\mathbb{R}^d$, we prove that $d/\varepsilon$ iterations — modulo some logarithmic and lower-order terms — are sufficient to approximate the target distribution to within $\varepsilon$ total-variation distance. This is the first result establishing nearly linear dimension-dependency (in $d$) for the probability flow ODE sampler. Imposing only minimal assumptions on the target data distribution (e.g., no smoothness assumption is imposed), our results also characterize how $\ell_2$ score estimation errors affect the quality of the data generation processes. In contrast to prior works, our theory is developed based on an elementary yet versatile non-asymptotic approach without the need of resorting to SDE and ODE toolboxes.
Introduction
Diffusion models have revolutionized generative AI, powering state-of-the-art tools like DALL·E and Stable Diffusion. While these models demonstrate remarkable empirical success, the mathematical foundations governing their efficiency—specifically regarding the deterministic variants known as Probability Flow ODE (PF-ODE) samplers—have remained incomplete.
A significant theoretical gap has persisted: while stochastic samplers (like DDPM) are well-characterized, deterministic samplers are often preferred in practice for their speed and ability to perform exact encoding. However, existing proofs suggested these samplers might suffer from the "curse of dimensionality," requiring iterations that scale quadratically ($d^2$) or worse with the data dimension. In the paper "A Sharp Convergence Theory for The Probability Flow ODEs of Diffusion Models," Gen Li and colleagues provide a breakthrough, establishing the first "sharp" convergence theory that proves linear dimension dependency.
Addressing the Theoretical Gaps
Prior to this work, theoretical analysis of PF-ODE samplers faced two primary hurdles:
- Dimension Dependency: Previous bounds suggested a high-order dependency on the dimension $d$, which contradicted the high efficiency observed when generating high-dimensional images.
- Restrictive Assumptions: Most existing proofs required the target data distribution to be "smooth" or "log-concave." Real-world data, such as the manifold of natural images, rarely satisfies these conditions.
The authors address these by departing from the standard SDE/ODE toolbox. Instead of analyzing a continuous-time limit and then bounding discretization error, they develop a fully non-asymptotic, discrete-time analysis framework.
Methodology: A Discrete-Time Approach
The researchers track density ratios ($p_{X_t}/p_{Y_t}$) directly across discrete steps. This elementary approach avoids the complexities of Girsanov’s theorem, which is standard for stochastic models but often inapplicable to deterministic ones. The framework relies on three key components:
- Score Function Estimates: The model assumes access to $\ell_2$-accurate estimates of the Stein score functions (the gradients of the log-density of the noisy data).
- Jacobian Stability: Deterministic samplers are uniquely sensitive to the local geometry of the score function. The authors introduce a requirement for accuracy in the Jacobian matrix of the score estimates. This ensures that the reverse process does not deviate wildly due to discretization errors.
- Optimized Learning Rates: The proof utilizes a specific learning rate schedule—initially increasing exponentially before plateauing—to balance error accumulation across different noise levels.
Key Insights and Results
The study’s primary contribution is Theorem 1, which establishes a bound for the Total Variation (TV) distance between the true data distribution ($q_1$) and the generated distribution ($p_1$):
$$TV(q_1, p_1) \lesssim \frac{d \log^4 T}{T} + \sqrt{d \log^4 T} \epsilon_{score} + d(\log^2 T) \epsilon_{Jacobi}$$
1. Linear Dimension Dependency
The iteration complexity is shown to be $\tilde{O}(d/\epsilon)$. This is a significant improvement over previous $d^2$ dependencies and matches the best-known bounds for stochastic samplers. This result explains why deterministic samplers remain efficient even as image resolution (and thus $d$) increases.
2. Robustness to Rough Distributions
Crucially, this theory holds even if the target data distribution is not smooth. By removing the smoothness requirement, the theory becomes applicable to data residing on low-dimensional manifolds with sharp boundaries, which is typical of natural datasets.
3. The Necessity of Jacobian Control
The authors demonstrate via counter-example that for deterministic samplers, a low $\ell_2$ score error is insufficient to guarantee low TV distance. Without controlling the Jacobian, the sampler could potentially collapse the distribution into a discrete set of points, highlighting why previous theories that ignored the Jacobian were incomplete.
Conclusion and Future Directions
This work provides a rigorous mathematical justification for the efficiency of PF-ODE samplers. By proving a linear dependency on dimension and removing smoothness constraints, it brings theory much closer to the practical reality of generative modeling.
Future research may look toward an "end-to-end" theory that integrates the sample complexity of learning the score function with the sampling process itself. Additionally, the authors suggest that exploring higher-order ODE solvers (such as Runge-Kutta methods) within this framework could potentially reveal sub-linear dimension dependencies, further pushing the boundaries of diffusion theory.
Summary updated