Flood forecasting helps anticipate floods and evacuate people, but due to the access of a large number of data acquisition devices, the explosive growth of multidimensional data and the increasingly demanding prediction accuracy, classical parameter models, and traditional machine learning algorithms are unable to meet the high efficiency and high precision requirements of prediction tasks. In recent years, deep learning algorithms represented by convolutional neural networks, recurrent neural networks and Informer models have achieved fruitful results in time series prediction tasks. The Informer model is used to predict the flood flow of the reservoir. At the same time, the prediction results are compared with the prediction results of the traditional method and the LSTM model, and how to apply the Informer model in the field of flood prediction to improve the accuracy of flood prediction is studied. The data of 28 floods in the Wan’an Reservoir control basin from May 2014 to June 2020 were used, with areal rainfall in five subzones and outflow from two reservoirs as inputs and flood processes with different sequence lengths as outputs. The results show that the Informer model has good accuracy and applicability in flood forecasting. In the flood forecasting with a sequence length of 4, 5 and 6, Informer has higher prediction accuracy, and the prediction accuracy is better than other models under the same sequence length, but the prediction accuracy will decline to a certain extent with the increase in sequence length. The Informer model stably predicts the flood peak better, and its average flood peak difference and average maximum flood peak difference are the smallest. As the length of the sequence increases, the number of fields with a maximum flood peak difference less than 15% increases, and the maximum flood peak difference decreases. Therefore, the Informer model can be used as one of the better flood forecasting methods, and it provides a new forecasting method and scientific decision-making basis for reservoir flood control.
Flood forecasting helps anticipate floods and evacuate people, but due to the access of a large number of iot data acquisition devices, the explosive growth of multidimensional data and the increasingly demanding prediction accuracy, classical parameter models and traditional machine learning algorithms are unable to meet the high efficiency and high precision requirements of prediction tasks. In recent years, deep learning algorithms represented by convolutional neural networks, recurrent neural networks and Informer models have achieved fruitful results in time series prediction tasks. The Informer model is used to predict the flood flow of the reservoir. At the same time, the prediction results are compared with the prediction results of the traditional method and the LSTM model, and how to apply the Informer model in the field of flood prediction to improve the accuracy of flood prediction is studied. The data of 28 floods in the Wan 'an Reservoir control basin from May 2014 to June 2020 were used, with areal rainfall in five subzones and outflow from two reservoirs as inputs and flood processes with different sequence lengths as outputs. The results show that the Informer model has good accuracy and applicability in flood forecasting. In the flood forecasting with sequence length of 4, 5 and 6, Informer has higher prediction accuracy, and the prediction accuracy is better than other models under the same sequence length, but the prediction accuracy will decline to a certain extent with the increase of sequence length. The Informer model stably predicts the flood peak better, and its average flood peak difference and average maximum flood peak difference are the smallest. As the length of the sequence increases, the number of fields with a maximum flood peak difference less than 15% increases, and the maximum flood peak difference decreases. Therefore, the Informer model can be used as one of the better flood forecasting methods, and it provides a new forecasting method and scientific decision-making basis for reservoir flood control.
Flood forecasting is crucial for predicting floods and facilitating timely evacuations. Machine learning and deep learning algorithms, such as artificial neural networks (ANN), recurrent neural networks (RNN), and Transformer models, have shown significant success in time series prediction tasks. Recently, Diffusion models, which add noise to training data and then reverse the process to recover the data, have gained popularity in data generation. In flood prediction, however, the limited availability of hydrological data from reservoirs often hinders the training of deep learning models. This study proposes a novel approach by combining the Diffusion model with the Transformer model to address the issue of insufficient data. The Diffusion model is used for data augmentation, while the Transformer model is employed for flood flow prediction. For multivariate input datasets, we introduce a Convolutional Block Attention Module (CBAM) into the Transformer. It can adaptively learn the importance weights of different input variables. Additionally, considering the rich combinations of real-world time series—such as temporal trends, periodicity, and local specificities—which are often disrupted by the gradual addition of noise during the Diffusion process, we incorporate a time trend module into the Diffusion model. This enhancement allows the Diffusion model to better extract the temporal characteristics of the original data during generation, producing new data that retains more of the original information and improves the effectiveness of data augmentation. By combining the improved Diffusion and Transformer models, leveraging the powerful generative capability of the enhanced Diffusion model and the better predictive ability of the enhanced Transformer model, the prediction performance is significantly enhanced. Experimental results demonstrate that, in most cases, our proposed model achieves better prediction performance compared to ANN, LSTM, Transformer models and the other flood prediction methods.