A Sparsity Analysis of Traffic Forecasting Architectures: How Much Missing Data is Too Much?

Mohamed Hamad, Bilal Mutahir, Mohamed Mabrok, Nizar Zorba, Hamid Saeedi, Halim YanikomerogluarXiv 2026

Imagine it’s a rainy Tuesday night. You’re a city engineer responsible for the traffic flow of a major metropolitan area. You’ve just deployed a state-of-the-art AI model that promises to predict traffic jams before they happen. But then, a communication hub goes down, and 10% of your sensors go dark. Does your expensive AI model provide a graceful fallback, or does it start hallucinating gridlock where there is none?

This paper, "A Sparsity Analysis of Traffic Forecasting Architectures," tackles exactly this nightmare. It asks a simple but uncomfortable question: How much missing data is too much for our current AI architectures?

TL;DR

Most traffic AI is tested on "perfect" data, but real-world sensors fail constantly. This study reveals a startling "Glass Cannon" effect: the models that are most accurate under ideal conditions are often the first to crumble when sensors go offline. If your sensor network isn't 100% reliable, the "best" model on the leaderboard might actually be your worst choice for deployment.

What Problem Does This Paper Address?

In the academic world, traffic forecasting models are usually benchmarked on pristine, complete datasets. In the real world, sensors are fragile. They suffer from power outages, hardware failures, and "silent" errors.

When data goes missing at the moment of prediction (inference time), most models struggle. While researchers have spent a lot of time on imputation (filling in missing historical data before training), they haven't looked closely at how different neural network architectures—like Graph Neural Networks (GNNs) or the newer State-Space Models (SSMs)—handle sudden data "sparsity" during live operations. The authors want to move beyond "peak accuracy" and establish a "safety rating" for these models.

Methods

The researchers didn't just look at one type of AI; they benchmarked four distinct architectural paradigms:

  1. DCRNN: A classic mix of Graph Convolutions and Recurrent Neural Networks.
  2. D2STGNN: A high-performance "Dynamic" GNN that learns how spatial relationships change over time.
  3. Trafformer: An attention-based Transformer model.
  4. Mamba4Traffic: A cutting-edge State-Space Model (SSM) known for efficiency.

To test them, they simulated sensor failure by randomly "masking" sensors (replacing their data with zeros) at levels ranging from 0% to 100%. Crucially, they used a Gaussian weighting function to evaluate performance. Since real-world systems usually aim for at least 90% sensor availability, they weighted errors at low sparsity (0-10%) much more heavily than the "total blackout" scenarios.

The Gaussian weighting scheme prioritizes the 0-10% sparsity range, reflecting realistic operational requirements.

Datasets

The study utilized two heavy hitters in the traffic research world:

  • PEMS04: 307 sensors in the San Francisco Bay Area.
  • PEMS08: 170 sensors in San Bernardino.

Unlike many studies that only look at vehicle speed, these datasets are multivariate, meaning the models have to predict speed, flow (volume), and occupancy (how crowded the road is) simultaneously.

TABLE 2. Dataset Overview

Key Insights and Ideas

  • The Accuracy-Robustness Trade-off: There is a clear inverse relationship between how well a model performs on perfect data and how well it handles missing data. The "best" model (D2STGNN) had the highest baseline accuracy but degraded nearly 5x faster than its competitors when sensors started failing.
  • The "Usability Threshold": The authors defined a "breakdown point" based on a 10% error threshold (an industry standard for traffic management). This gives engineers a concrete metric: "This model is safe to use as long as fewer than X% of my sensors are broken."
  • Architectural Winners: Transformers (Trafformer) proved to be the "steady tortoises" of the group. While they weren't the most accurate at 0% sparsity, they maintained their performance much better as data became sparse, eventually overtaking the more "brittle" GNNs.

Key Results

The quantitative results highlight the fragility of top-tier models.

  • Degradation Factors: On the PEMS04 dataset, D2STGNN showed a weighted degradation factor of 4.84x, meaning its error skyrocketed as sensors dropped. In contrast, Trafformer was the most robust, with a degradation factor of only 1.78x.
  • Breakdown Points: Mamba4Traffic (the SSM) showed a strong balance, remaining usable up to about 11-16% sensor loss. Meanwhile, the high-accuracy D2STGNN crossed the "unreliable" threshold at just 4% sensor loss on some datasets.
TABLE 1. Weighted performance metrics and degradation factors for different models on PEMS04 and PEMS08 datasets. Entries show the mean with

Limitations and Future Work

The authors acknowledge that their "random masking" approach is a simplified version of reality. In the real world, sensor failures are often spatially correlated (e.g., a whole neighborhood goes dark due to a power failure) or temporally correlated (a sensor stays broken for days).

Future research directions include:

  • Testing models against structured, non-random failure patterns.
  • Exploring "sparsity-aware training," where models are intentionally exposed to missing data during their "education" phase to build up resilience.
  • Investigating better ways to fill in the blanks, such as "last-observation carry-forward," rather than just filling with zeros.

In short: the next time you're picking a model for a real-world city, don't just look at the leaderboard. Ask how it handles a bad day at the sensor hub.

Summary updated

Abstract

Traffic forecasting models are typically evaluated under ideal conditions with complete data. This evaluation does not reflect the frequent sensor failures and communication outages common in real-world deployments. This paper presents a comprehensive analysis of multivariate traffic prediction models to evaluate their performance under varying levels of sensor data loss during inference. We benchmark several architectural paradigms, including graph neural networks, attention-based Transformers, and selective state-space models, across sparsity levels ranging from zero to complete sensor loss, using two widely used multi-channel traffic benchmarks. To ensure consistent comparison across traffic variables, we use normalized metrics and define a usability threshold to identify when predictions become unreliable. Our results show a clear trade-off between baseline accuracy and robustness: models with the highest accuracy under full-data conditions often degrade most sharply as data becomes sparse, while less accurate models maintain more stable performance. These findings show that model selection should be based on the expected reliability of the sensor network rather than peak accuracy alone. This work provides a practical framework for assessing traffic forecasting models and highlights the importance of robustness in real-world applications.
BibTeX
@misc{hamad2026sparsity,
  author = {Mohamed Hamad and Bilal Mutahir and Mohamed Mabrok and Nizar Zorba and Hamid Saeedi and Halim Yanikomeroglu},
  title = {{A Sparsity Analysis of Traffic Forecasting Architectures: How Much Missing Data is Too Much?}},
  year = {2026},
  eprint = {2611.26847},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.26847},
}
Figure