Non-Reversible Parallel Tempering: A Scalable Highly Parallel MCMC Scheme

Saifuddin Syed, Alexandre Bouchard‐Côté, George Deligiannidis, Randal DoucJournal of the Royal Statistical Society Series B (Statistical Methodology) 2021 · DOI

Abstract

Parallel tempering (PT) methods are a popular class of Markov chain Monte Carlo schemes used to sample complex high-dimensional probability distributions. They rely on a collection of N interacting auxiliary chains targeting tempered versions of the target distribution to improve the exploration of the state space. We provide here a new perspective on these highly parallel algorithms and their tuning by identifying and formalizing a sharp divide in the behaviour and performance of reversible versus non-reversible PT schemes. We show theoretically and empirically that a class of non-reversible PT methods dominates its reversible counterparts and identify distinct scaling limits for the non-reversible and reversible schemes, the former being a piecewise-deterministic Markov process and the latter a diffusion. These results are exploited to identify the optimal annealing schedule for non-reversible PT and to develop an iterative scheme approximating this schedule. We provide a wide range of numerical examples supporting our theoretical and methodological contributions. The proposed methodology is applicable to sample from a distribution π with a density L with respect to a reference distribution π0 and compute the normalizing constant ∫Ldπ0. A typical use case is when π0 is a prior distribution, L a likelihood function and π the corresponding posterior distribution.

Introduction

Markov Chain Monte Carlo (MCMC) methods are fundamental to Bayesian statistics but often struggle with high-dimensional distributions containing isolated modes or energy barriers. Parallel Tempering (PT) addresses this by running $N$ chains at varying temperatures, allowing information to "percolate" from a simple reference distribution (prior) to the complex target distribution (posterior). However, traditional PT is reversible, meaning the movement of samples across temperature levels follows a random walk. This leads to a scalability bottleneck: as the number of chains $N$ increases, the time for a sample to traverse the temperature range scales as $O(N^2)$, eventually making additional parallelization counterproductive.

Methods: From Random Walks to Conveyor Belts

The core innovation of this work is the formalization of non-reversible PT schemes. The authors distinguish between two primary communication strategies:

  1. Stochastic Even-Odd (SEO): The standard reversible approach where swaps between adjacent chains are proposed randomly.
  2. Deterministic Even-Odd (DEO): A non-reversible approach that strictly alternates between swapping even-indexed and odd-indexed pairs.
Comparison of Reversible (SEO) and Non-reversible (DEO) Parallel Tempering schemes. The DEO scheme transforms the diffusive random walk of samples into a systematic "conveyor belt" motion.

By breaking reversibility, the DEO scheme induces a "lifting" effect. The index process—the path a sample takes through temperature levels—gains momentum, moving consistently in one direction until it hits a boundary or a swap is rejected. This transforms the diffusion process into a Piecewise-Deterministic Markov Process (PDMP), reducing the scaling from $O(N^2)$ to $O(N)$.

Automated Tuning (NRPT)

To make this practical, the authors introduce the Communication Barrier ($Λ$), a problem-specific constant representing the "distance" between the prior and posterior. They propose an iterative algorithm (NRPT) that estimates local swapping difficulty and optimizes the annealing schedule to achieve "equi-acceptance." Notably, while reversible MCMC often targets a 23% acceptance rate, non-reversible PT is optimized near a 50% rejection rate ($r^* \approx \Lambda/N$).

Results and Discussion

The theoretical advantages of non-reversible PT translate into significant empirical gains across 16 diverse models, including phylogenetic inference and statistical mechanics.

  • Guaranteed Performance: The authors prove that the non-reversible round-trip rate always exceeds the reversible one for any $N > 1$.
  • Scalability: Unlike reversible PT, where efficiency drops as $N$ increases, non-reversible PT efficiency converges to a positive constant, allowing for massive parallelization.
  • Empirical Speedups: NRPT achieved Effective Sample Size (ESS) per second improvements of 10x to 100x compared to state-of-the-art adaptive PT methods. In complex tasks like copy number inference, NRPT was the only method capable of capturing the multimodality of the posterior.

Conclusion

Non-reversible Parallel Tempering represents a paradigm shift in scalable MCMC. By replacing diffusive movement with systematic "conveyor belt" motion, it enables Bayesian inference to fully leverage modern highly parallel hardware. Future work will explore the impact of phase transitions on the communication barrier and refine local exploration strategies within the NRPT framework.

Summary updated

BibTeX
@article{syed2021non,
  author = {Saifuddin Syed and Alexandre Bouchard‐Côté and George Deligiannidis and Randal Douc},
  title = {{Non-Reversible Parallel Tempering: A Scalable Highly Parallel MCMC Scheme}},
  journal = {Journal of the Royal Statistical Society Series B (Statistical Methodology)},
  year = {2021},
  doi = {10.1111/rssb.12464},
}
Figure