Exact Bayesian Inference for Loopy Probabilistic Programs using Generating Functions
Proceedings of the ACM on Programming Languages, vol. 8, pp. 923–953
Abstract
We present an exact Bayesian inference method for inferring posterior distributions encoded by probabilistic programs featuring possibly unbounded loops . Our method is built on a denotational semantics represented by probability generating functions , which resolves semantic intricacies induced by intertwining discrete probabilistic loops with conditioning (for encoding posterior observations). We implement our method in a tool called Prodigy; it augments existing computer algebra systems with the theory of generating functions for the (semi-)automatic inference and quantitative verification of conditioned probabilistic programs. Experimental results show that Prodigy can handle various infinite-state loopy programs and exhibits comparable performance to state-of-the-art exact inference tools over loop-free benchmarks.
Authors 4
-
Lutz Klinkenberg Aachen
Affiliation as printed
RWTH Aachen University, Aachen, Germany
-
Affiliation as printed
Zhejiang University, Hangzhou, China
-
Darion Haase Aachen
Affiliation as printed
RWTH Aachen University, Aachen, Germany
-
Joost-Pieter Katoen Aachen
Affiliation as printed
RWTH Aachen University, Aachen, Germany
Cited by 11 stored of 11
11 results
No patents citing this paper on Lens.org (checked 2026-10-06).
References 91
-
W2982014993details pending0citations
-
W3046454509details pending0citations
-
W3100287873details pending0citations
-
W3107908039details pending0citations
-
W3125330751details pending0citations
-
W3186609013details pending0citations
-
W3109436335details pending0citations
-
W6944274836details pending0citations
-
W1964821516details pending0citations
-
W3135402417details pending0citations
-
W6892602574details pending0citations