Abstract
Denoising diffusion models have emerged as a state-of-the-art class of generative models, typically used to transform Gaussian noise into high-fidelity data by reversing a diffusion process. This paper explores the adaptation of these principles to the domain of Monte Carlo sampling. We introduce Denoising Diffusion Samplers (DDS), a framework designed to sample from unnormalized probability density functions and estimate their normalizing constants. By diffusing a target density toward a Gaussian distribution and approximating the corresponding time-reversal, DDS leverages variational inference to bypass the need for pre-existing samples. We demonstrate that DDS provides superior numerical stability compared to existing path-integral methods and achieves robust mode coverage in high-dimensional tasks.
Introduction
In Bayesian statistics and physical sciences, a recurring challenge is the characterization of unnormalized probability densities $\pi(x) = \gamma(x)/Z$, where the normalizing constant $Z$ is unknown. Traditional methods like Annealed Importance Sampling (AIS) and Sequential Monte Carlo (SMC) are standard tools for this task but often struggle with high-dimensional spaces or complex, multimodal landscapes.
While Denoising Diffusion Models (DDMs) have revolutionized generative modeling, they traditionally rely on "score matching," which requires a large dataset of samples to train the model. In the context of Monte Carlo sampling, these samples are precisely what we seek to generate. Denoising Diffusion Samplers (DDS) resolve this "chicken-and-egg" problem by framing the diffusion process as a variational inference task, allowing for the approximation of complex distributions without prior samples.
The DDS Framework
Diffusion via Ornstein-Uhlenbeck Processes
DDS operates by gradually diffusing a target density into a simple Gaussian distribution using an Ornstein-Uhlenbeck (OU) process. The generative model is then obtained by simulating an approximation of the time-reversal of this diffusion, initialized by Gaussian samples.
Variational Learning without Samples
Unlike standard generative diffusion models, DDS does not use score matching. Instead, it learns a neural network to approximate the time-reversal drift by minimizing the reverse Kullback-Leibler (KL) divergence between the path measure of the approximate process and the true time-reversed process. This transforms the sampling problem into a functional optimization task.
Stability and Reference Processes
A critical innovation in DDS is the introduction of an auxiliary reference diffusion. Previous approaches, such as the Path Integral Sampler (PIS), utilize "pinned" Brownian motion, which can lead to mathematical instabilities and infinite drift near the target distribution. By utilizing an OU-based reference process, DDS ensures that the gradients used to train the neural network remain numerically stable and well-behaved throughout the training process.
ELBO-Preserving Integrators
To maintain the theoretical integrity of the Evidence Lower Bound (ELBO) in discrete time, the authors derived specialized exponential-type integrators. Standard numerical solvers like Euler-Maruyama can introduce errors that invalidate the mathematical guarantees of the ELBO; these specialized integrators ensure that the discrete-time algorithm still provides a valid lower bound for the normalizing constant $Z$.
Experimental Evaluation
The authors evaluated DDS against several challenging benchmarks to test its accuracy, stability, and ability to handle high-dimensional multimodality.
- Synthetic and Bayesian Targets: On the 10-dimensional "Funnel" distribution and Bayesian Logistic Regression tasks (Ionosphere and Sonar datasets), DDS provided estimates of the log-normalizing constant ($\ln Z$) with lower variance and higher accuracy than PIS or standard Variational Inference.
- High-Dimensional Multimodality: To test mode coverage, the authors used a NICE normalizing flow model trained on MNIST ($d=196$). This creates a target distribution with ten distinct modes corresponding to digit classes. DDS successfully captured 9 out of 10 modes, significantly outperforming standard SMC (5 modes) and PIS (7 modes).
- Numerical Robustness: In scenarios where PIS suffered from exploding gradients or failed to converge, DDS remained stable, demonstrating the practical utility of the OU-based reference process.
Discussion and Conclusion
DDS represents a significant step forward in integrating generative diffusion techniques with Monte Carlo sampling. Its primary strength lies in its stability and its ability to treat sampling as a transport problem, allowing the model to navigate complex distributions that might trap traditional MCMC chains.
However, this power comes with a computational trade-off. Training the neural network for DDS is more time-intensive than running a simple SMC chain. Future work may focus on more sophisticated numerical integrators and underdamped dynamics to further improve efficiency. Ultimately, DDS proves that the mathematical foundations of the "diffusion revolution" offer robust solutions for the fundamental challenges of scientific computing and Bayesian inference.
Summary updated