Abstract
To sample from a general target distribution $p_*\propto e^{-f_*}$ beyond the isoperimetric condition, Huang et al. (2023) proposed to perform sampling through reverse diffusion, giving rise to Diffusion-based Monte Carlo (DMC). Specifically, DMC follows the reverse SDE of a diffusion process that transforms the target distribution to the standard Gaussian, utilizing a non-parametric score estimation. However, the original DMC algorithm encountered high gradient complexity, resulting in an exponential dependency on the error tolerance $\epsilon$ of the obtained samples. In this paper, we demonstrate that the high complexity of the original DMC algorithm originates from its redundant design of score estimation, and proposed a more efficient DMC algorithm, called RS-DMC, based on a novel recursive score estimation method. In particular, we first divide the entire diffusion process into multiple segments and then formulate the score estimation step (at any time step) as a series of interconnected mean estimation and sampling subproblems accordingly, which are correlated in a recursive manner. Importantly, we show that with a proper design of the segment decomposition, all sampling subproblems will only need to tackle a strongly log-concave distribution, which can be very efficient to solve using the standard sampler (e.g., Langevin Monte Carlo) with a provably rapid convergence rate. As a result, we prove that the gradient complexity of RS-DMC exhibits merely a quasi-polynomial dependency on $\epsilon$. This finding is highly unexpected as it substantially enhances the prevailing belief of the necessity for exponential gradient complexity in all prior works such as Huang et al. (2023). Under commonly used dissipative conditions, our algorithm is provably much faster than the popular Langevin-based algorithms. Our algorithm design and theoretical framework illuminate a novel direction for addressing sampling problems, which could be of broader applicability in the community.
Introduction
Sampling from a target distribution $p_* \propto e^{-f_*}$ is a fundamental task in statistics and machine learning. Traditionally, researchers rely on Langevin-based Markov Chain Monte Carlo (MCMC) methods. However, these methods only guarantee fast (polynomial) convergence if the distribution satisfies "isoperimetric" conditions—essentially, if the distribution is "nice" and doesn't have deep valleys separating its modes. For general non-log-concave distributions, such as those with multiple isolated peaks, Langevin dynamics mix incredibly slowly, often requiring time that grows exponentially with the dimension $d$. While recent "Diffusion-based Monte Carlo" (DMC) methods attempted to solve this by reversing a diffusion process, they suffered from an exponential dependency on the error tolerance $\epsilon$. This paper introduces RS-DMC (Recursive Score Diffusion-based Monte Carlo), an algorithm that achieves quasi-polynomial gradient complexity for these challenging distributions.
Methodology: Recursive Score Diffusion-based Monte Carlo
The RS-DMC algorithm is built on the reverse of the Ornstein-Uhlenbeck (OU) process, which gradually transforms a complex target distribution into a simple Gaussian. The core innovation is Recursive Score Estimation (RSE).
The RSE method involves three key components:
- Segmentation: The authors divide the diffusion process into multiple small segments. This decomposition is crucial for managing the complexity of score estimation.
- Strong Log-Concavity: A pivotal theoretical insight is that if a segment is short enough, the intermediate "posterior" distributions used for score estimation become strongly log-concave, regardless of the target distribution's initial non-convexity. By shrinking the time step, the Gaussian noise (prior) dominates the target (likelihood), forcing the sub-distribution to become well-behaved.
- Recursion: Because these subproblems are strongly log-concave, they can be solved efficiently using standard tools like the Unadjusted Langevin Algorithm (ULA). The score at one time step is estimated using samples from the previous step, creating a recursive chain of "easy" sampling problems.
Theoretical and Empirical Results
The primary theoretical contribution is the proof of a gradient complexity of $\exp(O(\log^3(d/\epsilon)))$. This represents the first result to achieve quasi-polynomial dependency on both dimension $d$ and error $\epsilon$ for general non-isoperimetric distributions. In the world of complexity theory, quasi-polynomial is a significant improvement over exponential, suggesting that while the problem remains difficult, it is far more tractable in high dimensions than previously believed.
Empirically, the algorithm was evaluated on a Synthetic Mixture of Gaussians with 6 distinct modes. This is a classic "hard" problem where standard MCMC samplers often get trapped in a single mode. RS-DMC successfully covered all modes and matched the ground truth variance, whereas the standard ULA failed to capture the distribution's balance. Furthermore, under common "dissipative" conditions, RS-DMC is provably faster than popular Langevin-based algorithms.
Discussion and Limitations
While RS-DMC offers a breakthrough in complexity, it is not without limitations. The complexity remains exponentially dependent on the smoothness constant $L$. This is likely an inherent bottleneck, as sampling from a general non-convex function is at least as hard as global optimization. Additionally, the recursive nature of the score estimation involves nested loops, which may introduce computational overhead in practical applications despite the theoretical efficiency. Future work could explore extending this recursive framework to other diffusion processes or broader classes of sampling problems beyond the OU process.
Summary updated