Interpolating between sampling and variational inference with infinite stochastic mixtures

Richard D. Lange, Ari Benjamin, Ralf M. Haefner, Xaq Pitkow
10/18/2021
8 citations
stat.MLcs.LGmath.ST
bayesian

Official code: wrongu/sampling-variational-demos (0 stars, Jupyter Notebook, last commit 2022-04-25).

Abstract

Sampling and Variational Inference (VI) are two large families of methods for approximate inference that have complementary strengths. Sampling methods excel at approximating arbitrary probability distributions, but can be inefficient.

Show full abstract

VI methods are efficient, but may misrepresent the true distribution. Here, we develop a general framework where approximations are stochastic mixtures of simple component distributions. Both sampling and VI can be seen as special cases: in sampling, each mixture component is a delta-function and is chosen stochastically, while in standard VI a single component is chosen to minimize divergence. We derive a practical method that interpolates between sampling and VI by solving an optimization problem over a mixing distribution. Intermediate inference methods then arise by varying a single parameter. Our method provably improves on sampling (reducing variance) and on VI (reducing bias+variance despite increasing variance). We demonstrate our method's bias/variance trade-off in practice on reference problems, and we compare outcomes to commonly used sampling and VI methods. This work takes a step towards a highly flexible yet simple family of inference methods that combines the complementary strengths of sampling and VI.

View on arXivView PDF

Code Implementations(1)

01Jupyter Notebook, PythonFeb 11, 20224 years ago

Similar Papers

Cite this paper

@article{lange2021interpolating,
  title  = {Interpolating between sampling and variational inference with infinite stochastic mixtures},
  author = {Richard D. Lange and Ari Benjamin and Ralf M. Haefner and Xaq Pitkow},
  year   = {2021},
  eprint = {2110.09618},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.09618}
}

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

Discussion