Conference item
Commutative semantics for probabilistic programming
- Abstract:
- We show that a measure-based denotational semantics for probabilistic programming is commutative. The idea underlying probabilistic programming languages (Anglican, Church, Hakaru, ...) is that programs express statistical models as a combination of prior distributions and likelihood of observations. The product of prior and likelihood is an unnormalized posterior distribution, and the inference problem is to find the normalizing constant. One common semantic perspective is thus that a probabilistic program is understood as an unnormalized posterior measure, in the sense of measure theory, and the normalizing constant is the measure of the entire semantic domain. A programming language is said to be commutative if only data flow is meaningful; control flow is irrelevant, and expressions can be re-ordered. It has been unclear whether probabilistic programs are commutative because it is well-known that Fubini-Tonelli theorems for reordering integration fail in general. We show that probabilistic programs are in fact commutative, by characterizing the measures/kernels that arise from programs as ‘s-finite’, i.e. sums of finite measures/kernels. The result is of theoretical interest, but also of practical interest, because program transformations based on commutativity help with symbolic inference and can improve the efficiency of simulation.
- Publication status:
- Published
- Peer review status:
- Peer reviewed
Actions
Access Document
- Files:
-
-
(Preview, Accepted manuscript, pdf, 429.5KB, Terms of use)
-
- Publisher copy:
- 10.1007/978-3-662-54434-1_32
Authors
- Publisher:
- Springer, Berlin, Heidelberg
- Host title:
- European Symposium on Programming: ESOP 2017: Programming Languages and Systems
- Journal:
- European Symposium on Programming: ESOP 2017 More from this journal
- Volume:
- 10201
- Pages:
- 855-879
- Series:
- Lecture Notes in Computer Science
- Publication date:
- 2017-01-01
- Acceptance date:
- 2017-01-21
- DOI:
- ISSN:
-
0302-9743
- ISBN:
- 9783662544334
- Pubs id:
-
pubs:673201
- UUID:
-
uuid:a01c37e1-9470-4dbf-b5a2-217dc58d6f93
- Local pid:
-
pubs:673201
- Source identifiers:
-
673201
- Deposit date:
-
2017-01-26
Terms of use
- Copyright holder:
- Springer-Verlag GmbH Germany
- Copyright date:
- 2017
- Notes:
- Copyright © 2017 Springer-Verlag GmbH Germany. This is the accepted manuscript version of the article. The final version is available online from Springer at: https://doi.org/10.1007/978-3-662-54434-1_32
If you are the owner of this record, you can report an update to it here: Report update to this record