Accelerating Metropolis-Hastings with Lightweight Inference Compilation

Feynman Liang, Nimar Arora, Nazanin Tehrani, Yucen Li, Michael Tingley +1 more
10/23/2020
cs.LGstat.ML
bayesian

Official code: facebookresearch/lightweight-inference-compilation (3 stars, Jupyter Notebook, last commit 2021-04-22).

Abstract

In order to construct accurate proposers for Metropolis-Hastings Markov Chain Monte Carlo, we integrate ideas from probabilistic graphical models and neural networks in an open-source framework we call Lightweight Inference Compilation (LIC). LIC implements amortized inference within an open-universe declarative probabilistic programming language (PPL).

Show full abstract

Graph neural networks are used to parameterize proposal distributions as functions of Markov blankets, which during "compilation" are optimized to approximate single-site Gibbs sampling distributions. Unlike prior work in inference compilation (IC), LIC forgoes importance sampling of linear execution traces in favor of operating directly on Bayesian networks. Through using a declarative PPL, the Markov blankets of nodes (which may be non-static) are queried at inference-time to produce proposers Experimental results show LIC can produce proposers which have less parameters, greater robustness to nuisance random variables, and improved posterior sampling in a Bayesian logistic regression and $n$-schools inference application.

View on arXivView PDF

Code Implementations(1)

Code for LIC

31Jupyter Notebook, PythonApr 22, 20215 years agoNOASSERTION

Similar Papers

Cite this paper

@article{liang2020accelerating,
  title  = {Accelerating Metropolis-Hastings with Lightweight Inference Compilation},
  author = {Feynman Liang and Nimar Arora and Nazanin Tehrani and Yucen Li and Michael Tingley and Erik Meijer},
  year   = {2020},
  eprint = {2010.12128},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2010.12128}
}

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

Discussion