Journal of Computer Applications ›› 2026, Vol. 46 ›› Issue (11): 3448-3456.DOI: 10.11772/j.issn.1001-9081.2025081023

• Artificial intelligence • Previous Articles    

Traffic flow prediction model based on spatio-temporal attention with decoupled dynamic residual graph convolution

Guoliang YANG1, Weijun LI1,2(), Zhangyou XIONG1, Xiaojuan ZHU1, Xinyu MA1   

  1. 1.School of Computer Science and Engineering,North Minzu University,Yinchuan Ningxia 750021,China
    2.Key Laboratory of Images and Graphics Intelligent Processing of State Ethnic Affairs Commission (North Minzu University),Yinchuan Ningxia 750021,China
  • Received:2025-09-08 Revised:2025-11-11 Accepted:2025-11-26 Online:2025-12-09 Published:2026-11-10
  • Contact: Weijun LI
  • About author:YANG Guoliang, born in 1999, M. S. candidate. His research interests include traffic flow prediction.
    XIONG Zhangyou, born in 1998, M. S. candidate. His research interests include spatial-temporal traffic flow prediction.
    ZHU Xiaojuan, born in 2000, M. S. candidate. Her research interests include capsule network, object detection.
    MA Xinyu, born in 2000, M. S. candidate. Her research interests include capsule network, temporal knowledge reasoning.
  • Supported by:
    Scientific Research Project of Ningxia Higher Education Institutions(NYG2024086);Science and Technology Support Project of Yinchuan City(2025SF49);Graduate Innovation Project of North Minzu University(YCX24362)

基于时空注意力与解耦动态残差图卷积的交通流量预测模型

杨国梁1, 李卫军1,2(), 熊章友1, 朱晓娟1, 马馨瑜1   

  1. 1.北方民族大学 计算机科学与工程学院,银川 750021
    2.图形图像智能处理国家民委重点实验室(北方民族大学),银川 750021
  • 通讯作者: 李卫军
  • 作者简介:杨国梁(1999—),男,宁夏中卫人,硕士研究生,CCF会员,主要研究方向:交通流量预测
    熊章友(1998—),男,江西南昌人,硕士研究生,CCF会员,主要研究方向:时空交通流预测
    朱晓娟(2000—),女,甘肃天水人,硕士研究生,CCF会员,主要研究方向:胶囊网络、目标检测
    马馨瑜(2000—),女(回族),宁夏灵武人,硕士研究生,CCF会员,主要研究方向:胶囊网络、时序知识推理。
  • 基金资助:
    宁夏高等学校科学研究项目(NYG2024086);银川市科技支撑项目(2025SF49);北方民族大学研究生创新项目(YCX24362)

Abstract:

Aiming at the problems that existing traffic flow prediction models rely on predefined static graph structures and are difficult to capture dynamic spatio-temporal dependencies, a traffic flow prediction model based on Spatio-Temporal Attention with Decoupled Dynamic Residual Graph Convolution (STA-DDRGC) was proposed. The model adaptively generated node association relations using the Dynamic Graph Convolutional Recurrent Network (DGCRN) and captured temporal features using the Gated Recurrent Unit (GRU). The Spatio-Temporal Attention Block (ST-Attention Block) was introduced to model dynamic spatial and nonlinear temporal correlations. The decoupling module was utilized to decompose the traffic flow into independent mode representations, and the Residual Graph Convolution (RGC) module was used to process multi-mode features. Experimental results on the PEMS03, PEMS04, and PEMS08 datasets show that the prediction performance of STA-DDRGC significantly outperforms that of the 18 comparison baseline models, with average reductions in Mean Absolute Error (MAE), Root Mean Square Error (RMSE), and Mean Absolute Percentage Error (MAPE) of 12.7%, 10.3%, and 14.2%, respectively. Ablation experimental results verify the effectiveness of each module, with the feature enhancement layer and ST-Attention Block reducing MAE by 1.86 and 0.50 at most, respectively. Computational cost analysis reveals that the number of STA-DDRGC parameters is 527 534, and the training time of STA-DDRGC is reduced by 56.33% compared with that of Spatio-Temporal Graph Ordinary Differential Equation network (STGODE), thereby ensuring prediction accuracy while improving efficiency. Dynamic graph generation and multi-module co-design can effectively model the complex spatio-temporal dependencies of traffic flow and provide high-precision and low-latency prediction solutions for intelligent transportation systems.

Key words: Dynamic Graph Convolutional Network (DGCN), spatio-temporal attention mechanism, traffic flow prediction, residual graph convolution, decoupling module, spatio-temporal dependency

摘要:

针对现有交通流量预测模型依赖预定义静态图结构、难以捕捉动态时空依赖关系等问题,提出一种基于时空注意力与解耦动态残差图卷积的交通流量预测模型(STA-DDRGC)。该模型通过动态图卷积循环网络(DGCRN)自适应生成节点关联关系,结合门控循环单元(GRU)捕捉时序特征;引入时空注意力模块(ST-Attention Block)建模动态空间和非线性时间相关性;利用解耦模块将交通流量分解为独立模式表示,并通过残差图卷积(RGC)模块处理多模式特征。在PEMS03、PEMS04和PEMS08数据集上的实验结果表明,STA-DDRGC的预测性能显著优于对比的18种基准模型,平均绝对误差(MAE)、均方根误差(RMSE)与平均绝对百分比误差(MAPE)分别平均降低12.7%、10.3%与14.2%。消融实验结果验证了各模块的有效性,特征增强层和时空注意力模块分别使MAE最多降低1.86和0.50。计算成本分析显示,STA-DDRGC的参数量为527 534,训练时间比时空图常微分方程网络(STGODE)缩短了56.33%,在保证预测精度的同时提升了效率。动态图生成与多模块协同设计能有效建模交通流量的复杂时空依赖性,为智能交通系统提供高精度、低延迟的预测解决方案。

关键词: 动态图卷积网络, 时空注意力机制, 交通流量预测, 残差图卷积, 解耦模块, 时空依赖性

CLC Number: