Categorical Belief Propagation: Sheaf-Theoretic Inference via Descent and Holonomy
Enrique ter Horst, Sridhar Mahadevan, Juan Diego Zambrano

TL;DR
This paper introduces a categorical framework for belief propagation that unifies various inference methods and detects obstructions using sheaf theory, enabling exact inference and efficiency improvements.
Contribution
It develops a sheaf-theoretic foundation for belief propagation, introduces the HATCC algorithm for detecting obstructions, and demonstrates practical speedups and exact inference.
Findings
Exact inference achieved with speedup over junction trees.
HATCC detects holonomy obstructions in factor graphs.
Effective for grid MRFs, random graphs, and SAT instances.
Abstract
We develop a categorical foundation for belief propagation on factor graphs. We construct the free hypergraph category \(\Syn_\Sigma\) on a typed signature and prove its universal property, yielding compositional semantics via a unique functor to the matrix category \(\cat{Mat}_R\). Message-passing is formulated using a Grothendieck fibration \(\int\Msg \to \cat{FG}_\Sigma\) over polarized factor graphs, with schedule-indexed endomorphisms defining BP updates. We characterize exact inference as effective descent: local beliefs form a descent datum when compatibility conditions hold on overlaps. This framework unifies tree exactness, junction tree algorithms, and loopy BP failures under sheaf-theoretic obstructions. We introduce HATCC (Holonomy-Aware Tree Compilation), an algorithm that detects descent obstructions via holonomy computation on the factor nerve, compiles non-trivial…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Graph Neural Networks · Error Correcting Code Techniques · Bayesian Modeling and Causal Inference
