High-Accuracy Sampling for Diffusion Models and Log-Concave Distributions

Fan Chen, Sinho Chewi, Constantinos Costis Daskalakis, Alexander Rakhlin

Introduction

Diffusion models have revolutionized generative AI, largely by learning to reverse a noise process through a sequence of probability distributions. However, a significant theoretical gap has persisted in understanding their efficiency. Most existing sampling algorithms, such as Denoising Diffusion Probabilistic Models (DDPMs), rely on discretizing Stochastic Differential Equations (SDEs). This discretization inherently introduces bias. To achieve a highly accurate sample with a small error margin $\delta$, these methods typically require a number of steps that grows polynomially with $1/\delta$.

In the field of optimization, "high-accuracy" algorithms converge exponentially fast, requiring only $\text{polylog}(1/\delta)$ steps. The sampling community has long sought a similar high-accuracy guarantee using only score evaluations (the gradient of the log-density), without needing the full density function. This paper bridges that gap, introducing a novel meta-algorithm that achieves high-accuracy sampling for diffusion models with an exponential improvement over previous benchmarks.

The Core Innovation: First-Order Rejection Sampling (FORS)

The central contribution of this work is First-Order Rejection Sampling (FORS). FORS is a meta-algorithm designed to simulate the behavior of exact rejection sampling without ever calculating a zeroth-order density value.

Standard rejection sampling requires knowing the ratio of two densities to decide whether to "accept" or "reject" a candidate sample. FORS bypasses this requirement using a Bernoulli Factory approach. By leveraging Taylor expansions and path integrals of the score function, FORS produces an unbiased coin flip that matches the probability of the density ratio.

The authors apply FORS to "Gaussian tilts"—distributions that resemble a Gaussian multiplied by another function, which naturally appear in the backward steps of a diffusion model. By plugging FORS into the standard backward diffusion framework, each iteration acts to "correct" the proposal, ensuring that discretization error does not accumulate and drift as it does in standard SDE solvers.

Key Insights and Theoretical Results

This research is purely theoretical, focusing on mathematical analysis and complexity bounds rather than empirical dataset evaluations. The paper yields several profound insights into the mechanics of diffusion sampling:

  • Score is Sufficient: The most significant revelation is that zeroth-order information (density values) is not required for exact-style rejection sampling. Gradient information, processed through a stochastic path integral, is entirely sufficient to build an unbiased acceptance probability.
  • Robustness to Score Error: The high-accuracy guarantees are robust. Even if the learned score function contains some $L^2$ error, the algorithm still converges reliably.
  • Intrinsic Dimension: The authors demonstrate that if the data lives on a low-dimensional manifold with an intrinsic dimension $d_\star$, the complexity of the sampler scales with $d_\star$ rather than the ambient dimension $d$. This provides a rigorous theoretical explanation for why diffusion models perform so effectively on high-dimensional data like high-resolution images.

Complexity Bounds

The paper establishes several state-of-the-art complexity bounds for reaching a target error $\delta$:

  • Minimal Assumptions: Under just a finite second moment assumption, the complexity is $\widetilde{O}(d \text{ polylog}(1/\delta))$. This is an exponential improvement over the prior best of $\widetilde{O}(d/\delta)$.
  • Lipschitz Scores: If the score function satisfies a non-uniform Lipschitz condition, the complexity improves to $\widetilde{O}(\sqrt{dL} \text{ polylog}(1/\delta))$.
  • Low-Dimensional Structure: For data with intrinsic dimension $d_\star$, the complexity reduces to $\widetilde{O}(d_\star \text{ polylog}(1/\delta))$.

Furthermore, the method is applied to log-concave sampling via the "proximal sampler" framework. This yields the first $\text{polylog}(1/\delta)$ complexity sampler for general log-concave distributions that relies solely on gradient evaluations.

Limitations and Future Directions

While FORS provides a massive theoretical leap in the number of steps required, it comes with practical trade-offs:

  • Computational Cost per Step: Each FORS step requires logarithmically many score evaluations. In practice, this makes an individual FORS step computationally more expensive than a standard DDPM step.
  • Conservative Theory: The theoretical parameters and step-size conditions may be overly conservative. Finding the optimal "sweet spot" for practical implementation remains an open challenge.
  • ODE Samplers: The current framework focuses exclusively on SDE-based (stochastic) samplers. Extending these high-accuracy guarantees to deterministic ODE-based samplers (like DDIM) is a crucial next step.

Ultimately, the authors suggest that the principles behind FORS could be used to design lightweight "corrector steps" to enhance existing diffusion pipelines, paving the way for future practical tools that bridge the gap between theoretical guarantees and empirical performance.

Summary updated

BibTeX
@inproceedings{chen2026high,
  author = {Fan Chen and Sinho Chewi and Constantinos Costis Daskalakis and Alexander Rakhlin},
  title = {{High-Accuracy Sampling for Diffusion Models and Log-Concave Distributions}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=GW3umRqsZZ},
}
Figure