Automatic Variational Inference in Stan

By Alp Kucukelbir, Rajesh Ranganath, Andrew Gelman, David M. Blei. 2015

243 citations recorded by the source corpus.

Variational inference is a scalable technique for approximate Bayesian inference. Deriving variational inference algorithms requires tedious model-specific calculations; this makes it difficult for non-experts to use. We propose an automatic variational inference algorithm, automatic differentiation variational inference (ADVI); we implement it in Stan (code available), a probabilistic programming system. In ADVI the user provides a Bayesian model and a dataset, nothing else. We make no conjugacy assumptions and support a broad class of models. The algorithm automatically determines an appropriate variational family and optimizes the variational objective. We compare ADVI to MCMC sampling across hierarchical generalized linear models, nonconjugate matrix factorization, and a mixture model. We train the mixture model on a quarter million images. With ADVI we can use variational inference on any model we write in Stan.

Subfields: Artificial Intelligence, Probabilistic & Bayesian Methods

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. David M. Blei
  2. Richard E. Turner
  3. Qiang Liu
  4. Stephan Mandt
  5. Zoubin Ghahramani
  6. Yingzhen Li
  7. Dustin Tran
  8. Max Welling

In Probabilistic & Bayesian Methods

  1. David M. Blei
  2. Richard E. Turner
  3. Michalis K. Titsias
  4. Frank D. Wood
  5. Stephan Mandt
  6. Zoubin Ghahramani
  7. Dustin Tran
  8. Qiang Liu

Citations in the corpus