Constructing Geographic and Long-term Temporal Graph for Traffic Forecasting

Yiwen Sun, Yulu Wang, Kun Fu, Zheng Wang, Changshui Zhang, Jieping Ye

TL;DR

Traditional traffic forecasting models use Graph Convolutional Networks (GCNs) based solely on physical road connectivity, missing out on non-local correlations. This paper introduces GLT-GCRNN, a framework that builds a more comprehensive graph by factoring in both geographic proximity and long-term temporal similarities (e.g., distant commercial zones sharing rush-hour patterns). This approach significantly improves traffic speed prediction accuracy, outperforming state-of-the-art models on real-world highway data.

What Problem Does This Paper Address?

Traffic forecasting is a classic spatio-temporal challenge. Recent state-of-the-art methods combine Graph Convolutional Networks (GCNs) to capture spatial relationships with Recurrent Neural Networks (RNNs) for temporal trends.

However, standard GCN approaches construct their graphs strictly based on physical road network topology—such as distance or direct connectivity. The flaw in this design is that distant roads often exhibit highly correlated traffic patterns. For instance, two disconnected office parks miles apart might experience identical congestion spikes during morning rush hours. By ignoring these long-term temporal similarities, existing models limit the capacity of GCNs to aggregate rich, non-local interactions across the network.

Methods

The authors propose the Geographic and Long-term Temporal Graph Convolutional Recurrent Neural Network (GLT-GCRNN). The core innovation lies in how the graph is constructed and how information is passed through the network:

  1. GLT Graph Construction: The model creates a hybrid similarity matrix ($S_{GLT}$) by combining a $k$-hop geographic similarity matrix ($S_G$) and a novel long-term temporal similarity matrix ($S_{LT}$). To build $S_{LT}$, the authors calculate the Euclidean distance between the average daily speed profiles of road segments across the training set.
  2. Free-Flow Filtering: To prevent the graph from connecting completely irrelevant distant nodes, they apply a Free-Flow Reachable Matrix ($S_F$). This filters out links that are too far apart to be reachable within a reasonable time quantum under free-flow conditions.
  3. Modified Graph Convolution & LSTM: The resulting ultimate similarity matrix ($S_U^k$) guides the GCN feature extraction. Furthermore, the authors modify a standard LSTM's cell state gate so that a road segment's memory cell is directly influenced by the historical states of its geographically and temporally similar neighbors.
Fig. 3. The overall architecture of GLT-GCRNN. Our framework consists of three components: (1) the GLT graph construction. (2) GLT graph convolution operation for mining the spatial correlation. (3) Modified LSTM to capture the time series dependency.

Datasets

The framework was evaluated on a publicly available, large-scale, real-world traffic dataset:

  • Greater Seattle Area Dataset: Contains 1 year (2015) of traffic speed data collected from 323 inductive loop detectors across four connected freeways (I-5, I-405, I-90, and SR-520). The data is aggregated at 5-minute intervals (288 time steps per day).
  • Data Split: 70% training, 20% validation, and 10% testing.

Key Insights and Ideas

  • Time Profiles as Spatial Proxies: Treating a road's average historical speed profile as a feature for graph construction allows the GCN to bridge spatial gaps. It effectively creates "virtual edges" between functionally similar urban zones.
  • The Power of Free-Flow Constraints: Simply linking temporally similar nodes can introduce noise if they are completely unrelated. Using traffic flow theory (the free-flow reachable matrix) acts as a smart regularizer, keeping the graph structurally grounded.
  • Memory Sharing via Cell States: Modifying the LSTM cell state ensures that temporal predictions aren't just informed by local spatial features at the current time step, but also by the long-term historical context of correlated neighbors.

Key Results

GLT-GCRNN was compared against a wide array of baselines, including classical statistical models (ARIMA), traditional ML (SVR), and deep learning architectures (LSTM, DiffGRU, TGC-LSTM).

  • State-of-the-Art Outperformance: GLT-GCRNN outperformed all competitors across all metrics.
  • Compared directly to the previous state-of-the-art model (TGC-LSTM), GLT-GCRNN achieved:
  • 22.46% reduction in RMSE (dropped from 4.63 to 3.59 mph).
  • 1.83% reduction in MAPE (dropped from 6.01% to 5.90%).
  • 4.67% reduction in MAE (dropped from 2.57 to 2.45 mph).
  • Hyper-parameter Robustness: The model proved highly robust to changes in its main hyper-parameter $\gamma$ (the number of preserved long-term temporal neighbors), consistently beating TGC-LSTM across values from 2 to 6.

Limitations and Future Work

While the paper demonstrates clear improvements, a few areas remain open for exploration:

  • Graph Homogeneity: The current graph treats all connections relatively uniformly once constructed. The authors note that future work will explore heterogeneous graph neural networks to better differentiate between distinct types of relationships (e.g., purely geographic vs. purely functional/temporal).
  • Generalization: The authors plan to adapt this dual-graph construction method to other spatial-temporal structured sequence prediction tasks outside of highway traffic forecasting.

Summary updated

BibTeX
@inproceedings{sun2020constructing,
  author = {Yiwen Sun and Yulu Wang and Kun Fu and Zheng Wang and Changshui Zhang and Jieping Ye},
  title = {{Constructing Geographic and Long-term Temporal Graph for Traffic Forecasting}},
  booktitle = {ICPR},
  year = {2020},
  url = {https://openreview.net/forum?id=vbQk6LEQ2d},
}
Figure