Dynamic Spatio-Temporal Hypergraph Convolutional Network for Traffic Flow Forecasting

Zhiwei Ye, Hairu Wang, Кrzysztof Przystupa, J. Majewski, Nataliya Hots, Jun SuElectronics 2024

TL;DR

This paper introduces DSTHGCN, a novel dynamic spatio-temporal hypergraph convolutional network for traffic flow forecasting. By modeling complex, higher-order relationships in traffic networks using hypergraphs and incorporating a mechanism to remove outlier data, DSTHGCN significantly improves prediction accuracy compared to existing methods.

What Problem Does This Paper Address?

Traffic congestion is a growing problem, making accurate traffic flow forecasting crucial for optimizing road usage and enhancing mobility. While Graph Convolutional Networks (GCNs) have shown promise in this area, they struggle to effectively capture the complex, higher-order spatio-temporal relationships present in real-world traffic networks. Traditional GCNs primarily focus on pairwise interactions between road segments (nodes), failing to account for how multiple segments might influence each other simultaneously. This limitation hinders their ability to accurately predict traffic flow, especially in intricate intersection scenarios.

Methods

The core innovation of this paper is the Dynamic Spatio-Temporal Hypergraph Convolutional Network (DSTHGCN). This model extends traditional GCNs by employing hypergraphs, which can represent relationships among multiple entities (nodes) simultaneously. Key components include:

  • Dynamic Feature Extraction: The model separately extracts dynamic features from both traffic flow graph nodes and hyperedges. This allows for a more nuanced understanding of how traffic conditions evolve at individual sensors and within broader traffic patterns.
  • Collaborative Convolution: DSTHGCN integrates both graph convolution (for pairwise relationships) and hypergraph convolution (for higher-order relationships). This "co-convolution" approach aims to capture a more comprehensive picture of traffic dynamics.
  • Hyperedge Outlier Removal Mechanism (HOR): A novel mechanism is introduced to identify and remove outlier nodes within hyperedges. This is crucial because outliers can negatively impact model training and prediction accuracy. By dynamically adjusting the hypergraph structure, HOR optimizes it and reduces complexity.

Datasets

The proposed DSTHGCN model was evaluated on two widely recognized real-world traffic datasets:

  • PeMSD4: Collected from 307 sensors over 59 days, with data recorded every five minutes.
  • PeMSD8: Collected from 170 sensors over 62 days, also with data recorded every five minutes.

These datasets contain information on traffic flow, velocity, and occupancy rates, with the study focusing on traffic flow data.

Key Insights and Ideas

  • Hypergraphs are essential for higher-order traffic relationships: The paper strongly advocates for hypergraphs as a superior representation for traffic networks, moving beyond simple pairwise connections to capture more complex, multi-entity interactions.
  • Dynamic feature extraction is key: Separately modeling the evolution of node and hyperedge features allows the model to adapt to changing traffic conditions more effectively.
  • Outlier removal significantly boosts performance: The HOR mechanism demonstrates that cleaning noisy data within hyperedges is critical for improving both the accuracy and efficiency of traffic flow prediction.
  • Collaborative convolution captures richer information: By combining graph and hypergraph convolutions, the model can leverage both local and global spatio-temporal dependencies.

Key Results

The DSTHGCN model demonstrated superior performance across various evaluation metrics (MAE, RMSE, MAPE) on both the PeMSD4 and PeMSD8 datasets compared to seven baseline models, including HA, ARIMA, FC-LSTM, ASTGCN(r), STGODE, DSTAGNN, and Graph WaveNet.

  • Significant improvements: DSTHGCN achieved improvements of up to 10.6% in MAE, 6.8% in RMSE, and 9.74% in MAPE on PeMSD4 compared to the STGODE baseline. On PeMSD8, these improvements were even more substantial, reaching 11.26% in MAE, 7.98% in RMSE, and 14.19% in MAPE compared to STGODE.
  • Robustness across forecasting horizons: The model maintained its performance advantage even when forecasting further into the future (up to 60 minutes), with a slower error growth trend compared to other models.
  • Accurate prediction curves: Visualizations of predicted traffic flow curves for specific nodes showed DSTHGCN's predictions closely aligning with ground truth, outperforming Graph WaveNet, especially during peak traffic periods.
  • Ablation studies confirmed module importance: Removing the hypergraph convolution module (DSTHGCN-1) or the hyperedge outlier removal mechanism (DSTHGCN-2) led to a significant decrease in accuracy, highlighting the critical contributions of these components.

Limitations and Future Work

The authors acknowledge several limitations and propose future research directions:

  • Data compatibility and integration: Integrating the model with existing traffic management systems may present challenges due to data compatibility issues.
  • Computational resources: Processing large-scale datasets and expanding prediction ranges requires significant computational power, potentially limiting real-world deployment.
  • Generalization ability: Further investigation into the model's generalization capabilities is needed.

Future work will focus on:

  • Advanced data fusion and preprocessing: To address data integration challenges and ensure consistency.
  • Attention mechanisms: To improve focus on key time steps and spatial locations for better long-term predictions.
  • Decomposition of long-term tasks: Breaking down long-term forecasting into shorter predictions to reduce computational burden.
  • Model structure optimization: Exploring shallower network layers or optimized graph convolution methods to reduce computational demands and latency.

Summary updated

BibTeX
@inproceedings{ye2024dynamic,
  author = {Zhiwei Ye and Hairu Wang and Кrzysztof Przystupa and J. Majewski and Nataliya Hots and Jun Su},
  title = {{Dynamic Spatio-Temporal Hypergraph Convolutional Network for Traffic Flow Forecasting}},
  booktitle = {Electronics},
  year = {2024},
  doi = {10.3390/electronics13224435},
}
Figure