Semantics for probabilistic programming: higher-order functions, continuous distributions, and soft constraints

By S. Staton, Hongseok Yang, Chris Heunen, Ohad Kammar, Frank D. Wood. 2016

148 citations recorded by the source corpus.

We study the semantic foundation of expressive probabilistic programming languages, that support higher-order functions, continuous distributions, and soft constraints (such as Anglican, Church, and Venture). We define a metalanguage (an idealised version of Anglican) for probabilistic computation with the above features, develop both operational and denotational semantics, and prove soundness, adequacy, and termination. This involves measure theory, stochastic labelled transition systems, and functor categories, but admits intuitive computational readings, one of which views sampled random variables as dynamically allocated read-only variables. We apply our semantics to validate nontrivial equations underlying the correctness of certain compiler optimisations and inference algorithms such as sequential Monte Carlo simulation. The language enables defining probability distributions on higher-order functions, and we study their properties.Categories and Subject Descriptors CR-number [D.3]: Programming languages

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. Frank D. Wood
  2. Hongseok Yang
  3. Jan-Willem van de Meent
  4. Brooks Paige
  5. David Tolpin
  6. Yura N. Perov
  7. S. Staton
  8. A. Gordon

In Probabilistic & Bayesian Methods

  1. Frank D. Wood
  2. Hongseok Yang
  3. Jan-Willem van de Meent
  4. Brooks Paige
  5. David Tolpin
  6. Yura N. Perov
  7. S. Staton
  8. A. Gordon

Citations in the corpus