TY - JOUR
T1 - A Bayesian-Optimized Long Short-Term Memory Deep Learning Model for Traffic Prediction in Intelligent Transportation
AU - Khan, Hamza Murad
AU - Khan, Anwar
AU - Majid, Muhammad Imran
AU - Haq, Sana Ul
AU - Zafar, Mohammad Haseeb
N1 - Publisher Copyright:
© The Author(s) 2026.
PY - 2026/6/30
Y1 - 2026/6/30
N2 - In smart mobility networks, accurate vehicular flow forecasting is of critical importance, enabling efficient, robust, user- and environment-friendly management of devices, technologies, and systems. However, current short-term traffic prediction algorithms frequently face challenges of computational inefficiency and limited predictive precision. To overcome these limitations, this paper introduces an LSTM model optimized through Bayesian optimizer (BO-LSTM) to enhance prediction accuracy. The traffic data is first preprocessed through data augmentation using random sampling and scaling of traffic counts, which is particularly suitable for traffic time series data as it preserves temporal patterns while increasing data diversity and robustness against demand fluctuations. After this augmentation step, the data is standardized to bring the input features to a similar range. The LSTM model is trained using Bayesian optimization for hyperparameters tuning, including the learning rate, dense layers, number of iterations, and dropout rate, within an acceptable range. The root mean square error (RMSE), mean absolute error (MAE), and mean absolute percentage error (MAPE) are computed for three different datasets, measured in number of vehicles per minute, yielding respective values of 0.0442, 0.0353, and 2.91%, 0.0216, 0.0173, and 1.84%, and 0.4426, 0.3541, and 2.63%. These results correspond to improvements of 34.5, 59.5, and 32.6% in RMSE, respectively, when compared against Attention-LSTM and temporal convolutional network (TCN) models. This proves the accuracy of the proposed model. The developed scheme outperforms counterpart models, advocating its potential to enhance dynamic traffic management and intelligent signal coordination systems. Such capability enables more accurate short-term flow estimates, thereby reducing average vehicle waiting times and improving intersection-level signal responsiveness.
AB - In smart mobility networks, accurate vehicular flow forecasting is of critical importance, enabling efficient, robust, user- and environment-friendly management of devices, technologies, and systems. However, current short-term traffic prediction algorithms frequently face challenges of computational inefficiency and limited predictive precision. To overcome these limitations, this paper introduces an LSTM model optimized through Bayesian optimizer (BO-LSTM) to enhance prediction accuracy. The traffic data is first preprocessed through data augmentation using random sampling and scaling of traffic counts, which is particularly suitable for traffic time series data as it preserves temporal patterns while increasing data diversity and robustness against demand fluctuations. After this augmentation step, the data is standardized to bring the input features to a similar range. The LSTM model is trained using Bayesian optimization for hyperparameters tuning, including the learning rate, dense layers, number of iterations, and dropout rate, within an acceptable range. The root mean square error (RMSE), mean absolute error (MAE), and mean absolute percentage error (MAPE) are computed for three different datasets, measured in number of vehicles per minute, yielding respective values of 0.0442, 0.0353, and 2.91%, 0.0216, 0.0173, and 1.84%, and 0.4426, 0.3541, and 2.63%. These results correspond to improvements of 34.5, 59.5, and 32.6% in RMSE, respectively, when compared against Attention-LSTM and temporal convolutional network (TCN) models. This proves the accuracy of the proposed model. The developed scheme outperforms counterpart models, advocating its potential to enhance dynamic traffic management and intelligent signal coordination systems. Such capability enables more accurate short-term flow estimates, thereby reducing average vehicle waiting times and improving intersection-level signal responsiveness.
KW - Bayesian optimization
KW - Deep learning hybrid model
KW - Intelligent transportation
KW - LSTM
KW - Traffic prediction
UR - https://www.scopus.com/pages/publications/105043586951
U2 - 10.1007/s13369-026-11437-1
DO - 10.1007/s13369-026-11437-1
M3 - Article
AN - SCOPUS:105043586951
SN - 2193-567X
JO - Arabian Journal for Science and Engineering
JF - Arabian Journal for Science and Engineering
ER -