Denotational validation of higher-order Bayesian inference
Not on the map. Why?
Abstract (arXiv)
We present a modular semantic account of Bayesian inference algorithms for probabilistic programming languages, as used in data science and machine learning. Sophisticated inference algorithms are often explained in terms of composition of smaller parts. However, neither their theoretical justification nor their implementation reflects this modularity. We show how to conceptualise and analyse such inference algorithms as manipulating intermediate representations of probabilistic programs using higher-order functions and inductive types, and their denotational semantics. Semantic accounts of continuous distributions use measurable spaces. However, our use of higher-order functions presents a substantial technical difficulty: it is impossible to define a measurable space structure over the collection of measurable functions between arbitrary measurable spaces that is compatible with standard operations on those functions, such as function application. We overcome this difficulty using quasi-Borel spaces, a recently proposed mathematical structure that supports both function spaces and continuous distributions. We define a class of semantic structures for representing probabilistic programs, and semantic validity criteria for transformations of these representations in terms of distribution preservation. We develop a collection of building blocks for composing representations. We use these building blocks to validate common inference algorithms such as Sequential Monte Carlo and Markov Chain Monte Carlo. To emphasize the connection between the semantic manipulation and its traditional measure theoretic origins, we use Kock's synthetic measure theory. We demonstrate its usefulness by proving a quasi-Borel counterpart to the Metropolis-Hastings-Green theorem.
Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). First posted on arXiv 9 Nov 2017.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 1; 2022: 4; 2023: 2; 2024: 1; 2025: 0; 2026: 1.
9 papers.
- 2022Recursive Monte Carlo and Variational Inference with Auxiliary Variablescited by 8
- 2021Learning Proposals for Probabilistic Programs with Inference Combinatorscited by 6
- 2024Probabilistic Programming with Programmable Variational Inferencecited by 4
- 2022Higher-Order Generalization Bounds: Learning Deep Probabilistic Programs via PAC-Bayes Objectivescited by 1
- 2022Nonparametric Involutive Markov Chain Monte Carlocited by 1
- 2023ωPAP Spaces: Reasoning Denotationally About Higher-Order, Recursive Probabilistic and Differentiable Programscited by 1
- 2022A Probabilistic Generative Model of Free Categoriescited by 0
- 2023String Diagrams with Factorized Densitiescited by 0
- 2026GradInf: Gradient Estimation as Probabilistic Inferencecited by 0
- 2026GradInf: Gradient Estimation as Probabilistic Inference8 Jul 2026
- 2024Probabilistic Programming with Programmable Variational Inference22 Jun 2024
- 2023String Diagrams with Factorized Densities4 May 2023
- 2023ωPAP Spaces: Reasoning Denotationally About Higher-Order, Recursive Probabilistic and Differentiable Programs21 Feb 2023
- 2022Nonparametric Involutive Markov Chain Monte Carlo2 Nov 2022
- 2022A Probabilistic Generative Model of Free Categories9 May 2022
- 2022Higher-Order Generalization Bounds: Learning Deep Probabilistic Programs via PAC-Bayes Objectives30 Mar 2022
- 2022Recursive Monte Carlo and Variational Inference with Auxiliary Variables5 Mar 2022
- 2021Learning Proposals for Probabilistic Programs with Inference Combinators1 Mar 2021