Zeroth-Order Sampling Methods for Non-Log-Concave Distributions: Alleviating Metastability by Denoising Diffusion

Ye He, Kevin Rojas, Molei Tao

Introduction

Sampling from complex, multimodal distributions is a fundamental challenge in statistics and machine learning. Traditional methods, such as Langevin Monte Carlo (LMC), often suffer from metastability, a phenomenon where the sampler becomes trapped in local modes (peaks) separated by high-probability barriers (valleys). This prevents the algorithm from exploring the full distribution within a reasonable timeframe.

A recent study, "Zeroth-Order Sampling Methods for Non-Log-Concave Distributions: Alleviating Metastability by Denoising Diffusion," introduces ZOD-MC (Zeroth-Order Diffusion Monte Carlo). This novel approach leverages the power of denoising diffusion models to navigate treacherous landscapes using only "zeroth-order" information—the value of the density itself—without requiring gradients.

The Challenge of Metastability and Smoothness

Most efficient sampling algorithms rely on "first-order" information, specifically the gradient of the log-density. While powerful, these methods face two primary hurdles:

  1. Metastability: In non-log-concave distributions, gradient-based walkers often get trapped in local modes for exponentially long periods.
  2. Smoothness Requirements: Gradients are often unavailable or ill-defined in potentials with discontinuities or non-smooth regions.

Furthermore, theoretical guarantees for sampling typically require the target distribution to satisfy strict geometric assumptions like log-concavity or isoperimetric inequalities. These conditions are rarely met in real-world applications such as molecular dynamics or complex Bayesian inference.

Methodology: ZOD-MC

The authors propose a two-tier framework to address these limitations:

1. Denoising Diffusion Monte Carlo (DDMC)

DDMC is a "meta-algorithm" based on reversing a diffusion process. It begins with simple Gaussian noise and gradually transforms it into the target distribution. The primary challenge in reverse diffusion is estimating the score function (the gradient of the log-density) at each time step. DDMC assumes access to an "oracle" that provides samples to estimate this score via Monte Carlo methods.

2. Zeroth-Order Diffusion Monte Carlo (ZOD-MC)

ZOD-MC is the practical implementation of the DDMC framework. It utilizes rejection sampling to fulfill the role of the oracle. Crucially, ZOD-MC only requires zeroth-order queries, meaning it only needs to evaluate the unnormalized density at specific points. This allows it to bypass the need for gradients and strong geometric assumptions.

Comparative Analysis

ZOD-MC distinguishes itself from existing state-of-the-art samplers by its minimal requirements and robust convergence guarantees.

Comparison of ZOD-MC with existing sampling algorithms across various metrics and assumptions.

As illustrated in the table above, ZOD-MC is unique in its ability to operate without specific geometric assumptions (like LSI or log-concavity) while utilizing only zeroth-order queries. Unlike LMC or RDMC, it provides convergence guarantees in KL-divergence and Wasserstein-2 ($W_2$) distance for general, non-log-concave distributions.

Experimental Evaluation

The authors evaluated ZOD-MC against several modern samplers (including RDMC, RSDMC, and the Proximal Sampler) on challenging synthetic benchmarks:

  • Asymmetric 2D Gaussian Mixtures: Testing exploration balance across modes with different weights and variances.
  • Separated GMMs: Testing robustness against metastability when modes are pushed far apart.
  • Discontinuous GMMs: Testing the handling of non-smooth potentials with "moats" of zero probability.
  • Müller-Brown Potential: A classic, highly non-linear test problem from computational chemistry.

Key Results

  • Superior Accuracy: ZOD-MC achieved the lowest Maximum Mean Discrepancy (MMD) and $W_2$ distance in 2D GMM experiments.
  • Mode Capture: It was the only algorithm tested that consistently captured all three modes of the Müller-Brown potential and correctly handled discontinuous potentials.
  • Parallelization: Unlike sequential Langevin dynamics, the Monte Carlo score estimation in ZOD-MC is easily parallelizable, significantly reducing wall-clock time.

Conclusion

ZOD-MC provides a powerful alternative for low-dimensional, high-complexity sampling problems. By combining denoising diffusion with rejection sampling, it "tunnels" through probability barriers that stop traditional Markov Chains. While its query complexity grows exponentially with dimension $d$, it remains exceptionally efficient for the types of non-convex landscapes found in molecular dynamics and low-dimensional Bayesian tasks. Future work will focus on developing oracles that scale better with dimensionality while maintaining the zeroth-order advantage.

Summary updated

BibTeX
@inproceedings{he2024zeroth,
  author = {Ye He and Kevin Rojas and Molei Tao},
  title = {{Zeroth-Order Sampling Methods for Non-Log-Concave Distributions: Alleviating Metastability by Denoising Diffusion}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=X3Aljulsw5},
}
Figure