Spatial-temporal hypergraph convolutional network for traffic forecasting

Zhenzhen Zhao, Guojiang Shen, Junjie Zhou, Junchen Jin, Xiangjie Kong

TL;DR

This paper introduces ST-HCN, a novel spatial-temporal hypergraph convolutional network designed to improve traffic forecasting accuracy. By leveraging hypergraphs to capture complex, non-pairwise relationships between road network nodes and combining this with ConvLSTM for temporal dynamics, ST-HCN significantly outperforms existing methods.

What Problem Does This Paper Address?

Accurate traffic forecasting is crucial for intelligent transportation systems, helping to manage congestion and improve urban mobility. However, existing methods struggle to capture the intricate spatial and temporal characteristics of traffic data. Spatially, road networks exhibit "across road-network isomorphism," meaning traffic conditions at one point can influence distant, non-adjacent locations. Temporally, traffic patterns often exhibit "periodic drift," where daily or weekly cycles aren't perfectly consistent. These challenges limit the effectiveness of traditional graph-based and recurrent neural network approaches.

Methods

The proposed ST-HCN framework tackles these issues with a multi-pronged approach:

  • Hypergraph Construction: To address spatial isomorphism, the authors use K-means clustering on traffic speed data to identify key intersections. These clusters, along with physical road network connections, form hyperedges, allowing the model to represent higher-order, non-pairwise relationships between multiple road nodes.
  • Dual-Channel Hypergraph Convolution: A novel dual-channel hypergraph convolution module is introduced. This module simultaneously processes information from the hypergraph (capturing relationships between nodes and hyperedges) and its corresponding line graph (capturing relationships between hyperedges themselves). This fusion aims to fully represent the complex, many-to-many spatial relationships in the road network.
  • ConvLSTM for Temporal Features: To handle temporal periodic drift, a Convolutional LSTM (ConvLSTM) network is employed. By incorporating convolutional operations within the LSTM cell, the model can expand its perceptual field and better capture temporal dependencies across multiple time steps and road nodes, mitigating the impact of inconsistent periodic patterns.

Datasets

The proposed ST-HCN model was evaluated on two real-world traffic datasets:

  • PEMSBAY: Traffic speed data from 325 road sensors in the Bay Area, collected over weekdays from March 6, 2017, to May 5, 2017, aggregated into 5-minute intervals.
  • PEMSM: Traffic speed data from 228 road sensors in District 7 of California, collected over weekdays from May 1, 2012, to June 30, 2012, also aggregated into 5-minute intervals.

Key Insights and Ideas

  • Hypergraphs are Key for Spatial Complexity: The paper strongly suggests that simple graph structures are insufficient for capturing the complex, non-local spatial dependencies in traffic networks. Hypergraphs offer a more natural way to model these "beyond-pairwise" relationships.
  • Dual-Channel Approach Enhances Spatial Representation: Combining hypergraph convolution with line graph convolution provides a richer spatial representation by considering both node-hyperedge and hyperedge-hyperedge relationships.
  • ConvLSTM Effectively Handles Temporal Drift: Integrating convolutional operations into LSTM is crucial for capturing temporal dynamics that deviate from strict periodicity, a common issue in real-world traffic data.
  • K-Means as a Smart Feature Selector: Using K-means clustering to identify key intersections provides a data-driven way to construct meaningful hyperedges, effectively focusing on the most influential parts of the road network.

Key Results

The ST-HCN model demonstrated superior performance across both datasets and various forecasting horizons (10, 15, and 20 minutes).

  • On the PEMSBAY dataset, ST-HCN achieved approximately 4.76% higher performance in MAE, 14.85% higher in RMSE, and 7.71% higher in MAPE compared to the best baseline for a 15-minute prediction.
  • On the PEMSM dataset, ST-HCN showed similar improvements, with approximately 5.1% higher performance in MAE, 10.21% higher in RMSE, and 8.63% higher in MAPE.
  • Ablation studies showed that removing either the hypergraph or line graph convolution component (resulting in GST-HCN and LST-HCN respectively) led to performance degradation, highlighting the effectiveness of the dual-channel approach.
  • The case study visualization showed that the model's predictions rapidly improved within the first few training epochs, effectively tracking complex traffic patterns.

Limitations and Future Work

  • Short-Term Focus: The current ST-HCN model is primarily designed for short-term traffic forecasting. The authors acknowledge that it does not explicitly model long-term dependencies.
  • Future Work: The authors propose extending the model to handle mid-to-long-term traffic forecasting by incorporating mechanisms for capturing longer temporal dependencies. They also suggest applying the spatiotemporal modeling approach to other domains like urban demand forecasting and pedestrian flow forecasting.

Summary updated

BibTeX
@inproceedings{zhao2023spatial,
  author = {Zhenzhen Zhao and Guojiang Shen and Junjie Zhou and Junchen Jin and Xiangjie Kong},
  title = {{Spatial-temporal hypergraph convolutional network for traffic forecasting}},
  booktitle = {PeerJ Comput. Sci},
  year = {2023},
  url = {https://openreview.net/forum?id=amF1xOiKjr},
}
Figure