SSL-STMFormer Self-Supervised Learning Spatio-Temporal Entanglement Transformer for Traffic Flow Prediction

Authors

  • Zetao Li University of Electronic Science and Technology of China
  • Zheng Hu University of Electronic Science and Technology of China
  • Peng Han University of Electronic Science and Technology of China
  • Yu Gu University of Electronic Science and Technology of China
  • Shimin Cai University of Electronic Science and Technology of China

DOI:

https://doi.org/10.1609/aaai.v39i11.33321

Abstract

Traffic flow prediction remains a critical issue in intelligent transport systems. Despite significant efforts in traffic flow modeling, existing approaches exhibit several notable limitations: (i) Most models fail to capture traffic flow similarities over long distances and extended periods; (ii) They struggle to account for spatio-temporal heterogeneity induced by varying traffic flow patterns; (iii) Due to their static modeling approach, they struggle to effectively capture the intricate spatio-temporal entanglement. To address these challenges, we propose a traffic flow prediction framework based on self-supervised learning spatio-temporal entanglement transformer(SSL-STMFormer). This framework adopts a self-supervised learning paradigm, leveraging a transformer architecture that captures richer spatio-temporal information to better represent traffic flow patterns. Specifically, a temporal attention module and a spatial attention module are employed to capture the spatio-temporal dependencies of traffic dynamics, respectively, and spatio-temporal entanglement-aware methods are introduced to allow the model to perceive spatio-temporal entanglement and thus better modelling of real traffic environments. Furthermore, to achieve adaptive spatio-temporal self-supervised learning, adaptive data augmentation is applied to the input traffic flow data, and the traffic flow prediction task is enhanced with temporal heterogeneity module and spatial heterogeneity module. Extensive experimental evaluations conducted on six publicly available real-world transportation datasets demonstrate that our method achieves substantial improvements across these datasets.

Downloads

Published

2025-04-11

How to Cite

Li, Z., Hu, Z., Han, P., Gu, Y., & Cai, S. (2025). SSL-STMFormer Self-Supervised Learning Spatio-Temporal Entanglement Transformer for Traffic Flow Prediction. Proceedings of the AAAI Conference on Artificial Intelligence, 39(11), 12130-12138. https://doi.org/10.1609/aaai.v39i11.33321

Issue

Section

AAAI Technical Track on Data Mining & Knowledge Management I