Global Spatio-Temporal Fusion-based Traffic Prediction Algorithm with Anomaly Aware
Chaoqun Liu, Xuanpeng Li, Chen Gong, Guangyu Li
TL;DR
The paper addresses the challenge of accurate traffic prediction under irregular external events by modeling global long-term spatio-temporal dependencies and anomaly influences. It introduces a global spatio-temporal fusion framework with an Anomalous Factors Impact Module (AFIM) and a Transformer-based Multi-scale Spatio-Temporal Feature Fusion Module (MTSFFL), enriched by DEM with daily/weekly and Laplacian embeddings. AFIM uses Temporal Self-Attention and Spatial Self-Attention, guided by an Anomaly Detection Network, to produce an anomaly influence that modulates traffic features, while MTSFFL captures both short- and long-range sensor interactions across multiple scales. Experiments on PEMS04 and PEMS08 show state-of-the-art results, with notable reductions in MAE, RMSE, and MAPE compared to strong baselines, and ablations validate the contributions of AFIM and MTSFFL. The method offers a scalable, anomaly-aware approach for wide-area traffic prediction with practical implications for urban management and smart mobility systems.
Abstract
Traffic prediction is an indispensable component of urban planning and traffic management. Achieving accurate traffic prediction hinges on the ability to capture the potential spatio-temporal relationships among road sensors. However, the majority of existing works focus on local short-term spatio-temporal correlations, failing to fully consider the interactions of different sensors in the long-term state. In addition, these works do not analyze the influences of anomalous factors, or have insufficient ability to extract personalized features of anomalous factors, which make them ineffectively capture their spatio-temporal influences on traffic prediction. To address the aforementioned issues, We propose a global spatio-temporal fusion-based traffic prediction algorithm that incorporates anomaly awareness. Initially, based on the designed anomaly detection network, we construct an efficient anomalous factors impacting module (AFIM), to evaluate the spatio-temporal impact of unexpected external events on traffic prediction. Furthermore, we propose a multi-scale spatio-temporal feature fusion module (MTSFFL) based on the transformer architecture, to obtain all possible both long and short term correlations among different sensors in a wide-area traffic environment for accurate prediction of traffic flow. Finally, experiments are implemented based on real-scenario public transportation datasets (PEMS04 and PEMS08) to demonstrate that our approach can achieve state-of-the-art performance.
