NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Towards Faster Non-Asymptotic Convergence for Diffusion-Based Generative Models

Gen Li, Yuting Wei, Yuxin Chen, Yuejie ChiarXiv 2023

Abstract

Diffusion models, which convert noise into new data instances by learning to reverse a Markov diffusion process, have become a cornerstone in contemporary generative modeling. While their practical power has now been widely recognized, the theoretical underpinnings remain far from mature. In this work, we develop a suite of non-asymptotic theory towards understanding the data generation process of diffusion models in discrete time, assuming access to $\ell_2$-accurate estimates of the (Stein) score functions. For a popular deterministic sampler (based on the probability flow ODE), we establish a convergence rate proportional to $1/T$ (with $T$ the total number of steps), improving upon past results; for another mainstream stochastic sampler (i.e., a type of the denoising diffusion probabilistic model), we derive a convergence rate proportional to $1/\sqrt{T}$, matching the state-of-the-art theory. Imposing only minimal assumptions on the target data distribution (e.g., no smoothness assumption is imposed), our results 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 resorting to toolboxes for SDEs and ODEs. Further, we design two accelerated variants, improving the convergence to $1/T^2$ for the ODE-based sampler and $1/T$ for the DDPM-type sampler, which might be of independent theoretical and empirical interest.

Introduction

Diffusion-based generative models, such as Stable Diffusion and DALL-E, have achieved remarkable success in creating high-fidelity images, audio, and video. These models operate by reversing a diffusion process: they take a sample from a simple noise distribution and iteratively "denoise" it to recover a sample from a complex data distribution. Despite their empirical dominance, the theoretical understanding of their convergence—specifically how many discrete steps are required to reach a target accuracy—has remained incomplete.

Existing theoretical frameworks often rely on asymptotic analysis or require the target data distribution to satisfy stringent smoothness conditions. Furthermore, many analyses are conducted in continuous time (using Stochastic Differential Equations or Ordinary Differential Equations) and then discretized, which can obscure the actual errors introduced by the discrete-time algorithms used in practice. This paper addresses these gaps by providing a non-asymptotic theory that operates directly in discrete time with minimal assumptions on the data distribution.

A Discrete-Time Theoretical Framework

The authors propose an "elementary" approach to analyzing diffusion samplers. Instead of relying on the complex machinery of SDE and ODE toolboxes, the analysis is built on density ratios and direct tracking of the distribution across discrete steps. This methodology allows for a precise characterization of how $\ell_2$ score estimation errors—the discrepancy between the true score and the model's estimate—propagate through the generation process.

A key advantage of this framework is that it does not require the target data distribution to be smooth. This is a significant departure from prior work and is particularly relevant for real-world data, which often resides on low-dimensional, non-smooth manifolds.

Convergence of Standard Samplers

The study focuses on two primary types of samplers in discrete time:

  1. Deterministic Samplers (Probability Flow ODE): These samplers, similar to the Denoising Diffusion Implicit Model (DDIM), follow a deterministic path. The authors establish a convergence rate of $1/T$, where $T$ is the number of steps. This represents a significant improvement over previous polynomial bounds in the literature.
  2. Stochastic Samplers (Reverse-Time SDE): These samplers, typical of Denoising Diffusion Probabilistic Models (DDPM), incorporate noise at each step. The authors derive a convergence rate of $1/\sqrt{T}$, matching the current state-of-the-art theoretical results.

Accelerated Diffusion Samplers

The most significant contribution of this work is the introduction of accelerated variants for both deterministic and stochastic samplers. By incorporating higher-order expansions and "bias correction" terms, the authors design new update rules that achieve faster convergence rates.

To implement these accelerated samplers, the model must be trained to estimate a small number of additional higher-order quantities beyond the standard score function (e.g., the expected value of the noise squared). While this adds some training overhead, the theoretical gains in sampling efficiency are substantial:

  • Accelerated Deterministic Sampler: Improves the convergence rate to $1/T^2$. In terms of iteration complexity, this reduces the dependency on the target accuracy $\epsilon$ from $\tilde{O}(1/\epsilon)$ to $\tilde{O}(1/\sqrt{\epsilon})$.
  • Accelerated Stochastic Sampler: Improves the convergence rate to $1/T$, reducing the $\epsilon$ dependency from $\tilde{O}(1/\epsilon^2)$ to $\tilde{O}(1/\epsilon)$.

Discussion and Complexity

The paper provides explicit iteration complexity bounds, highlighting the relationship between the data dimension ($d$), the number of steps ($T$), and the desired accuracy (measured in Total Variation distance $\epsilon$).

Sampler Type Standard Accuracy Dependency Accelerated Accuracy Dependency
Deterministic (ODE) $\tilde{O}(d^2/\epsilon)$ $\tilde{O}(d^3/\sqrt{\epsilon})$
Stochastic (SDE) $\tilde{O}(1/\epsilon^2)$ $\tilde{O}(1/\epsilon)$

While the accelerated samplers offer a massive speedup for high-precision generation (small $\epsilon$), the authors note that the current bounds exhibit a dependency on the dimension $d$ that may be sub-optimal. Additionally, for deterministic samplers, the analysis underscores the importance of controlling the Jacobian error of the score function to ensure stability.

Conclusion

This work advances the theoretical foundation of diffusion models by providing improved, non-asymptotic convergence rates in discrete time. By moving away from restrictive smoothness assumptions and continuous-time approximations, the authors offer a more realistic view of how these models perform. The proposed accelerated samplers provide a promising path toward reducing the computational cost of high-quality data generation, though further research is needed to optimize dimension dependency and evaluate the practical trade-offs of the additional training requirements.

Summary updated

BibTeX
@misc{li2023towards,
  author = {Gen Li and Yuting Wei and Yuxin Chen and Yuejie Chi},
  title = {{Towards Faster Non-Asymptotic Convergence for Diffusion-Based Generative Models}},
  year = {2023},
  eprint = {2306.09251},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2306.09251},
}
Figure