交通流动态预测LSTM模型设计
Design of LSTM Model for Traffic Flow Dynamic Prediction
DOI: 10.12677/CSA.2023.1312234, PDF,    国家自然科学基金支持
作者: 王 迎*, 张立东#, 杨晓萌, 尚志浩:山东交通学院交通与物流工程学院,山东 济南
关键词: 交通流预测人工智能长短期记忆网络时间序列深度学习Traffic Flow Prediction Artificial Intelligence Long Short Term Memory Network Sequentially Deep Learning
摘要: 针对交通流具有周期性动态性的特点,为提高交通流预测精度,在充分分析交通流日波动和周波动特征规律的基础上,构建了交通流预测LSTM模型;以均方根误差和平均绝对误差为评价指标,构建了LSTM模型参数寻优设计逻辑,提出了适用于交通流动态变化的层数、批处理大小、隐藏层节点数、序列长度、学习率参数的选定准则,并以PyTorch智能框架搭建了测试环境。研究结果表明,优化后的LSTM模型在交通流量预测任务上表现出显著的优越性,预测结果与实际值之间的差距明显缩小,同时也为LSTM模型超参数优化提供了一种可行有效的方法。
Abstract: To address the periodic and dynamic characteristics of traffic flow and improve the accuracy of traf-fic flow prediction, a traffic flow prediction LSTM model was constructed on the basis of fully analyz-ing the daily fluctuation and weekly fluctuation characteristics of traffic flow. Using the root mean square error and the mean absolute error as evaluation indicators, an LSTM model parameter search was constructed. Optimize the design logic, propose selection criteria for the number of lay-ers, batch size, number of hidden layer nodes, sequence length, and learning rate parameters that are suitable for dynamic changes in traffic flow, and build a test environment with the PyTorch in-telligent framework. The research results show that the optimized LSTM model shows significant superiority in traffic flow prediction tasks, and the gap between the prediction results and the actu-al values is significantly narrowed. It also provides a feasible and effective method for hyperparam-eter optimization of the LSTM model.
文章引用:王迎, 张立东, 杨晓萌, 尚志浩. 交通流动态预测LSTM模型设计[J]. 计算机科学与应用, 2023, 13(12): 2341-2354. https://doi.org/10.12677/CSA.2023.1312234

参考文献

[1] Williams, B.M., Durvasula, P.K. and Brown, D.E. (1998) Urban Freeway Traffic Flow Prediction: Application of Sea-sonal Autoregressive Integrated Moving Average and Exponential Smoothing Models. Transportation Research Record, 1644, 132-141. [Google Scholar] [CrossRef
[2] 吴兴宇, 刘雅, 王陈炜, 等. 基于SUE模型的区域交通配流问题[J]. 实验科学与技术, 2017, 15(5): 1-5.
[3] Lv, Y., Duan, Y., Kang, W., et al. (2014) Traffic Flow Prediction with Big Data: A Deep Learning Approach. IEEE Transactions on Intelligent Transportation Systems, 16, 865-873. [Google Scholar] [CrossRef
[4] Yu, R., Yin, H.T. and Zhu, Z.X. (2018) Spatio-Temporal Graph Convolutional Networks: A Deep Learning Framework for Traffic Forecasting. 27th International Joint Conference on Artificial Intelligence and 23rd European Conference on Artificial Intelligence: IJCAI-ECAI 2018, Stockholm, 13-19 July 2018, 3634-3640.
[5] Kang, D., Lv, Y. and Chen, Y. (2017) Short-Term Traffic Flow Prediction with LSTM Recur-rent Neural Network. 2017 IEEE 20th International Conference on Intelligent Transportation Systems (ITSC), Yoko-hama, 16-19 October 2017, 1-6. [Google Scholar] [CrossRef
[6] Yang, B., Sun, S., Li, J., Lin, X.X. and Tian, Y. (2019) Traffic Flow Prediction Using LSTM with Feature Enhancement. Neurocomputing, 332, 320-327. [Google Scholar] [CrossRef
[7] Tian, Y., Zhang, K., Li, J., et al. (2018) LSTM-Based Traffic Flow Prediction with Missing Data. Neurocomputing, 318, 297-305. [Google Scholar] [CrossRef
[8] Xiao, Y. and Yin, Y. (2019) Hybrid LSTM Neural Network for Short-Term Traffic Flow Prediction. Information, 10, Article No. 105. [Google Scholar] [CrossRef
[9] 熊涛. 基于长短时记忆网络的多标签文本分类[D]: [硕士学位论文]. 杭州: 浙江大学, 2017.
[10] Xie, Y.C. and Zhang, Y.L. (2006) A Wavelet Network Model for Short-Term Traffic Volume Forecasting. Journal of Intelligent Transporta-tion Systems, 10, 141-150. [Google Scholar] [CrossRef
[11] 王祥雪, 许伦辉. 基于深度学习的短时交通流预测研究[J]. 交通运输系统工程与信息, 2018, 18(1): 81-88.
[12] 孔文翔, 杨雪驰. 基于动态时空图卷积的多传感器路网交通流预测[J]. 运筹与模糊学, 2023, 13(3): 2339-2354. [Google Scholar] [CrossRef
[13] Chen, C., Wang, Y., Li, L., et al. (2012) The Retrieval of In-tra-Day Trend and Its Influence on Traffic Prediction. Transportation Research Part C: Emerging Technologies, 22, 103-118. [Google Scholar] [CrossRef
[14] 薛亚鑫. 基于LSTM深度神经网络的短期交通流预测[D]: [硕士学位论文]. 北京: 北京交通大学, 2019.
[15] 张海静. 深度学习框架下的短时交通流预测及数据补全技术研究[D]: [硕士学位论文]. 西安: 长安大学, 2020.
[16] Schaul, T., Antonoglou, I. and Silver, D. (2013) Unit Tests for Stochastic Optimization. arXiv: 1312.6055.
[17] Sturm, L.B., Santos, F.J., Ben-Tal, O. and Korshunova, I. (2016) Music Transcription Modelling and Composition Using Deep Learning. arXiv: 1604.08723.
[18] 张维, 袁绍欣, 陶建军, 周晨蓉, 阿合提∙杰恩斯. 基于多元因素的Bi-LSTM高速公路交通流预测[J]. 计算机系统应用, 2021, 30(6): 184-190.
[19] 任艺柯. 基于改进的LSTM网络的交通流预测[D]: [硕士学位论文]. 大连: 大连理工大学, 2019.
[20] 林福海. 基于LSTM的短时交通流预测研究[D]: [硕士学位论文]. 西安: 长安大学, 2020.
[21] Masters, D. and Luschi, C. (2018) Revisiting Small Batch Training for Deep Neural Networks. arXiv: 1804.07612.
[22] 王苗苗. 基于机器学习的短时交通流预测方法研究[D]: [硕士学位论文]. 西安: 长安大学, 2017.
[23] 鹿天柱, 钱晓超, 何舒, 等. 一种基于深度学习的时间序列预测方法[J]. 控制与决策, 2021, 36(3): 645-652.
[24] 张威威, 李瑞敏, 谢中教. 基于深度学习的城市道路旅行时间预测[J]. 系统仿真学报, 2017, 29(10): 2309-2315, 2322.
[25] 韩小雷, 冯润平, 季静, 等. 基于深度学习的RC梁集中塑性铰模型参数研究[J]. 工程力学, 2021, 38(11): 160-169.