In generative modeling, there is a glaring gap between what theory historically demanded and what practice successfully delivers. Traditional sampling algorithms—such as vanilla Langevin dynamics—rely on strict, uniform accuracy guarantees. They require the estimated score function (the gradient of the log-density) to be accurate everywhere, even in the remote, low-density corners of the data space.
If you train a neural network using standard objectives, it minimizes an expected $L^2$ loss. This means the network learns the score function exceptionally well on average over the data distribution, but offers no guarantees on pointwise accuracy in low-density regions. Under classical sampling theory, a single massive error in a low-density zone could cause a sampling trajectory to diverge entirely.
Yet, diffusion models work remarkably well. This article explores the theoretical machinery explaining why: diffusion samplers possess an inherent average-case robustness, allowing them to generate high-fidelity samples using score estimators that are only accurate on average.
Trajectory Isolation: Staying in Safe Zones
The primary reason diffusion models tolerate average-case errors is that their sampling trajectories are statistically isolated from high-error regions.
When a diffusion model reverses the forward noise process, it does not wander blindly across the entire vector space. As demonstrated by Lee et al. and Chen et al., the sampling trajectory is highly unlikely to ever enter regions where the score estimate is highly inaccurate. Because the forward process smoothly diffuses the data, the reverse process is guided along a high-probability corridor where the score function has been thoroughly learned during training.
[Low-Density Region] (High Score Error)
^
| (Statistically Unlikely)
|
[Sampling Trajectory] ---> [High-Density Data Manifold] (Low Score Error)
This principle holds true even for complex, multimodal distributions. Koehler et al. show that generative sampling can succeed using a score function that is only accurate in an $L^2$ sense over the true data distribution. The model does not need to accurately map the score in low-density voids or perfectly capture the global relationships between distant modes to produce high-quality samples; it simply needs to follow the well-traveled paths of the distribution.
Noise-Dependent Error Tolerance
The sensitivity of a diffusion model to score errors is not uniform; it changes dynamically across the sampling timeline.
Yu et al. observe that diffusion models exhibit varying sensitivity based on the noise level of the current state. High-noise regimes (at the beginning of the reverse process) are highly vulnerable to prediction errors, whereas low-noise states are remarkably robust.
Crucially, the diffusion process features an inherent error-cancellation mechanism. As argued by Gupta et al., while the score function is hardest to estimate at low noise levels, the sampling process simultaneously becomes more resilient to estimation errors during those exact stages. This tolerance means that even if the score estimator is imperfect on a small fraction of the probability mass, the overall trajectory remains stable and resists error accumulation.
Relaxing the Error Metric
Because uniform accuracy is unnecessary, recent theoretical frameworks have relaxed the required error metrics from pointwise bounds to much weaker, more practical definitions.
- Quantile Errors: Gupta et al. demonstrate that a weaker "1-delta quantile error" metric is sufficient for efficient and accurate sampling. This metric ignores extreme outliers and focuses on whether the score is accurate across the vast majority of the probability mass, proving that high-quality generation requires significantly fewer training samples than previously assumed.
- $L^p$ Bounds for Posterior Sampling: For complex inverse problems (like image reconstruction), traditional Langevin dynamics required sub-exponential error bounds. Xun et al. show that by frequently re-anchoring to intermediate distributions, posterior sampling can succeed with realistic $L^4$ or $L^p$ error bounds. This provides a solid mathematical foundation for using neural network score estimators in provably robust plug-and-play reconstruction frameworks Xu et al..
Even advanced meta-algorithms designed for high-accuracy sampling, such as First-Order Rejection Sampling (FORS) proposed by Chen et al., inherit this robustness, maintaining convergence guarantees despite $L^2$ inaccuracies in the learned score.
Stochasticity as an Error Buffer
Why do diffusion models exhibit this robustness while other generative frameworks struggle? The answer lies in the explicit injection of noise during the reverse process.
Cao et al. demonstrate that standard Langevin dynamics is highly vulnerable to tiny score errors in high dimensions, causing samples to degrade. In contrast, diffusion models remain stable.
Pierret et al. unpack this phenomenon by comparing stochastic sampling schemes to deterministic solvers (like Heun's method). While deterministic solvers can be highly efficient under perfect score conditions, they easily accumulate network inaccuracies and drift out of the target distribution when the score is imperfect. Stochastic samplers, however, use injected noise to actively disrupt and buffer against the accumulation of these systematic errors. This error-resilient nature explains why diffusion models are inherently less prone to error accumulation than frameworks like Generative Adversarial Networks (GANs) Wang et al..
Defeating the Curse of Dimensionality
In high-dimensional spaces, one might expect that even small average errors would compound exponentially. However, the geometric interplay between diffusion processes and data structure prevents this amplification.
Li et al. prove that for distributions resembling Gaussian Mixture Models, the sampling error scales proportionally to the score estimation error without being amplified by the dimensionality of the data space. This results in "dimension-free" convergence.
Furthermore, real-world data rarely fills an entire high-dimensional ambient space; it typically concentrates on low-dimensional manifolds. Wu et al. show that neural network-based diffusion models naturally adapt to these latent structures (such as a union of subspaces). The sampling process remains stable even when the data deviates slightly from an ideal manifold, ensuring that the sample complexity scales with the data's intrinsic dimension rather than its ambient dimension.
Ultimately, diffusion models work because their underlying mathematics aligns perfectly with the strengths of neural networks. Networks excel at learning average-case behaviors, and diffusion samplers are uniquely engineered to forgive average-case mistakes.
Key Foundational Work
Convergence for score-based generative modeling with polynomial complexity (2022) — contributed 2 concept elements to this direction.
Sampling is as easy as learning the score: theory for diffusion models with minimal data assumptions (2023) — contributed 2 concept elements to this direction.