Skip to main content
QUICK REVIEW

[Paper Review] Categorical Belief Propagation: Sheaf-Theoretic Inference via Descent and Holonomy

Enrique ter Horst, Sridhar Mahadevan|arXiv (Cornell University)|Jan 8, 2026
Advanced Graph Neural NetworksComputer Science0 citations
TL;DR

This paper builds a categorical framework for belief propagation on factor graphs, introducing holonomy-based descent to decompose loopy inference into sector-wise exact computations and a deterministic compilation (HATCC) of loop obstructions.

ABSTRACT

We develop a categorical foundation for belief propagation on factor graphs. We construct the free hypergraph category \(\Syn_Σ\) 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 o \cat{FG}_Σ\) 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 holonomy into mode variables, and reduces to tree BP on an augmented graph. Complexity is \(O(n^2 d_{\max} + c \cdot k_{\max} \cdot δ_{\max}^3 + n \cdot δ_{\max}^2)\) for \(n\) factors and \(c\) fundamental cycles. Experimental results demonstrate exact inference with significant speedup over junction trees on grid MRFs and random graphs, along with UNSAT detection on satisfiability instances.

Motivation & Objective

  • Develop a universal, syntax/semanatics/execution separation for belief propagation on factor graphs using a free hypergraph category.
  • Define semantics via semiring-parametric elimination into MatR and encode structure with SCFAs.
  • Model message passing as a Grothendieck fibration to capture graph-dependent message spaces.
  • Introduce gauge-equivariance and simplicial structures to reveal invariances in BP updates.
  • Propose Holonomy-Aware Tree Compilation (HATCC) to detect descent obstructions and reduce inference to tree-like subproblems.

Proposed method

  • Construct SynΣ as a free hypergraph category from a typed signature for factor-graph inference.
  • Interpret Semantics by evaluating SynΣ in MatR with composition as finite elimination.
  • Formulate BP execution as a message fibration over polarized factor graphs with schedule-indexed endomorphisms.
  • Establish gauge equivariance of BP under a gauge propagation map ΘG to separate semantics from execution.
  • Define descent of local semantics to global semantics along covers and formalize effective descent when finite state spaces apply.
  • Present HATCC to compute holonomy generators, identify orbit structures, and decompose loopy inference into sector-wise tree problems.

Experimental results

Research questions

  • RQ1How can belief propagation be given a universal, syntax-semantic-execution separation within a categorical framework?
  • RQ2When can loopy BP be guaranteed exact, or decomposed into exact subproblems, via holonomy-based descent?
  • RQ3How does holonomy obstruct or enable descent, and how can this obstruction be compiled into tractable subproblems?
  • RQ4What is the role of gauge symmetry in BP, and how does projective BP behave under gauge equivalence?
  • RQ5Can a deterministic compilation (HATCC) convert loopy inference into a finite mixture of tree-like computations with guarantees?

Key findings

  • Belief propagation can be formulated as a polynomial endomorphism on message spaces, with fixed points corresponding to marginals.
  • BP is semi-equivariant under a gauge propagation map, enabling descent to the projective message space and gauge-independent beliefs.
  • Exact inference is characterized as effective descent, with descent always possible on finite covers; trees and junction-tree-like decompositions are special cases.
  • Holonomy (global cycle transport) obstructs descent; HATCC detects holonomy, compiles it into mode variables, and reduces inference to sector-wise tree BP.
  • Experiments show exact inference with speedups over junction trees on grid MRFs and random graphs, and UNSAT detection on SAT instances (as claimed).

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.