The Compositional Structure of Bayesian Inference
Not on the map. Why?
Abstract (arXiv)
Bayes' rule tells us how to invert a causal process in order to update our beliefs in light of new evidence. If the process is believed to have a complex compositional structure, we may observe that the inversion of the whole can be computed piecewise in terms of the component processes. We study the structure of this compositional rule, noting that it relates to the lens pattern in functional programming. Working in a suitably general axiomatic presentation of a category of Markov kernels, we see how we can think of Bayesian inversion as a particular instance of a state-dependent morphism in a fibred category. We discuss the compositional nature of this, formulated as a functor on the underlying category and explore how this can used for a more type-driven approach to statistical inference.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 10 of its 21 references that are in the map. First posted on arXiv 10 May 2023.
Builds on
10 of 21 references.
References · 10
- 2018An Introduction to Probabilistic Programmingcited by 62
- 2019A synthetic approach to Markov kernels, conditional independence and theorems on sufficient statisticscited by 55
- 2022Predictive Coding: Towards a Future of Deep Learning beyond Backpropagation?cited by 45
- 2021Categorical Foundations of Gradient-Based Learningcited by 44
- 2017Disintegration and Bayesian Inversion via String Diagramscited by 32
- 2021On the relationship between predictive coding and backpropagationcited by 20
- 2016Compositional game theorycited by 13
- 2022Value Iteration is Optic Compositioncited by 5
- 2022Mathematical Foundations for a Compositional Account of the Bayesian Braincited by 3
- 2022Dependent Bayesian Lenses: Categories of Bidirectional Markov Kernels with Canonical Bayesian Inversioncited by 1
Built on by
Citing papers per year: 2024: 2; 2025: 1.
3 papers.