计算机工程与应用 ›› 2026, Vol. 62 ›› Issue (8): 355-365.DOI: 10.3778/j.issn.1002-8331.2502-0203

• 工程与应用 • 上一篇    下一篇

基于WTC-iFCMformer模型的短时交通流预测

陈亮1,郭吉鑫1,雷莅平2,李巧茹1+   

  1. 1.河北工业大学 土木与交通学院,天津 300401
    2.天津市公用技师学院 驾驶教学部,天津 300380
    + 通信作者 E-mail:qiaoruli129@hebut.edu.cn
  • 收稿日期:2025-02-26 修回日期:2025-05-16 在线发布日期:2026-04-15 出版日期:2026-04-15
  • 基金资助:
    国家自然科学基金(52172304)。

Short-Term Traffic Flow Prediction Based on WTC-iFCMformer Model

CHEN Liang1, GUO Jixin1, LEI Liping2, LI Qiaoru1+   

  1. 1.School of Civil and Transportation Engineering, Hebei University of Technology, Tianjin 300401, China
    2.Driving Teaching Department, Tianjin Vocational Institute of Public Utilities, Tianjin 300380, China
    + Corresponding author E-mail:qiaoruli129@hebut.edu.cn
  • Received:2025-02-26 Revised:2025-05-16 Online:2026-04-15 Published:2026-04-15

摘要: 短时交通流预测在智慧化交通的管理和调度中发挥着至关重要的作用。为更加准确地进行短时交通流预测,针对iTransformer神经网络并行结构框架在捕捉时间位置特征和隐藏时间特征方面存在的不足,引入时间季节性信息与位置编码来获取数据位置信息与时序特征;鉴于iTransformer模型在处理交通流中的短时波动和频率变化时的不足,提出了基于一维小波卷积变换网络(wavelet Transform convolution 1D,WTConv1D)的卷积提取模块,通过卷积机制增强模型对交通数据中复杂频率成分的感知和利用能力;同时考虑到短时交通流预测具有强时序性且模型计算复杂问题,引入傅里叶卷积混合机制(fast Fourier convolution mixer,FFCM),替换原始iTransformer模型的Feed-Forward模块以提取邻域时序特征、获取周期性和全局依赖特征并降低计算复杂度,从而提高WTC-iFCMformer模型预测的精度和速度。在实验部分,采用明尼苏达德卢斯大学交通实验室平台获取的交通流数据,通过对比、消融和泛化实验,在MAE、MAPE、RMSE、R2、平均收敛轮数和耗时六个指标对预测结果进行对比分析。实验结果表明,WTC-iFCMformer在多个指标上均取得了最优结果,为复杂交通场景下的实时预测与调度提供了高效且准确的解决方案。

关键词: 短时交通流预测, 深度学习, 一维小波卷积, 傅里叶卷积混合器, iTransformer, 时序建模

Abstract: Short-term traffic flow prediction plays a crucial role in the management and scheduling of intelligent transportation systems. To achieve more accurate predictions, this paper addresses the shortcomings of the iTransformer neural network??s parallel structure in capturing temporal-location features and hidden temporal features by introducing temporal seasonal information and positional encoding to acquire both spatial and temporal data characteristics. In view of the inadequacy of the iTransformer model in handling short-term fluctuations and frequency variations in traffic flow, the paper proposes a convolution extraction module based on a one-dimensional wavelet convolution transformation network (WTConv1D). This module enhances the model??s ability to perceive and utilize complex frequency components in traffic data through the WTConv1D convolution mechanism. Moreover, considering the strong temporal nature and computational complexity of short-term traffic flow prediction, the paper introduces the fast Fourier convolution mixer (FFCM) to replace the original iTransformer model??s feed-forward module. This modification allows for the extraction of neighborhood temporal features, the capture of periodicity and global dependency characteristics, and a reduction in computational complexity, thereby improving both the prediction accuracy and speed of the WTC-iFCMformer model. In the experimental section, this paper utilizes traffic flow data from the Minnesota Duluth University Traffic Laboratory platform. Through comparison, ablation, and generalization experiments, the paper analyzes and compares the prediction results in terms of six metrics: MAE, MAPE, RMSE, R2, the number of average convergence epochs, and runtime. The experimental results demonstrate that the WTC-iFCMformer model achieves optimal performance across multiple metrics, providing an efficient and accurate solution for real-time prediction and scheduling in complex traffic scenarios.

Key words: short-term traffic flow prediction, deep learning, wavelet convolution 1D, Fourier convolution mixer, iTransformer, temporal modeling