Accelerating Langevin Sampling with Birth-death

Yulong Lu, Jianfeng Lu, James NolenarXiv 2019

Abstract

Sampling from multimodal distributions is a significant challenge in Bayesian inference due to metastability, where local samplers like Langevin MCMC get trapped in local modes. This paper introduces the Birth-Death accelerated Langevin Sampler (BDLS), which integrates a birth-death process into standard Langevin dynamics. By allowing particles to be created in high-probability regions and removed from low-probability ones, BDLS achieves a convergence rate independent of potential barrier heights. We demonstrate its effectiveness on several multimodal benchmarks, showing significant improvements in mode exploration and convergence speed compared to standard methods.

Introduction

In Bayesian inference, drawing samples from a posterior distribution is a fundamental task. Standard tools like Langevin MCMC move particles locally along the gradient of the distribution. However, when the target distribution is multimodal—containing high-probability peaks separated by low-probability "valleys"—these local samplers often become trapped. This phenomenon, known as metastability, causes the time required to move between modes to grow exponentially with the height of the potential barriers.

To address this, researchers have developed the Birth-Death accelerated Langevin Sampler (BDLS). This approach allows particles to "jump" between modes without traversing the low-probability regions in between, effectively bypassing the energy barriers that hinder traditional samplers.

Methods: The BDL-FPE Framework

The core of the proposed method is the Birth-Death Langevin Fokker-Planck Equation (BDL-FPE). This mathematical framework combines two distinct dynamics:

  1. Overdamped Langevin Dynamics: Standard local movement where particles follow the gradient of the target distribution plus random diffusion.
  2. Birth-Death Process: A global mechanism that compares the current particle density to the target density. Particles in over-represented regions are "killed," while those in under-represented regions are "duplicated."

A key theoretical contribution is proving that this combined process is a gradient flow of the Kullback-Leibler (KL) divergence with respect to the Wasserstein-Fisher-Rao (WFR) metric. Unlike the standard Wasserstein metric, which only accounts for mass transport, the WFR metric allows for both the movement and the creation/destruction of mass.

The BDLS Algorithm

In practice, BDLS is implemented as an interacting particle system. Each particle diffuses independently and carries an "exponential clock." When a clock rings, a particle is either killed and replaced by a duplicate of another, or duplicated while another random particle is removed. This coupling ensures the total population size remains constant, providing computational stability.

Key Insights: Breaking the Barrier

The most significant theoretical discovery is that the asymptotic convergence rate of the BDL-FPE is independent of the potential barrier height. In standard Langevin dynamics, the "mixing time" is dominated by the difficulty of crossing valleys. In BDL-FPE, the birth-death term enables "mass teleportation": instead of a particle physically traveling from one mode to another, a particle at one mode dies while a particle at another is duplicated.

Convergence rates and sample size scaling. The left plot shows that BDL-FPE (red) achieves a much faster, barrier-independent convergence rate compared to standard FPE (blue). The middle and right plots demonstrate that BDLS consistently outperforms ULA across different sample sizes.

Experimental Results

The algorithm was evaluated on several challenging benchmarks, including 1D multimodal distributions, 2D Gaussian mixtures, and a 9D Bayesian learning task involving label switching.

Mode Exploration in 2D

In a 2D Gaussian mixture with four distinct components arranged in a square, BDLS demonstrated superior exploration capabilities. As shown in Figure 2, BDLS (bottom row) begins to populate all modes significantly faster than the standard Unadjusted Langevin Algorithm (ULA, top row). By the $10^4$-th iteration, BDLS has effectively equilibrated across the entire target distribution, whereas ULA remains largely concentrated in a subset of modes.

Comparison of mode exploration between ULA (top row, blue) and BDLS (bottom row, red) on a 2D Gaussian mixture. BDLS populates all four modes much more rapidly than the standard local sampler.

High-Dimensional Performance

In a 9D Bayesian mixture model, BDLS successfully identified and populated all six symmetric modes of the posterior. Quantitative analysis of Mean Square Error (MSE) confirms that BDLS converges to lower error values significantly faster than parallel ULA runs, proving its effectiveness in higher-dimensional spaces where mode-hopping is traditionally difficult.

Limitations and Future Work

While BDLS offers a powerful solution to metastability, it relies on kernel density estimation to determine birth-death rates. The performance is sensitive to the choice of kernel width ($h$), which currently requires manual tuning. Furthermore, while the continuous PDE theory is rigorous, further work is needed to fully analyze the discrete interacting particle system's theoretical properties. Future research will also explore scaling the density estimation component to even higher-dimensional parameter spaces.

Summary updated

BibTeX
@misc{lu2019accelerating,
  author = {Yulong Lu and Jianfeng Lu and James Nolen},
  title = {{Accelerating Langevin Sampling with Birth-death}},
  year = {2019},
  eprint = {1905.09863},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1905.09863},
}
Figure