Exact Bayesian Inference for Loopy Probabilistic Programs Using Generating Functions

Lutz Klinkenberg,Christian Blumenthal,Mingshuai Chen,Darion Haase,Joost-Pieter Katoen
DOI: https://doi.org/10.1145/3649844
2024-01-01
Abstract:We present an exact Bayesian inference method for inferring posteriordistributions encoded by probabilistic programs featuring possibly unboundedloops. Our method is built on a denotational semantics represented byprobability generating functions, which resolves semantic intricacies inducedby intertwining discrete probabilistic loops with conditioning (for encodingposterior observations). We implement our method in a tool called Prodigy; itaugments existing computer algebra systems with the theory of generatingfunctions for the (semi-)automatic inference and quantitative verification ofconditioned probabilistic programs. Experimental results show that Prodigy canhandle various infinite-state loopy programs and exhibits comparableperformance to state-of-the-art exact inference tools over loop-freebenchmarks.
What problem does this paper attempt to address?