Dynamic temperature selection for parallel-tempering in Markov chain Monte Carlo simulations

Will Vousden, Will M. Farr, Ilya Mandel
1/23/2015
285 citations
astro-ph.IM

Official code: willvousden/ptemcee (62 stars, Python, MIT, last commit 2023-04-11).

Abstract

Modern problems in astronomical Bayesian inference require efficient methods for sampling from complex, high-dimensional, often multi-modal probability distributions. Most popular methods, such as Markov chain Monte Carlo sampling, perform poorly on strongly multi-modal probability distributions, rarely jumping between modes or settling on just one mode without finding others.

Show full abstract

Parallel tempering addresses this problem by sampling simultaneously with separate Markov chains from tempered versions of the target distribution with reduced contrast levels. Gaps between modes can be traversed at higher temperatures, while individual modes can be efficiently explored at lower temperatures. In this paper, we investigate how one might choose the ladder of temperatures to achieve more efficient sampling, as measured by the autocorrelation time of the sampler. In particular, we present a simple, easily-implemented algorithm for dynamically adapting the temperature configuration of a sampler while sampling. This algorithm dynamically adjusts the temperature spacing to achieve a uniform rate of exchanges between chains at neighbouring temperatures. We compare the algorithm to conventional geometric temperature configurations on a number of test distributions and on an astrophysical inference problem, reporting efficiency gains by a factor of 1.2-2.5 over a well-chosen geometric temperature configuration and by a factor of 1.5-5 over a poorly chosen configuration. On all of these problems a sampler using the dynamical adaptations to achieve uniform acceptance ratios between neighbouring chains outperforms one that does not.

View on arXivView PDF

Code Implementations(1)

MIT

A parallel-tempered version of emcee.

6240Python, MakefileMay 17, 20153 years agoMIT

Similar Papers

Cite this paper

@article{vousden2015dynamic,
  title  = {Dynamic temperature selection for parallel-tempering in Markov chain Monte Carlo simulations},
  author = {Will Vousden and Will M. Farr and Ilya Mandel},
  year   = {2015},
  eprint = {1501.05823},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1501.05823}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1501.05823.svg)](https://codeofpaper.com/paper/1501.05823)

Discussion