ICST-DNET: An Interpretable Causal Spatio-Temporal Diffusion Network for Traffic Speed Prediction

Yi Rong, Yingchi Mao, Yinqiu Liu, Ling Chen, Xiaoming He, Guojian Zou, Shahid Mumtaz, Dusit Niyato

TL;DR

This paper introduces ICST-DNET, a novel interpretable network for traffic speed prediction that explicitly models traffic diffusion through causal discovery. By incorporating temporal and spatial causality, generating causal graphs, and adapting to speed fluctuations, ICST-DNET achieves superior prediction accuracy and provides valuable insights into traffic dynamics.

What Problem Does This Paper Address?

Accurate traffic speed prediction is crucial for intelligent transportation systems (ITS), aiding navigation and congestion management. However, predicting traffic speed is challenging due to:

  1. Traffic Diffusion: The complex interplay of traffic conditions across neighboring roads, both spatially and temporally.
  2. Interpretability: Existing deep learning models, while accurate, often act as "black boxes," making it difficult to understand why they make certain predictions, hindering trust and further development in ITS.
  3. Traffic Speed Fluctuations: Traffic speeds exhibit dynamic patterns (e.g., rush hours, weekdays vs. weekends) that traditional models struggle to adapt to, leading to reduced accuracy in diverse scenarios.

This paper aims to address these challenges by proposing a model that not only predicts traffic speed accurately but also provides interpretable insights into the underlying traffic diffusion mechanisms and adapts to varying traffic conditions.

Methods

The proposed ICST-DNET architecture comprises three main modules:

  • Spatio-Temporal Causality Learning (STCL): This module is the core of the causal discovery approach. It uses a hierarchical structure with:
  • Temporal Causality Learning (TCL) Layer: Employs a ResNet architecture to capture temporal causality within road pairs, learning how past traffic conditions influence future ones.
  • Spatial Causality Learning (SCL) Layer: Learns spatial causality between roads in a pair, quantifying their influence on each other.
  • Nonlinear Fusion (NF) Layer: Fuses the temporal and spatial causality representations to model the overall traffic diffusion.
  • Causal Graph Generation (CGG): This module enhances interpretability by visualizing the learned causality. It generates:
  • Time Causality Matrix: Explains temporal causality by showing the influence of historical timesteps on future predictions.
  • Causal Graphs: Visualizes spatial causality between road pairs, illustrating how traffic conditions propagate.
  • Speed Fluctuations Pattern Recognition (SFPR): This module focuses on adapting to dynamic traffic conditions. It includes:
  • Time Filtering Array: Selects the most relevant historical timesteps to reduce noise and computational cost.
  • Spatio-Temporal Encoding (ST-Encoding): Uses spatial and temporal attention mechanisms to capture dynamic spatio-temporal correlations.
  • ST-Fusion: Adaptively fuses spatial and temporal features using a gating mechanism.
  • Similar Attention: Selects relevant historical information to mitigate error propagation.
  • ST-Decoding: Predicts future traffic speed based on the learned representations.

The final prediction is made by a prediction layer that fuses the outputs of STCL and SFPR.

Datasets

The proposed ICST-DNET model was evaluated on two large-scale, real-world traffic speed datasets:

  • METR-LA: A dataset from Los Angeles County, collected from 207 sensors over approximately 5 months.
  • Ningxia-YC: A dataset constructed by the authors, collected from 108 sensors in Yinchuan City, China, over 3 months.

Key Insights and Ideas

  • Causality as a Foundation: The paper argues that explicitly modeling causality (temporal and spatial) is key to understanding and accurately predicting traffic diffusion, a factor often overlooked by previous methods.
  • Interpretability Through Visualization: Generating time causality matrices and causal graphs provides a human-understandable view of how traffic conditions influence each other, moving beyond black-box models.
  • Adaptive Prediction: The SFPR module's time filtering and attention mechanisms allow the model to dynamically adapt to different traffic scenarios (rush hour, flat peak, weekend), improving robustness.
  • Fusion of Diffusion and Adaptation: ICST-DNET effectively combines the insights from causal diffusion modeling (STCL) with adaptive learning for fluctuating conditions (SFPR) to achieve superior performance.

Key Results

  • Superior Prediction Accuracy: ICST-DNET consistently outperformed several state-of-the-art baselines (HA, SVR, LSTM, DCRNN, STGCN, GWN, MTGNN, ST-GRAT, GMAN) on both METR-LA and Ningxia-YC datasets across various prediction horizons (3, 6, and 12 hours ahead). For instance, on Ningxia-YC, ICST-DNET achieved an average MAE of 5.21, RMSE of 8.84, and MAPE of 11.56%, outperforming the best baseline by a notable margin.
  • Demonstrated Interpretability: The paper provides visualizations of learned time causality matrices and causal graphs, illustrating how the model captures temporal influences (recent vs. long-term) and spatial relationships between roads.
  • Adaptability to Scenarios: Case studies demonstrated ICST-DNET's ability to effectively predict traffic speed during different times of day and days of the week, showing better performance in non-stationary conditions like rush hours.
  • Ablation Study Success: Ablation studies confirmed the effectiveness of each component (STCL, CGG, SFPR, time filtering, attention mechanisms, ST-Fusion) in improving prediction accuracy and adaptability.

Limitations and Future Work

  • Stability in Stationary Series: While ICST-DNET shows good performance in various scenarios, the paper notes that its stability in predicting stationary series could be further improved.
  • Computational Complexity: The paper mentions that spatial and temporal attention mechanisms in the SFPR module have quadratic computational complexity with respect to the number of roads and timesteps, which could be a consideration for very large-scale networks.
  • Future Work: The authors suggest applying the proposed ICST-DNET model to other spatio-temporal prediction tasks, such as air pollutant concentration forecasting.

Summary updated

BibTeX
@article{rong2024icst,
  author = {Yi Rong and Yingchi Mao and Yinqiu Liu and Ling Chen and Xiaoming He and Guojian Zou and Shahid Mumtaz and Dusit Niyato},
  title = {{ICST-DNET: An Interpretable Causal Spatio-Temporal Diffusion Network for Traffic Speed Prediction}},
  journal = {IEEE Trans. ITS},
  year = {2024},
}
Figure