Stochastic Localization via Iterative Posterior Sampling

Louis Grenioux, Maxence Noble, Marylou Gabrié, Alain Oliviero Durmus

Sampling from complex, unnormalized probability distributions is a fundamental challenge in Bayesian inference and statistical mechanics. While traditional Markov Chain Monte Carlo (MCMC) methods like Langevin Dynamics are standard, they notoriously struggle with multi-modality—often getting "trapped" in a single peak of a distribution and failing to explore others.

Recently, diffusion models have revolutionized "data-based" sampling (e.g., generating images from a dataset). However, adapting these techniques to "density-based" sampling is difficult because diffusion models typically require a large pre-existing dataset to train a score estimator.

Presented at ICML 2024, SLIPS (Stochastic Localization via Iterative Posterior Sampling) bridges this gap. It introduces a "learning-free" sampling algorithm that uses stochastic localization to progressively "zoom in" on samples from a target density, estimating denoisers on the fly using MCMC rather than training neural networks.

The SLIPS Methodology

The core idea behind SLIPS is Stochastic Localization (SL). Imagine starting with a cloud of pure noise and slowly "localizing" it onto a specific point from your target distribution.

  1. The Observation Process: The authors define a stochastic process $Y_t = \alpha(t)X + \sigma W_t$, where $X$ is a sample from the target, $W_t$ is Brownian motion (noise), and $\alpha(t)$ is a "schedule" that increases over time. Instead of sampling $X$ directly, the algorithm simulates a Stochastic Differential Equation (SDE).
Stochastic localization paths comparing Standard and Geometric schedules.
  1. Learning-Free MCMC Denoising: The "drift" of this SDE is the optimal denoiser—the conditional expectation of where the sample $X$ is likely to be, given the current noisy state $Y_t$. Unlike generative models that use a neural network to approximate this denoiser, SLIPS uses a Markov Chain Monte Carlo (MALA) step at each time interval to estimate the denoiser directly from the target density.
  2. Flexible Scheduling and Discretization: The authors introduce new "Geometric" noising schedules that allow the algorithm to spend more or less time in specific noise regimes, improving efficiency. Furthermore, they demonstrate that taking equal time steps is inefficient. Instead, SLIPS discretizes time based on the Signal-to-Noise Ratio (SNR), taking smaller steps when the denoising process accelerates.
Comparison of uniform and SNR-adapted discretization across different schedules.

Key Insights: The Duality of Log-Concavity

The paper's most elegant theoretical insight is the "Duality of Log-Concavity." Sampling is generally easy when a distribution is log-concave (shaped like a single bell curve). The authors prove that the distribution in their process is log-concave in two distinct regimes:

  • Early stage: When noise dominates, the distribution is smoothed out into a simple Gaussian-like shape.
  • Late stage: When the process has "localized" near a specific mode, the local density becomes log-concave again.

SLIPS exploits this "sweet spot" by initializing the integration at a specific time $t_0$ where both the marginal and posterior distributions are manageable, using a nested "Langevin-within-Langevin" MCMC approach to sample the initial state.

Experimental Validation

Because it relies on localization rather than global exploration, SLIPS scales exceptionally well to high dimensions compared to standard MCMC or Importance Sampling. The authors evaluated SLIPS on several challenging benchmarks:

  • High-Dimensional Gaussian Mixtures: In 128-dimensional bimodal mixtures, SLIPS recovered the relative weights of modes with 1% accuracy. Competitors like Sequential Monte Carlo (SMC) and Annealed Importance Sampling (AIS) completely collapsed, failing to find modes or returning wildly incorrect weights.
  • Statistical Mechanics: On a 100-dimensional $\phi^4$ field system (a continuous relaxation of the Ising model), SLIPS was the only method to produce accurate samples with the correct relative weights between modes.
  • Real-World Data: The method also proved highly effective on Bayesian Logistic Regression tasks using datasets like Ionosphere ($d=34$) and Sonar ($d=61$).

Despite the nested MCMC steps, SLIPS remains computationally practical, generating thousands of samples in high dimensions in under a minute on a single GPU.

Limitations and Future Work

While powerful, SLIPS has a few limitations. The choice of the starting time $t_0$ is a crucial hyperparameter; while the "duality" theory guides this choice, it still requires tuning for unknown distributions. Additionally, the formal proofs for log-concavity currently rely on specific assumptions (like targets being convolutions with a Gaussian), leaving an open theoretical gap for more general non-log-concave targets. Finally, while faster than many alternatives, the "MCMC-per-step" approach is computationally heavier than a single MCMC chain, suggesting future work could explore ways to reuse MCMC samples across time steps.

Summary updated

BibTeX
@inproceedings{grenioux2024stochastic,
  author = {Louis Grenioux and Maxence Noble and Marylou Gabrié and Alain Oliviero Durmus},
  title = {{Stochastic Localization via Iterative Posterior Sampling}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=2Gr5wZR6uc},
}
Figure