Hidden Markov Models and the Bayes Filter in Categorical Probability

Type: Preprint

Publication Date: 2024-01-26

Citations: 0

DOI: https://doi.org/10.48550/arxiv.2401.14669

Abstract

We use Markov categories to develop generalizations of the theory of Markov chains and hidden Markov models in an abstract setting. This comprises characterizations of hidden Markov models in terms of local and global conditional independences as well as existing algorithms for Bayesian filtering and smoothing applicable in all Markov categories with conditionals. We show that these algorithms specialize to existing ones such as the Kalman filter, forward-backward algorithm, and the Rauch-Tung-Striebel smoother when instantiated in appropriate Markov categories. Under slightly stronger assumptions, we also prove that the sequence of outputs of the Bayes filter is itself a Markov chain with a concrete formula for its transition maps. There are two main features of this categorical framework. The first is its generality, as it can be used in any Markov category with conditionals. In particular, it provides a systematic unified account of hidden Markov models and algorithms for filtering and smoothing in discrete probability, Gaussian probability, measure-theoretic probability, possibilistic nondeterminism and others at the same time. The second feature is the intuitive visual representation of information flow in these algorithms in terms of string diagrams.

Locations

  • arXiv (Cornell University) - View - PDF

Similar Works

Action Title Year Authors
+ Bayesian machine learning via category theory 2013 Jared Culbertson
Kirk Sturtz
+ Bayesian machine learning via category theory 2013 Jared Culbertson
Kirk Sturtz
+ Model-Free Inference for Markov Processes 2015 Dimitris N. Politis
+ AN INTRODUCTION TO HIDDEN MARKOV MODELS AND BAYESIAN NETWORKS 2001 Zoubin Ghahramani
+ PDF Chat Unifilar Machines and the Adjoint Structure of Bayesian Filtering 2023 Nathaniel Virgo
+ Learning Tree Distributions by Hidden Markov Models 2018 Davide Bacciu
Daniele Castellana
+ Representable Markov Categories and Comparison of Statistical Experiments in Categorical Probability 2020 T. A. Fritz
Tomáš Gonda
Paolo Perrone
Eigil Fjeldgren Rischel
+ PDF Chat Representable Markov categories and comparison of statistical experiments in categorical probability 2023 T. A. Fritz
Tomáš Gonda
Paolo Perrone
Eigil Fjeldgren Rischel
+ A coarse-grained Markov chain is a hidden Markov model 2019 Iain L. MacDonald
+ Statistical Inference for Markov Switching Models 2006
+ Markov categories, causal theories, and the do-calculus 2022 Yimu Yin
Jiji Zhang
+ Statistical inference on discrete Markov fields 1985 David K. Pickard
+ Statistical inference on discrete Markov fields 1985 David K. Pickard
+ Introduction to Automatic Backward Filtering Forward Guiding 2022 Frank van der Meulen
+ Causal Theories: A Categorical Perspective on Bayesian Networks 2013 Brendan Fong
+ Markov chains, imperfect state information, and Bayesian learning 1983 Hersh Shefrin
+ Markov chains as a conceptual probabilistic model according to Vistelius 2025 Hannes Thiergärtner
+ Markov Chains 2019 Rick Durrett
+ Markov Chains 2009 Rick Durrett
+ Markov Chains 2019 Adam Prügel‐Bennett

Works That Cite This (0)

Action Title Year Authors

Works Cited by This (0)

Action Title Year Authors