Distributed & Decentralized Fusion

Two radars track one aircraft from the same flight plan. Fuse their tracks naively three times and the claimed ellipse shrinks to a quarter of its first size, while the real error stays put. About half of the real errors then land outside a 95% ellipse. Honest bookkeeping keeps that near 5%.

Pick a fuser. Drag the exchanges and count the red dots: real errors outside the claimed 95% ellipse. Then we build, piece by piece, why the naive rule lies and four honest ways to fuse across a network.

You need the Kalman filter and inverse-variance fusion. We build the rest from zero.

A Gleam in the Estimation family. It takes the information filter and covariance intersection of the Sensor Fusion series out to whole networks. The devices and toy numbers are our own.

Fuse two radars that share a past

1

An illustrative toy in km. Both radars start from one shared prior (variance 1 km² per axis). Each sees range well and bearing poorly. The dots are 200 simulated fused errors. An exchange fuses the two nodes' latest answers again, with no new measurement.

Chapter 0

Two Radars, One Aircraft

Fuse the same two tracks again and again, and watch the confidence rise for no reason

Two radar sites track the same aircraft. Each sends a track: a best guess of the position plus a covariance ellipse that says how sure it is. You fuse the two tracks. The ellipse gets smaller. Does the error?

The rule from inverse-variance fusion adds information. Information is one over the variance: how much an estimate knows. The rule is right only if the two errors are independent, which means they share nothing.

These two share a lot. Both radars started from the same flight plan, a shared prior. Both chase the same gusts. And after one exchange, each track holds part of the other.

Exchange the same two tracks again

Two nodes share a prior, then each takes one reading. Press the button to fuse their answers again. The slider sets how sharp the shared prior is.

4.0

Illustrative scalar case: each node reads once with noise variance 1. Chapter 3 derives the numbers. Bars use a log scale.

Each exchange doubles the claimed information. No sensor measured anything new, so the real error does not move. The NEES (normalized estimation error squared) is the squared error divided by the claimed variance. For an honest scalar filter it averages 1. Here it starts at 1.2 and doubles every round: after ten exchanges it is 1.2 × 29 = 614.

The fault is double counting: evidence that both estimates already hold enters the sum twice. Every method in this lesson answers one question: what do we both already know?

Symptom: the claimed variance falls between measurements, when no new reading arrived.

Measure: NEES on runs with known truth, as in debugging consistency.

Fix: one of the four kinds of bookkeeping in Chapters 4, 5, 7 and 8.

The road

  1. What crosses the wire: raw readings, tracks, or neither.
  2. Fusion is addition: the information form, and its one condition.
  3. The double count: the shared prior counted twice. The hero's Naive button.
  4. Channel filters: subtract a ledger. The hero's Ledger button.
  5. Covariance intersection: blend when you cannot know. The hero's CI button.
  6. Track-to-track fusion: the target itself ties the errors.
  7. The federated filter: pay the prior in shares.
  8. Consensus: agree by averaging neighbours.
  9. The four-node network: every method, every topology, one lie detector.
  10. The field guide: numbers, code, links.
Two nodes fuse their tracks every second, with no new measurements. What happens?

Chapter 1

What Crosses the Wire

Choose what each site sends, and you choose what can go wrong

Four radar sites must act like one tracker. What goes down the wire: raw detections, or finished tracks? That one choice decides the rest. The full taxonomy is in fusion architectures. Here are the three shapes that matter.

ArchitectureWhat crosses the wireWho fusesDouble count risk
Centralizedraw detections, at sensor rateone central filternone: each reading enters once
Hierarchicaltracks, up to a fusion centrethe centreshared process noise; loops if the centre sends tracks back
Decentralizedtracks or information, peer to peerevery nodeeverywhere, and no node sees the whole network

Now size the messages. A position detection is about 3 numbers. A track report carries the n numbers of the state plus its covariance. The covariance is symmetric, so it needs n(n + 1)/2 numbers. A 6-state track is 6 + 21 = 27 numbers.

With numbers: a radar that sends 3-number detections at 50 Hz uses 150 numbers per second. Its 6-state track at 1 Hz uses 27. A track saves bandwidth by lowering the rate. Each message is nine times bigger.

Watch what flows, then kill a node

Small dots are raw detections. Bars are track reports. Pick an architecture, set the sensor rate, then kill the busiest node.

50
6

Illustrative loads: 4 sensors, 3-number detections, tracks at 1 Hz, a 4-node ring for the decentralized case with a message each way on each link.

Centralized is the most accurate: one filter sees every raw reading once. It loses for other reasons. It has one point of failure, needs full-rate links, and partners often will not share raw data.

Decentralized is this lesson's home. Each node (a site with its own filter) talks only to its neighbours. Kill one node and the rest go on. The price is that shared information is everywhere, and no node can see it all.

Symptom: every site loses its fused track when one box fails.

Measure: kill each node in simulation and count who still has a track.

Fix: give each site its own filter, then pay for it with careful bookkeeping.

In hierarchical fusion, what does each site send to the fusion centre?

Chapter 2

Fusion Is Addition, If the Evidence Is New

Write each belief as information, and independent evidence simply adds

Three sensors measure the same temperature. One is twice as sharp as the others. How should their readings combine? The information filter gives a rule you can do on a napkin.

Write the belief in two numbers. The information matrix Y is one over the covariance: it grows as you get surer. The information vector y is Y times the estimate. Start from the prior, with information Y0 and vector y0. Sensor k gives a reading zk with noise covariance Rk. Its Hk maps the state to what that sensor sees.

Say it aloud

Y equals Y-nought plus the sum over k of H-k transposed, R-k inverse, H-k. And y equals y-nought plus the sum over k of H-k transposed, R-k inverse, z-k.

Y
Y the fused information: one over the fused covariance.
Y0
Y-nought the prior's information. Zero if there is no prior.
Σk
the sum over k one term for each sensor.
HkT
H-k transposed maps the sensor's view back to the state. For a sensor that reads the state directly, H-k is 1.
Rk−1
R-k inverse one over sensor k's noise variance: its sharpness.
y
y the fused information vector. The estimate is y divided by Y.
y0
y-nought the prior's information vector.
zk
z-k sensor k's reading.
In plain words

Turn each sensor into its sharpness R-k inverse. Add the sharpnesses to the prior's Y-nought to get Y. Add each reading z-k times its sharpness to get y. The estimate is y over Y.

With numbers

With made-up numbers: no prior, R = 4, 2 and 4, readings z = 10.4, 9.9 and 10.1. Y = 0.25 + 0.5 + 0.25 = 1.0, so the fused variance is 1.0. y = 2.6 + 4.95 + 2.525 = 10.075, so the estimate is 10.075 / 1.0 = 10.075. The best single sensor had variance 2: fusion doubled the sharpness.

Add three sensors' information

Each slider sets one sensor's noise variance. Its information bar is one over that. Watch the bars stack and the fused estimate move toward the sharpest sensor.

4.0
2.0
4.0

Illustrative readings 10.4, 9.9 and 10.1, no prior, each sensor reading the state directly.

The sum is exact only under one condition. The readings must be conditionally independent: once you know the true state, their errors share nothing. Two raw readings from separate sensors pass. Two tracks never do, because they share a prior and they chase the same target.

The pieces HkTRk−1Hk are called information increments. They are local and cheap. Chapter 8 averages exactly these across a network.

Symptom: a fused variance far below any single sensor's, on sources that share history.

Measure: ask, for each pair of sources, what they hold in common: a prior, a target, a past message.

Fix: add only increments that are new. Everything else needs the methods below.

The rule "fused information is the prior plus the sum of the increments" is exact when...

Chapter 3

The Double Count

Catch the shared prior voting twice, then watch a rumour lap a loop

Here is the smallest case. Two nodes start from one shared prior: mean 0, variance 4, so information 0.25. Node A reads zA = 1.2. Node B reads zB = 0.8. Both readings have noise variance 1. Each node does a correct Bayes update.

  1. Node A: YA = 0.25 + 1 = 1.25 and yA = 1.2. Mean 0.96, variance 0.8.
  2. Node B: YB = 1.25 and yB = 0.8. Mean 0.64, variance 0.8.
  3. Naive fusion adds them: Y = 2.5, y = 2.0. Mean 0.8, claimed variance 0.4.
  4. A central filter sees the prior once: Y = 0.25 + 1 + 1 = 2.25. Mean 0.889, variance 0.444.

Name the pieces. Call the naive sum Ynaive, the central filter's information Ycentral, and the shared prior's information Y0.

Say it aloud

Y-naive equals Y-A plus Y-B, which equals Y-central plus Y-nought.

Ynaive
Y-naive what naive fusion claims to know.
YA
Y-A node A's information: the prior plus A's reading.
YB
Y-B node B's information: the prior plus B's reading.
Ycentral
Y-central the right answer: the prior once, plus both readings.
Y0
Y-nought the shared prior's information: the part counted twice.
In plain words

Each node's Y holds one copy of the prior. Add Y-A and Y-B and you get two copies. So the naive sum is the right answer Y-central plus one extra Y-nought.

With numbers

1.25 + 1.25 = 2.5, and 2.25 + 0.25 = 2.5. The excess is exactly the prior's 0.25.

Does it matter? The naive mean is (zA + zB)/2.5. Its real error variance works out to (0.25 × 4 + 2)/6.25 = 0.48. It claims 0.4. So its NEES is 0.48 / 0.4 = 1.2: a 20% lie from one shared prior. A Monte Carlo run of 400,000 trials gives 0.479.

Send one reading around a loop

Node A makes one reading, worth 1 unit. Each step it hops to the next node inside that node's estimate, and the receiver adds it. Break the loop and compare.

3

Illustrative. Each node adds what it receives, as naive fusion does. The dashed line is the true total: one unit, from one reading.

In a loop it gets worse. A's reading travels A to B to C and back to A. A cannot see its own reading inside C's estimate, so it adds it again. This is rumour propagation: confidence climbs each lap and no new data arrives.

Symptom: the gates shrink, true readings get rejected as outliers, and the track diverges while it reports its best confidence ever.

Measure: NEES above its 95% band, with the excess growing at each exchange.

Fix: track the overlap (Chapter 4), bound it (5), pre-pay it (7) or average it (8).

Two nodes share a prior, each update correctly, then add their informations. The result is...

Chapter 4

Channel Filters: Subtract What You Share

Keep a ledger on each link of what both ends know, and take it out at fusion time

If the fault is counting shared evidence twice, the fix is an accountant. On each link, keep a running record of what the two ends both know. Subtract it when they fuse.

The record is a channel filter: a small filter that lives on the link and stores the common information. It is the core of the decentralized data fusion design of Grime and Durrant-Whyte (1994). Call the two nodes' information YA and YB, the ledger Ych, and the fused result Yf.

Say it aloud

Y-f equals Y-A plus Y-B, minus Y-c-h.

Yf
Y-f the fused information both nodes hold after the exchange.
YA
Y-A node A's information before the exchange.
YB
Y-B node B's information before the exchange.
−
minus take the shared part out once.
Ych
Y-c-h the channel ledger: what A and B both already know. The information vector y uses the same rule.
In plain words

Add the two nodes' information Y-A and Y-B. Each holds one copy of the shared part, so subtract the ledger Y-c-h once. Then store Y-f as the new ledger.

With numbers

The Chapter 3 case: the ledger holds the prior, 0.25. Y-f = 1.25 + 1.25 − 0.25 = 2.25, and y-f = 1.2 + 0.8 − 0 = 2.0. Mean 0.889, variance 0.444: the central answer exactly.

One round on one link, step by step:

  1. Both nodes and the ledger run the same predict step.
  2. Each node adds its own new reading.
  3. They swap their information.
  4. Each computes YA + YB − Ych.
  5. Both nodes and the ledger now hold the result.

On a tree (a network with no loops), each node keeps one ledger per neighbour, and the whole network matches a central filter exactly. The reason: each link cuts the tree into two halves, so the link's ledger sees all that the halves share. On a loop, A's reading reaches C by two paths. The A–C ledger knows only what crossed A–C, so the copy that came through B looks new.

Run the ledgers on a chain, then close the loop

Each round: predict, read, then swap along the links, subtracting each ledger. Compare node A's bar with the dashed central filter. Then add the A–C link.

1.00

Illustrative scalar random walk, process noise 0.05 per round, prior variance 4. Swap order on the chain: C to B, B to A, A to B, B to C. With the loop, A and C also swap directly.

Symptom: a channel-filter network that was exact starts to drift overconfident after a link reroutes or a message drops.

Measure: compare each node with a central filter in simulation, and log every topology change and lost packet.

Fix: enforce a spanning tree by protocol, or use covariance intersection on the links you cannot keep tree-shaped.

What does a channel filter store?

Chapter 5

Covariance Intersection: Fuse Without Knowing

Blend the two informations with weights that add to one, and the shared part can only enter once

A ledger needs you to know what the other node knows. On a real network, with loops, drops and nodes that join late, you cannot. Covariance intersection (CI), from Julier and Uhlmann (1997), fuses safely without that knowledge. The full treatment is in covariance intersection.

Call the weight on node A ω, a number from 0 to 1. Node B gets 1 − ω. Call the blended information YCI.

Say it aloud

Y-C-I equals omega times Y-A, plus one minus omega, times Y-B.

YCI
Y-C-I the fused information CI claims. The vector y uses the same weights.
ω
omega the weight on A, from 0 to 1. Chosen to make the fused ellipse as small as it can be.
YA
Y-A node A's information.
1 − ω
one minus omega the weight on B. The two weights add to one.
YB
Y-B node B's information.
In plain words

Scale A's information Y-A by omega and B's Y-B by one minus omega. Add them. Naive fusion uses weights 1 and 1; CI uses weights that add to 1.

With numbers

The Chapter 3 nodes at ω = 0.5: Y-C-I = 0.5 × 1.25 + 0.5 × 1.25 = 1.25, so CI claims variance 0.8, mean 0.8. The real error variance of that mean is 0.48, which is below 0.8: honest. The exact answer was 0.444, so CI is 1.8 times too cautious here.

Why can CI never double count? Think of the two beliefs as densities and suppose both hold a shared factor, the rumour. CI raises A's density to the power ω and B's to 1 − ω, then multiplies them. The shared factor gets the power ω + (1 − ω) = 1, so it enters once, for every ω. Naive fusion multiplies the densities whole, so the shared factor enters squared.

How do you choose ω? Try every ω from 0 to 1 and keep the one, ω*, that makes the area of the fused ellipse smallest. With made-up 2-D tracks PA = [1, 0.2; 0.2, 0.5] and PB = [1.5, −0.1; −0.1, 0.3], the determinants are 0.46 and 0.44. The search lands on ω* = 0.447 with determinant 0.406: smaller than either. Naive fusion would claim a determinant of 0.102, a promise that fails for some correlations.

Turn ω and test CI against every truth

Blue and warm are tracks A and B. Grey ellipses are the real error of the fused estimate for five possible hidden correlations. Turn ω, or press Optimize. Show the naive fuse to compare.

0.20

Illustrative pairs. The first is the 2-D example above. Each grey ellipse is the real error of the fused mean for one hidden correlation ρ = −1, −0.5, 0, 0.5 or 1. The cross-covariance is ρ times the square roots of PA and PB. Ellipses are 1-sigma.

Symptom: a CI network is safe but its tracks are wide, and NEES sits well under its expected value.

Measure: on test runs, compare CI's claimed variance with the real one; a ratio near 2 is a big cost.

Fix: use exact fusion where you can prove the overlap, and CI only at the boundary where you cannot.

Why can CI never count shared information twice?

Chapter 6

Track-to-Track Fusion: The Target Ties the Errors

Even independent radars give correlated tracks, so weigh them with the cross-covariance

Two radars have separate noise and separate starts. Are their tracks independent? No. One gust pushes the aircraft and surprises both filters the same way. There is one target, so both filters feel the same process noise (the random push on the target each step).

Take a scalar random walk. Call the two filter gains KA and KB, and the process noise variance Q. The cross-covariance PAB(k) measures how the two track errors move together at step k.

Say it aloud

P-A-B of k equals one minus K-A, times P-A-B of k minus one plus Q, times one minus K-B.

PAB(k)
P-A-B of k how much the two track errors move together after step k.
1 − KA
one minus K-A the share of the old error that track A keeps after its update.
PAB(k−1)
P-A-B of k minus one the shared error from the step before.
Q
Q the process noise variance: one push, felt by both filters.
1 − KB
one minus K-B the share track B keeps.
In plain words

Add this step's shared push Q to the old shared error P-A-B. Each update then keeps only part of it: multiply by one minus K-A and one minus K-B. The separate measurement noises add nothing.

With numbers

With made-up numbers: Q = 0.1, reading variances 1 and 1.5, P-A-B starting at 0. At steady state P-A = 0.270, P-B = 0.341 and P-A-B = 0.129: a correlation of 0.43 (a Monte Carlo run gives 0.428).

Now fuse two tracks with a known cross-covariance. Call their variances PA and PB, and the best weight on A w*. This is the Bar-Shalom and Campo (1986) result.

Say it aloud

w-star equals P-B minus P-A-B, over P-A plus P-B minus two P-A-B.

w*
w-star the weight on track A that gives the smallest fused variance.
PB
P-B track B's variance.
PAB
P-A-B the cross-covariance of the two track errors.
PA
P-A track A's variance.
In plain words

Subtract the shared part P-A-B from B's variance P-B. Divide by P-A plus P-B minus two P-A-B. That share goes to A.

With numbers

With made-up numbers: x-A = 10.6 with P-A = 1.0, x-B = 9.8 with P-B = 1.5, P-A-B = 0.4 (correlation 0.327). The bottom is 1 + 1.5 − 0.8 = 1.7. w* = 1.1 / 1.7 = 0.647. The fused mean is 0.647 × 10.6 + 0.353 × 9.8 = 10.318.

Call the fused variance PF:

PF = (PAPB − PAB2) / (PA + PB − 2PAB) = (1.5 − 0.16) / 1.7 = 0.788

Naive weights 0.6 and 0.4 ignore PAB. They claim 0.6 but deliver 0.36 + 0.24 + 0.192 = 0.792: 1.32 times overconfident. Limits: PAB = 0 gives ordinary fusion; PAB = PA gives w* = 1, because B is then A plus extra noise.

Drag the correlation the naive fuser ignores

Each dot is one real fused error. The shaded band is what the fuser claims (2 sigma). Drag the correlation and watch the naive band stay frozen while the dots spread.

0.33

Illustrative: PA = 1, PB = 1.5, 300 simulated error pairs with correlation ρ. At ρ = 0.327 this is the worked example.

Symptom: a fusion centre's tracks are overconfident even though every radar is well tuned.

Measure: run the PAB recursion offline with both filters' gains, and check the correlation.

Fix: use Bar-Shalom and Campo if you know both gains each step; otherwise use CI.

Two radars have independent noise. Where does the cross-covariance of their tracks come from?

Chapter 7

The Federated Filter: Pay the Prior in Shares

Split the shared information before anyone filters, and plain addition becomes legal

A ledger removes the overlap after the fact. The federated filter (Carlson, 1990) splits it out before anyone filters. A master filter sits above N local filters, one per sensor suite. The classic host is aircraft navigation: GPS with an inertial unit, a baro altimeter, a star tracker (see INS/GNSS coupling).

The trick is an information-sharing factor for each local filter. Call local i's share βi, its posterior information Yi, and its own reading's increment Ii. Local i starts with only βi of the prior's information Y0.

Say it aloud

The sum over i of Y-i equals the sum over i of beta-i, times Y-nought, plus the sum over i of I-i.

Σi Yi
the sum over i of Y-i what the master gets by adding the locals.
Σi βi
the sum over i of beta-i the total of the shares. Set it to 1.
Y0
Y-nought the shared prior's information.
Σi Ii
the sum over i of I-i each local's own new readings. These are separate, so they add.
In plain words

Give local i the prior scaled by its share beta-i. Let it add its own reading I-i. When the master adds all the Y-i, the prior comes back as the sum of the shares times Y-nought. If the shares add to 1, the prior counts once.

With numbers

The Chapter 3 case with β = 0.5 each: each local's prior information is 0.5 × 0.25 = 0.125 (variance 8). Each local posterior is 1.125 (variance 0.889). The master adds: 1.125 + 1.125 = 2.25. Mean 2.0 / 2.25 = 0.889, variance 0.444: the central answer.

Set the shares and stack the master

Pink is each local's share of the prior. Blue and warm are its own reading. The master stacks them all. Make the shares add to more or less than 1 and watch the master miss the dashed central line.

0.50
0.50

The Chapter 3 numbers: prior information 0.25, each reading worth 1, readings 1.2 and 0.8. A static case.

Over time it is less clean. The locals share the process noise too, so each one inflates it: Qi = Q / βi. That bounds the cross-correlation instead of reproducing it. So a moving federated filter is conservative: it never claims more than the central filter, but it is not exact.

ModeAfter each fusionGainCost
Fusion-resetthe master resets every local to its share of the fused answerbest accuracya fault in one sensor spreads to all locals
No-resetlocals never hear backa spoofed GPS corrupts only its own local, and the master can drop itless accuracy between fusions

Symptom: a federated master is overconfident after someone tuned the shares by hand.

Measure: add up the βi. More than 1 counts the prior more than once.

Fix: normalize the shares to add to 1, for the prior and for Q.

Why must the sharing factors βi add to 1?

Chapter 8

Consensus: Agree by Averaging Neighbours

Repeat a local average, and every node learns a global sum no node could see

Each node talks only to its neighbours. Yet the central update needs the sum of every node's information increment. How can a node learn a sum over nodes it never hears from?

By average consensus. Each node holds a value. Call node i's value at iteration k ui(k). At each iteration it replaces its value with a weighted average of its own and its neighbours'. Call the weight node i gives node j Wij.

Say it aloud

u-i of k plus one equals the sum over j of W-i-j times u-j of k.

ui(k+1)
u-i of k plus one node i's new value.
Σj
the sum over j over node i itself and its neighbours only.
Wij
W-i-j the weight node i gives node j. Each row and each column of W adds to 1.
uj(k)
u-j of k node j's value now.
In plain words

Each node averages its own and its neighbours' values u-j with weights W-i-j. Every column of W adds to 1, so the total never changes. On a connected graph, every value moves toward the average.

With numbers

Four nodes in a chain 1–2–3–4. Node 1 holds 4, the rest 0; the average is 1. One iteration gives [2.667, 1.333, 0, 0]. Two give [2.222, 1.333, 0.444, 0]. Ten give [1.194, 1.081, 0.919, 0.806]. The sum stays 4.

The example uses Metropolis weights. Call a node's number of neighbours its degree d. On each link, Wij = 1/(1 + max(di, dj)), and the node's own weight takes the rest. On the chain every link weight is 1/3. Each node needs only local facts.

Let one hot node spread its value

One node holds all the value; the rest hold 0. Step the averaging and watch every node funnel into the dashed average. Change the topology and compare the rate.

4

Metropolis weights. The rate λ2 is the second largest eigenvalue size of W, computed on the page.

How fast? The spread between nodes shrinks by a fixed factor each iteration: λ2, the second largest eigenvalue size of W. For the 4-node chain λ2 = 0.805. To get within 10−5 takes about ln(10−5)/ln(0.805) = 53 iterations; a direct run needs 56. A 4-node ring has λ2 = 0.333. More links mean faster agreement.

The consensus information filter averages the increments for L iterations, then multiplies by N: the update needs the sum, not the mean. With small L the mixing is incomplete, each node counts itself too much, and the filter turns overconfident. The fix is consensus on whole posteriors with CI-style weights (Battistelli and Chisci, 2014). Each step is a convex blend, so it stays honest for any L.

Symptom: a consensus filter is honest in simulation but overconfident on the radio budget you can afford.

Measure: NEES against L, the iterations per reading.

Fix: consensus on posteriors with convex weights, which stays consistent at any L.

The consensus information filter multiplies the converged value by N. Why?

Chapter 9

The Four-Node Network

Run every method on every topology, and let the NEES trace say which one lies

Four sensor nodes sit at the corners of a field. One target wanders across it. Each node sees range well and bearing poorly, so each ellipse points a different way. Each node runs its own filter and talks only along the links.

The lie detector is the NEES. Call the position error of node A's estimate e and its claimed covariance P.

Say it aloud

Epsilon equals e transposed, P inverse, e.

ε
epsilon the NEES: the error measured in units of the claimed spread.
eT
e transposed the error, the estimate minus the truth, as a row.
P−1
P inverse one over the claimed covariance: the claimed information.
In plain words

Divide each part of the error e by the spread that P claims in that direction, square it, and add. An honest 2-D filter averages 2. Far above 2 means P is too small.

With numbers

With made-up numbers: e = (0.1, −0.05) km and P = diag(0.01, 0.0025) km². ε = 0.01/0.01 + 0.0025/0.0025 = 1 + 1 = 2. On target.

The device runs 40 copies of the network side by side and plots the mean NEES of node A. For 40 runs its 95% band is 1.43 to 2.67. Predict each cell of the table before you run it.

Pick a topology and a fuser, then read the NEES

Left: node A's fused ellipse (method colour) and the dashed central filter. Right: node A's mean NEES with its band shaded. Past runs stay as faint traces.

0.03

Illustrative 2-D target that drifts, with a weak pull back to the centre (factor 0.98 per step). Each time step: predict, read, then 3 rounds of exchange along the links. Channel mode passes each round only what the link has not carried yet, the ledger arithmetic of Chapter 4. The small ellipses at the nodes show each sensor's reading noise.

Our numpy run of the same toy (40 runs, steps 30 to 60) gives this table of node A's mean NEES:

FuserChainTreeLoopVerdict
Naive364475overconfident everywhere
Channel filter2.002.003.41exact on trees, lies on the loop
CI1.341.281.29honest everywhere, a bit cautious

Read the second row twice. The same channel code is exact on the chain and the tree, then fails on the loop. The fault is the shape of the network, not a bug. CI's claimed variance is 2.6 times the central filter's (0.068 against 0.026, summed over both axes): that is the price of never lying.

Symptom: one node looks healthy while the network is not.

Measure: plot every node's NEES against its band, and audit the worst node.

Fix: pick the method from the topology: ledgers on proven trees, CI everywhere else.

On the loop, the channel filter over-counts even though every ledger works. Why?

Chapter 10

The Field Guide

Pick the method from what you know and what you must guarantee

Shared information is the quantity that every method manages. Channel filters track it. CI bounds it. The federated filter pre-pays it. Consensus spreads it into an average. Naive fusion ignores it, and the NEES shows it.

The methods

MethodExact?Honest?NeedsWhere it ships
Naive additionnononothingbug reports
Channel filteryes, on treeson trees with reliable linksa tree and per-link historydecentralized robotics
Bar-Shalom–Campobest linear, given PABif PAB is rightboth filters' gains each steptrack fusion centres
Covariance intersectionno, cautiousyes, any correlationnothingad hoc and loopy networks
Federated (β-split)static yes, moving cautiousyesa master and fixed localsintegrated navigation
Consensus with CI weightsapproaches it as L growsyes, any Lneighbours' degreeslarge sensor networks

Terms and numbers

TermMeaningNumber in this lesson
Double countshared evidence enters the sum twiceclaim 0.4, real 0.48, NEES 1.2
Track messagen + n(n + 1)/2 numbers27 for a 6-state track
Ledgercommon information on a link2.5 − 0.25 = 2.25
CI weight ω*minimizes the fused determinant0.447, det 0.406
Track correlationfrom shared process noise0.43 at steady state
BC weight w*best weight with known PAB0.647, PF 0.788
Shares βimust add to 10.5 + 0.5 gives 0.444
λ2consensus rate per iteration0.805 (chain of 4)

Before you ship a fusion network

The core, in code

A two-node channel filter on a moving target, checked against the central filter at every step:

python
import numpy as np
F = np.array([[1, 1.0], [0, 1]]); Q = 0.05 * np.array([[1/3, 1/2], [1/2, 1]])
H = np.array([[1.0, 0.0]]); RA, RB = 1.0, 2.25
def to_info(x, P): Y = np.linalg.inv(P); return Y, Y @ x
def from_info(Y, y): P = np.linalg.inv(Y); return P @ y, P
def predict(Y, y):
    x, P = from_info(Y, y); return to_info(F @ x, F @ P @ F.T + Q)
rng = np.random.default_rng(7)
x = np.array([0.0, 1.0]); x0, P0 = np.array([0.0, 0.8]), np.diag([4.0, 1.0])
Yc, yc = to_info(x0, P0); YA, yA = Yc.copy(), yc.copy(); YB, yB = Yc.copy(), yc.copy()
L, l = Yc.copy(), yc.copy()                      # the channel ledger
for k in range(25):
    x = F @ x + rng.multivariate_normal(np.zeros(2), Q)
    zA = H @ x + rng.normal(0, RA ** 0.5, 1); zB = H @ x + rng.normal(0, RB ** 0.5, 1)
    IA, iA = H.T @ H / RA, H.T @ zA / RA; IB, iB = H.T @ H / RB, H.T @ zB / RB
    Yc, yc = predict(Yc, yc); Yc, yc = Yc + IA + IB, yc + iA + iB
    YA, yA = predict(YA, yA); YA, yA = YA + IA, yA + iA
    YB, yB = predict(YB, yB); YB, yB = YB + IB, yB + iB
    L, l = predict(L, l)                         # the ledger predicts too
    Yf, yf = YA + YB - L, yA + yB - l            # add, minus what both know
    YA, yA = Yf.copy(), yf.copy(); YB, yB = Yf.copy(), yf.copy(); L, l = Yf.copy(), yf.copy()
xf, Pf = from_info(Yf, yf); xc, Pc = from_info(Yc, yc)
assert np.allclose(xf, xc) and np.allclose(Pf, Pc)   # exact on a two-node tree

Keep going

Sources

  1. Bar-Shalom and Campo (1986), on the effect of common process noise on two-sensor fused-track covariance. The w* and PF formulas.
  2. Grime and Durrant-Whyte (1994), data fusion in decentralized sensor networks. Channel filters.
  3. Julier and Uhlmann (1997), covariance intersection.
  4. Carlson (1990), the federated square-root filter.
  5. Xiao and Boyd (2004), fast linear iterations for distributed averaging. Metropolis weights and the λ2 rate.
  6. Battistelli and Chisci (2014), consensus on densities with CI-style weights.
Before you fuse, ask what the two estimates both already know. Then track it, bound it, pre-pay it or average it. Never add it twice.

Now press Present or Teach and explain from memory: the double count, the ledger, CI's weights, the shared process noise, the β shares and consensus. Then go back to the hero, set three exchanges and say why only the Naive button turns the dots red.

Distributed & Decentralized Fusion
Back to Gleams