Automatic Guide Generation for Stan via NumPyro

Guillaume Baudart, Louis Mandel
10/22/2021
cs.PL
bayesian

Official code: deepppl/evaluation-autoguide (6 stars, Python, Apache-2.0, last commit 2021-10-22).

Abstract

Stan is a very popular probabilistic language with a state-of-the-art HMC sampler but it only offers a limited choice of algorithms for black-box variational inference. In this paper, we show that using our recently proposed compiler from Stan to Pyro, Stan users can easily try the set of algorithms implemented in Pyro for black-box variational inference.

Show full abstract

We evaluate our approach on PosteriorDB, a database of Stan models with corresponding data and reference posterior samples. Results show that the eight algorithms available in Pyro offer a range of possible compromises between complexity and accuracy. This paper illustrates that compiling Stan to another probabilistic language can be used to leverage new features for Stan users, and give access to a large set of examples for language developers who implement these new features.

View on arXivView PDF

Code Implementations(1)

Apache-2.0
60Python, Jupyter NotebookApr 28, 20215 years agoApache-2.0

Similar Papers

Cite this paper

@article{baudart2021automatic,
  title  = {Automatic Guide Generation for Stan via NumPyro},
  author = {Guillaume Baudart and Louis Mandel},
  year   = {2021},
  eprint = {2110.11790},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.11790}
}

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

Discussion