Matching works

1 work

math.CT — Category Theory

Bayesian Updating with Contextful Arrows

Contributed by Kotaro Kamiya

Many formulations of Bayesian updating with Markov categories are known, among them the dagger on probability spaces, Bayesian lenses and their dependent version, the recursion of the Bayes filter and conditional composition. A question common to many of them is how to make updating compositional, so that a posterior becomes the next prior; the author's earlier work also raised it, as the relation between sequential and batch updating. This paper gives one answer by composing contextful arrows. The states of a Markov category C\mathcal{C} form a base B=(I/C)op\mathcal{B}=(I/\mathcal{C})^{\mathrm{op}}, and their lifts, the joint states with a given marginal, form a presheaf LL on B\mathcal{B}. A foot makes LL a contextful arrow B→B\mathcal{B}\to\mathcal{B}: the marginal foot recovers the chain rule of Bayesian lenses, and the joint foot makes each joint state the next state. With the joint foot, the lifts to an object YY give a strong monoidal functor KK from C\mathcal{C} to the monoidal category of contextful arrows on B\mathcal{B}, whose runs are conditional composites. Through KK the symmetry of C\mathcal{C} becomes a swap of two lifts, and this swap is a Bayesian inversion. The coherence of KK then gives the agreement of sequential and batch updating and recovers the recursion of the Bayes filter. These facts are known; here they follow from one strong monoidal functor.

Author comments: 15 pages. Related earlier work: K. Kamiya and J. Welliaveetil, A category theory framework for Bayesian learning, arXiv:2111.14293.

A mix of human-written and AI-generated textHuman understanding: all partsBayes filterBayesian inversionBayesian lensMarkov categoryconditional compositioncontextadcontextful arrowsequential updatingstrong monoidal functor
Nov 24, 202615 pages
PDFView work

Advanced search

Text
Human understanding
Linked formalizations