Intelligence, Agency and Consciousness Canon · 0024

When loops become a tree of cliques: Lauritzen and Spiegelhalter’s local computation

A multiply connected causal network can still support exact probability. Marry co-parents, add fill-in until cycles have chords, gather variables into overlapping cliques, and pass calibrated summaries along a tree whose separators prevent evidence from being counted twice.

Steffen L. Lauritzen and David J. Spiegelhalter · Journal of the Royal Statistical Society, Series B 50(2), 157–224 · 1988

Intelligence, Agency and Consciousness Canon · 0024

When loops become a tree of cliques: Lauritzen and Spiegelhalter’s local computation

Rajesh Ranjan Mahapatra

A multiply connected causal network can still support exact probability. Marry co-parents, add fill-in until cycles have chords, gather variables into overlapping cliques, and pass calibrated summaries along a tree whose separators prevent evidence from being counted twice.

© 2026 Rajesh Ranjan Mahapatra. 21 min read

When loops become a tree of cliques: Lauritzen and Spiegelhalter’s local computationAll AI Research Library
The governing problem

Probability must travel through an expert system

Expert systems separate a knowledge base from the facts of a new case. The knowledge base records propositions and their relationships; an inference engine applies those relationships to a patient, machine or decision. In medicine, neither layer is complete. Symptoms are noisy, diseases are hidden, observations arrive out of order and professional knowledge contains uncertainty. Lauritzen and Spiegelhalter ask whether a coherent probability distribution can preserve the modular, graphical character that made rule-based systems attractive.

The immediate motivation is MUNIN, an expert system for diagnosing disorders of nerve and muscle from electromyographic measurements. Its knowledge network was expected to contain roughly one thousand variables, perhaps more. Many uncertainty formalisms of the period propagated non-probabilistic confidence measures because exact Bayesian updating in a multiply connected graph appeared computationally infeasible. The paper counters that claim conditionally: sparse structure can be exploited, but the graph must first be compiled into a form that supports correct local calculation.

The required operations are more demanding than one posterior query. The system should initialise a joint model from conditional assessments; absorb batches of observations independently of their order; propagate evidence globally; temporarily hypothesise a finding; retract it; decide which potential test would be informative; and identify which observed item most influenced a conclusion. A representation that answers only one query efficiently is not yet an inference engine.

Locality is therefore both a computational and organisational requirement. A clinician should not need to edit an astronomical joint table. A module should describe a limited set of variables, and a change should move through explicit interfaces. The achievement is to show when those interfaces are probabilistically sufficient. The qualification is equally important: local calculations become exact only after global graph structure has been analysed and transformed.

A large medical network is compiled into small local calculationsA dense field of medical variables on the left narrows through a compiler into a chain of overlapping clique boxes on the right.MEDICAL KNOWLEDGEcompileclique A,B,Cclique B,C,Dclique C,D,Eglobal exactness from calibrated overlaps
Figure 1 · Locality must be earned by compilation Sparse expert knowledge can support modular calculation, but the sufficient local units are cliques and separators derived from the whole graph.Authored reconstruction after Sections 1–3 and the MUNIN motivation.

Probe 1 · Add one diagnostic link

A new dependency may look like one extra arrow in the knowledge base. After moralisation and triangulation it can merge several cliques, multiplying state space. Before calling the change local, trace its effect on the compiled graph and largest clique.

A tiny chest clinic contains every hard move

The paper teaches the scheme through a fictitious eight-variable “chest clinic” network, now commonly called the Asia network. A patient may have visited Asia (A), may smoke (S), and may have tuberculosis (T), lung cancer (L) or bronchitis (B). Either tuberculosis or lung cancer produces a combined state E. That state affects a positive chest X-ray (X), while E and bronchitis affect dyspnoea (D).

The graph stores a factorisation rather than a list of 256 worlds. Root priors are P(A)=.01 and P(S)=.50. Tuberculosis is more likely after travel to Asia; lung cancer and bronchitis are more likely for smokers. E is a deterministic logical OR of T and L. X and D are noisy effects. The local tables multiply into one joint law, and summing unwanted variables answers any query.

P(A,S,T,L,B,E,X,D)=P(A)P(S)P(T|A)P(L|S)P(B|S)P(E|T,L)P(X|E)P(D|E,B)

Direct evaluation is possible for eight binary variables, but its cost doubles with each new variable. More importantly, a brute-force table ignores separation. Travel affects the respiratory findings only through tuberculosis and E. Smoking reaches dyspnoea through lung cancer, bronchitis and E. The graph promises that summaries over a few boundary variables should replace enumeration of everything behind them. The rest of the paper makes that promise exact even though multiple paths create loops in the undirected structure.

Worked example 1 · Eight tables replace 256 cases

For a smoker who visited Asia and has dyspnoea, one joint configuration might set T=true, L=false, B=true, E=true and X=false. Its probability is the product of eight local entries. To find the evidence likelihood, sum that product over every unobserved configuration. Exhaustive enumeration needs 32 terms for the five hidden binary variables. Clique propagation performs equivalent sums once per separator and reuses them for every posterior.

The eight-node Asia causal networkVisit Asia points to tuberculosis. Smoking points to lung cancer and bronchitis. Tuberculosis and lung cancer point to either disease, which points to X-ray and dyspnoea; bronchitis also points to dyspnoea.visit Asia Asmoking Stuberculosis Tlung cancer Lbronchitis Beither T or LEpositive X-ray Xdyspnoea D
Figure 2 · A small graph with converging and diverging paths The Asia network is small enough to enumerate yet rich enough to require marrying co-parents, fill-in, clique construction and two-way evidence propagation.Authored redraw after Figure 2 and Table 1.
Compile the graph

First marry, then triangulate

A directed graph carries conditional tables, but the paper’s local marginal operations use an undirected Markov representation. The first transformation is moralisation. For every child with multiple parents, connect those parents if they are not already adjacent, then erase arrow directions. The new edge is called “marrying the parents”. It preserves the dependence that conditioning or marginalisation can induce between alternative causes of a common effect.

In the Asia network, T and L are married because both parent E. E and B are married because both parent D. Dropping directions then produces the moral graph. This graph can represent the joint distribution through potentials attached to complete subsets. It does not assert that newly married variables directly cause one another. The edges are computational and independence-bearing, not new causal claims.

Worked example 2 · Why co-parents need an edge

Before an X-ray is observed, tuberculosis and lung cancer can be marginally independent given travel and smoking. Observe their common consequence E or X, however, and evidence for one changes the need for the other. A clique containing T, L and E must represent that interaction. The moral edge T-L ensures that an undirected graph does not falsely separate the co-parents when their child is processed.

Moralisation connects co-parents and drops directionsTwo directed v-structures T to E from L and E to D from B are transformed into undirected triangles by new red marriage edges.DIRECTED FAMILIESMORAL FAMILIESTLETLEmarry T and Ldrop arrowsrepeat for E and B, the parents of D
Figure 3 · Moral edges preserve collider dependence Connecting co-parents allows an undirected representation to carry dependencies created when their common child is used. The marriage is not a causal assertion.Authored transformation after Figure 3.

Moralisation is not enough. A graph is triangulated, or chordal, when every cycle of length four or more has a chord connecting non-neighbouring vertices in that cycle. In a non-chordal cycle, eliminating a variable creates a dependence between its remaining neighbours that no existing clique can store. Fill-in adds edges so each elimination step leaves a complete neighbour set. In the paper’s graph, adding an edge between L and B, or choosing a different permissible chord, completes the triangulation.

The choice of fill-in changes efficiency, not the target probability. Extra edges remove conditional independences from the computational graph and enlarge cliques. They never add probability factors or scientific relationships. Finding a triangulation that minimises the largest state space is difficult; practical algorithms rely on ordering heuristics. The paper uses maximum-cardinality search to recognise and order chordal structure after fill-in.

Probe 2 · Fill the wrong diagonal

A four-cycle can be triangulated with either diagonal. In a binary graph both choices may appear equal. If one endpoint has 50 states and the others have two, clique state spaces differ sharply. Count products of cardinalities, not merely clique nodes, before choosing an elimination order.

A chordless cycle receives a fill-in edgeA four-node undirected cycle on the left cannot be decomposed. A dashed red diagonal is added on the right, forming two triangular cliques.CHORDLESS CYCLETRIANGULATEDfill intwo cliques share the new separator
Figure 4 · A chord makes elimination local Fill-in anticipates dependencies created by marginalisation. It preserves the distribution while changing memory and arithmetic cost.Authored chordality illustration after Sections 4 and 6.

Overlapping cliques form a tree with a memory rule

The maximal complete subsets of the triangulated graph become computational units. For Asia, one useful collection is {A,T}, {T,L,E}, {L,E,B}, {L,B,S}, {E,B,D} and {E,X}. These cliques can be arranged as a tree. Every edge is labelled by the intersection of its endpoint cliques, called a separator.

Not every tree over the cliques is valid. It must satisfy the running-intersection property: if a variable appears in two cliques, it must appear in every clique along the path between them. Equivalently, all cliques containing a variable form one connected subtree. This is the memory rule that prevents a variable’s information from disappearing and reappearing as if unrelated.

A set-chain ordering expresses the same property. Number cliques C₁,…,Cₖ so that each residual Rᵢ, the variables first introduced at clique i, is paired with a separator Sᵢ contained in one earlier parent clique. The joint law then factors into local conditionals P(Rᵢ|Sᵢ). A forward pass initialises clique marginals; a reverse pass completes them. The paper shows that this representation can be converted to potentials or calibrated marginals as the requested operation demands.

Worked example 3 · Check the running intersection

E appears in cliques {T,L,E}, {L,E,B}, {E,B,D} and {E,X}. Attach {E,X} directly to {T,L,E} or another E-containing clique. If instead it hangs from {L,B,S}, the path from {E,X} to the other E cliques passes through a clique without E. The tree looks connected, but the representation is invalid because E’s evidence would have no sufficient separator along that path.

The Asia cliques form a junction treeSix clique boxes are connected as a tree. Edge labels show separators T, LE, LB, EB and E, and cliques containing E form a connected subtree.A,TT,L,EL,E,BL,B,SE,B,DE,XTL,EL,BE,BEall E-cliques remain connected
Figure 5 · Separators are sufficient interfaces The running-intersection property makes every separator retain the variables needed to reconcile the two sides of its edge.Authored junction tree after Tables 2–3 and Figures 5–6.

Probe 3 · Break the connected subtree

Move the {E,X} leaf beneath {L,B,S}. Messages can still be multiplied and summed, and the code may return numbers. Which invariant fails? The cliques containing E are disconnected, so the separator on the new edge omits a variable required to preserve consistency. Numerical output is not proof of a valid junction tree.

Four representations trade storage for operations

The paper distinguishes four ways to hold one distribution. Conditional probability tables align with the original directed families and are natural for elicitation. Evidence potentials attach non-negative functions to complete subsets of the moral graph and multiply to the joint law up to a normalising constant. A set-chain representation expresses residual variables conditional on separators. A clique-marginal representation stores marginal tables whose overlaps agree.

No representation dominates. Conditional tables are compact and interpretable before evidence arrives but awkward after arbitrary observations. Potentials absorb evidence by zeroing or selecting entries without immediately renormalising. Set chains support recursive initialisation and marginalisation. Calibrated clique marginals make any variable or subset contained in a clique immediately available. Fast transfer between forms is therefore part of the algorithm, not administrative overhead.

P(V)=Z⁻¹ ∏ₐ ψₐ(xₐ)   and, after calibration,   P(V)=∏ᵢ μ(Cᵢ) / ∏ᵢ μ(Sᵢ)

The second identity exposes why consistent overlaps matter. Multiplying clique marginals counts separator variables more than once; dividing by separator marginals corrects the duplication. If neighbouring clique tables disagree on their shared separator, there is no single global distribution with both as marginals. Calibration is the act of restoring that agreement by local messages.

Four equivalent probability representations support different operationsConditional tables, evidence potentials, a set chain and clique marginals occupy four boxes connected by conversion arrows around a shared joint distribution.ONE JOINTP(V)conditional tableselicit familiesevidence potentialsabsorb observationsset chainrecursive transferclique marginalsanswer local queries
Figure 6 · Representation follows the operation Conversion is productive when it turns a difficult global operation into multiplication, division or summation over one clique and its separator.Authored map after Sections 7–9 and Figure 11.
Absorb, collect, distribute

Evidence enters once and travels as separator ratios

Hard evidence restricts a variable to an observed state. In a potential representation, select the matching slice in one clique containing that variable, or multiply by an indicator potential. Unobserved states receive zero. Logical zeros are therefore ordinary and useful; the scheme need not divide by them if messages are scheduled carefully. Several findings can be absorbed before propagation, and commutativity ensures that their order does not change the final posterior.

To propagate, choose a root clique. In a collect pass, every leaf sends a message towards the root after receiving messages from its other neighbours. A message is the sender’s current potential marginalised onto the separator. In the Lauritzen–Spiegelhalter architecture, a receiving clique updates by multiplying by the ratio of new separator marginal to the old stored separator marginal, with conventions for zeros. A distribute pass reverses direction. When both passes finish, adjacent cliques agree on every separator and all clique tables are proportional to their exact posterior marginals.

mᵢ→ⱼ(Sᵢⱼ)=Σ_{Cᵢ\Sᵢⱼ} ψᵢ(Cᵢ)∏_{k∈ne(i)\j}mₖ→ᵢ(Sₖᵢ)

Branch information is summarised once. The separator variables shield the receiving side from every eliminated detail behind the sending clique. This is the same locality principle Pearl exploited on polytrees, lifted to groups of variables after triangulation. The cost is that a group may be much larger than a single node.

Worked example 4 · Visit to Asia plus dyspnoea

Absorb A=true in clique {A,T} and D=true in {E,B,D}. Collect and distribute. With the paper’s tables, posterior tuberculosis rises from .01 to about .088, roughly a ninefold increase; the paper describes a fifteenfold rise relative to the relevant prior comparison. Smoking becomes about .626, lung cancer .100, bronchitis .812, either serious disease .182 and positive X-ray .220. Every result is available from a calibrated clique without rerunning the whole network. The laboratory reproduces these values and checks them against all 256 worlds.

Evidence is absorbed into one clique and projected to a separatorA clique table containing E B D has rows inconsistent with D equals one crossed out, then sums its remaining rows into an E B separator table.CLIQUE {E,B,D}E B D potential0 0 0 .900 0 1 .100 1 0 .200 1 1 .801 * 1 keepabsorb D=1sum out DSEPARATOR {E,B}one summary forthe entire branchsend once
Figure 7 · Condition locally, summarise at the boundary Evidence changes one clique potential. Marginalising to the separator produces all information the neighbouring subtree needs.Authored evidence step after Sections 5.2, 8.1 and 8.3.

Temporary hypotheses use the same machinery. Clamp a state, propagate, inspect consequences, then restore the saved potentials and recalibrate. Planning can compare candidate tests by the expected change they would induce. Influential findings can be studied by retracting one item and measuring the shift. The paper recognises that these are computational primitives, not complete decision theory: a test’s value also depends on costs, actions and utilities.

Collect and distribute passes calibrate a clique treeFive cliques form a tree. Amber arrows collect inward to a central root, then teal arrows distribute outward, leaving equal separator marginals on both sides.leafleafroot cliqueleafleafCOLLECT INWARDDISTRIBUTE OUTWARD
Figure 8 · Two tree sweeps replace repeated global sums After calibration, each edge carries compatible separator marginals and each clique can answer its contained queries exactly.Authored propagation schedule after Sections 5.3–5.4.

Probe 4 · Send the same evidence twice

If a system treats an arriving separator message as independent new evidence and multiplies it without removing the old contribution, probability will become overconfident. The separator store or branch-exclusion rule exists to prevent double counting. Ask what information each message already contains.

Exactness ends at the clique-size cliff

The paper analyses operations in terms of clique state spaces. A clique with variables of cardinalities r₁,…,rₖ needs their product number of cells. For binary nodes the cost is exponential in k. Sparse graphs often yield small cliques, but a modest number of strategically placed edges can create a large treewidth. The visual size of the original graph is therefore a poor runtime predictor.

Triangulation quality matters because fill-in selects the cliques that will be materialised. The paper gives upper bounds based on total clique state space and the largest clique, and it discusses further savings from collapsibility, specialised queries and object-oriented precomputation. Later complexity results sharpen the boundary: exact inference in general Bayesian networks is NP-hard, and finding optimal triangulations is itself difficult.

For MUNIN-like systems, domain structure can still make exact work possible. Many nodes may have small state spaces and narrow separators. Repeated queries repay compilation because the clique tree can be retained while evidence changes. Yet discussants point to medical networks with high-cardinality disease nodes and large families whose tables alone are enormous. Approximation, model decomposition or hybrid sampling may then be necessary.

Runtime rises with clique state space rather than node countA staircase chart shows small binary cliques growing from eight to 1024 cells, while a separate high-cardinality variable causes a much larger jump.3 binary5 binary8 binary10 binarymixed states8 cells322561024cardinality cliff
Figure 9 · Count configurations, not circles A thousand-node sparse graph can be easier than a fifty-node dense one. Treewidth and variable cardinality govern the largest local table.Authored complexity illustration after Sections 10–11 and the discussion.

Worked example 5 · One 50-state node changes the arithmetic

A clique of six binary variables has 64 cells. Replace one binary variable by a 50-state diagnosis and the table has 1,600 cells. Add another 20-state severity variable and it has 32,000. A heuristic that minimises clique node count can therefore choose a worse triangulation than one weighted by cardinality.

Conditioning and marginalisation are the primitive instructions

Underneath the graph terminology, the engine repeatedly performs two probability operations. Conditioning fixes selected states and removes inconsistent configurations. Marginalisation sums over variables that do not belong in the outgoing result. Multiplication combines factors that share variables. Division corrects a contribution already present in a receiving clique. The graph compiler determines an order in which these elementary instructions never require the full joint table.

The potential representation is deliberately tolerant of incomplete normalisation. If local functions multiply to ZP(V), the constant Z can be postponed while evidence is absorbed and messages are moved. This is valuable because most intermediate operations need only proportional values. The constant becomes an evidence likelihood when all remaining variables are summed out. It also provides a diagnostic: zero means the observations are incompatible with the model’s structural zeros, not that a floating-point routine should quietly invent a posterior.

Marginalising a collection of potentials requires first gathering every factor that mentions an eliminated variable, multiplying them, summing that variable away, and placing the resulting factor back on its remaining scope. This is variable elimination written without modern terminology. Different elimination orders give the same exact marginal but create different intermediate scopes. Triangulation records those scopes in advance, while the junction tree caches them for repeated queries.

Collapsibility can sometimes avoid full propagation. If a requested subset lies inside one clique, its marginal follows immediately from that calibrated table. More generally, portions of the graph whose variables separate cleanly can be collapsed without changing the query. The paper treats this as an extension rather than a magical shortcut: one must prove that the discarded interactions cannot affect the target. Query-specific calculation may be much cheaper than preparing every marginal, especially when only one decision variable matters.

Calculating the probability of a specific configuration is another special case. If the requested variables sit in a clique, read and sum the relevant cells. If they span several cliques, combine calibrated clique and separator marginals along the minimal connecting subtree. The running-intersection property again supplies the guarantee. Without it, multiplying local answers can count shared variables incorrectly or assume independence that the joint model does not contain.

The authors also describe drawing a complete configuration from calibrated marginals. Sample the residual variables of a root clique, then traverse the set chain and sample each new residual conditional on its separator. The result is a draw from the represented joint distribution, assembled locally. This anticipates later uses of junction trees for simulation, decoding and hybrid inference. Exact sampling here depends on already calibrated finite tables; it does not rescue a clique whose state space cannot be stored.

Explanation is harder than calculation. A posterior can be recomputed after retracting one finding, producing an influence measure for that item. Several findings can be removed in turn, and hypothetical tests can be inserted. Yet an influence score depends on the chosen contrast and can miss interactions among findings. A clinician may need the causal and temporal story, not only a numerical sensitivity. The paper is unusually candid that a fast inference engine does not automatically become a satisfactory explanation engine.

These primitives define a useful verification strategy. Test every local table for normalisation and declared structural zeros. Confirm that moralisation connects every co-parent pair. Verify chordality after fill-in and the running-intersection property after tree construction. Compare calibrated marginals with exhaustive enumeration on small subnetworks. Then test evidence order, retraction, impossible evidence and repeated propagation. The algorithm’s mathematical modularity becomes an engineering advantage only when each interface has an executable invariant.

What the debate preserves

The discussion separates calculation from knowledge

The unusually long published discussion tests the method from statistics, medicine, artificial intelligence and computer science. A. Thatcher lists assumptions behind success: an appropriate causal network exists and is known, experts can provide all required probabilities, those probabilities apply conditionally to the patient, and the clinic can observe the evidence. Exact propagation does not validate any of these premises.

J. Q. Smith praises evidence potentials but warns that probability elicitation needs a structural discipline. The graph should be elicited before numerical probabilities, and model criticism should follow. Max Henrion highlights the complexity bound and notes that clique size depends on connectivity and state cardinality. Gregory Cooper invokes hardness results: there are network families for which any exact general method must require exponential effort unless major complexity assumptions fail.

Jensen, Olesen and Andersen propose a junction-tree implementation that keeps the clique tree explicitly and simplifies propagation. This line became the HUGIN architecture. Later comparisons distinguish Lauritzen–Spiegelhalter, HUGIN and Shenoy–Shafer message stores and schedules. They share the junction-tree invariant while trading divisions, storage and reusability.

Ross Shachter observes that directed graphs can be transformed through arc reversal and node reduction, and warns against casual causal language when a graph only encodes conditional independence. Anthony O’Hagan and others question whether assessed probabilities are stable, precise or transportable. Medical symptoms and disease prevalence change across populations; a coherent posterior can be precisely conditional on the wrong clinic.

In reply, Lauritzen and Spiegelhalter welcome the explicit clique tree, recognise modelling and sensitivity analysis as central, and defend graph transformations as a way to reveal where calculation is possible. They stress that fill-in should not be read as scientific dependence and that irrelevance and causal ordering still matter for elicitation and explanation. They also acknowledge loops, imprecision and dynamic restructuring as open areas.

Strongest earned conclusion. For a discrete Bayesian network whose compiled clique state spaces are manageable, junction-tree calibration computes exact posterior marginals through local operations and supports repeated evidence, hypothesis and retraction workflows.

Most important unpaid debt. The method does not discover a correct causal graph, elicit reliable conditional tables, solve large-treewidth inference, explain results to users, validate transfer across populations or turn posterior probabilities into decisions.

The 1988 paper connects polytree propagation to later junction-tree architecturesA timeline runs from chordal graph theory and Pearl’s polytree messages through Lauritzen and Spiegelhalter to HUGIN, Shenoy-Shafer, graphical-model books and hybrid inference.1970sdecomposable graphs1986Pearl polytrees1988L–S compilation1990HUGIN1990svaluation architecturestodayexact and hybrid enginesone invariant: connected variable subtrees with calibrated separators
Figure 10 · A general exact-inference architecture The paper extends local propagation from singly connected variable graphs to trees of variable clusters, creating a durable foundation for probabilistic expert systems.Authored lineage based on the primary paper and later literature.

Place in the canon

Paper 0024 follows Pearl’s belief-propagation paper because it addresses the precise topology Pearl leaves difficult. A polytree has at most one undirected path between nodes, so single-variable messages cannot circle back. Lauritzen and Spiegelhalter take a general directed acyclic graph, expose collider dependencies by moralisation, add fill-in to make elimination stable, and build a polytree whose nodes are cliques. Pearl’s local logic survives at a higher state-space cost.

It also connects Tanner and Wong’s data augmentation and Geman and Geman’s Gibbs sampler. When clique tables are too large, sampling can trade exact finite propagation for asymptotic approximation. Hybrid junction-tree methods later combine exact calculation inside manageable cliques with simulation elsewhere. The canon is therefore accumulating a design vocabulary: factorisation, graph transformation, elimination, message passing, equilibrium sampling and explicit complexity boundaries.

For intelligence and agency, the paper offers a rigorous architecture for distributed belief revision. Each module stores a bounded context and communicates a sufficient boundary summary. Coherence is global even though arithmetic is local. But this is not consciousness, understanding or autonomous judgement. The graph, states, probabilities, evidence channels, actions and utilities are supplied by people and institutions. The inference engine makes their commitments internally consistent; it does not make them true.

Executable demonstration

Exact Asia junction-tree laboratory

The laboratory instantiates the paper’s eight binary variables and six-clique tree. Local factors are assigned to cliques, hard evidence is absorbed, and recursive sum-product messages calibrate the tree. An independent exhaustive oracle scores all 256 joint states. Five evidence profiles and every displayed variable must agree to machine precision. A structural test verifies the running-intersection property.

Calibrated Asia junction treeSix clique boxes exchange separator messages and a bar shows the selected posterior probability.

The “visited Asia and dyspnoea” profile reconstructs the paper’s worked numbers to rounding. The hypothesis profile illustrates a temporary clamp rather than a causal intervention: conditioning T=false changes beliefs through the observational model. Retraction means restoring the unclamped potential and recalibrating, not applying an inverse probability.

Memory studio

One sentence

Compile a loopy Bayesian network into a tree of overlapping cliques, then pass separator summaries until every overlap agrees.

Four verbs

marry connect co-parents.

fill chord long cycles.

collect messages inward.

distribute messages outward.

Three objects

clique local table.

separator sufficient interface.

junction tree connected-subtree invariant.

Three traps

A moral edge is not causal. A tree of cliques can still be exponential. Exact inference can be exactly conditional on a bad model.

The invariant

Every variable’s cliques form one connected subtree, and calibrated neighbours agree on their separator marginal.

Recall ladder

30 seconds moralise, triangulate, tree, propagate.

5 minutes draw Asia’s cliques and separators.

1 hour derive a separator message and audit treewidth.

What remains after every separator agrees

Lauritzen and Spiegelhalter transform exact inference from an undifferentiated exponential sum into a compilation and calibration problem. Directed families capture expert assessments. Moralisation exposes collider dependencies. Triangulation makes elimination stable. Cliques retain interactions, separators transmit sufficient summaries, and two tree sweeps make local marginals globally coherent.

The transformation clarifies rather than abolishes complexity. If triangulation creates a large clique, the exact method faithfully reveals the cost hidden in the model’s dependence structure. State cardinality can matter more than node count. Repeated evidence makes compilation worthwhile, but no scheduling trick defeats treewidth in general.

The paper’s multiple representations remain a valuable engineering lesson. Store knowledge in the form suited to elicitation; convert it to the form suited to evidence; calibrate it into the form suited to queries. Treat conversions as verified contracts. A conditional table, a potential and a marginal may carry the same distribution while supporting very different safe operations.

Finally, distinguish probabilistic coherence from epistemic warrant. A calibrated junction tree guarantees that its clique marginals belong to one conditioned joint model. It does not guarantee that the states are well defined, the graph transports to a new clinic, the probabilities are calibrated, or the recommendation serves the patient. Exact local computation solves the inference problem after the knowledge problem has been stated.

Source note and reading discipline

The governing source is the complete 69-page scan of the article, published discussion and authors’ reply, visually inspected page by page. The article occupies journal pages 157–194 and the discussion continues to page 224. The local file’s SHA-256 is 5043C0D042DE82959EB43A6A261D62C142409F1897F2EDD5E9EAEE7B998B3282. This reconstruction follows the MUNIN motivation, six required operations, Asia network, moral and filled graphs, clique/set-chain construction, potential and marginal representations, evidence absorption, global and single-item propagation, theory, basic operations, transfers, complexity, extensions, discussion and reply.

Later vocabulary is controlled. “Junction tree”, “treewidth”, “collect and distribute”, “sum-product”, “HUGIN” and “hybrid inference” are used to connect subsequent standard terminology and implementations. The executable laboratory is an authored implementation of the published Asia tables and clique structure. Agreement with enumeration verifies this implementation, not every expert system or triangulation.

References

  1. Steffen L. Lauritzen and David J. Spiegelhalter, “Local computations with probabilities on graphical structures and their application to expert systems”, JRSS B 50(2), 157–224, 1988. Article, discussion and reply.
  2. Judea Pearl, “Fusion, propagation, and structuring in belief networks”, Artificial Intelligence 29(3), 241–288, 1986.
  3. Robert E. Tarjan and Mihalis Yannakakis, “Simple linear-time algorithms to test chordality of graphs, test acyclicity of hypergraphs, and selectively reduce acyclic hypergraphs”, SIAM Journal on Computing 13(3), 566–579, 1984.
  4. Gregory F. Cooper, “The computational complexity of probabilistic inference using Bayesian belief networks”, Artificial Intelligence 42, 393–405, 1990.
  5. Finn V. Jensen, Steffen L. Lauritzen and Kristian G. Olesen, “Bayesian updating in causal probabilistic networks by local computations”, Computational Statistics Quarterly 4, 269–282, 1990.
  6. Steffen L. Lauritzen and Finn V. Jensen, “Local computation with valuations from a commutative semigroup”, Annals of Mathematics and Artificial Intelligence 21, 51–69, 1997.
  7. Prakash P. Shenoy and Glenn Shafer, “Axioms for probability and belief-function propagation”, in Uncertainty in Artificial Intelligence 4, 169–198, 1990.
  8. Prakash P. Shenoy, “A comparison of Lauritzen–Spiegelhalter, HUGIN, and Shenoy–Shafer architectures for computing marginals of probability distributions”, UAI, 1997.
  9. Robert G. Cowell, A. Philip Dawid, Steffen L. Lauritzen and David J. Spiegelhalter, Probabilistic Networks and Expert Systems, Springer, 1999.
  10. Daphne Koller and Nir Friedman, Probabilistic Graphical Models: Principles and Techniques, MIT Press, 2009.

Research-to-publication brief

Primary professional question. How can exact Bayesian evidence be propagated through a multiply connected expert-system network using reusable local calculations? Primary phrase. junction tree algorithm. Related language. moral graph; triangulation; chordal graph; clique potential; separator; running intersection; Bayesian network inference.

Audience and decision context. Researchers, engineers and technical leaders building or auditing probabilistic diagnosis, decision support and graphical-model inference. Original thesis. Compile the network into a decomposable tree of cliques, transfer among useful probability representations, and calibrate separator marginals so local tables yield exact global posteriors. Evidence boundary. Feasibility depends on compiled clique state spaces; correctness is conditional on the supplied graph, tables and evidence model.

Executive translation. Require an exact-inference system to disclose its moralisation, fill-in, elimination order, maximal clique state spaces, junction-tree invariant, evidence semantics and oracle tests. Reader questions. Which fill edges were added? What is the largest table? Does each variable occupy a connected clique subtree? Page title. When loops become a tree of cliques: Lauritzen and Spiegelhalter’s local computation. Description. A visual and executable guide to moralisation, triangulation, clique trees, separator messages, exact evidence propagation and complexity boundaries.