Hierarchical Graph Convolution Network for Traffic Forecasting

Kan Guo, Yongli Hu, Yanfeng Sun, Sean Qian, Junbin Gao, Baocai Yin

Introduction

Traffic patterns are inherently complex, shaped not only by individual road conditions but also by the collective dynamics of urban neighborhoods. Traditional traffic forecasting models often struggle to capture this multi-scale nature. While Graph Convolutional Networks (GCNs) have emerged as a powerful tool for modeling road networks as graphs, most existing approaches maintain a "flat" perspective, focusing exclusively on individual road segments. This paper introduces Hierarchical Graph Convolution Networks (HGCN), a framework designed to simultaneously analyze "micro" road-level data and "macro" regional trends to improve prediction accuracy and computational efficiency.

Methodology

The HGCN architecture addresses the limitations of flat models by introducing a two-stream approach that mirrors the natural hierarchy of a city.

1. Hierarchy Generation

The process begins with spectral clustering applied to the road network's adjacency matrix. This groups individual road segments into "macro nodes" representing distinct regions, such as business districts or residential areas. This step provides the model with a structural inductive bias, allowing it to understand regional dependencies.

2. Dual-Stream Processing

The model processes data through two parallel streams:

  • Micro-stream: A GCN operating on the detailed road segment graph to capture local spatial-temporal features.
  • Macro-stream: A parallel GCN operating on the coarser region-level graph to capture broader urban trends.
The HGCN architecture featuring dual-stream processing and the Dynamic Transfer Block.

3. Spatial-Temporal (S-T) Blocks

Both streams utilize specialized S-T blocks that combine Temporal Gate Convolutions for local time-series patterns, Spatial Gate Graph Convolutions for flow between nodes, and Temporal Attention Mechanisms for long-range global correlations.

4. Dynamic Transfer Block

The core innovation is the Dynamic Transfer Block, which acts as an attention-based bridge between the two streams. It dynamically fuses regional features into road-level features, allowing the model to adjust the influence of macro-context based on real-time traffic conditions (e.g., increasing regional influence during rush hour).

Experimental Setup

The researchers evaluated HGCN using real-world traffic speed datasets from the Didi Chuxing GAIA Initiative for two major cities:

  • JiNan: 561 road segments.
  • XiAn: 792 road segments.

Speeds were sampled every 10 minutes, and the model was compared against nine baselines, including classical ARIMA and state-of-the-art deep learning models like Graph WaveNet (GWNET).

Key Results and Discussion

HGCN consistently outperformed all baselines across 30, 60, and 120-minute prediction windows. In the XiAn 1-hour forecast, HGCN achieved a Mean Absolute Error (MAE) of 2.96, compared to 3.03 for GWNET.

Beyond accuracy, HGCN demonstrated significant efficiency gains. On the XiAn dataset, it trained in approximately 74 seconds per epoch, more than twice as fast as Graph WaveNet (~165 seconds). This suggests that abstracting spatial complexity into regions reduces the overall computational burden without sacrificing performance.

Hyperparameter Sensitivity

A critical hyperparameter in HGCN is the number of regions ($N^R$). The researchers found that performance is sensitive to this value, with an optimal "sweet spot" existing for each city. For instance, JiNan performed best with approximately 20 regions, while XiAn required 40.

Sensitivity analysis showing the impact of the number of regions on MAE and MAPE for JiNan and XiAn.

Conclusion

HGCN demonstrates that incorporating urban hierarchy as a prior significantly enhances traffic forecasting. By modeling the dynamic interaction between macro-regions and micro-roads, the framework achieves superior accuracy and speed. Future work may explore dynamic region boundaries that shift over time and the integration of external data like weather and local events to further refine predictions.

Summary updated

BibTeX
@inproceedings{guo2021hierarchical,
  author = {Kan Guo and Yongli Hu and Yanfeng Sun and Sean Qian and Junbin Gao and Baocai Yin},
  title = {{Hierarchical Graph Convolution Network for Traffic Forecasting}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.1609/aaai.v35i1.16088},
}
Figure