Accelerating Metropolis-Hastings with Lightweight Inference Compilation
Feynman Liang, Nimar Arora, Nazanin Tehrani, Yucen Li, Michael, Tingley, Erik Meijer

TL;DR
This paper introduces Lightweight Inference Compilation (LIC), a novel approach combining probabilistic graphical models and neural networks to improve proposal distributions in Metropolis-Hastings sampling, enhancing efficiency and robustness.
Contribution
LIC is a new framework that uses graph neural networks within a declarative probabilistic programming language to directly optimize proposal distributions for MCMC, avoiding importance sampling of execution traces.
Findings
LIC produces simpler proposers with fewer parameters.
LIC demonstrates greater robustness to nuisance variables.
LIC improves posterior sampling accuracy in Bayesian logistic regression and n-schools inference.
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). 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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsBayesian Modeling and Causal Inference · Markov Chains and Monte Carlo Methods · Gaussian Processes and Bayesian Inference
MethodsLogistic Regression
