Probabilistic Programming with Densities in SlicStan: Efficient, Flexible and Deterministic

Maria I. Gorinova, Andrew D. Gordon, Charles Sutton
11/2/2018
cs.PLstat.COstat.ML

Official code: mgorinova/SlicStan (68 stars, F#, MIT, last commit 2020-10-23).

Abstract

Stan is a probabilistic programming language that has been increasingly used for real-world scalable projects. However, to make practical inference possible, the language sacrifices some of its usability by adopting a block syntax, which lacks compositionality and flexible user-defined functions.

Show full abstract

Moreover, the semantics of the language has been mainly given in terms of intuition about implementation, and has not been formalised. This paper provides a formal treatment of the Stan language, and introduces the probabilistic programming language SlicStan --- a compositional, self-optimising version of Stan. Our main contributions are: (1) the formalisation of a core subset of Stan through an operational density-based semantics; (2) the design and semantics of the Stan-like language SlicStan, which facilities better code reuse and abstraction through its compositional syntax, more flexible functions, and information-flow type system; and (3) a formal, semantic-preserving procedure for translating SlicStan to Stan.

View on arXivView PDF

Code Implementations(1)

mgorinova/SlicStanOfficial100%
MIT

A Stan-like probabilistic programming language.

684F#Mar 23, 20176 years agoMIT

Similar Papers

Cite this paper

@article{gorinova2018probabilistic,
  title  = {Probabilistic Programming with Densities in SlicStan: Efficient, Flexible and Deterministic},
  author = {Maria I. Gorinova and Andrew D. Gordon and Charles Sutton},
  year   = {2018},
  eprint = {1811.00890},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1811.00890}
}

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

Discussion