Conference item icon

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:
Publisher copy:
10.1007/978-3-662-54434-1_32

Authors


More by this author
Institution:
University of Oxford
Division:
MPLS
Department:
Computer Science
Role:
Author


More from this funder
Funding agency for:
Staton, S


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



Views and Downloads






If you are the owner of this record, you can report an update to it here: Report update to this record

TO TOP