Learning Continuously Evolving Spatio-Temporal Explanations for Traffic Flow Forecasting

Cuiying Huo, Baoxu Wang, Lin Wu, Yu Mei, Dongxiao He, Yawen Li, Di JinNeurIPS 2026

TL;DR

Deep learning models are great at predicting city traffic, yet terrible at explaining why a jam is about to happen because they treat road networks and time as separate, static snapshots. This paper introduces STGIB, an information-theoretic framework that reframes model explanations as a living, breathing "movie" rather than a still photograph. By squeezing out noisy data while tracking how spatial road connections evolve step-by-step over time, STGIB achieves both state-of-the-art forecasting accuracy and genuinely faithful explanations.

What Problem Does This Paper Address?

Modern traffic forecasting relies heavily on Spatio-Temporal Graph Neural Networks (STGNNs), which treat sensors as nodes on a map and traffic flow as signals evolving over time. While accurate, they are black boxes. When city planners or autonomous vehicle systems need to trust a prediction, they need to know how the model arrived at it.

Existing explainability tools fall short in three ways:

  1. Static Snapshots: Most rely on "feature attribution"—pointing at a specific road or a past time window and saying, "this was important." They miss how traffic dependencies morph continuously.
  2. Decoupled Space and Time: Prior methods usually find important road subgraphs and important time segments independently, ignoring that which roads influence each other depends entirely on when you look.
  3. Noisy Connections: Without strict temporal context, structural explanations easily latch onto spurious correlations in noisy traffic data.
Figure 1: Local subgraph and traffic series from PEMS08 [15], showing time-varying spatial de- pendencies: correlations strengthen during valleys and weaken during peaks.

As shown above, two highway segments might strongly correlate during free-flowing valleys, yet decouple during rush-hour peaks as congestion bottlenecks shift. Static explanations completely miss this dance.

Methods

To capture this continuous evolution, the authors propose the Spatio-Temporal Graph Information Bottleneck (STGIB).

The standard Information Bottleneck principle is an elegant idea from information theory: compress your input data as much as possible (throw away the noise) while keeping just enough information to predict the target (predictive sufficiency).

What’s new here is applying this principle to a time-indexed trajectory of explanations. Instead of outputting a single explanatory subgraph, STGIB generates a sequence of pairs—$(S_t, Z_t)$—at each step $t$, where $S_t$ is the decisive road subgraph right now, and $Z_t$ is a compact summary of the temporal traffic state formed under that subgraph.

Figure 2: Markovian dependence in STGIB.

Because calculating exact mutual information over an entire sequence of graphs is mathematically intractable, the authors introduce a conditional Markovian assumption (today's explanation depends only on yesterday's compressed state and current observations) and derive tractable variational bounds to optimize the model step-by-step:

  • Context Retrieval & GRU: At each step, an attention mechanism queries past observations so long-term patterns aren't forgotten, fusing them via a standard GRU.
  • Structural Bottleneck: An edge-wise Bernoulli distribution (made differentiable via Gumbel-Sigmoid) decides which road connections to keep in $S_t$, penalized against a sparse prior to prune away useless roads.
  • Temporal Bottleneck: Message passing occurs only over the surviving subgraph $S_t$. The resulting representation $Z_t$ is regularized against a learnable Gaussian mixture prior, allowing the latent space to naturally cluster multi-modal traffic regimes (like morning rush vs. midnight calm) while compressing noise.

Datasets

The authors evaluate STGIB on four standard, real-world benchmarks (no new datasets are introduced):

  • PeMS04, PeMS07, and PeMS08: Graph-based highway loop-detector datasets from California, using 12 historical steps to predict the next 12 steps.
  • TDrive: A grid-based dataset tracking taxi inflows and outflows across Beijing, using 6 past steps to predict the next step.

Key Insights and Ideas

  • Compression improves accuracy, not just interpretability: Often, making a model interpretable forces a trade-off with performance. Here, aggressively filtering out redundant road edges and noisy temporal fluctuations acts as a smart regularizer, helping the model beat pure black-box baselines.
  • Explanations mirror human routines: In a case study around Beijing’s bustling Wangfujing area, STGIB’s learned subgraphs visibly rewire themselves between lunch, dinner, and night, and behave completely differently on weekdays versus weekends—matching real commuting flows without ever being explicitly told about them.
Weekday vs. weekend explanatory subgraphs in Beijing's Wangfujing area, showing how predictive road dependencies shift dynamically across lunch, dinner, and night.
  • Coupling beats isolation: Comparing against STExplainer (which separates spatial and temporal explanations), STGIB achieves higher Fidelity (meaning masking out its chosen explanations hurts prediction much more, proving they are truly the critical pieces) while keeping the subgraphs compact (Sparsity).

Key Results

Tested against 19 baselines—spanning GNNs, Transformers (like PDFormer), self-supervised models, and explainable frameworks—STGIB takes the crown across nearly the entire board:

  • Highway Graphs: STGIB ranks #1 on all metrics (MAE, RMSE, MAPE) across PeMS04, PeMS07, and PeMS08. For example, on PeMS08, it drops MAE to 13.61 and MAPE to 9.01% (beating strong contenders like PDFormer at 13.78 MAE and explainable baseline RSTIB-MLP at 14.55 MAE).
  • City Grids: On TDrive, STGIB achieves the best MAE (14.84) and RMSE (28.42), substantially outperforming the runner-up GraphST (15.96 MAE / 31.81 RMSE).
  • Ablations prove the design: Randomly dropping 50% of edges (Drop-0.5) spikes PeMS04 MAE from 18.48 to 19.87, proving STGIB isn't just benefiting from generic dropout—it is surgically retaining the exact edges needed for forecasting.

Limitations and Future Work

In the main text, the authors do not dedicate a standalone section to limitations or future work. However, two practical constraints are apparent in their formulation and results:

  • Sensitivity to near-zero volumes: On the grid-based TDrive dataset, STGIB falls short of the top spot on MAPE (14.52% vs. ST-SSL's 13.48%), which the authors note is likely due to low-volume grid cells where tiny ground-truth numbers blow up relative percentage errors.
  • Local receptive fields: To make graph explanation learning tractable, STGIB restricts single-step structural searches to local $k$-hop neighborhoods, relying on recurrent steps over time to propagate city-wide, higher-order effects.

Summary updated

Abstract

Traffic flow forecasting plays a pivotal role in intelligent transportation systems. However, most existing methods adopt a black-box learning paradigm, resulting in a lack of interpretability in their decision-making processes. Existing explainable methods mostly follow the feature attribution paradigm, leaving explanations at the level of static or discrete feature evidence and making it difficult to reveal the continuous evolution mechanism of spatio-temporal dependencies during dynamic traffic propagation. Meanwhile, prior methods often decouple spatial and temporal explanations, treating spatial structures and temporal dynamics independently and thus failing to capture the intrinsic coupling between spatial dependencies and temporal contexts in model decision-making. To this end, we propose STGIB, a new spatio-temporal graph information bottleneck theory for characterizing continuously evolving explanations in traffic forecasting. STGIB redefines traffic explanation as a time-indexed spatio-temporal explanation trajectory, and jointly learns dynamic key structures and their temporal representations under predictive sufficiency and information compression constraints. Furthermore, we derive tractable recursive variational bounds to make the theoretical objective optimizable, and instantiate a new explainable traffic flow forecasting model via spatio-temporal explanation trajectory generation. Experiments on real-world traffic datasets demonstrate that STGIB maintains competitive predictive performance while generating more faithful and spatio-temporally consistent explanations.
BibTeX
@inproceedings{huo2026learning,
  author = {Cuiying Huo and Baoxu Wang and Lin Wu and Yu Mei and Dongxiao He and Yawen Li and Di Jin},
  title = {{Learning Continuously Evolving Spatio-Temporal Explanations for Traffic Flow Forecasting}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=FTEcriFiDS},
}
Figure