Exact Bayesian Inference for Loopy Probabilistic Programs using Generating Functions
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 2
-
Lutz Klinkenberg Aachen
Affiliation as printed
RWTH Aachen University , Germany
-
Mingshuai Chen Aachen
RWTH Aachen University · Zhejiang University
Affiliation as printed
RWTH Aachen University , Germany
Zhejiang University , China
Cited by 1 stored of 1
1 result
No patents citing this paper on Lens.org (checked 2026-10-06).