Ring-topology sensor fusion
Nodes are modalities, edges are fitted rotation and scale maps, consistency is checked around the ring.
Ring-topology sensor fusion
A proposal to test, built on the Plato's Key map form. Nodes are modalities (for example Wi-Fi CSI, mmWave radar, microphone, IMU). Each edge is a fitted map from one modality's centred representation into the next, a rotation Ri and scale si with its means, stored with an uncertainty from held-out data. Arranged as a closed ring, the edges can check each other.
- Local consistency (ring closure). If each node keeps one mean and one d-dimensional basis for both of its edges, composing the maps once around the ring should return close to where it started:
Rring = RN···R2R1 ≈ I. The closure residual‖Rring − I‖F/√d(0 for perfect closure, at most 2) is a health and drift metric for the whole ring. The scale product∏ siis a weaker check: with norm-ratio scales it telescopes to exactly 1 when every node's norm comes from the same events, so|∏ si − 1|only flags differences between the edges' fit sets or normalisation. One cycle gives one check and cannot say which edge moved; comparing each edge's recent refit with its stored fit can. - Consensus in shared coordinates. Each modality's observation, carried into a common reference node along the shorter way round, gives an estimate
ẑiwith a covariance from its edge uncertainties. The consensus is the precision-weighted meanz* = (Σ Wi)−1 Σ Wiẑi, withWithe inverse covariance. That weighting assumes independent errors; estimates that travel over the same edges are correlated, so the formula overstates confidence. Going both ways round gives two estimates whose disagreement is a per-event check. - Private residuals. The part of each modality's centred representation outside the shared subspace stays with that modality, as a private residual
ri = (zi − μi) − Pd(zi − μi)(Pd the projection onto the shared d dimensions). Modality-specific failures are expected to show up there first: multipath change for CSI, occlusion for cameras and lidar, thermal drift for IMUs and bolometers, saturation and clipping for microphones. - A low-dimensional shared subspace. For LLMs, ~256 principal components retained a median 74% of the full rotation's accuracy (as reported). For sensors that is a hypothesis: choose d from a measured retention curve, and expect it to differ per modality pair.
Ring versus star and full mesh
With N modalities, the number of independent cycles a map graph can check is its cycle rank, E − V + 1 for a connected graph. A ring has exactly one; each chord adds one.
| Topology | Maps to fit | Cycle checks | Single-edge failure | Notes |
|---|---|---|---|---|
| Ring | N | 1 | Becomes a chain: still connected, but the closure check is lost and the longest path grows to N−1 hops | Cheap and self-checking; paths up to ~N/2 hops, so composition error matters (the reported chain result is the LLM analogue) |
| Ring + k chords | N + k | 1 + k | Survives; the other cycles still check | Chords between modalities with strong shared physics (e.g. CSI ↔ radar) shorten paths and help localise a faulty edge |
| Star (hub = shared space or one modality) | N (abstract hub) or N−1 (modality hub) | 0 | The leaf on that edge is cut off; a hub fault takes out every map | Simple and one hop to the hub, but the hub is a single point of failure and nothing checks the maps against each other |
| Full mesh | N(N−1)/2 | (N−1)(N−2)/2 | Survives; many cycles check | Most redundant, but fit and refit cost grows quadratically and many edges between weakly related modalities will be poor fits |
Fitting and calibrating the edges
- Collect paired events on a common clock. The same physical events seen by both modalities, time-aligned (PTP or GNSS PPS, or a measured offset), with diffusive sensors' lag modelled.
- Encode each modality. A fixed, versioned per-modality encoder turns windows into vectors.
- Centre. Subtract the per-modality means
μon the fit set. - Reduce. PCA to a shared dimension d, with one fixed basis per modality used by all of its edges (otherwise ring closure is undefined). Set d from a retention curve; 256 was the LLM operating point (as reported), and sensor encoders may be much smaller.
- Rotate. Orthogonal Procrustes:
R = UVTfrom the SVD ofZ̃BZ̃AT. - Scale.
s = ‖Z̃B‖F/‖Z̃A‖F. - Check on held-out events. Measure transfer against the within-modality baseline (the self-swap analogue) on events not used in the fit, ideally from another session.
- Estimate uncertainty. Bootstrap the fit over events to get a spread for R, s and the transfer metric.
- Store the edge. R, s, means, d, uncertainty, fit-set digest, encoder versions, and the room and mount ids it was fit in. An edge is only valid in the context it was fit for.
- Refit on triggers. Encoder version change, node moved or remounted, firmware change, room layout change, or a sustained rise in ring closure residual or private residual.
Health, drift and common causes
The ring residuals are health signals and should feed the existing per-producer health lanes rather than replace them (see B. Sensor health and voting and Bundle patterns and C5 Q1). The grid already tags common causes: a shared board, clock, mount, band, firmware or host link (see Overlap: one board, several modalities).
- Edges between modalities that share a common cause are not independent evidence. CSI and UWB on one board, or two sensors on one clock, can agree because they share an error. A ring made of such edges can close perfectly while every node is wrong.
- Tag every edge with its common-cause groups (clock, mount, band, board, firmware) and count a cycle as a health check only if at least one edge in it joins modalities with no shared cause.
- Separate drift from faults. Slow growth in closure residual with stable private residuals suggests encoder or calibration drift (refit); a step in one modality's private residual suggests a sensor-side fault (that lane goes suspect).
- Keep evidence separate until decision time. The consensus estimate is a derived record; the per-modality observations and their lanes stay available, as the research on voting recommends. How the health verdict is formed (C5 Q1) is still open.
Practical RuView implications
An example ring for a RuView room: Wi-Fi CSI (ESP32 nodes) → mmWave radar → acoustic (mic) → IMU → back to CSI. None of these edges has been fit or measured. Presence, vitals and zone readouts stay "coming soon" in the app until physically qualified, and a ring does not change that; it is a way to test whether the modalities agree.
| Edge | Shared physics it relies on | Main risks | What to test |
|---|---|---|---|
| CSI ↔ mmWave radar | Both EM: body motion and Doppler, occupancy and coarse position | CSI multipath change when furniture moves; radar ghosts; the bands differ (2.4/5 GHz vs 24/60 GHz), but a shared host, power rail or clock is a common cause | Motion-event alignment and transfer on held-out sessions; closure with and without a moved object |
| mmWave radar ↔ acoustic | Vibration and micro-motion, breathing, footsteps | Acoustic saturation and background noise; radar micro-Doppler from fans and HVAC | Footstep and impact events seen by both; transfer vs the within-modality baseline |
| Acoustic ↔ IMU | Footfall and structure-borne vibration | IMU mount resonance and thermal drift; mic clipping; common mount if both are on one board | Impact events with the IMU on the floor or on a wearer; common-cause tag if co-mounted |
| IMU ↔ CSI | Gait and body motion of a wearer | The edge exists only while someone wears the IMU (phone or watch); clock offset between phone and nodes | Walking sessions with a worn IMU; ring closure with this edge present vs absent |
A useful chord to add first is CSI ↔ acoustic (both see footsteps and door events), which gives a second cycle that does not depend on the worn IMU.
What to test (all hypotheses)
Every row is a test to run, not a result. The reported LLM numbers are listed only as analogues for what kind of curve to look for; they are not targets, and sensor values may differ in either direction.
| # | Test | Metric | Pass idea | Reported analogue |
|---|---|---|---|---|
| 1 | Retention vs number of principal components (16 / 64 / 256 / 512) | Transfer at d as a fraction of the full-dimension map | A knee exists; choose d at the knee per modality pair | LLMs: 16 comps 4%, 256 comps 74%, 512 comps 87% |
| 2 | Chain A→B→C vs direct A→C | Chained transfer as a fraction of direct | Chaining loses little, so a ring is usable | LLMs: median 99% of direct (47 chains, none below 92%) |
| 3 | Self-swap analogue (within-modality baseline) | Cross-modal transfer as a fraction of within-modality performance | A clear shared part, well above a shuffled-pairs control | LLMs: median 73% (range 60–93%) |
| 4 | Ring closure under injected faults: occlusion, thermal drift, saturation, multipath change | ‖Rring − I‖F/√d, |∏ si − 1|, private residuals | Residuals rise with each fault and point at the faulted modality; stay flat on clean runs | None reported |
| 5 | Held-out room transfer | Transfer of edges fit in room 1 when used in room 2 | Know whether edges are room-bound (expected) and how much a refit recovers | None reported |
| 6 | Map family comparison: Procrustes + scale vs ridge regression, whitened maps, small MLP | Held-out transfer and stability across sessions | The simplest map that is within uncertainty of the best | The post reported ridge regression with rescaling as competitive |
| 7 | Fleet scale | Fit and refit cost, false alarms per day as nodes and modalities grow | Alarm count does not grow with fleet size (with false-discovery-rate control) | None reported (the LLM study used 12 models, 20 pairs, 8,800 facts) |