{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,2]],"date-time":"2026-10-02T07:58:56Z","timestamp":1790927936026,"version":"4.1.0"},"reference-count":16,"publisher":"Association for Computing Machinery (ACM)","issue":"POPL","license":[{"start":{"date-parts":[[2021,1,4]],"date-time":"2021-01-04T00:00:00Z","timestamp":1609718400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["Proc. ACM Program. Lang."],"published-print":{"date-parts":[[2021,1,4]]},"abstract":"<jats:p>Abstract Probabilistic programming languages allow programmers to write down conditional probability distributions that represent statistical and machine learning models as programs that use observe statements. These programs are run by accumulating likelihood at each observe statement, and using the likelihood to steer random choices and weigh results with inference algorithms such as importance sampling or MCMC. We argue that naive likelihood accumulation does not give desirable semantics and leads to paradoxes when an observe statement is used to condition on a measure-zero event, particularly when the observe statement is executed conditionally on random data. We show that the paradoxes disappear if we explicitly model measure-zero events as a limit of positive measure events, and that we can execute these type of probabilistic programs by accumulating infinitesimal probabilities rather than probability densities. Our extension improves probabilistic programming languages as an executable notation for probability distributions by making it more well-behaved and more expressive, by allowing the programmer to be explicit about which limit is intended when conditioning on an event of measure zero.<\/jats:p>","DOI":"10.1145\/3434339","type":"journal-article","created":{"date-parts":[[2021,1,4]],"date-time":"2021-01-04T12:34:24Z","timestamp":1609763664000},"page":"1-26","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":8,"title":["Paradoxes of probabilistic programming: and how to condition on events of measure zero with infinitesimal probabilities"],"prefix":"10.1145","volume":"5","author":[{"given":"Jules","family":"Jacobs","sequence":"first","affiliation":[{"name":"Radboud University Nijmegen, Netherlands \/ Delft University of Technology, Netherlands"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2021,1,4]]},"reference":[{"key":"e_1_2_1_1_1","doi-asserted-by":"publisher","DOI":"10.1017\/S0960129516000098"},{"key":"e_1_2_1_2_1","doi-asserted-by":"publisher","DOI":"10.18637\/jss.v076.i01"},{"key":"e_1_2_1_3_1","doi-asserted-by":"publisher","unstructured":"Joseph Chang and David Pollard. 1997. Conditioning as disintegration. Statistica Neerlandica 51 3 ( 1997 ) 287-317. https:\/\/doi.org\/10.1111\/ 1467-9574. 00056 10.1111\/1467-9574.00056","DOI":"10.1111\/1467-9574.00056"},{"key":"e_1_2_1_4_1","doi-asserted-by":"publisher","unstructured":"Fredrik Dahlqvist and Dexter Kozen. 2020. Semantics of higher-order probabilistic programs with conditioning In POPL. PACMPL. https:\/\/doi.org\/10.1145\/3371125 10.1145\/3371125","DOI":"10.1145\/3371125"},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.5555\/2969033.2969207"},{"key":"e_1_2_1_6_1","doi-asserted-by":"publisher","DOI":"10.1109\/LICS"},{"key":"e_1_2_1_7_1","doi-asserted-by":"publisher","unstructured":"Jules Jacobs. 2020. Paradoxes of Probabilistic Programming: Artifact. https:\/\/doi.org\/10.5281\/zenodo.4075076 10.5281\/zenodo.4075076","DOI":"10.5281\/zenodo.4075076"},{"key":"e_1_2_1_8_1","volume-title":"Probability theory: The logic of science","author":"Jaynes Edwin Thompson","unstructured":"Edwin Thompson Jaynes. 2003. Probability theory: The logic of science. Cambridge University Press, Cambridge."},{"key":"e_1_2_1_9_1","first-page":"3410","article-title":"Asynchronous Anytime Sequential Monte Carlo. In Advances in Neural Information Processing Systems 27. Curran Associates","author":"Paige Brooks","year":"2014","unstructured":"Brooks Paige, Frank Wood, Arnaud Doucet, and Yee Whye Teh. 2014. Asynchronous Anytime Sequential Monte Carlo. In Advances in Neural Information Processing Systems 27. Curran Associates, Inc., 3410-3418.","journal-title":"Inc."},{"key":"e_1_2_1_10_1","doi-asserted-by":"publisher","DOI":"10.1145\/3009837.3009852"},{"key":"e_1_2_1_11_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-662-54434-1_32"},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-23525-7_19"},{"key":"e_1_2_1_13_1","volume-title":"An Introduction to Probabilistic Programming. arXiv:arXiv","author":"van de Meent Jan-Willem","year":"1809","unstructured":"Jan-Willem van de Meent, Brooks Paige, Hongseok Yang, and Frank Wood. 2018. An Introduction to Probabilistic Programming. arXiv:arXiv: 1809.10756"},{"key":"e_1_2_1_14_1","first-page":"36","article-title":"Various Techniques Used in Connection with Random Digits. In Monte Carlo Method. National Bureau of Standards Applied Mathematics Series, Vol. 12. US Government Printing Ofice, Washington, DC","volume":"13","author":"von Neumann John","year":"1951","unstructured":"John von Neumann. 1951. Various Techniques Used in Connection with Random Digits. In Monte Carlo Method. National Bureau of Standards Applied Mathematics Series, Vol. 12. US Government Printing Ofice, Washington, DC, Chapter 13, 36-38.","journal-title":"Chapter"},{"key":"e_1_2_1_15_1","volume-title":"AISTATS 2014 ( JMLR Proceedings). JMLR.org, 1024-1032","author":"Wood Frank","unstructured":"Frank Wood, Jan-Willem van de Meent, and Vikash Mansinghka. 2014. A New Approach to Probabilistic Programming Inference. In AISTATS 2014 ( JMLR Proceedings). JMLR.org, 1024-1032. http:\/\/jmlr.org\/proceedings\/papers\/v33\/wood14. html"},{"key":"e_1_2_1_16_1","first-page":"5343","volume-title":"Proceedings of the 35th International Conference on Machine Learning (Proceedings of Machine Learning Research","volume":"80","author":"Wu Yi","year":"2018","unstructured":"Yi Wu, Siddharth Srivastava, Nicholas Hay, Simon Du, and Stuart Russell. 2018. Discrete-Continuous Mixtures in Probabilistic Programming: Generalized Semantics and Inference Algorithms. In Proceedings of the 35th International Conference on Machine Learning (Proceedings of Machine Learning Research, Vol. 80 ), Jennifer Dy and Andreas Krause (Eds.). PMLR, Stockholmsm\u00e4ssan, Stockholm Sweden, 5343-5352. http:\/\/proceedings.mlr.press\/v80\/wu18f.html"}],"container-title":["Proceedings of the ACM on Programming Languages"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3434339","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3434339","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,6,19]],"date-time":"2026-06-19T07:27:25Z","timestamp":1781854045000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3434339"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2021,1,4]]},"references-count":16,"journal-issue":{"issue":"POPL","published-print":{"date-parts":[[2021,1,4]]}},"alternative-id":["10.1145\/3434339"],"URL":"https:\/\/doi.org\/10.1145\/3434339","relation":{},"ISSN":["2475-1421"],"issn-type":[{"value":"2475-1421","type":"electronic"}],"subject":[],"published":{"date-parts":[[2021,1,4]]},"assertion":[{"value":"2021-01-04","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}