A Traffic-Weather Generative Adversarial Network for Traffic Flow Prediction for Road Networks under Bad Weather
Wensong Zhang,Ronghan Yao,Ying Yuan,Xiaojing Du,Libing Wang,Feng Sun
DOI: https://doi.org/10.1016/j.engappai.2024.109125
IF: 8
2024-01-01
Engineering Applications of Artificial Intelligence
Abstract:Traffic flow prediction is pivotal in providing reliable information for intelligent traffic systems. Unexpected events, such as bad weather, unavoidably impact the precision of traffic flow prediction. Therefore, to achieve accurate traffic flow prediction results in road networks under bad weather, a novel Traffic-Weather Generative Adversarial Network (TWeather-GAN model) is developed. This model comprises a Generator and a Discriminator. The Generator incorporates both the traffic and weather modules to extract the spatiotemporal patterns hidden in traffic flow and weather data. In the traffic and weather modules, the gated convolutional layer, Encoder-Decoder architecture, and attention mechanism are established. In the Discriminator, the gated convolutional layer and bidirectional long short-term memory neural network are introduced. Traffic flow data under fog, strong wind, and heavy rain are selected to test the seven baseline models and the proposed model, and the ablation experiments are conducted to analyze the mechanism of the proposed model. The experiments demonstrate that the TWeather-GAN model outperforms the baseline models under bad weather, and makes the prediction error have an average reduction of 0.20%–34.81%, 3.21%–35.22%, and 9.46%–39.10%, respectively, under one-step prediction, three-step prediction, and six-step prediction. Furthermore, establishing the gated convolutional layer and the weather module enhances the accuracy of traffic flow prediction under bad weather. Results show that traffic flow fluctuations and distributions differ under fog and strong wind, and heavy rain affects the trend of traffic flow over one day.