Exact inference on trees, principled approximations on loopy graphs, and a common language for optimization, coding, learning, and tensor contraction
Belief propagation is easy to recognize and surprisingly hard to place. In a probabilistic graphical model it is the sum–product algorithm. On a tree it is ordinary dynamic programming. In statistical physics it is the replica-symmetric cavity method. In coding theory it is iterative decoding. In combinatorial optimization its zero-temperature limit becomes min-sum or max-product. Graph neural networks borrow the same local aggregation pattern, while tensor-network algorithms use closely related messages to approximate an environment.
These are not merely metaphors. They share a concrete computational move: cut an edge, summarize everything on one side as a function of the boundary variable, and pass that summary across the cut. What changes from field to field is the algebra carried by the message, the assumptions under which branches become independent, and the meaning attached to a fixed point.
This series develops that common spine from the exact case outward. The goal is not to memorize an update rule. It is to understand where the rule comes from, what it computes, why it is exact on trees, what the Bethe free energy adds, and which claims stop being theorems when the graph contains loops.
Cut a tree, pin its boundary, and derive sum–product and the Bethe variational principle without guessing the update rules
Read this chapter →
From Boltzmann weights to min-sum, independent sets, matching, colouring, phase transitions, and the limits of fixed-point iteration
Read this chapter →
When one cavity marginal stops being enough — clustering, warnings, surveys over pure states, and the thresholds they separate
Read this chapter →
What graph neural networks borrow from belief propagation, what they discard, and what the 1-WL ceiling says they can never see
Read this chapter →The roadmap names intended directions; it does not present unfinished chapters as published results.
Every chapter will return to five questions.
That last question matters for a public technical series. “BP works” is never a complete claim. The graph family, objective, update schedule, initialization, and comparison target all belong in the sentence.
The first two chapters use finite-alphabet factor graphs. Variable nodes are circles, factor nodes are squares, and a directed message is named by its sender and receiver. Free entropy means $\log Z$ (or its density); free energy differs by the conventional factor $-1/\beta$. Whenever a zero-temperature limit is taken, additive message gauges are fixed explicitly.
The derivations are adapted from standard factor-graph, variational-inference, and statistical-physics references