Abstract
The alleviation of traffic congestion relies on efficient traffic control and traffic guidance, which are based on real-time short-term traffic flow prediction. In this paper, the stacked autoencoder (SAE) deep learning model with powerful feature learning capability is selected to predict the traffic flow on road sections. The process of training SAE includes the pre-training phase and the fine-tuning phase, which mainly apply the BP algorithm. However, the process of training SAE is time-consuming and cannot meet the real-time performance of modern application systems. This paper proposes a parallel training strategy for the SAE prediction model based on data parallel mode. The gradient solution process in our algorithm satisfies the conditions of parallel computing, so the training process can be designed in a parallel manner. The original dataset is distributed to some computing nodes, which are work nodes. The work node is responsible for gradient calculation using the local data. The task of the sole master node is to synthesize the gradient calculation results and then broadcast the updated gradient to each work node. The simulation results show that the SAE-based prediction model achieves better results than the traditional model, and the parallel algorithm reduces the running time of training processes.
Similar content being viewed by others
Data availability and access
The datasets generated during and/or analysed during the current study are available from the corresponding author on reasonable request.
References
Shahriari S, Ghasri M, Sisson S, Rashidi T (2020) Ensemble of arima: combining parametric and bootstrapping technique for traffic flow prediction. Transportmetrica A: Transport Science 16(3):1552–1573
Li Y, Wu K, Liu J (2023) Self-paced arima for robust time series prediction. Knowl Based Syst 269:110489
Song X, Guo Y, Li N, Zhang L (2021) Online traffic flow prediction for edge computing-enhanced autonomous and connected vehicles. IEEE Trans Veh Technol 70(3):2101–2111
Lin X, Huang Y (2021) Short-term high-speed traffic flow prediction based on arima-garch-m model. Wirel Pers Commun 117(4):3421–3430
Huang K, Wu S, Sun B, Yang C, Gui W (2022) Metric learning-based fault diagnosis and anomaly detection for industrial data with intraclass variance. IEEE Trans Neural Netw Learn Syst
Zhang J, Qu S (2021) Optimization of backpropagation neural network under the adaptive genetic algorithm. Complexity 2021:1–9
Ghanim MS, Muley D, Kharbeche M (2022) Ann-based traffic volume prediction models in response to covid-19 imposed measures. Sustain Cities Soc 81:103830
Li W, Sui L, Zhou M (2021) Dong H () Short-term passenger flow forecast for urban rail transit based on multi-source data. Eurasip J Wirel Commun Netw 1:1–13
Wang D, Wang C, Xiao J, Xiao Z, Chen W, Havyarimana V (2019) Bayesian optimization of support vector machine for regression prediction of short-term traffic flow. Intell Data Anal 23(2):481–497
Sun B, Sun T, Jiao P (2021) Spatio-temporal segmented traffic flow prediction with anprs data based on improved xgboost. J Adv Transp 2021:1–24
Fujita H, Cimr D (2019) Decision support system for arrhythmia prediction using convolutional neural network structure without preprocessing. Appl Intell 49:3383–3391
Hayashi T, Fujita H (2022) One-class ensemble classifier for data imbalance problems. Appl Intell 52(15):17073–17089
Yang L (2020) Uncertainty prediction method for traffic flow based on k-nearest neighbor algorithm. J Intell Fuzzy Syst 39(2):1489–1499
Zhang W, Yu Y, Qi Y, Shu F, Wang Y (2019) Short-term traffic flow prediction based on spatio-temporal analysis and cnn deep learning. Transportmetrica A: Transport Science 15(2):1688–1711
Qu L, Zhang M, Li Z, Li W (2020) Temporal backtracking and multistep delay of traffic speed series prediction. J Adv Transp 2020:1–13
Wu X, Du Z, Guo Y, Fujita H (2019) Hierarchical attention based long short-term memory for chinese lyric generation. Appl Intell 49:44–52
Huang K, Wei K, Li F, Yang C, Gui W (2022) Lstm-mpc: A deep learning based predictive control method for multimode process control. IEEE Trans Ind Electron
Xu Y, Liu W, Mao T, Jiang Z, Chen L, Zhou M (2023) Multiadaptive spatiotemporal flow graph neural network for traffic speed forecasting. Transp Res Rec 2677(3):683–695
Chen L, Shao W, Lv M, Chen W, Zhang Y, Yang C (2022) Aargnn: An attentive attributed recurrent graph neural network for traffic flow prediction considering multiple dynamic factors. IEEE Trans Intell Transp Syst 23(10):17201–17211
Hu H-x, Lin Z-z, Hu Q, Zhang Y, Wei W, Wang W (2023) Multi-source information fusion based dlaas for traffic flow prediction. IEEE Trans Comput
Zhao L, Zhou Y, Lu H, Fujita H (2019) Parallel computing method of deep belief networks and its application to traffic flow prediction. Knowl Based Syst 163:972–987
Modi S, Bhattacharya J, Basak P (2022) Multistep traffic speed prediction: A deep learning based approach using latent space mapping considering spatio-temporal dependencies. Expert Syst Appl 189:116140
Huo G, Zhang Y, Wang B, Gao J, Hu Y, Yin B (2023) Hierarchical spatio-temporal graph convolutional networks and transformer network for traffic flow forecasting. IEEE Trans Intell Transp Syst 24(4):3855–3867
Wang J, Zhu W, Sun Y, Tian C (2021) An effective dynamic spatiotemporal framework with external features information for traffic prediction. Appl Intell 51:3159–3173
Zhao F, Zeng G-Q, Lu K-D (2019) Enlstm-wpeo: Short-term traffic flow prediction by ensemble lstm, nnct weight integration, and population extremal optimization. IEEE Trans Veh Technol 69(1):101–113
Qu L, Lyu J, Li W, Ma D, Fan H (2021) Features injected recurrent neural networks for short-term traffic speed prediction. Neurocomputing 451:290–304
Su J, Wu S, Zhang B, Wu C, Qin Y, Xiong D (2018) A neural generative autoencoder for bilingual word embeddings. Inf Sci 424:287–300
Nath A, Karthikeyan S (2018) Enhanced prediction of recombination hotspots using input features extracted by class specific autoencoders. J Theor Biol 444:73–82
Wang Y, Hou D, Xu D, Zhang S, Yang C (2023) Prediction of rolling bearing performance degradation based on sae and tcn-attention models. J. Mech Sci Technol 1–17
Liu C, Wang Y, Wang K, Yuan X (2021) Deep learning with nonlocal and local structure preserving stacked autoencoder for soft sensor in industrial processes. Eng Appl Artif Intell 104:104341
Chen J, Yuan W, Cao J, Lv H (2020) Traffic-flow prediction via granular computing and stacked autoencoder. Granul Comput 5:449–459
Upadhyay NM, Singh RS, Dwivedi SP (2022) Prediction of multicore cpu performance through parallel data mining on public datasets. Displays 71:102112
Lepikhin D, Lee H, Xu Y, Chen D, Firat O, Huang Y, Krikun M, Shazeer N, Chen Z (2020) Gshard: Scaling giant models with conditional computation and automatic sharding. arXiv preprint arXiv:2006.16668
Chen T, Zhang G (2018) Forward modeling of gravity anomalies based on cell mergence and parallel computing. Comput Geosci 120:1–9
Yang C, Zhang J, Chang Y, Zou J, Liu Z, Fan S (2023) A novel deep parallel time-series relation network for fault diagnosis. IEEE Trans Instrum Meas 72:1–13
Wang X, Feng L, Zhao H (2019) Fast image encryption algorithm based on parallel computing system. Inf Sci 486:340–358
Chen X, Liu Z, Zhang K, Wang Z (2020) A parallel computing approach to solve traffic assignment using path-based gradient projection algorithm. Transp. Res. Part C Emerg. Technol 120:102809
Tang X, Chen J, Liu T, Qin Y, Cao D (2021) Distributed deep reinforcement learning-based energy and emission management strategy for hybrid electric vehicles. IEEE Trans Veh Technol 70(10):9922–9934
Caltrans Performance Measurement System. Online (2023). http://pems.dot.ca.gov
Fan G-F, Peng L-L, Huang H-P, Hong W-C (2023) Use of weighted local constant method to short-term forecasting of electric load in cities at weekends. Electr Power Syst Res 221:109464
Berrar D (2022) Using p-values for the comparison of classifiers: pitfalls and alternatives. Data Min Knowl Discov 36(3):1102–1139
Acknowledgements
This work was financially supported by the National Natural Science Foundation of China (Grant No. 62373037).
Author information
Authors and Affiliations
Contributions
Conceptualization: Yonghua Zhou, Yiduo Mei; Methodology: Lu Zhao; Formal analysis and investigation: Xiaoxue Tan; Writing - original draft preparation: Xiaoxue Tan, Lu Zhao; Writing - review and editing: Yonghua Zhou, Yiduo Mei; Funding acquisition: Yonghua Zhou; Resources: Yonghua Zhou; Supervision: Yonghua Zhou,Yiduo Mei.
Corresponding authors
Ethics declarations
Conflict of Interest
The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Tan, X., Zhou, Y., Zhao, L. et al. Short-term traffic flow prediction based on SAE and its parallel training. Appl Intell 54, 3650–3664 (2024). https://doi.org/10.1007/s10489-023-05157-4
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10489-023-05157-4