mlsanityData to 14 Oct 2026

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

arXiv 2305.17058 ↗First posted 26 May 2023cs.PL cs.LG stat.COcited by 4

Not on the map. Why?

Abstract (arXiv)

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 experiments show that Genfer is often faster than the existing exact inference tools PSI, Dice, and Prodigy. On a range of real-world inference problems that none of these exact tools can solve, Genfer's performance is competitive with approximate Monte Carlo methods, while avoiding approximation errors.

Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 6 of its 32 references that are in the map. First posted on arXiv 26 May 2023.

Builds on

6 of 32 references.

References · 6

  1. 2018Pyro: Deep Universal Probabilistic Programmingcited by 380
  2. 2018An Introduction to Probabilistic Programmingcited by 63
  3. 2021Probabilistic Generating Circuitscited by 25
  4. 2020SPPL: Probabilistic Programming with Fast Exact Symbolic Inferencecited by 18
  5. 2020Generating Functions for Probabilistic Programscited by 1
  6. 2022Does a Program Yield the Right Distribution? Verifying Probabilistic Programs via Generating Functionscited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 1; 2024: 1; 2025: 1; 2026: 1.

4 papers.