Abstract
While denoising diffusion models have revolutionized generative modeling, their application to general Monte Carlo sampling—specifically sampling from unnormalized probability densities and calculating normalizing constants—has remained a challenge. This paper introduces the Particle Denoising Diffusion Sampler (PDDS), a framework that combines the strengths of diffusion models with the asymptotic consistency of Sequential Monte Carlo (SMC). By utilizing a novel "Novel Score Matching" (NSM) loss and an SMC-based correction mechanism, PDDS provides a robust solution for high-dimensional, multimodal sampling tasks where traditional guided diffusion methods often fail.
Introduction
Denoising diffusion models are typically trained on large datasets to learn how to reverse a noise process. However, in many statistical and scientific contexts, we do not have samples; instead, we have a mathematical formula for an unnormalized density $\pi(x) \propto \gamma(x)$. The goal is to draw samples from $\pi(x)$ and estimate the normalizing constant $Z = \int \gamma(x) dx$.
Existing approaches often rely on "guidance" techniques to steer a diffusion process toward the target. However, these methods frequently introduce systematic bias and fail to provide reliable estimates of $Z$. The Particle Denoising Diffusion Sampler (PDDS) addresses these limitations by embedding the diffusion process within an SMC framework, ensuring that the sampler remains faithful to the target distribution even when the learned guidance is imperfect.
The PDDS Framework
PDDS operates by bridging the gap between a simple distribution (Gaussian noise) and a complex target distribution through a sequence of intermediate steps. The methodology consists of four primary components:
- The Diffusion Path: The algorithm defines a forward noising process that transforms the target distribution into noise and a corresponding reverse process (the sampler) that attempts to reconstruct the target.
- Sequential Monte Carlo (SMC) Integration: To prevent the accumulation of errors during the reverse process, PDDS employs an SMC scheme. It maintains a population of "particles" that are iteratively reweighted and resampled. This ensures that the particle system provides an asymptotically consistent representation of the target distribution as the number of particles increases.
- Novel Score Matching (NSM): Training the neural networks that guide the particles requires a loss function. Standard Denoising Score Matching (DSM) suffers from high variance as the noise level decreases (approaching the target). The authors introduce NSM, a more stable objective that allows for accurate learning of the "score" (the gradient of the log-density) across all time steps.
- Normalizing Constant Estimation: Because PDDS is framed as an SMC sampler, it naturally produces an unbiased estimate of the normalizing constant $Z$, a feature missing from most standard diffusion-based generative models.
Experimental Evaluation
The researchers evaluated PDDS against state-of-the-art samplers across several challenging benchmarks:
- Synthetic Multimodal Targets: This included a 10D "Funnel" distribution and a 20D Gaussian Mixture Model (GMM) with 40 highly separated modes. PDDS demonstrated a unique ability to capture all modes without the collapse often seen in tempering-based methods.
- Bayesian Posteriors: Logistic regression tasks on the Sonar (61D) and Ionosphere (35D) datasets showed that PDDS provides competitive and reliable posterior samples.
- High-Dimensional Spatial Modeling: On a 1600-dimensional Log Gaussian Cox Process (LGCP), PDDS outperformed flow-based methods like CRAFT, particularly as the number of discretization steps increased.
Key Insights
The Bias of Guidance
The authors provide a theoretical contribution (Proposition 2.2) proving that common guidance approximations used in diffusion literature lead to systematic errors in the mean and variance of the resulting samples. PDDS bypasses this by using SMC as a "safety net" to correct these approximations.
Stability via NSM
A critical hurdle in diffusion sampling is the variance blow-up of the score matching loss as $t \to 0$. The NSM identity introduced in this work stabilizes training, allowing the model to learn the intricate details of the target distribution's geometry more effectively than standard DSM.
Mode Preservation
Unlike traditional tempering methods, which can lose track of modes as they transition from a flat distribution to a peaked one, the diffusion-based approach in PDDS tends to preserve the relative weights of different modes. This makes it particularly effective for complex, multimodal energy landscapes.
Conclusion and Future Work
PDDS represents a significant advancement in merging generative diffusion models with rigorous Monte Carlo sampling. By providing asymptotic consistency and unbiased estimates of normalizing constants, it moves diffusion models beyond image generation and into the realm of high-stakes scientific inference.
Future research may explore more sophisticated resampling strategies, such as those based on optimal transport, to further refine the efficiency of the particle system in the infinitely fine discretization limit. While computationally more intensive than simple MCMC, the parallelizable nature of particle methods and the robustness of the diffusion framework make PDDS a powerful tool for high-dimensional Bayesian statistics.
Summary updated