Exact Bayesian Inference on Discrete Models via Probability Generating Functions: A Probabilistic Programming Approach
Fabian Zaiser, Andrzej S. Murawski, Luke Ong

TL;DR
This paper introduces Genfer, an automated tool for exact Bayesian inference in discrete models using probability generating functions, capable of handling complex models with infinite support and continuous priors, outperforming existing tools.
Contribution
The paper presents a novel probabilistic programming language and inference method leveraging probability generating functions for exact Bayesian inference, including models with infinite support and continuous priors.
Findings
Genfer is often faster than PSI, Dice, and Prodigy.
Genfer can solve real-world inference problems that existing tools cannot.
Genfer's performance is competitive with approximate Monte Carlo methods.
Abstract
We present an exact Bayesian inference method for discrete statistical models, which can find exact solutions to a large class of discrete inference problems, even with infinite support and continuous priors. To express such models, we introduce a probabilistic programming language that supports discrete and continuous sampling, discrete observations, affine functions, (stochastic) branching, and conditioning on discrete events. Our key tool is probability generating functions: they provide a compact closed-form representation of distributions that are definable by programs, thus enabling the exact computation of posterior probabilities, expectation, variance, and higher moments. Our inference method is provably correct and fully automated in a tool called Genfer, which uses automatic differentiation (specifically, Taylor polynomials), but does not require computer algebra. Our…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
Taxonomy
TopicsBayesian Modeling and Causal Inference · Machine Learning and Algorithms · Advanced Database Systems and Queries
