Journal article icon

Journal article

Probabilistic programming with exact conditions

Abstract:
We spell out the paradigm of exact conditioning as an intuitive and powerful way of conditioning on observations in probabilistic programs. This is contrasted with likelihood-based scoring known from languages such as Stan. We study exact conditioning in the cases of discrete and Gaussian probability, presenting prototypical languages for each case and giving semantics to them. We make use of categorical probability (namely Markov and CD categories) to give a general account of exact conditioning which avoids limits and measure theory, instead focusing on restructuring dataflow and program equations. The correspondence between such categories and a class of programming languages is made precise by defining the internal language of a CD category.
Publication status:
Published
Peer review status:
Peer reviewed

Actions


Access Document


Publisher copy:
10.1145/3632170

Authors


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


Publisher:
Association for Computing Machinery
Journal:
Journal of the ACM More from this journal
Volume:
71
Issue:
1
Article number:
2
Publication date:
2024-02-11
Acceptance date:
2023-10-20
DOI:
EISSN:
1535-9921
ISSN:
0004-5411


Language:
English
Keywords:
Pubs id:
1591629
Local pid:
pubs:1591629
Deposit date:
2023-12-28

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