基于仿射全注意力机制的车辆轨迹预测方法
A Vehicle Trajectory Prediction Method Based on Affine Full Attention Mechanism
摘要: 针对现有车辆轨迹预测方法在复杂交通场景中时空信息提取不充分、多智能体交互建模能力有限的问题,本文提出一种基于仿射全注意力机制的车辆轨迹预测方法BiFSTNet。该方法采用动态邻接矩阵建模车辆间空间关系,利用视觉Transformer从多车辆历史轨迹中提取全局上下文特征,并设计仿射全注意力机制融合时间多头注意力和空间图注意力网络,有效捕获时空交互模式和长期时间依赖关系。采用双向长短期记忆网络构建编码器–解码器架构,实现端到端的轨迹预测。在NGSIM US-101和I-80数据集上的实验结果表明,BiFSTNet在US-101数据集上平均均方根误差为1.77m,在I-80数据集上平均均方根误差为2.06m,相比基线方法在各预测时间范围内均有性能提升。
Abstract: To address the insufficient spatiotemporal information extraction and limited multi-agent interaction modeling capability of existing vehicle trajectory prediction methods in complex traffic scenarios, this paper proposes BiFSTNet, a vehicle trajectory prediction method based on affine full attention mechanism. The proposed method employs dynamic adjacency matrices to model spatial relationships between vehicles and utilizes Vision Transformer to extract global contextual features from multi-vehicle historical trajectories. An affine full attention mechanism is designed to fuse temporal multi-head attention and spatial graph attention networks, effectively capturing spatiotemporal interaction patterns and long-term temporal dependencies. A bidirectional long short-term memory network is adopted to construct an encoder-decoder architecture for end-to-end trajectory prediction. Experimental results on the NGSIM US-101 and I-80 datasets demonstrate that BiFSTNet achieves an average root mean square error of 1.77 m on the US-101 dataset and 2.06 m on the I-80 dataset, showing performance improvements over baseline methods across all prediction time horizons.
文章引用:吴林蓉. 基于仿射全注意力机制的车辆轨迹预测方法[J]. 建模与仿真, 2025, 14(9): 128-137. https://doi.org/10.12677/mos.2025.149590

参考文献

[1] 左世全. 解读《新能源汽车产业发展规划(2021-2035)》[J]. 智能网联汽车, 2020(6): 21-23.
[2] 张志勇, 王宇翔, 黄彩霞, 等. 融合灰色预测和卡尔曼滤波的车辆侧向碰撞预警[J]. 机械工程学报, 2024, 60(20): 240-250.
[3] 龙皓明, 薛振锋, 陈卓, 等. 智能驾驶车辆轨迹预测方法综述[J]. 兵工自动化, 2024, 43(5): 43-52.
[4] 李秦, 何洪文, 胡满江. 基于高斯过程回归的无人车辆轨迹跟踪模型预测控制[J/OL]. 兵工学报, 1-10.
http://kns.cnki.net/kcms/detail/11.2176.TJ.20241125.1512.002.html, 2024-12-23.
[5] 杨杨. 基于隐马尔科夫预测算法的无人驾驶车辆换道策略研究[D]: [硕士学位论文]. 十堰: 湖北汽车工业学院, 2021.
[6] 龙皓明, 薛振锋, 陈卓, 等. 智能驾驶车辆轨迹预测方法综述[J]. 兵工自动化, 2024, 43(5): 43-52.
[7] 张智阳. 基于循环神经网络的车辆轨迹预测算法研究[D]: [硕士学位论文]. 长春: 吉林大学, 2024.
[8] Zhang, J., Wang, Z., Li, L., Yang, K. and Lu, Y. (2024) Trajectory Tracking Control of Autonomous Vehicles Based on Event‐Triggered Model Predictive Control. IET Intelligent Transport Systems, 18, 2856-2868. [Google Scholar] [CrossRef
[9] Ge, L., Wang, S. and Wang, G. (2024) Rapid Vehicle Trajectory Prediction Based on Multi-Attention Mechanism for Fusing Multimodal Information. Electronics, 13, Article 4806. [Google Scholar] [CrossRef
[10] Chen, Y. and Yuhui, F. (2022) Prediction of Ship Track Based on ARIMA-LSTM. Dalian Maritime University.
[11] Xiao, P., Xie, H. and Yan, L. (2024) Vehicle Motion Trajectory Prediction Fusion Algorithm with Driver Adventurousness Correction Factor Based on CS-LSTM. Proceedings of the Institution of Mechanical Engineers, Part D: Journal of Automobile Engineering, 238, 3541-3552. [Google Scholar] [CrossRef
[12] Zhu, D., Khan, Q. and Cremers, D. (2024) Multi-Vehicle Trajectory Prediction and Control at Intersections Using State and Intention Information. Neurocomputing, 574, Article 127220. [Google Scholar] [CrossRef
[13] Wang, J., Liu, K. and Li, H. (2024) LSTM-Based Graph Attention Network for Vehicle Trajectory Prediction. Computer Networks, 248, Article 110477. [Google Scholar] [CrossRef
[14] Ratre, S.U. and Joshi, B. (2024) Trajectory and Motion Prediction of Autonomous Vehicles Driving Assistant System Using Distributed Discriminator Based Bi-Directional Long Short Term Memory Model. International Journal of Intelligent Transportation Systems Research, 23, 245-258. [Google Scholar] [CrossRef
[15] Deo, N. and Trivedi, M.M. (2018). Convolutional Social Pooling for Vehicle Trajectory Prediction. 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPRW), Salt Lake City, 18-22 June 2018, 1549-15498.[CrossRef
[16] Yu, J., Zhou, M., Wang, X., Pu, G., Cheng, C. and Chen, B. (2021) A Dynamic and Static Context-Aware Attention Network for Trajectory Prediction. ISPRS International Journal of Geo-Information, 10, Article 336. [Google Scholar] [CrossRef
[17] Alahi, A., Goel, K., Ramanathan, V., Robicquet, A., Fei-Fei, L. and Savarese, S. (2016) Social LSTM: Human Trajectory Prediction in Crowded Spaces. 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, 27-30 June 2016, 961-971. [Google Scholar] [CrossRef