Sampling from complex, non-log-concave target distributions is a cornerstone challenge in Bayesian inference and machine learning. Traditionally, researchers have relied on Langevin-based algorithms like Stochastic Gradient Langevin Dynamics (SGLD). While highly scalable, these methods are often biased and can be painfully slow to converge when the energy landscape features multiple peaks or complex geometries.
Recently, "Proximal Samplers" have emerged as a powerful alternative. In deterministic settings—where the full gradient is available—they converge significantly faster than Langevin methods. However, in the modern "big data" regime, we typically only have access to noisy, stochastic gradients computed from mini-batches. Until now, there was no rigorous framework or theoretical guarantee for how proximal samplers behave when gradients are stochastic and the target distribution is complex.
This paper bridges that gap by introducing Stochastic Proximal Samplers (SPS), a new framework that brings the high-speed convergence of proximal point methods to large-scale, non-log-concave sampling problems.
The Stochastic Proximal Sampler Framework
The authors propose a clever two-stage alternating framework to handle the complexities of stochastic gradients:
- Stage 1: Given a current point $x$, the algorithm samples a hidden variable $y$ from a simple Gaussian distribution centered at $x$.
- Stage 2: Given $y$, it samples a new $x$ from a conditional distribution proportional to $\exp(-f_b(x) - \|x - y\|^2 / 2\eta)$, where $f_b$ is calculated using a random mini-batch.
The underlying "magic" of this approach is that even if the original energy function $f$ is non-convex, the added penalty term $\|x - y\|^2 / 2\eta$ makes the Stage 2 sub-problem strongly log-concave, provided the step size $\eta$ is sufficiently small. This transformation allows the use of highly efficient "inner samplers" to solve the sub-problem.
The paper introduces two specific implementations of this framework:
- SPS-SGLD: Utilizes a modified SGLD as the inner sampler.
- SPS-MALA: Employs a "warm-started" Metropolis-adjusted Langevin algorithm as the inner sampler.
Theoretical and Empirical Breakthroughs
A major theoretical contribution of this work is breaking the "stationary point requirement." Previous analyses of proximal samplers required knowledge of the stationary points of $f$. The authors remove this unrealistic constraint, proving that controlling the second moment of the algorithm's trajectory is sufficient to guarantee convergence. Furthermore, they provide a sharp analysis of error propagation, showing that as long as the "Gaussian oracle" is well-approximated, the algorithm will converge to the true target.
This leads to a significant dimensionality advantage. By leveraging the proximal framework, the authors theoretically reduce the algorithm's dependence on the dimension $d$. For instance, SPS-MALA achieves a gradient complexity of $\tilde{\mathcal{O}}(d^{1/2}\epsilon^{-2})$, outperforming the best-known previous bounds (like CC-SGLD) by at least a factor of $\tilde{\mathcal{O}}(d^{1/3})$.
Empirically, the authors evaluated their algorithms on synthetic datasets designed to test sampling from non-log-concave distributions, specifically a mixture of Gaussians where the goal is to capture multiple modes accurately. Qualitative results demonstrate that SPS-SGLD covers these multiple modes more accurately and with better variance estimation than standard SGLD, which often gets "stuck" or provides a distorted view of the landscape.
Quantitatively, the algorithms were tested across various dimensions ($d \in \{10, 20, 30, 40, 50\}$). SPS-SGLD consistently achieved a Total Variation (TV) distance—a key measure of sampling error—that was significantly smaller than vanilla SGLD across all tested dimensions, proving its robustness as complexity scales.
Limitations and Future Work
While the theoretical and empirical results are highly promising, the framework does have limitations. The convergence theory relies on the target distribution satisfying the Log-Sobolev Inequality (LSI). While LSI is broader than simple log-concavity, it still excludes some highly pathological distributions with extremely flat regions or heavy tails.
Additionally, like many MCMC methods, SPS is sensitive to hyper-parameters and relies on grid-searching for optimal step sizes. Finally, while the synthetic results validate the theory, demonstrating the algorithm on high-dimensional real-world tasks—such as sampling from the posterior of a deep neural network—remains an exciting open area for future empirical validation.
Summary updated