###
计算机系统应用英文版:2025,34(5):87-95
本文二维码信息
码上扫一扫!
面向交通预测的窗口时空注意力建模方法
(1.福州大学 计算机与大数据学院, 福州 350108;2.福建警察学院 治安系, 福州 350007)
Window Spatio-temporal Attention Modeling Approach for Traffic Prediction
(1.College of Computer and Data Science, Fuzhou University, Fuzhou 350108, China;2.Public Security Department, Fujian Police College, Fuzhou 350007, China)
摘要
图/表
参考文献
相似文献
本文已被:浏览 488次   下载 1202
Received:October 17, 2024    Revised:November 08, 2024
中文摘要: 在目前交通预测中, 基于深度学习的时空分离建模方法难以有效地表达数据中的时空耦合相关性, 时空联合建模方法虽然可以一定程度上弥补时空分离建模的缺点, 但是其在构建时空超图时存在表达能力不足、计算复杂度高等问题, 为此提出一种改进的窗口时空注意力网络 (window spatial-temporal attention network, W-STANet) 的时空联合建模方法. W-STANet 主要由数据嵌入层、时空相关性建模层、预测头 3 部分组成. 时空相关性建模层通过堆叠多个时空注意力块实现对交通数据时空相关性特征的学习; 同时, 通过引入局部窗口计算方式以及数据移位和交换操作, 大幅度降低了建模过程中的计算复杂度, 并实现了在时空图中局部视角和全局视角的建模. 在5个真实交通公共数据集上的实验结果表明, 相比其他时空联合建模方法有着更好的预测性能. 与其他时空分离建模方法相比, 在大规模路网的数据集上的预测性能较优.
Abstract:Currently, in traffic prediction, deep learning-based spatio temporal separation modeling methods have difficulty in expressing spatio-temporal coupling correlations in data effectively. Although spatio-temporal joint modeling methods can compensate for the shortcomings of spatio-temporal separation modeling to some extent, there are deficiencies such as insufficient express ability and high computational complexity in constructing spatio-temporal hypergraphs. To address these issues, this study proposes an improved spatio-temporal joint modeling method, window spatial-temporal attention network (W-STANet). W-STANet mainly comprises three parts: a data embedding layer, a spatio-temporal correlation modeling layer, and a prediction head. The spatio-temporal correlation modeling layer learns spatio-temporal correlation features of traffic data by stacking multiple spatio-temporal attention blocks. Meanwhile, by introducing the local window calculation method, data shifting and permutation operations, the computational complexity in the modeling process is greatly reduced, and the modeling from both local and global perspectives within the spatio temporal graph is achieved. Experimental results on five real traffic public datasets demonstrate superior prediction performance compared to other spatio-temporal joint modeling methods. Compared with spatio-temporal separation modeling methods, it has superior prediction performance on large-scale road network datasets.
文章编号:     中图分类号:    文献标志码:
基金项目:国家自然科学基金 (62301159); 福建省自然科学基金面上项目 (2023J01229)
引用文本:
王嘉俊,李勇,欧丽云.面向交通预测的窗口时空注意力建模方法.计算机系统应用,2025,34(5):87-95
WANG Jia-Jun,LI Yong,OU Li-Yun.Window Spatio-temporal Attention Modeling Approach for Traffic Prediction.COMPUTER SYSTEMS APPLICATIONS,2025,34(5):87-95