Skip to main content
QUICK REVIEW

[Paper Review] CDGNet: A Cross-Time Dynamic Graph-based Deep Learning Model for Traffic Forecasting

Yuchen Fang, Yanjun Qin|arXiv (Cornell University)|Dec 6, 2021
Traffic Prediction and Management TechniquesEngineering9 citations
TL;DR

CDGNet proposes a cross-time dynamic graph-based GCN model that captures both intra-spatial dependencies within each time slice and inter-spatial dependencies across historical time slices, using a gating mechanism to enforce sparse, realistic spatial correlations. It achieves state-of-the-art performance on three real-world traffic forecasting datasets by modeling long-range temporal propagation effects in road networks.

ABSTRACT

Traffic forecasting is important in intelligent transportation systems of webs and beneficial to traffic safety, yet is very challenging because of the complex and dynamic spatio-temporal dependencies in real-world traffic systems. Prior methods use the pre-defined or learnable static graph to extract spatial correlations. However, the static graph-based methods fail to mine the evolution of the traffic network. Researchers subsequently generate the dynamic graph for each time slice to reflect the changes of spatial correlations, but they follow the paradigm of independently modeling spatio-temporal dependencies, ignoring the cross-time spatial influence. In this paper, we propose a novel cross-time dynamic graph-based deep learning model, named CDGNet, for traffic forecasting. The model is able to effectively capture the cross-time spatial dependence between each time slice and its historical time slices by utilizing the cross-time dynamic graph. Meanwhile, we design a gating mechanism to sparse the cross-time dynamic graph, which conforms to the sparse spatial correlations in the real world. Besides, we propose a novel encoder-decoder architecture to incorporate the cross-time dynamic graph-based GCN for multi-step traffic forecasting. Experimental results on three real-world public traffic datasets demonstrate that CDGNet outperforms the state-of-the-art baselines. We additionally provide a qualitative study to analyze the effectiveness of our architecture.

Motivation & Objective

  • To address the limitation of existing methods in capturing long-range, hysteresis-driven spatial dependencies in traffic networks.
  • To model dynamic spatial correlations not only within each time slice but also across time, reflecting real-world propagation delays in traffic events.
  • To reduce noise from non-physical connections in traffic graphs by introducing a learnable gating mechanism for sparsification.
  • To design an encoder-decoder architecture that effectively integrates cross-time dynamic graph convolutions for multi-step forecasting.
  • To demonstrate superior performance on real-world traffic datasets compared to state-of-the-art baselines.

Proposed method

  • CDGNet introduces a cross-time dynamic graph convolution network (CDGCN) that computes spatial correlations between each time slice and its historical time slices, modeling temporal propagation of traffic effects.
  • The model uses a learnable gating mechanism to prune non-essential edges in the cross-time dynamic graph, enforcing sparsity aligned with real-world traffic correlation patterns.
  • A novel encoder-decoder architecture integrates CDGCN in the encoder to model historical dependencies and CDGCN-ED in the decoder to predict future time steps using cross-time spatial attention.
  • The CDGCN employs multi-head self-attention to compute dynamic edge weights between sensors across time, capturing evolving spatial relationships.
  • The model is trained end-to-end using MAE, RMSE, and MAPE loss functions on multi-step forecasting tasks.
  • Hyperparameter tuning is performed on depth (L), number of attention heads (h), and head dimension (d_h), with optimal settings found at L=3, h=8, d_h=8.

Experimental results

Research questions

  • RQ1Can modeling cross-time spatial dependencies improve multi-step traffic forecasting accuracy beyond intra-slice spatial modeling?
  • RQ2How does the inclusion of temporal propagation effects—such as delayed traffic spread—impact forecasting performance?
  • RQ3To what extent does sparsifying the dynamic graph enhance model performance and generalization in traffic forecasting?
  • RQ4Does the proposed encoder-decoder architecture with cross-time GCN outperform standard architectures using static or per-time-slice dynamic graphs?
  • RQ5How sensitive is the model to key hyperparameters such as network depth, number of attention heads, and head dimension?

Key findings

  • CDGNet achieves state-of-the-art performance on all three benchmark datasets: METR-LA, PEMS-Bay, and PEMS04, outperforming SOTA methods in MAE, RMSE, and MAPE across all horizons.
  • The ablation study shows that replacing CDGCN with static graph (Basic) leads to a performance drop, confirming the benefit of dynamic, time-aware spatial modeling.
  • SAtt (spatial self-attention) outperforms Basic, indicating that data-driven dynamic graphs are more effective than distance-based static graphs.
  • DGCN (dynamic GCN) outperforms SAtt, demonstrating the advantage of learning dynamic graphs over attention-based ones.
  • CDGCN significantly outperforms DGCN, proving the importance of cross-time spatial dependence in capturing hysteresis effects.
  • Visualization confirms that CDGNet correctly identifies delayed correlations (e.g., sensor 9 affecting sensor 29 later), while SAtt and DGCN fail to capture such temporal propagation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.