We develop the operational semantics of an untyped probabilistic lambda-calculus with continuous distributions, and both hard and soft constraints, as a foundation for universal probabilistic programming languages such as CHURCH, ANGLICAN, and VENTURE. Our first contribution is to adapt the classic operational semantics of lambda-calculus to a continuous setting via creating a measure space on terms and defining step-indexed approximations. We prove equivalence of big-step and small-step formulations of this distribution-based semantics. To move closer to inference techniques, we also define the sampling-based semantics of a term as a function from a trace of random samples to a value. We show that the distribution induced by integration over the space of traces equals the distribution-based semantics. Our second contribution is to formalize the implementation technique of trace Markov chain Monte Carlo (MCMC) for our calculus and to show its correctness. A key step is defining sufficient conditions for the distribution induced by trace MCMC to converge to the distribution-based semantics. To the best of our knowledge, this is the first rigorous correctness proof for trace MCMC for a higher-order functional language, or for a language with soft constraints

A lambda-calculus foundation for universal probabilistic programming / Borgström, Johannes; Dal Lago, Ugo; Gordon, Andrew D.; Szymczak, Marcin. - In: ACM SIGPLAN NOTICES. - ISSN 1523-2867. - ELETTRONICO. - (2016), pp. 33-46. (Intervento presentato al convegno ICFP tenutosi a Nara, Giappone nel Settembre 2016) [10.1145/2951913.2951942].

A lambda-calculus foundation for universal probabilistic programming

DAL LAGO, UGO;
2016

Abstract

We develop the operational semantics of an untyped probabilistic lambda-calculus with continuous distributions, and both hard and soft constraints, as a foundation for universal probabilistic programming languages such as CHURCH, ANGLICAN, and VENTURE. Our first contribution is to adapt the classic operational semantics of lambda-calculus to a continuous setting via creating a measure space on terms and defining step-indexed approximations. We prove equivalence of big-step and small-step formulations of this distribution-based semantics. To move closer to inference techniques, we also define the sampling-based semantics of a term as a function from a trace of random samples to a value. We show that the distribution induced by integration over the space of traces equals the distribution-based semantics. Our second contribution is to formalize the implementation technique of trace Markov chain Monte Carlo (MCMC) for our calculus and to show its correctness. A key step is defining sufficient conditions for the distribution induced by trace MCMC to converge to the distribution-based semantics. To the best of our knowledge, this is the first rigorous correctness proof for trace MCMC for a higher-order functional language, or for a language with soft constraints
2016
Proceedings of the 21st ACM SIGPLAN International Conference on Functional Programming
33
46
A lambda-calculus foundation for universal probabilistic programming / Borgström, Johannes; Dal Lago, Ugo; Gordon, Andrew D.; Szymczak, Marcin. - In: ACM SIGPLAN NOTICES. - ISSN 1523-2867. - ELETTRONICO. - (2016), pp. 33-46. (Intervento presentato al convegno ICFP tenutosi a Nara, Giappone nel Settembre 2016) [10.1145/2951913.2951942].
Borgström, Johannes; Dal Lago, Ugo; Gordon, Andrew D.; Szymczak, Marcin
File in questo prodotto:
Eventuali allegati, non sono esposti

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11585/585939
 Attenzione

Attenzione! I dati visualizzati non sono stati sottoposti a validazione da parte dell'ateneo

Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 43
  • ???jsp.display-item.citation.isi??? 46
social impact