Proceedings of the 42nd ACM SIGPLAN International Conference on Programming Language Design and Implementation 2021
DOI: 10.1145/3453483.3454058
|View full text |Cite
|
Sign up to set email alerts
|

Compiling Stan to generative probabilistic languages and extension to deep probabilistic programming

Abstract: Stan is a probabilistic programming language that is popular in the statistics community, with a high-level syntax for expressing probabilistic models. Stan differs by nature from generative probabilistic programming languages like Church, Anglican, or Pyro. This paper presents a comprehensive compilation scheme to compile any Stan model to a generative language and proves its correctness. We use our compilation scheme to build two new backends for the Stanc3 compiler targeting Pyro and NumPyro. Experimental r… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1

Citation Types

0
3
0

Year Published

2021
2021
2024
2024

Publication Types

Select...
2
2
2

Relationship

1
5

Authors

Journals

citations
Cited by 6 publications
(3 citation statements)
references
References 18 publications
(38 reference statements)
0
3
0
Order By: Relevance
“…The goal is to pay a large one-time cost in training a "general" inference model which may not be adequate for inference in all settings, but can be quickly adapted to new datasets with low cost. To demonstrate the foundation posterior, we meta-amortize inference over a set of standard Stan [12] programs from PosteriorDB [42], a benchmark dataset for evaluating inference algorithms [4,5,65,66,20].…”
Section: Foundation Posteriormentioning
confidence: 99%
“…The goal is to pay a large one-time cost in training a "general" inference model which may not be adequate for inference in all settings, but can be quickly adapted to new datasets with low cost. To demonstrate the foundation posterior, we meta-amortize inference over a set of standard Stan [12] programs from PosteriorDB [42], a benchmark dataset for evaluating inference algorithms [4,5,65,66,20].…”
Section: Foundation Posteriormentioning
confidence: 99%
“…Users can now try a range of synthesized guides on a given model before attempting to craft their own. We recently proposed new backends for the Stanc3 Compiler to Pyro and NumPyro 1 and showed how to extend Stan with support for explicit variational guides [Baudart et al 2021]. In this paper, we show that our compiler and runtime can be used to test NumPyro autoguides on Stan models, and evaluate our approach on PosteriorDB a database of Stan models with corresponding data, and reference posterior samples [Vehtari and Magnusson 2020].…”
Section: Motivationmentioning
confidence: 99%
“…Baudart et al (2019) describe a new probabilistic programming language, Yaps, which is inspired by SlicStan to allow for a concise Python-based frontend for Stan. In addition, the density-based semantics of Stan that the paper presents has been used as a basis to formalise a procedure for translating Stan to generative (implicit) PPLs (Baudart et al, 2021). AQUA (Huang et al, 2021) is a PPL that uses symbolic inference and quantization of the probability density, whose semantics has also been inspired by that of SlicStan.…”
Section: Impactmentioning
confidence: 99%