IDEAS home Printed from https://ideas.repec.org/a/gam/jsusta/v17y2025i6p2576-d1612670.html
   My bibliography  Save this article

Short-Term Traffic Flow Prediction Considering Weather Factors Based on Optimized Deep Learning Neural Networks: Bo-GRA-CNN-BiLSTM

Author

Listed:
  • Chaojun Wang

    (Business School, University of Shanghai for Science and Technology, Shanghai 200093, China)

  • Shulin Huang

    (Business School, University of Shanghai for Science and Technology, Shanghai 200093, China)

  • Cheng Zhang

    (Business School, University of Shanghai for Science and Technology, Shanghai 200093, China)

Abstract

Accurately predicting road traffic flows is a primary challenge in the development of smart cities, providing a scientific basis and reference for urban planning, construction, and traffic management. Road traffic flow is influenced by various complex features, including temporal and weather conditions, which introduce challenges to traffic flow prediction. To enhance the accuracy of traffic flow prediction and improve the adaptability across different weather conditions, this study introduced a traffic flow prediction model with explicit consideration of weather factors including temperature, rainfall, air quality index, and wind speed. The proposed model utilized grey relational analysis (GRA) to transform weather data into weighted traffic flow data, expanded input variables into a new data matrix, and employed one-dimensional convolutional neural networks (CNNs) to extract valuable feature information from these input variables, as well as bidirectional long short-term memory (BiLSTM) to capture temporal dependencies within the time-series data. Bayesian optimization was employed to fine-tune the hyperparameters of the model, offering advantages such as fewer iterations, high efficiency, and fast speed. The performance of the proposed prediction model was validated using the traffic flow data collected at an intersection in China and on the M25 motorway in the United Kingdom. The results demonstrated the effectiveness of the proposed model, achieving improvements of at least 9.0% in MAE, 2.8% in RMSE, 2.3% in MAPE, and 0.06% in R 2 compared to five baseline models.

Suggested Citation

  • Chaojun Wang & Shulin Huang & Cheng Zhang, 2025. "Short-Term Traffic Flow Prediction Considering Weather Factors Based on Optimized Deep Learning Neural Networks: Bo-GRA-CNN-BiLSTM," Sustainability, MDPI, vol. 17(6), pages 1-20, March.
  • Handle: RePEc:gam:jsusta:v:17:y:2025:i:6:p:2576-:d:1612670
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2071-1050/17/6/2576/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2071-1050/17/6/2576/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Shenghan Zhou & Chaofan Wei & Chaofei Song & Yu Fu & Rui Luo & Wenbing Chang & Linchao Yang, 2022. "A Hybrid Deep Learning Model for Short-Term Traffic Flow Pre-Diction Considering Spatiotemporal Features," Sustainability, MDPI, vol. 14(16), pages 1-14, August.
    2. Peng, Yanni & Xiang, Wanli, 2020. "Short-term traffic volume prediction using GA-BP based on wavelet denoising and phase space reconstruction," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 549(C).
    3. Xiaoyuan Feng & Yue Chen & Hongbo Li & Tian Ma & Yilong Ren, 2023. "Gated Recurrent Graph Convolutional Attention Network for Traffic Flow Prediction," Sustainability, MDPI, vol. 15(9), pages 1-13, May.
    4. Mingyu Kim & Donghyun Lee, 2023. "Why Uncertainty in Deep Learning for Traffic Flow Prediction Is Needed," Sustainability, MDPI, vol. 15(23), pages 1-18, November.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Fei Qu & Yi-Ting Wang & Wen-Hui Hou & Xiao-Yu Zhou & Xiao-Kang Wang & Jun-Bo Li & Jian-Qiang Wang, 2022. "Forecasting of Automobile Sales Based on Support Vector Regression Optimized by the Grey Wolf Optimizer Algorithm," Mathematics, MDPI, vol. 10(13), pages 1-22, June.
    2. Yingli Wu & Xin Li & Qingquan Liu & Guangji Tong, 2022. "The Analysis of Credit Risks in Agricultural Supply Chain Finance Assessment Model Based on Genetic Algorithm and Backpropagation Neural Network," Computational Economics, Springer;Society for Computational Economics, vol. 60(4), pages 1269-1292, December.
    3. Chen, Xinqiang & Chen, Huixing & Yang, Yongsheng & Wu, Huafeng & Zhang, Wenhui & Zhao, Jiansen & Xiong, Yong, 2021. "Traffic flow prediction by an ensemble framework with data denoising and deep learning model," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 565(C).
    4. Zeng, Chao & Ma, Changxi & Wang, Ke & Cui, Zihao, 2022. "Predicting vacant parking space availability: A DWT-Bi-LSTM model," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 599(C).
    5. Xing Zhao & Chenxi Li & Xueting Zou & Xiwang Du & Ahmed Ismail, 2024. "Passenger Flow Prediction for Rail Transit Stations Based on an Improved SSA-LSTM Model," Mathematics, MDPI, vol. 12(22), pages 1-24, November.
    6. Hou, Yue & Zhang, Di & Li, Da & Deng, Zhiyuan, 2024. "Regional traffic flow combination prediction model considering virtual space of the road network," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 637(C).
    7. Ma, Changxi & Zhao, Mingxi & Huang, Xiaoting & Zhao, Yongpeng, 2024. "Optimized deep extreme learning machine for traffic prediction and autonomous vehicle lane change decision-making," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 633(C).
    8. Yang, Hongtai & Ping, An & Wei, Hongmin & Zhai, Guocong, 2023. "Unique in the metro system: The likelihood to re-identify a metro user with limited trajectory points," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 628(C).
    9. Min Li & Mengshan Li & Bilong Liu & Jiang Liu & Zhen Liu & Dijia Luo, 2022. "Spatio-Temporal Traffic Flow Prediction Based on Coordinated Attention," Sustainability, MDPI, vol. 14(12), pages 1-17, June.
    10. Ma, Changxi & Zhao, Mingxi, 2023. "Spatio-temporal multi-graph convolutional network based on wavelet analysis for vehicle speed prediction," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 630(C).
    11. Wang, Ke & Ma, Changxi & Qiao, Yihuan & Lu, Xijin & Hao, Weining & Dong, Sheng, 2021. "A hybrid deep learning model with 1DCNN-LSTM-Attention networks for short-term traffic flow prediction," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 583(C).
    12. Huang, Haichao & Chen, Jingya & Sun, Rui & Wang, Shuang, 2022. "Short-term traffic prediction based on time series decomposition," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 585(C).

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jsusta:v:17:y:2025:i:6:p:2576-:d:1612670. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.