Lune

LICS2026Top-tier venue

A Categorical Account of the Metropolis-Hastings Algorithm

Rob Cornish, Andi Q. Wang

Abstract

Metropolis-Hastings (MH) is a foundational Markov chain Monte Carlo (MCMC) algorithm. In this paper, we ask whether it is possible to formulate and analyse MH in terms of categorical probability, using a recent involutive framework for MH-type procedures as a concrete case study. We show how basic MCMC concepts such as invariance and reversibility can be formulated in Markov categories, and how one part of the MH kernel can be analysed using standard CD categories. To go further, we then study enrichments of CD categories over commutative monoids. This gives an expressive setting for reasoning abstractly about a range of important probabilistic concepts, including substochastic kernels, finite and σ-finite measures, absolute continuity, singular measures, and Lebesgue decompositions. Using these tools, we give synthetic necessary and sufficient conditions for a general MH-type sampler to be reversible with respect to a given target distribution.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • AutoStep: Locally adaptive involutive MCMC cites Involutive MCMC: a Unifying Framework
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on3

  1. Involutive MCMC: a Unifying FrameworkKirill Neklyudov, Max Welling, Evgenii Egorov, Dmitry P. VetrovICML 2020 · 40 citations
  2. Probabilistic Programming Interfaces for Random Graphs: Markov Categories, Graphons, and Nominal SetsNathanael L. Ackerman, Cameron E. Freer, Younesse Kaddar, Jacek Karwowski et al.POPL 2024 · 3 citations
  3. AutoStep: Locally adaptive involutive MCMCTiange Liu, Nikola Surjanovic, Miguel Biron-Lattes, Alexandre Bouchard-Côté et al.ICML 2025

Related papers

  1. Ai-sampler: Adversarial Learning of Markov kernels with involutive mapsEvgenii Egorov, Riccardo Valperga, Stratis GavvesICML 2024 · 2 citations
  2. Random Variables, Conditional Independence and Categories of Abstract Sample SpacesDario SteinLICS 2025 · 2 citations
  3. Probability monads with submonads of deterministic statesSean K. Moss, Paolo PerroneLICS 2022 · 4 citations
  4. Nonparametric Involutive Markov Chain Monte CarloCarol Mak, Fabian Zaiser, Luke OngICML 2022 · 2 citations
  5. Evidential Decision Theory via Partial Markov CategoriesElena Di Lavore, Mario RománLICS 2023 · 7 citations
Dusk over the sea between two cliffs drawn in fine vertical lines