STFEformer: Spatial–Temporal Fusion Embedding Transformer for Traffic Flow Prediction
-
Published:2024-05-20
Issue:10
Volume:14
Page:4325
-
ISSN:2076-3417
-
Container-title:Applied Sciences
-
language:en
-
Short-container-title:Applied Sciences
Author:
Yang Hanqing1, Wei Sen1, Wang Yuanqing1
Affiliation:
1. Department of Traffic Engineering, College of Transportation Engineering, Chang’an University, Xi’an 710064, China
Abstract
In the realm of Intelligent Transportation Systems (ITSs), traffic flow prediction is crucial for multiple applications. The primary challenge in traffic flow prediction lies in the handling and modeling of the intricate spatial–temporal correlations inherent in transport data. In recent years, many studies have focused on developing various Spatial–Temporal Graph Neural Networks (STGNNs), and researchers have also begun to explore the application of transformers to capture spatial–temporal correlations in traffic data. However, GNN-based methods mainly focus on modeling spatial correlations statically, which significantly limits their capacity to discover dynamic and long-range spatial patterns. Transformer-based methods have not sufficiently extracted the comprehensive representation of traffic data features. To explore dynamic spatial dependencies and comprehensively characterize traffic data, the Spatial–Temporal Fusion Embedding Transformer (STFEformer) is proposed for traffic flow prediction. Specifically, we propose a fusion embedding layer to capture and fuse both native information and spatial–temporal features, aiming to achieve a comprehensive representation of traffic data characteristics. Then, we introduce a spatial self-attention module designed to enhance detection of dynamic and long-range spatial correlations by focusing on interactions between similar nodes. Extensive experiments conducted on three real-world datasets demonstrate that STFEformer significantly outperforms various baseline models, notably achieving up to a 5.6% reduction in Mean Absolute Error (MAE) on the PeMS08 dataset compared to the next-best model. Furthermore, the results of ablation experiments and visualizations are employed to clarify and highlight our model’s performance. STFEformer represents a meaningful advancement in traffic flow prediction, potentially influencing future research and applications in ITSs by providing a more robust framework for managing and analyzing traffic data.
Funder
Natural Science Basic Research Program of Shaanxi 111 project of Sustainable Development of Transportation in Western Urban Agglomeration
Reference43 articles.
1. A Literature Survey on Smart Cities;Yin;Sci. China Inf. Sci.,2015 2. A Survey on Modern Deep Neural Network for Traffic Prediction: Trends, Methods and Challenges;Tedjopurnomo;IEEE Trans. Knowl. Data Eng.,2022 3. Wang, J., Jiang, J., Jiang, W., Li, C., and Zhao, W.X. (2021, January 2–5). Libcity: An Open Library for Traffic Prediction. Proceedings of the 29th International Conference on Advances in Geographic Information Systems, Beijing, China. 4. Deep Learning on Traffic Prediction: Methods, Analysis, and Future Directions;Yin;IEEE Trans. Intell. Transp. Syst.,2021 5. Yao, H., Wu, F., Ke, J., Tang, X., Jia, Y., Lu, S., Gong, P., Ye, J., and Li, Z. (2018, January 2–7). Deep Multi-View Spatial-Temporal Network for Taxi Demand Prediction. Proceedings of the AAAI Conference on Artificial Intelligence, New Orleans, LA, USA.
|
|