Research Article

Temporal data-driven short-term traffic prediction: Application and analysis of LSTM model

Xuange Huang1,*, Xinran Li2, Wenshuo Wang3
1. Anhui University
2. Dalian University of Technology
3. South China University of Technology

* Corresponding author: [email protected]

Abstract

With the development of the economy, the number of private cars has increased, and traffic congestion is becoming increasingly common. In order to prevent traffic congestion, short-term prediction of traffic flow is urgent. This article is based on the data of a Hangzhou elevated bridge from October 4th to 18th, 2015, with a timestamp of 5 minutes and a total of over 4000 pieces of data, to have the Long Short-Term Memory (LSTM) model to be trained and the following day’s traffic flow to be predicted. The outcomes show that the model has high predictive capability and can reliably forecast future short-term transportation passenger flow, accurately reflecting the trend of data changes. Compared with the Auto-Regressive Moving Average (ARIMA) method with a Mean-Square Error (MSE) of 36, the LSTM model has a MSE of 22, which indicates a smaller MSE, indicating a more accurate prediction performance of LSTM. The LSTM model’s prediction is beneficial for alleviating traffic congestion, providing great convenience for people’s daily travel, and greatly reducing their travel time.

Keywords: LSTM; Traffic Flow; Short-Term Prediction; ARIMA
Published: November 30, 2023
DOI: 10.54254/2753-8818/14/20240948
Volume: TNS Vol.14
pp. 205-211
Download PDF

References

  1. Liu Y, Liu Z and Jia R 2019 DeepPF: A deep learning based architecture for metro passenger flow prediction Transp. Res. Part C: Emerg. Technol. 101 pp 18-34
  2. Chafak T, Nur S, Cenk G and Okan O 2023 Short term load forecasting based on ARIMA and ANN approaches Energy Rep. 9 pp 550-557
  3. Promise I, Enwere, Encarnación Cervantes-Requena, Luis A, Camuñas-Mesa, José M and de la Rosa. 2023 Using ANNs to predict the evolution of spectrum occupancy in cognitive-radio systems. Integration. 93 pp 102070
  4. Feng T, Zheng Z, Xu J, Liu M, Li M, Jia H and Yu X 2022 The Comparative Analysis of SARIMA, Facebook Prophet, and LSTM for Road Traffic Injury Prediction in Northeast China Public Health 10 p 3389
  5. Zhang J, Qu S, Zhang Z and Cheng S 2022 Improved genetic algorithm optimized LSTM model and its application in short-term traffic flow prediction PeerJ Comput Sci. 8 p 1048
  6. Zhu Z, Xu M, Ke J T, Yang H and Chen X Q 2023 A Bayesian Clustering Ensemble Gaussian Process Model for Network-Wide Traffic Flow Clustering and Prediction Transportation Research Part C: Emerging Technologies 148 p 104032
  7. Cao B and Gao M T 2018 Short-Term Traffic Flow Prediction Based on LSTM Modern Computer 332 p 3
  8. Liu C 2022 Short-term traffic flow prediction based on LSTM and its variants Transport Energy Conservation & Environmental Protection 18 pp 99-105
  9. K. Sharath Kumar and M. Rama Bai 2023 LSTM based texture classification and defect detection in a fabric. Measurement: Sensors 26 p 100603
  10. Tian Y, Zhang K L, Li J Y, Lin X Y and Yang B L 2018 LSTM Based Traffic Flow Prediction with Missing Data J. Neurocomputing pp 297-305