Short-Term Traffic Flow Prediction Considering Weather Factors Based on Optimized Deep Learning Neural Networks: Bo-GRA-CNN-BiLSTM
Chaojun Wang,
Shulin Huang and
Cheng Zhang ()
Additional contact information
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
Sustainability, 2025, vol. 17, issue 6, 1-20
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.
Keywords: short-term traffic flow forecast; grey relational analysis; Bayesian optimization; bidirectional long short-term memory; weather factors (search for similar items in EconPapers)
JEL-codes: O13 Q Q0 Q2 Q3 Q5 Q56 (search for similar items in EconPapers)
Date: 2025
References: Add references at CitEc
Citations:
Downloads: (external link)
https://www.mdpi.com/2071-1050/17/6/2576/pdf (application/pdf)
https://www.mdpi.com/2071-1050/17/6/2576/ (text/html)
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:gam:jsusta:v:17:y:2025:i:6:p:2576-:d:1612670
Access Statistics for this article
Sustainability is currently edited by Ms. Alexandra Wu
More articles in Sustainability from MDPI
Bibliographic data for series maintained by MDPI Indexing Manager ().