Dynamic Causal Graph Convolutional Network for Traffic Prediction

Junpeng Lin, Ziyue Li, Zhishuai Li, Lei Bai, Rui Zhao, Chen Zhang · DOI

Introduction

Traffic prediction is a cornerstone of intelligent transportation systems, yet it remains a formidable challenge due to complex spatiotemporal dependencies. Traditional models often rely on static graphs based on physical distance or time-invariant adaptive graphs learned during training. However, real-world traffic dynamics are fluid; a congestion event at one intersection might influence a distant road segment thirty minutes later, a relationship that may not exist during off-peak hours. Furthermore, most existing Graph Convolutional Network (GCN) models prioritize correlation over causality, which can lead to spurious predictions.

To address these limitations, this paper introduces the Dynamic Causal Graph Convolutional Network (DCGCN). The framework moves beyond simple correlations by learning time-varying, directed causal relationships. By integrating a deep learning-based hyper-network that generates step-wise Time-Varying Dynamic Bayesian Networks (TVDBN), DCGCN captures shifting traffic propagation patterns, achieving state-of-the-art accuracy on real-world datasets.

Methodology

The DCGCN framework is designed to discover and exploit evolving causal structures within traffic data. It consists of three primary components:

  1. Feature Extraction: This initial block processes raw traffic data (e.g., speed or flow) alongside auxiliary information like time-of-day. It utilizes a predefined distance-based graph to establish a foundational spatiotemporal representation.
  2. GCN-based Recurrent Causal Structure Learning (GRCSL): Functioning as the "brain" of the system, this hyper-network generates a sequence of directed causal graphs (TVDBN) for each time step. It employs a multi-head attention mechanism to identify potential dependencies and a Gated Recurrent Unit (GRU) to model their temporal evolution. To ensure the generated graphs are valid Directed Acyclic Graphs (DAGs), the authors utilize the NOTEARS constraint within an augmented Lagrange optimization framework.
  3. Dynamic Graph Convolution Prediction Module (DGCPM): This module applies graph convolutions over the time-varying causal graphs produced by the GRCSL to generate final multi-step traffic forecasts.
The DCGCN framework, including the causal structure learning hyper-network and the dynamic graph convolution module.

The model is trained in a two-stage process. First, the causal structure learner is pre-trained via input reconstruction. Subsequently, the prediction module is trained using curriculum learning, which progressively increases the prediction horizon from simple one-step forecasts to more challenging long-term horizons.

Experimental Evaluation

The model was rigorously evaluated on the METR-LA dataset, which contains four months of traffic speed data (March to June 2012) collected from 207 loop detectors on Los Angeles highways. The data is recorded at 5-minute intervals. DCGCN was compared against a wide array of baselines, including VAR, DCRNN, STGCN, and AGCRN. For high-complexity Bayesian baselines like DBGCN, a 20-node subset was used to ensure computational feasibility.

Results and Insights

DCGCN demonstrates superior performance across all standard metrics. On the full METR-LA dataset, it achieved the lowest MAE (2.73), MAPE (7.04%), and RMSE (5.23) for 15-minute horizons. Notably, the performance advantage of DCGCN becomes more pronounced as the prediction horizon increases, indicating greater stability for long-term forecasting compared to models like DCRNN.

Performance comparison of DCGCN against baselines across different prediction horizons for MAE, MAPE, and RMSE.

Key insights from the study include:

  • Causality vs. Correlation: Explicitly modeling "parent-child" relationships in a Bayesian Network allows the model to capture the directional flow of traffic more effectively than undirected, correlation-based graphs.
  • Hyper-network Adaptability: By learning a function that outputs a graph based on the current state, the model can adapt its topology to real-time events like accidents or rush hour shifts.
  • Explainability: The generation of explicit causal graphs at each step provides a level of transparency, allowing researchers to visualize how dependencies shift over time.
  • Ablation Analysis: Removing the dynamic causal component and reverting to a static distance graph led to significant performance degradation, confirming that time-varying causal learning is critical to the model's success.

Conclusion

The DCGCN framework represents a significant step forward in traffic prediction by marrying causal structure learning with dynamic graph convolutions. While the hyper-network approach introduces higher computational complexity than static GCNs, its ability to model evolving dependencies provides substantial gains in accuracy and interpretability. Future work may explore more complex temporal patterns and extend this causal-embedded approach to other domains, such as epidemic modeling or weather forecasting.

Summary updated

BibTeX
@inproceedings{lin2023dynamic,
  author = {Junpeng Lin and Ziyue Li and Zhishuai Li and Lei Bai and Rui Zhao and Chen Zhang},
  title = {{Dynamic Causal Graph Convolutional Network for Traffic Prediction}},
  booktitle = {CASE},
  year = {2023},
  url = {https://openreview.net/forum?id=uduqX1n9Vh},
}
Figure