Faster parallel MCMC: Metropolis adjustment is best served warm
Jakob Robnik, Uroš Seljak
TL;DR
Faster parallel MCMC tackles the wall-clock bottleneck by using a two-phase strategy: an unadjusted warm-up that quickly drives an ensemble of $M$ chains toward the target, followed by Metropolis adjustment for precise convergence. The method, LAPS, automatically tunes hyperparameters via Ensemble Chain Adaptation using a bias proxy from equipartition and an energy-based estimate of asymptotic bias, and automatically switches to adjustment once convergence stalls. Empirically, LAPS outperforms state-of-the-art turnkey ensemble samplers (e.g., MEADS, ChESS) and even rivals sequential methods like NUTS in wall-clock time, often by orders of magnitude, while remaining practical to deploy. The approach is implemented in Blackjax/JAX and is compatible with probabilistic programming frameworks, offering a scalable, out-of-the-box solution for fast Bayesian inference on modern hardware.
Abstract
Despite the enormous success of Hamiltonian Monte Carlo and related Markov Chain Monte Carlo (MCMC) methods, sampling often still represents the computational bottleneck in scientific applications. Availability of parallel resources can significantly speed up MCMC inference by running a large number of chains in parallel, each collecting a single sample. However, the parallel approach converges slowly if the chains are not initialized close to the target distribution (cold start). Theoretically this can be resolved by initially running MCMC without Metropolis-Hastings adjustment to quickly converge to the vicinity of the target distribution and then turn on adjustment to achieve fine convergence. However, no practical scheme uses this strategy, due to the difficulty of automatically selecting the step size during the unadjusted phase. We here develop Late Adjusted Parallel Sampler (LAPS), which is precisely such a scheme and is applicable out of the box, all the hyperparameters are selected automatically. LAPS takes advantage of ensemble-based hyperparameter adaptation to estimate the bias at each iteration and converts it to the appropriate step size. We show that LAPS consistently and significantly outperforms ensemble adjusted methods such as MEADS or ChESS and the optimization-based initializer Pathfinder on a variety of standard benchmark problems. LAPS typically achieves two orders of magnitude lower wall-clock time than the corresponding sequential algorithms such as NUTS.
