Parallel Tempering With a Variational Reference

Nikola Surjanovic, Saifuddin Syed, Alexandre Bouchard-Côté, Trevor Campbell
5/31/2022
24 citations
stat.CO
bayesian

Official code: UBC-Stat-ML/VariationalPT (2 stars, Julia, last commit 2023-04-04). 2 more implementations below.

Abstract

Sampling from complex target distributions is a challenging task fundamental to Bayesian inference. Parallel tempering (PT) addresses this problem by constructing a Markov chain on the expanded state space of a sequence of distributions interpolating between the posterior distribution and a fixed reference distribution, which is typically chosen to be the prior.

Show full abstract

However, in the typical case where the prior and posterior are nearly mutually singular, PT methods are computationally prohibitive. In this work we address this challenge by constructing a generalized annealing path connecting the posterior to an adaptively tuned variational reference. The reference distribution is tuned to minimize the forward (inclusive) KL divergence to the posterior distribution using a simple, gradient-free moment-matching procedure. We show that our adaptive procedure converges to the forward KL minimizer, and that the forward KL divergence serves as a good proxy to a previously developed measure of PT performance. We also show that in the large-data limit in typical Bayesian models, the proposed method improves in performance, while traditional PT deteriorates arbitrarily. Finally, we introduce PT with two references -- one fixed, one variational -- with a novel split annealing path that ensures stable variational reference adaptation. The paper concludes with experiments that demonstrate the large empirical gains achieved by our method in a wide range of realistic Bayesian inference scenarios.

View on arXivView PDF

Code Implementations(3)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
UBC-Stat-ML/VariationalPTOfficial2Julia–2023-04-04
UBC-Stat-ML/bl-vptOfficial1Xtend–2022-10-12
UBC-Stat-ML/bl-vpt-nextflowOfficial1HTML–2022-10-07

A Julia implementation of the methods in the paper "Parallel Tempering With a Variational Reference" by Surjanovic, Syed, Bouchard-Côté, and Campbell. NeurIPS (2022).

20Julia, ROct 5, 20223 years ago
UBC-Stat-ML/bl-vptOfficial100%

Variational PT plug-in for Blang

10Xtend, JavaNov 23, 20184 years ago

Nextflow scripts benchmarking variational PT methods

10HTML, NextflowApr 7, 20214 years ago

Similar Papers

Cite this paper

@article{surjanovic2022parallel,
  title  = {Parallel Tempering With a Variational Reference},
  author = {Nikola Surjanovic and Saifuddin Syed and Alexandre Bouchard-Côté and Trevor Campbell},
  year   = {2022},
  eprint = {2206.00080},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.00080}
}

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/2206.00080.svg)](https://codeofpaper.com/paper/2206.00080)

Discussion