Automatic Guide Generation for Stan via NumPyro - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Conference Papers Year : 2021

Automatic Guide Generation for Stan via NumPyro


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. 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.
Fichier principal
Vignette du fichier
probprog21-autoguides.pdf (515.8 Ko) Télécharger le fichier
Origin Files produced by the author(s)

Dates and versions

hal-03401708 , version 1 (25-10-2021)


  • HAL Id : hal-03401708 , version 1


Guillaume Baudart, Louis Mandel. Automatic Guide Generation for Stan via NumPyro. PROBPROG 2021 - Third International Conference on Probabilistic Programming, Oct 2021, Virtual, United States. ⟨hal-03401708⟩
21 View
163 Download


Gmail Mastodon Facebook X LinkedIn More