KST-GCN: A Knowledge-Driven Spatial-Temporal Graph Convolutional Network for Traffic Forecasting

Jiawei Zhu, Xing Han, Hanhan Deng, Chao Tao, Ling Zhao, Pu Wang, Tao Lin, Haifeng LiIEEE Trans. ITS 2022

TL;DR

This paper introduces KST-GCN, a novel approach to traffic forecasting that integrates external factors like weather and Points of Interest (POIs) by constructing a knowledge graph. By fusing this knowledge graph's embeddings with traffic data, KST-GCN significantly improves the accuracy of spatial-temporal graph convolutional networks, demonstrating the power of structured external knowledge in predicting traffic flow.

What Problem Does This Paper Address?

Accurate traffic forecasting is crucial for urban management and traveler information. Traditional methods often struggle to capture the complex interplay between historical traffic patterns and various external factors (e.g., weather, events, POIs). While some models incorporate external data, they often neglect the intricate correlations among these factors and their combined influence on traffic. This paper addresses this gap by proposing a method to systematically integrate structured knowledge about these external factors into traffic forecasting models, aiming to enhance prediction accuracy by understanding these complex relationships.

Methods

The core of KST-GCN lies in its innovative approach to incorporating external knowledge:

  • Knowledge Graph Construction: The authors first construct a knowledge graph (KG) specifically for traffic forecasting. This KG represents entities like road sections, attributes (e.g., weather conditions, POI types), and their relationships.
  • Knowledge Representation Learning (KR-EAR): To distill meaningful information from the KG, they employ the KR-EAR model. This model is designed to learn embeddings that capture not only entity-relation-entity triples but also entity-attribute-value triples, effectively distinguishing between relational and attribute information. This is a key novelty, as it allows for a richer representation of external factors.
  • Knowledge Fusion Cell (KF-Cell): A novel component, the KF-Cell, is introduced to fuse the learned knowledge embeddings with the original traffic features. This cell is designed to be adaptable and can be integrated into existing spatial-temporal graph convolutional networks (GCNs) without significant modifications. It processes static and dynamic external factors separately before merging them.
  • Spatial-Temporal Graph Convolutional Network (ST-GCN) Backbone: The fused features are then fed into a standard ST-GCN backbone (like DCRNN or T-GCN). The GCN component models the spatial dependencies of the road network, while recurrent units (like GRU) capture temporal dependencies.

Datasets

The experiments were conducted on a dataset from Luohu District, Shenzhen, China. This dataset includes:

  • Taxi track data
  • Road network data
  • Weather data (temperature, conditions, wind speed, humidity, pressure, visibility)
  • Points of Interest (POI) data (categorized into nine types)

The paper does not introduce a new benchmark dataset but utilizes a comprehensive existing one that allows for the construction of a rich knowledge graph.

Key Insights and Ideas

  • Structured Knowledge is Key: The paper strongly suggests that simply concatenating external features is insufficient. Representing these factors and their relationships in a structured knowledge graph and then learning embeddings from it provides a more powerful way to capture their influence on traffic.
  • Distinguishing Attributes and Relations: The KR-EAR model's ability to differentiate between attribute information (e.g., "sunny" weather) and relational information (e.g., "sunny" affects "traffic flow") is crucial for effectively modeling complex dependencies.
  • Adaptability of KF-Cell: The KF-Cell's design allows it to be a plug-and-play module for various ST-GCN architectures, making the proposed knowledge integration method broadly applicable.
  • POI Knowledge is Highly Impactful: Ablation studies indicated that incorporating POI knowledge often yielded better results than weather knowledge alone, suggesting that the spatial distribution of amenities and services has a significant impact on traffic patterns.

Key Results

  • Improved Prediction Accuracy: KST-GCN variants (KF-DCRNN and KF-T-GCN) consistently outperformed their respective backbone models (DCRNN and T-GCN) across various prediction horizons. For instance, KF-DCRNN reduced RMSE by up to 1.47% and increased accuracy by up to 1.15% compared to DCRNN.
  • Long-Term Prediction Benefits: The performance gains of KST-GCNs were observed to increase with longer prediction horizons, indicating their robustness in forecasting future traffic states.
  • Robustness to Noise: The proposed models showed resilience to added Gaussian and Poisson noise, suggesting their stability in real-world, potentially noisy, data environments.
  • Hyperparameter Sensitivity: The study identified optimal embedding dimensions (e.g., 20) and hidden unit counts (e.g., 64 for KF-DCRNN) for achieving the best performance.

Limitations and Future Work

  • Limited Knowledge Graph Scope: The authors acknowledge that the constructed knowledge graph in this study only considers POI and weather information. They suggest that expanding the KG to include more multi-source data (e.g., public transport information, event data, social media trends) could further enhance KST-GCN's performance.
  • Data Collection Challenges: Building comprehensive knowledge graphs for traffic forecasting is noted as a challenging task due to data acquisition difficulties.
  • Future Directions: The paper highlights that KST-GCN provides a promising direction for integrating external information. Future work could focus on developing more sophisticated fusion mechanisms and exploring the application of this approach to other traffic-related prediction tasks. The adaptability of the KF-Cell suggests its potential use in models beyond the specific GCNs tested.

Summary updated

BibTeX
@article{zhu2022kst,
  author = {Jiawei Zhu and Xing Han and Hanhan Deng and Chao Tao and Ling Zhao and Pu Wang and Tao Lin and Haifeng Li},
  title = {{KST-GCN: A Knowledge-Driven Spatial-Temporal Graph Convolutional Network for Traffic Forecasting}},
  journal = {IEEE Trans. Intell. Transp. Syst.},
  year = {2022},
  doi = {10.1109/tits.2021.3136287},
}
Figure