基于D2STGNN的双向高效多尺度交通流预测OA
Bidirectional Efficient Multi-scale Traffic Flow Prediction Based on D2STGNN
由于交通流的复杂性和时空特征提取不足,D2STGNN难以捕捉交通网络的动态变化,限制了预测精度提升.本文提出一种高效的多头自注意力机制(EMHSA)和双向门控循环单元(BiGRU)结合的Bi-EMHGRU模型,该模型通过BiGRU捕捉前后时序依赖,并利用多头自注意力机制动态分配各时间步权重,聚焦关键时序特征.同时,引入多尺度时间特征提取模块,增强对短期波动和长期趋势的建模能力,提升复杂时空动态的建模效果.实验结果表明,Bi-EMHGRU在PeMS04 和PeMS08 数据集上表现优异,均方根误差值下降约 0.55~1.55,平均绝对误差下降约 0.89~1.40,平均绝对百分比误差下降约 0.86~1.77 个百分点,预测步长增加时仍能保持稳定的预测性能,泛化能力强.与现有基准模型相比,Bi-EMHGRU能够更有效地捕捉交通流的动态时空特征,显著提升预测精度和鲁棒性.
Due to the complexity of traffic flow and the insufficient extraction of spatio-temporal features,it is difficult for D2STGNN to capture the dynamic changes of traffic networks,which limits the improvement of prediction accuracy.In this paper,a Bi-EMHGRU model combining an efficient multi-head self-attention mechanism(EMHSA)and a bidirectional gated recurrent unit(BiGRU)is proposed.This model captures the sequential dependencies of both forward and backward timings through BiGRU and dynamically allocates weights to each time step by using the multi-head self-attention mechanism to focus on key sequential features.Meanwhile,a multi-scale time feature extraction module is introduced,which enhances the modeling ability for short-term fluctuations and long-term trends and improves the modeling effect of complex spatio-temporal dynamics.The experimental results show that Bi-EMHGRU performs excellently on the PEMS04 and PEMS08 datasets.The root mean square error value has decreased by approximately 0.55~1.55,the mean absolute error has decreased by approximately 0.89~1.40,and the mean absolute percentage error has decreased by approximately 0.86~1.77 percentage points.It can still maintain stable prediction performance when the prediction step length increases and has strong generalization ability.Compared with the existing benchmark models,Bi-EMHGRU can capture the dynamic spatio-temporal features of traffic flow more effectively and significantly improves the prediction accuracy and robustness.
黄艳国;肖洁;吴水清
江西理工大学 电气工程与自动化学院,江西 赣州 341000江西理工大学 电气工程与自动化学院,江西 赣州 341000江西理工大学 电气工程与自动化学院,江西 赣州 341000
交通工程
交通流预测多头自注意力机制Bi-EMHGRU动态时空特征多尺度时间特征
traffic flow predictionmulti-head self-attentionBi-EMHGRUdynamic spatio-temporal featuresmulti-scale temporal features
《广西师范大学学报(自然科学版)》 2026 (1)
10-22,13
国家自然科学基金(72061016)
评论