Short-Term Traffic Flow Prediction Considering Weather Factors Based on Optimized Deep Learning Neural Networks: Bo-GRA-CNN-BiLSTM
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 R2 compared to five baseline models.
Authors
- Chaojun Wang (ORCID: https://orcid.org/0000-0002-1632-1728)
- Cheng Zhang (ORCID: https://orcid.org/0000-0002-6529-2468)
- Shang‐Lang Huang
Institutions
- University of Shanghai for Science and Technology (CN)
Publication Details
- Journal
- Sustainability
- Published
- 2025-03-14
- DOI
- https://doi.org/10.3390/su17062576
- Citations
- 12
- Primary Topic
- Traffic Prediction and Management Techniques
- Type
- article
- Field-Weighted Citation Impact
- 12.08
Funders
- National Natural Science Foundation of China