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

Minimax Optimality of Score-based Diffusion Models: Beyond the Density Lower Bound Assumptions

Kaihong Zhang, Heqi Yin, Feng Liang, Jingbo Liu

Introduction

Score-based diffusion models have achieved unprecedented success in generative AI, learning to synthesize complex data by reversing a process that gradually adds Gaussian noise to real samples. From a statistical standpoint, this process is essentially an algorithm estimating an unknown data distribution from a finite set of $n$ training samples. A major open question in statistical machine learning is: Under what conditions do diffusion models attain the statistically optimal error rate for a given sample size?

While previous theoretical works have proven that diffusion models are "minimax optimal"—meaning they achieve the best possible worst-case error rate—these proofs have historically relied on highly restrictive and unrealistic assumptions. This paper demonstrates that diffusion models achieve minimax optimal sampling rates using only a mild sub-Gaussian assumption, completely removing the restrictive "density lower bound" requirement that has plagued prior theoretical analyses.

The Problem: The "Density Lower Bound" Crutch

To prove the optimality of diffusion models, prior works relied heavily on the density lower bound assumption. They assumed that the true data distribution has compact support and that its probability density never drops below a certain constant threshold.

In reality, data distributions are rarely this well-behaved. Real-world data is often multi-modal—such as distinct clusters of images representing different classes—with vast regions of near-zero density in between. The authors of this paper set out to bridge the gap between theory and reality by proving the optimality of diffusion models without this crutch.

Methodology: A Non-Parametric Approach

To tackle this problem, the authors step away from analyzing neural networks directly and instead construct a truncated kernel density estimator (KDE) for the score function.

The core challenge of removing the density lower bound lies in the definition of the score function itself: $\nabla \log p_t(x) = \frac{\nabla p_t(x)}{p_t(x)}$. If the density $p_t(x)$ is close to zero, any estimation error in the denominator causes the overall error to explode. To circumvent this, the authors employ three key strategies:

  1. Truncated Estimation: They set the score estimate to zero whenever the estimated density falls below a specific threshold.
  2. Exploiting Sub-Gaussian Tails: They mathematically prove that if the data is sub-Gaussian, the penalty for simply guessing "zero" in these low-density tail regions is small enough that it does not ruin the overall error rate.
  3. Early Stopping: They stop the reverse diffusion process slightly early (at time $t_0$) rather than running it all the way to $t=0$. This avoids the chaotic score errors that occur when the noise is completely removed and the low-density regions become infinitely sharp.

Finally, the authors utilize Girsanov's theorem to translate the score estimation error into a Total Variation (TV) distance bound for the generated samples.

Key Insights and Theoretical Results

The paper introduces several critical insights that reshape our theoretical understanding of diffusion models:

  • The "Uniform-in-Time" Assumption is Flawed: Many prior theoretical works assumed the score estimation error is uniform across all timesteps. The authors show—and empirically verify using the MNIST dataset—that error actually decays as time $t$ increases. Adding more Gaussian noise smooths out the distribution, making the score fundamentally easier to learn at higher noise levels.
  • Early Stopping is Mathematically Essential: Stopping the reverse Stochastic Differential Equation (SDE) slightly early isn't just a practical engineering trick; it is mathematically necessary to achieve the minimax rate. Without it, the estimation error at $t \to 0$ blows up.

These insights culminate in two major theoretical results:

  1. Score Estimation Error: The authors derive a time-dependent Mean Squared Error (MSE) bound for their score estimator of $\widetilde{O}(n^{-1} t^{-\frac{d+2}{2}} (t^{d/2} \vee 1))$. This mathematically captures how the error improves with larger sample sizes ($n$) and higher noise levels ($t$).
  2. Minimax Optimal Sampling: Assuming the true data belongs to a nonparametric $\beta$-Sobolev space (a standard measure of function smoothness) with $\beta \le 2$, the Total Variation (TV) distance between the generated samples and the true distribution is bounded by $\widetilde{O}(n^{-\frac{\beta}{2\beta+d}})$.

Crucially, this $\widetilde{O}(n^{-\frac{\beta}{2\beta+d}})$ rate perfectly matches the classical minimax optimal convergence rate for nonparametric density estimation. This proves that diffusion models are statistically optimal samplers under highly realistic conditions.

Limitations and Future Directions

While this work represents a significant leap forward in diffusion model theory, it opens several avenues for future research:

  • Smoothness Constraints: The theoretical guarantee for the Sobolev space is currently restricted to a smoothness parameter of $\beta \le 2$. Extending this proof to smoother distributions ($\beta > 2$) remains an open challenge.
  • KDE vs. Neural Networks: The proofs rely on a Kernel Density Estimator to make the mathematics tractable. In practice, diffusion models use neural networks (like U-Nets) trained via score matching. A major future step is to investigate if neural network-based estimators can achieve these exact same bounds under the same relaxed assumptions.
  • Discretization Error: The analysis assumes continuous-time SDE solving. While the authors note that discretization error becomes negligible with a small enough step size, a fully integrated analysis of numerical SDE solvers was outside the main scope of the paper.

Summary updated

BibTeX
@inproceedings{zhang2024minimax,
  author = {Kaihong Zhang and Heqi Yin and Feng Liang and Jingbo Liu},
  title = {{Minimax Optimality of Score-based Diffusion Models: Beyond the Density Lower Bound Assumptions}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=wTd7dogTsB},
}
Figure