Fast Convergence for High-Order ODE Solvers in Diffusion Probabilistic Models

Daniel Zhengyu Huang, Jiaoyang Huang, Zhengjiang LinarXiv 2025 · DOI

Diffusion models have revolutionized AI-generated content, but they face a significant "speed limit." Generating a single image often requires hundreds of iterative steps. To bypass this, researchers have turned to Probability Flow ODEs—a framework that treats the generative process as a smooth, deterministic path navigable via standard calculus tools.

A recent paper by Huang et al. provides the rigorous mathematical foundation for using high-order solvers like Runge-Kutta to generate high-quality samples in just a handful of steps, bridging the gap between empirical success and theoretical understanding.

The Smoothness Paradox

Numerical solvers for Ordinary Differential Equations (ODEs) are well-studied, but diffusion models present a unique challenge: the "velocity field" (the score function) is not a perfect mathematical formula but a neural network approximation.

Classical theory suggests that to use a $p$-th order solver (like a 4th-order Runge-Kutta), the neural network must be incredibly smooth, possessing $p+1$ bounded derivatives. This paper proves that these solvers are far more robust than previously thought, requiring only first and second derivatives ($C^2$ smoothness) to achieve high-order convergence.

Comparison of theoretical convergence results for diffusion ODE solvers.

Methodology

The researchers focused on $p$-th order Runge-Kutta (RK) and Exponential Runge-Kutta (ExpRK) schemes. Their analysis involved several key components:

  • Error Decomposition: The total error is split into discretization error (from finite steps) and score-matching error (from neural network imperfections).
  • Transport Inequalities: By utilizing Gagliardo-Nirenberg interpolation, the authors quantified how distributions warp as they flow through the ODE, bounding the Total Variation (TV) distance between generated and target distributions.
  • Generalization: The analysis extends to general forward processes with arbitrary variance schedules, moving beyond the standard Ornstein-Uhlenbeck process.

Key Insights and Results

The authors proved a bound for the TV distance: $$\text{Error} \approx O(d^{7/4} \varepsilon_{score}^{1/2} + d(dH_{max})^p)$$ Where $d$ is the dimension, $\varepsilon_{score}$ is the neural network error, and $H_{max}$ is the step size.

Efficiency and Dimension

In practice, high-order solvers like RK4 and ExpRK3 captured complex data distributions in as few as 8 to 16 steps, whereas simpler Euler solvers required hundreds. Crucially, the authors show a polynomial dependence on dimension $d$, contradicting pessimistic theories that predicted exponential error growth.

Exponential Solvers

The paper highlights that "Exponential" RK solvers—which handle the linear part of the diffusion process analytically—are superior. They are more robust near the end of the sampling process where the mathematical landscape can become "stiff" or singular.

Empirical Validation

The theory was validated using benchmarks including MNIST, FashionMNIST, and Gaussian Mixture Models (GMM). These experiments confirmed that:

  1. The first and second derivatives of learned score functions remain bounded in real-world models.
  2. Empirical performance often exceeds theoretical bounds; for instance, the error showed a linear relationship with score error, which is better than the $\varepsilon^{1/2}$ predicted by the worst-case proof.

Limitations and Future Work

While the paper provides a major step forward, some gaps remain. The theoretical bound for score error is still more conservative than observed practice. Additionally, the current work assumes data distributions have positive density everywhere. Future research could extend these guarantees to the "manifold hypothesis," where data lives on low-dimensional structures and score functions may become singular.

Summary updated

BibTeX
@misc{huang2025fast,
  author = {Daniel Zhengyu Huang and Jiaoyang Huang and Zhengjiang Lin},
  title = {{Fast Convergence for High-Order ODE Solvers in Diffusion Probabilistic Models}},
  year = {2025},
  eprint = {2506.13061},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.13061},
}
Figure