Skip to main content
QUICK REVIEW

[Paper Review] Denoising Diffusion Samplers

Francisco Vargas, Will Grathwohl|arXiv (Cornell University)|Feb 27, 2023
Machine Learning in HealthcareComputer Science3 citations
TL;DR

Denoising Diffusion Samplers (DDS) propose a novel Monte Carlo method for approximate Bayesian inference and normalizing constant estimation by leveraging diffusion processes to sample from unnormalized target densities. By approximating the time-reversed diffusion of a forward process that transforms the target into a Gaussian, DDS enables efficient sampling and normalizing constant estimation without score matching, using variational inference with a differentiable ELBO and numerical integrators preserving the invariant distribution.

ABSTRACT

Denoising diffusion models are a popular class of generative models providing state-of-the-art results in many domains. One adds gradually noise to data using a diffusion to transform the data distribution into a Gaussian distribution. Samples from the generative model are then obtained by simulating an approximation of the time-reversal of this diffusion initialized by Gaussian samples. Practically, the intractable score terms appearing in the time-reversed process are approximated using score matching techniques. We explore here a similar idea to sample approximately from unnormalized probability density functions and estimate their normalizing constants. We consider a process where the target density diffuses towards a Gaussian. Denoising Diffusion Samplers (DDS) are obtained by approximating the corresponding time-reversal. While score matching is not applicable in this context, we can leverage many of the ideas introduced in generative modeling for Monte Carlo sampling. Existing theoretical results from denoising diffusion models also provide theoretical guarantees for DDS. We discuss the connections between DDS, optimal control and Schrödinger bridges and finally demonstrate DDS experimentally on a variety of challenging sampling tasks.

Motivation & Objective

  • To develop a sampling method for unnormalized probability densities where the normalizing constant is intractable.
  • To estimate the normalizing constant $ Z $ of a target density $ \pi(x) = \gamma(x)/Z $ without relying on score matching.
  • To leverage ideas from denoising diffusion generative models for Monte Carlo sampling in Bayesian inference.
  • To ensure theoretical guarantees via variational inference and a valid Evidence Lower Bound (ELBO) using a reference process.
  • To design numerical integrators that preserve the invariant distribution of the reference process for stable training.

Proposed method

  • Formulate a forward diffusion process that transforms the target density $ \pi $ into a standard Gaussian over time.
  • Approximate the time-reversed process using a variational family $ q^\theta(x,u) $, minimizing $ \mathrm{KL}(q^\theta || p) $ to maximize the ELBO.
  • Introduce an auxiliary reference process to enable low-variance estimation of the ELBO and its gradient.
  • Use probability flow ODEs and underdamped Langevin dynamics to define the forward noising process and guide the time-reversal.
  • Design numerical integrators for the SDE/ODE that preserve the invariant distribution of the reference process to ensure a valid ELBO.
  • Apply gradient clipping and learnable parameters in the drift function to stabilize training and improve sample quality.

Experimental results

Research questions

  • RQ1Can diffusion-based sampling be adapted to unnormalized densities without score matching?
  • RQ2How can a valid ELBO be constructed for time-reversed diffusion processes when the initial state is intractable?
  • RQ3What numerical integrators preserve the invariant distribution and ensure a valid variational objective in discrete time?
  • RQ4How does DDS compare to AIS, SMC, and other state-of-the-art Monte Carlo methods in sampling quality and normalizing constant estimation?
  • RQ5Can the theoretical guarantees from denoising diffusion models be extended to general Monte Carlo inference tasks?

Key findings

  • DDS achieves competitive sampling quality and normalizing constant estimation across diverse tasks, including funnel, lgcp, ion, sonar, and vae distributions.
  • The method outperforms or matches state-of-the-art methods like PIS and UDMP in terms of effective sample size and log-likelihood estimation.
  • Using a reference process enables low-variance gradient estimation, crucial for stable training of the variational objective.
  • The proposed integrator preserves the invariant distribution, ensuring a valid ELBO in discrete time, unlike standard Euler–Maruyama schemes.
  • Hyperparameter tuning across multiple datasets shows consistent performance with stable training using Adam optimizer and gradient clipping.
  • Reproducibility was ensured by using identical optimisation settings for DDS and PIS, enabling fair comparison across experiments.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.