Noise in the reverse process improves the approximation capabilities of diffusion models

Karthik Elamvazhuthi, Samet Oymak, Fabio Pasqualetti · DOI

Score-based Generative Models (SGMs), or diffusion models, have revolutionized generative AI. These models operate by reversing a noise-injection process to recover data from a prior distribution. While practitioners have observed that stochastic reverse processes—adding noise back in during the denoising step—often outperform deterministic "probability flow" ODEs, a rigorous theoretical explanation for this advantage has remained elusive.

This paper addresses this gap by analyzing the approximation capabilities of Neural Stochastic Differential Equations (SDEs) versus Neural Ordinary Differential Equations (ODEs). By framing the reverse process as a trajectory tracking problem in control theory, the authors demonstrate that noise is not just a byproduct of the process, but a fundamental tool for regularization and expressivity.

The Limits of Determinism

In traditional diffusion theory, the reverse process is often modeled using the gradient of the log-density, known as the "score function." Most existing proofs of convergence rely on the assumption that this score function is Lipschitz continuous—meaning it doesn't change too abruptly. However, real-world data distributions are often sharp, irregular, or concentrated on low-dimensional manifolds, where the Lipschitz assumption frequently fails.

Furthermore, there is the question of network architecture. Can a neural network with limited width—specifically, a "skinny" network where the hidden layers are no wider than the input dimension ($d$)—actually represent the complex trajectories required to generate high-fidelity data?

A Control Theoretic Perspective

The authors re-envision the generative process through the lens of control theory. They treat the weights of the neural network as "controls" that steer the probability density along a path described by the Fokker-Planck equation. This equation governs how a density evolves over time under the influence of both a vector field (the learned score) and diffusion (the noise).

By posing the problem as one of trajectory tracking, the research asks: can we find a set of network weights such that the resulting density follows a specific path from pure noise back to the target data distribution?

Key Insight: Noise as a Regularizer

The most significant finding is the powerful regularizing effect of stochasticity. In a deterministic ODE, small errors in the learned vector field can lead to significant irregularities in the resulting density, often limiting approximation guarantees to the relatively "weak" Wasserstein metric.

In contrast, the diffusion term in an SDE acts as a smoother. This smoothing allows Neural SDEs to achieve approximation in the $L^2$ norm—a much stronger metric of closeness than the Wasserstein distance or KL divergence. Crucially, this $L^2$ convergence holds even when the reference vector field is not Lipschitz. This result effectively relaxes the mathematical requirements for the data distribution, proving that diffusion models can sample from a much broader class of distributions than previously established.

Universal Approximation with "Skinny" Networks

The paper further explores the "expressivity" of these models. A common concern in deep learning is whether a network has enough "width" to represent a complex function. The authors prove that for Neural SDEs, width is not the limiting factor.

They establish that even if the network width is restricted to the input dimension ($d$), the model remains a universal approximator for density trajectories, provided it has sufficient depth (represented by the time-evolution of the SDE). This "limited-width" controllability suggests that the empirical success of diffusion models doesn't solely rely on massive over-parameterization, but on the inherent flexibility of the stochastic evolution.

Formal Results

The paper's contributions are anchored in three primary mathematical results:

  1. Theorem 3 (Trajectory Approximation): Demonstrates that a limited-width neural SDE can track any valid density trajectory arbitrarily closely in the $L^2$ norm.
  2. Proposition 4 (Exact Controllability): Shows that a vector field can be constructed to interpolate between two densities under mild regularity conditions (densities must be $C^1$ and bounded away from zero).
  3. Theorem 5 (Sampling Capability): Combines these to prove that limited-width neural SDEs can sample from a wide class of distributions with a target error $\epsilon$ in the $L^2$ norm.

Conclusion and Future Directions

This research provides a robust theoretical foundation for the "secret sauce" of diffusion models: noise. By showing that stochasticity enables better approximation, stronger convergence metrics, and high expressivity even in constrained architectures, the authors bridge the gap between empirical success and mathematical understanding.

Future work remains, particularly in extending these proofs from bounded domains to unbounded space ($\mathbb{R}^d$) and investigating how noise in the forward process interacts with these reverse-process benefits. Nonetheless, this work clarifies why the path from noise to data is best traveled with a bit of randomness.

Summary updated

BibTeX
@misc{elamvazhuthi2023noise,
  author = {Karthik Elamvazhuthi and Samet Oymak and Fabio Pasqualetti},
  title = {{Noise in the reverse process improves the approximation capabilities of diffusion models}},
  year = {2023},
  eprint = {2312.07851},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2312.07851},
}
Figure