Latent Channel Completion for Forecasting in Sensor Networks with Failed Detectors

Mehran Shabanpour, Sadaf Khademi, Maryam Hosseini, Haiyan Xu, Konstantinos N. Plataniotis, Arash MohammadiarXiv 2026

TL;DR

When forecasting traffic or utility loads across a grid of sensors, pooling data across the whole network makes predictions much sharper—until a few sensors die and their placeholder values poison the shared representation for every healthy sensor. Instead of trying to guess the dead sensors' raw, noisy readings, this paper introduces Latent Channel Completion (LCC), which predicts their missing internal embeddings directly from the surviving sensors. Even if half the network goes dark, LCC keeps forecasts for the remaining operational sensors almost completely intact, with zero accuracy penalty during normal operation.

What Problem Does This Paper Address?

Imagine a highway traffic network with hundreds of loop detectors. If you forecast each sensor's future traffic using only its own past (a channel-independent model), you leave a lot of spatial context on the table. Modern channel-dependent forecasters pool information across all sensors into a shared representation, slashing prediction error by 39% to 63% when everything is working.

Here is the catch: standard ML benchmarks assume every sensor reports 100% of the time. In the real world, power outages and broken links routinely knock sensors "dark." When that happens, monitoring pipelines typically feed the model a default fallback, like the sensor's historical average. The model dutifully embeds that fake flatline as a real observation and mixes it into the shared network pool. Suddenly, a dead detector on Highway A corrupts the forecast for a perfectly healthy detector on Highway B. Worse yet, if enough sensors fail, that fancy coupled model can actually perform worse than a simple model that ignores neighboring sensors altogether.

Methods

The authors observe a simple architectural truth: the network's cross-sensor mixing layer never actually looks at raw time-series readings—it only consumes fixed-size per-sensor embeddings. Reconstructing a long window of raw, noisy sensor measurements is therefore solving a harder problem than the model actually requires.

Fig. 1. Sensor failure in a coupled forecaster, and where completion intercepts it. A dark sensor is replaced by a training statistic, embedded as though it were a reading, and absorbed into the pooled representation that every channel receives, degrading forecasts for sensors whose own data is intact (dashed route). Latent Channel Completion predicts the missing embedding from the surviving ones before pooling (solid route); the pooling operator and forecasting head are shared between the two.

Building on the aggregate-and-dispatch backbone SOFTS, the authors propose Latent Channel Completion (LCC), adapting Joint-Embedding Predictive Architectures (JEPA) from the time axis to the channel (sensor) axis:

  • Latent Masking & Completion: When the monitoring system flags a sensor as dark, its embedding is replaced with a learned mask vector. A lightweight completion block then predicts the missing embedding using the embeddings of the surviving sensors, leaving healthy sensor embeddings untouched.
  • Stop-Gradient Targets: During training, random subsets of channels are masked, and the completion operator learns to predict their true embeddings. A stop-gradient prevents the encoder from cheating by collapsing all embeddings to a trivial constant.
  • Dual-Path Training: If the forecasting head only ever trained on "completed" representations, normal days (zero failures) would look out-of-distribution. LCC runs both the clean path and the masked-completion path through the exact same shared forecasting parameters during training. At inference, if no sensors are dark, the completion block is bypassed completely—costing zero extra compute.

Datasets

The authors evaluate on five public real-world monitoring benchmarks using standard chronological splits:

  • PEMS03, PEMS04, and PEMS08: California highway traffic-detector networks (358, 307, and 170 sensors respectively, sampled every 5 minutes).
  • Traffic: A larger road-occupancy network (862 sensors).
  • Electricity: Hourly power consumption across 321 clients.

To isolate how failures hurt healthy locations without changing the grading curve, the authors introduce a paired failure protocol: half of each network's sensors are locked into a permanent, never-failing evaluation set, while outages of increasing severity are simulated strictly within the remaining half.

Key Insights and Ideas

  • Fix the representation, not the raw data: Predicting a compact $D$-dimensional embedding is an easier statistical estimation problem than reconstructing $L$ raw time steps. Holding the available surviving sensor data constant, latent completion consistently beats strong data-space regression imputation—especially as outages pile up.
  • Inference completion does the heavy lifting, not data augmentation: You might suspect that randomly masking channels during training simply acts like dropout, toughening up the backbone. By taking a trained LCC model and turning off the completion step at test time, error spikes by over 31%–37%, proving that active latent reconstruction at inference is the real magic.
  • A "free" pre-deployment litmus test: Across all five datasets, the accuracy LCC preserves during a massive outage tracks how much coupling helped on clean data in the first place. Operators don't need historical outage logs to decide if LCC is worth deploying; they just train a coupled and an uncoupled model on clean data. If the gap is big, deploy LCC; if it's tiny (like on Electricity or Traffic), stick with the simpler independent model.

Key Results

Accuracy advantage of channel coupling as detectors go dark across three PEMS traffic networks.

Fig. 2. Accuracy advantage of channel coupling as detectors go dark, measured against a channel-independent reference (dashed line at zero). Bands span the two seeds. The coupled backbone loses its advantage as sensors fail and on PEMS03 falls below the uncoupled reference, while the same backbone with latent completion holds its advantage across the range.

Measured by "mixing advantage" (percentage MSE improvement over the channel-independent PatchTST baseline):

  • Invariance to massive outages: When 50% of the network goes dark, the unmodified SOFTS backbone loses between 10.2 and 50.3 percentage points of its advantage—dropping from +42.9% to −7.4% on PEMS03 (meaning coupling actively hurts). With LCC, the advantage holds steady at 42.0% on PEMS03 (−1.0 point), 63.6% on PEMS04 (−0.5 points), and rises to 49.0% on PEMS08 (+8.8 points).
  • Beating data-space imputation: Compared to cross-channel ridge regression (which reconstructs raw sensor readings from the exact same surviving sensors), LCC cuts forecasting error by a further 13.9% on PEMS03 and 28.6% on PEMS04 under full pool failure.
  • No clean-data tax & modest overhead: When all sensors are online, LCC matches its unmodified backbone within random seed noise (0.2–1.2 percentage points). During outages, the extra completion block adds ~1.3M parameters (to a 3.75M backbone) and increases millisecond-scale inference latency by 8.6% to 69.4% relative to ridge imputation.

Limitations and Future Work

  • Requires declared failures: LCC assumes the system knows which sensors are offline (standard when a transmission stream drops). It cannot handle "silent" faults where a broken sensor keeps broadcasting plausible-looking garbage.
  • Ignores partial-window history: If a sensor dies halfway through a lookback window, LCC throws away the valid early readings and rebuilds the entire embedding from neighboring sensors. Conditioning the completion operator on that surviving prefix is a natural next step.
  • Synthetic random failures: Outages were simulated uniformly at random. Real-world blackouts are often spatially clustered or triggered by severe weather—the exact moments when traffic is hardest to predict. Testing on real historical outage logs and attributing importance to specific sensors to guide maintenance crews remain open directions.

Summary updated

Abstract

Monitoring networks for traffic and utility infrastructure lose sensors routinely, and forecasting models that couple sensors together to gain accuracy also inherit an exposure to those losses. When a detector stops reporting, the substituted value is embedded as though it were a reading and propagates through the shared representation that couples the network, degrading forecasts for sensors that are still healthy. Because these models are selected on benchmarks where every sensor reports, the exposure is absent from the numbers used to choose them. We introduce Latent Channel Completion, a channel-axis joint embedding predictive objective that reconstructs missing sensors' latent representations rather than their values, since a coupling operator consumes embeddings and never sees raw readings. Channels are masked during training and their representations predicted from surviving channels against stop-gradient targets; at inference the operator fills in whichever sensors the monitoring system reports as dark, using parameters shared with the forecaster. On three highway detector networks, after half of each network goes dark, the accuracy advantage of coupling changes by -1.0, -0.5 and +8.8 percentage points, against losses of 10.2 to 50.3 points for the unmodified forecaster, which on one network falls behind an uncoupled reference entirely. Against cross-channel ridge imputation drawing on the same surviving sensors, completing the latent lowers error by a further 13.9% and 28.6%, and on complete inputs, the method matches its backbone. The benefit tracks how much a network gains from coupling when intact, giving operators a criterion evaluable before any outage occurs.
BibTeX
@misc{shabanpour2026latent,
  author = {Mehran Shabanpour and Sadaf Khademi and Maryam Hosseini and Haiyan Xu and Konstantinos N. Plataniotis and Arash Mohammadi},
  title = {{Latent Channel Completion for Forecasting in Sensor Networks with Failed Detectors}},
  year = {2026},
  eprint = {2611.31575},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.31575},
}
Figure