Adaptive Graph Convolutional Recurrent Network for Traffic Forecasting

Lei Bai, Lina Yao, Can Li, Xianzhi Wang, Can Wang

Abstract

Traffic forecasting is a critical component of intelligent transportation systems, requiring the modeling of complex spatio-temporal dependencies. Traditional Graph Convolutional Networks (GCNs) often rely on pre-defined static graphs and shared parameters across all nodes, failing to capture unique road-specific patterns and dynamic spatial relationships. This paper introduces the Adaptive Graph Convolutional Recurrent Network (AGCRN), which utilizes Node Adaptive Parameter Learning (NAPL) and Data Adaptive Graph Generation (DAGG) to automatically discover and model these dependencies. Experimental results on real-world datasets demonstrate that AGCRN significantly outperforms state-of-the-art baselines by over 5%.

Introduction

Predicting traffic flow is a quintessential spatio-temporal challenge. To provide accurate forecasts, a model must simultaneously account for temporal trends (how traffic evolves over time) and spatial correlations (how conditions on one road segment influence another). While deep learning has advanced this field, existing methods often struggle with the inherent heterogeneity of urban road networks.

Problem Definition: The Limitations of Current GCNs

Most current traffic forecasting models based on GCNs suffer from two primary limitations:

  1. Parameter Homogeneity: They typically apply the same set of weights to all nodes in the graph. However, as shown in Figure 1, different roads exhibit distinct "personalities." A highway near a commercial hub behaves differently than a residential street, even if they share similar physical characteristics.
  2. Static Graph Dependency: Models often require a pre-defined adjacency matrix (e.g., based on physical distance). These human-provided graphs may not capture the true functional relationships or hidden dependencies between distant but correlated road segments.
Figure 1: Traffic flow patterns across four different roads, illustrating unique temporal profiles and the need for node-specific modeling.

Methodology: The AGCRN Framework

To address these issues, the AGCRN incorporates two innovative modules into a Gated Recurrent Unit (GRU) structure:

Node Adaptive Parameter Learning (NAPL)

NAPL moves away from the "one-size-fits-all" approach. It learns a unique node embedding for every road. These embeddings are used to generate node-specific weights from a shared weight pool. This allows the model to capture fine-grained, road-specific patterns without a massive increase in the total number of parameters.

Data Adaptive Graph Generation (DAGG)

DAGG eliminates the need for a pre-defined map. By calculating the similarity between node embeddings during training, the model automatically infers the underlying graph structure. This enables the discovery of "hidden" spatial dependencies that are not apparent from physical distance alone.

Experimental Evaluation

The AGCRN was evaluated using two large-scale datasets from the Caltrans Performance Measure System (PeMS):

  • PeMSD4: 307 loop detectors in the San Francisco Bay Area (Jan–Feb 2018).
  • PeMSD8: 170 loop detectors in the San Bernardino area (July–Aug 2016).

The task involved using 60 minutes of historical data (aggregated into 5-minute intervals) to predict traffic flow for the subsequent 60 minutes.

Key Results and Discussion

AGCRN was benchmarked against eight representative baselines, including DCRNN, STGCN, and ASTGCN.

Superior Accuracy and Stability

As illustrated in Figure 2, AGCRN consistently achieves lower error rates across all metrics (MAE, RMSE, and MAPE). Notably, while the performance of baseline models tends to degrade significantly as the prediction horizon increases, AGCRN maintains high accuracy even for long-term forecasts (up to 60 minutes). The model showed a relative improvement of over 5% in MAE and MAPE across both datasets.

Figure 2: Performance comparison (MAE, RMSE, MAPE) on the PeMSD4 dataset across different prediction horizons, showing AGCRN's superior stability.

Efficiency

Despite its adaptive nature, AGCRN remains computationally efficient. Its training time per epoch is comparable to or faster than iterative models like DCRNN, thanks to its non-iterative generation of predictions.

Conclusion and Future Work

The AGCRN represents a significant step forward in traffic forecasting by moving toward data-driven, adaptive spatial modeling. By learning both node-specific parameters and the graph structure itself, the model achieves state-of-the-art performance. Future research will focus on scaling the DAGG module for city-wide networks and exploring the model's applicability to other correlated time-series tasks, such as electricity consumption or weather forecasting.

Summary updated

BibTeX
@inproceedings{bai2020adaptive,
  author = {Lei Bai and Lina Yao and Can Li and Xianzhi Wang and Can Wang},
  title = {{Adaptive Graph Convolutional Recurrent Network for Traffic Forecasting}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2020},
}
Figure