Exact Bayesian Inference on Discrete Models via Probability Generating Functions: A Probabilistic Programming Approach

05/26/2023
by   Fabian Zaiser, et al.
0

We present an exact Bayesian inference method for discrete statistical models, which can find exact solutions to many 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 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, fully automated and uses automatic differentiation (specifically, Taylor polynomials), but does not require computer algebra. Our experiments show that its performance on a range of real-world examples is competitive with approximate Monte Carlo methods, while avoiding approximation errors.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/14/2023

Exact Bayesian Inference for Loopy Probabilistic Programs

We present an exact Bayesian inference method for inferring posterior di...
research
12/14/2022

Affine Monads and Lazy Structures for Bayesian Programming

We show that streams and lazy data structures are a natural idiom for pr...
research
02/01/2023

Exact Probabilistic Inference Using Generating Functions

Probabilistic programs are typically normal-looking programs describing ...
research
04/10/2015

A closed-form approach to Bayesian inference in tree-structured graphical models

We consider the inference of the structure of an undirected graphical mo...
research
03/05/2021

On the Occasional Exactness of the Distributional Transform Approximation for Direct Gaussian Copula Models with Discrete Margins

The direct Gaussian copula model with discrete marginal distributions is...
research
05/03/2022

Does a Program Yield the Right Distribution? Verifying Probabilistic Programs via Generating Functions

We study discrete probabilistic programs with potentially unbounded loop...
research
10/23/2019

Functional Tensors for Probabilistic Programming

It is a significant challenge to design probabilistic programming system...

Please sign up or login with your details

Forgot password? Click here to reset