Monthly Runoff Forecasting Using Particle Swarm Optimization Coupled with Flower Pollination Algorithm-Based Deep Belief Networks: A Case Study in the Yalong River Basin
Abstract
:1. Introduction
- (1)
- The COM was constructed to characterize the hydrological state of the entire basin.
- (2)
- Partial mutual information was applied to select the key factors and reduce redundant variables and the computational complexity.
- (3)
- The PSO-FPA-DBN model was proposed for monthly runoff forecasting. Highly accurate and reliable results were obtained.
2. Methodology
2.1. Comprehensive Basin Response
2.2. Factor Reduction Using Information Entropy
2.3. Particle Swarm Optimization
2.4. Flower Pollination Algorithm
2.5. Deep Belief Networks
2.5.1. Restricted Boltzmann Machine (RBM)
- (1)
- Training sample initialization, denoted as .
- (2)
- Calculating the state values of the elements in all the hidden layers employing Formula (16).
- (3)
- Calculating the state values of the elements in the input layer and reconstructing these.
- (4)
- The weights are updated according to the error of the real and reconstructed values.
2.5.2. The Architecture of the DBN
- (1)
- Based on the contrastive divergence algorithm, the input samples (original data) are trained in the first RBM.
- (2)
- The output of the hidden layers in the first RBM is regarded as the input of the second RBM, and the second RBM is trained with a contrastive divergence algorithm.
- (3)
- Training is continued according to the above method until all the RBMs are trained.
- (4)
- After training all the RBMs to obtain the appropriate model parameters through the above steps, supervised training with the BP algorithm is used for fine-tuning all the DBN parameters in the output layer at the end of the DBN. At this point, the BP algorithm should only search for the weights of the network in a local space. Thus, compared with the common BP algorithm, the training speed is improved significantly, the parameters converge more straightforwardly, and it is not straightforward to fall into the dilemma of a local extremum.
2.6. Normalization of the Original Experimental Data
2.7. Evaluation Criteria
3. The Proposed PSO-FPA-DBN Model for Monthly Runoff Forecasting
3.1. Network Architecture
- (1)
- Pre-training stage. Unsupervised learning was used to extract samples step-by-step. The specific steps included inputting and obtaining the parameters of RBM1 using a contrastive divergence algorithm. We then obtained the output of RBM1 by training it for the initial extraction of the feature vectors of the impact factors influencing monthly runoff. Similarly, after completing the training process of RBM2, RBM (L − 1), and RBML, the training process of the entire model for monthly runoff forecasting was completed.
- (2)
- Parameter fine-tuning stage. The parameters of the model were fine-tuned using supervised learning with the BP algorithm so that the model had a better fitting effect. When the prediction error was less than a given threshold, the training process was considered complete.
3.2. Learning Algorithms
3.3. Determining the Network Depth of the Proposed Model Based on Particle Swarm Optimization
3.4. Parameter Optimization Based on the Flower Pollination Algorithm
4. Study Area and Data
5. Results
5.1. COM Selection Results
5.2. Factor Selection Results
5.3. Monthly Runoff Forecasting Based on PSO-FPA-DBN Model
5.3.1. Network Depth of the Proposed Model
5.3.2. Parameter Optimization of the Proposed Model
- (1)
- The number of elements in the input layer was 13, the number of hidden layers was three, the learning rate for fine-tuning the BP algorithm was 0.01, and the number of training iterations was 600.
- (2)
- FPA: The population size was 90, the maximum number of iterations was 600, the transition probability was 0.8, the scaling parameter was one, the scaling parameter was one, and the was 1.5.
5.3.3. Comparison Models
5.3.4. Runoff Forecasting
6. Discussion
7. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Tan, Q.-F.; Lei, X.-H.; Wang, X.; Wang, H.; Wen, X.; Ji, Y.; Kang, A.-Q. An adaptive middle and long-term runoff forecast model using EEMD-ANN hybrid approach. J. Hydrol. 2018, 567, 767–780. [Google Scholar] [CrossRef]
- Yue, Z.; Ai, P.; Xiong, C.; Hong, M.; Song, Y. Mid- to long-term runoff prediction by combining the deep belief network and partial least-squares regression. J. Hydroinform. 2020, 22, 1283–1305. [Google Scholar] [CrossRef]
- Yue, Z.; Ai, P.; Yuan, D.; Xiong, C. Ensemble approach for mid-long term runoff forecasting using hybrid algorithms. J. Ambient. Intell. Humaniz. Comput. 2020, 13, 5103–5122. [Google Scholar] [CrossRef]
- Mohammadi, B. A review on the applications of machine learning for runoff modeling. Sustain. Water Resour. Manag. 2021, 7, 98. [Google Scholar] [CrossRef]
- Wang, W.-C.; Cheng, Q.; Chau, K.-W.; Hu, H.; Zang, H.-F.; Xu, D.-M. An enhanced monthly runoff time series prediction using extreme learning machine optimized by salp swarm algorithm based on time varying filtering based empirical mode decomposition. J. Hydrol. 2023, 620, 129460. [Google Scholar] [CrossRef]
- Han, D.; Liu, P.; Xie, K.; Li, H.; Xia, Q.; Cheng, Q.; Wang, Y.; Yang, Z.; Zhang, Y.; Xia, J. An attention-based LSTM model for long-term runoff forecasting and factor recognition. Environ. Res. Lett. 2023, 18, 024004. [Google Scholar] [CrossRef]
- Cheng, Q.; Zuo, X.; Zhong, F.; Gao, L.; Xiao, S. Runoff variation characteristics, association with large-scale circulation and dominant causes in the Heihe River Basin, Northwest China. Sci. Total Environ. 2019, 688, 361–379. [Google Scholar] [CrossRef]
- Zhang, Y.; Wang, M.; Chen, J.; Zhong, P.-A.; Wu, X.; Wu, S. Multiscale attribution analysis for assessing effects of changing environment on runoff: Case study of the Upstream Yangtze River in China. J. Water Clim. Chang. 2021, 12, 627–646. [Google Scholar] [CrossRef]
- Mosavi, A.; Ozturk, P.; Chau, K.-W. Flood Prediction Using Machine Learning Models: Literature Review. Water 2018, 10, 1536. [Google Scholar] [CrossRef] [Green Version]
- Li, X.; Zhang, L.; Zeng, S.; Tang, Z.; Liu, L.; Zhang, Q.; Tang, Z.; Hua, X. Predicting Monthly Runoff of the Upper Yangtze River Based on Multiple Machine Learning Models. Sustainability 2022, 14, 11149. [Google Scholar] [CrossRef]
- Bojang, P.O.; Yang, T.-C.; Pham, Q.B.; Yu, P.-S. Linking singular spectrum analysis and machine learning for monthly rainfall forecasting. Appl. Sci. 2020, 10, 3224. [Google Scholar] [CrossRef]
- Liang, Z.; Li, Y.; Hu, Y.; Li, B.; Wang, J. A data-driven SVR model for long-term runoff prediction and uncertainty analysis based on the Bayesian framework. Theor. Appl. Clim. 2018, 133, 137–149. [Google Scholar] [CrossRef]
- Meng, J.; Dong, Z.; Shao, Y.; Zhu, S.; Wu, S. Monthly Runoff Forecasting Based on Interval Sliding Window and Ensemble Learning. Sustainability 2022, 15, 100. [Google Scholar] [CrossRef]
- Ai, P.; Song, Y.; Xiong, C.; Chen, B.; Yue, Z. A novel medium- and long-term runoff combined forecasting model based on different lag periods. J. Hydroinform. 2022, 24, 367–387. [Google Scholar] [CrossRef]
- Zhang, J.; Chen, X.; Khan, A.; Zhang, Y.-K.; Kuang, X.; Liang, X.; Taccari, M.L.; Nuttall, J. Daily runoff forecasting by deep recursive neural network. J. Hydrol. 2021, 596, 126067. [Google Scholar] [CrossRef]
- Fernando, T.; Maier, H.; Dandy, G. Selection of input variables for data driven models: An average shifted histogram partial mutual information estimator approach. J. Hydrol. 2009, 367, 165–176. [Google Scholar] [CrossRef]
- Tao, L.; He, X.; Li, J.; Yang, D. A multiscale long short-term memory model with attention mechanism for improving monthly precipitation prediction. J. Hydrol. 2021, 602, 126815. [Google Scholar] [CrossRef]
- Li, B.-J.; Sun, G.-L.; Liu, Y.; Wang, W.-C.; Huang, X.-D. Monthly runoff forecasting using variational mode decomposition coupled with gray wolf optimizer-based long short-term memory neural networks. Water Resour. Manag. 2022, 36, 2095–2115. [Google Scholar] [CrossRef]
- Li, B.J.; Sun, G.L.; Li, Y.P.; Zhang, X.L.; Huang, X.D. A hybrid variational mode decomposition and sparrow search algorithm-based least square support vector machine model for monthly runoff forecasting. Water Supply 2022, 22, 5698–5715. [Google Scholar] [CrossRef]
- Zhang, F.; Kang, Y.; Cheng, X.; Chen, P.; Song, S. A Hybrid Model Integrating Elman Neural Network with Variational Mode Decomposition and Box–Cox Transformation for Monthly Runoff Time Series Prediction. Water Resour. Manag. 2022, 36, 3673–3697. [Google Scholar] [CrossRef]
- Ai, P.; Xiong, C.; Li, K.; Song, Y.; Gong, S.; Yue, Z. Effect of Data Characteristics Inconsistency on Medium and Long-Term Runoff Forecasting by Machine Learning. IEEE Access 2023, 11, 11601–11612. [Google Scholar] [CrossRef]
- SugaWara, M. Automatic calibration of the tank model/L’étalonnage automatique d’un modèle à cisterne. Hydrol. Sci. J. 1979, 24, 375–388. [Google Scholar] [CrossRef] [Green Version]
- Zhao, R.J.; Liu, X.R. The Xinanjiang Model. In Computer Models of Watershed Hydrology; Singh, V.P., Ed.; Water Resources Publications: Colorado, CO, USA, 1995; pp. 215–232. [Google Scholar]
- Samantaray, S.; Das, S.S.; Sahoo, A.; Satapathy, D.P. Monthly runoff prediction at Baitarani river basin by support vector machine based on Salp swarm algorithm. Ain Shams Eng. J. 2022, 13, 101732. [Google Scholar] [CrossRef]
- Yaseen, Z.M.; Jaafar, O.; Deo, R.C.; Kisi, O.; Adamowski, J.; Quilty, J.; El-Shafie, A. Stream-flow forecasting using extreme learning machines: A case study in a semi-arid region in Iraq. J. Hydrol. 2016, 542, 603–614. [Google Scholar] [CrossRef]
- Yaseen, Z.M.; Sulaiman, S.O.; Deo, R.C.; Chau, K.-W. An enhanced extreme learning machine model for river flow fore-casting: State-of-the-art, practical applications in water resource engineering area and future research direction. J. Hydrol. 2018, 569, 387–408. [Google Scholar] [CrossRef]
- Rozos, E.; Dimitriadis, P.; Mazi, K.; Koussis, A.D. A Multilayer Perceptron Model for Stochastic Synthesis. Hydrology 2021, 8, 67. [Google Scholar] [CrossRef]
- Chen, S.; Ren, M.; Sun, W. Combining two-stage decomposition based machine learning methods for annual runoff forecasting. J. Hydrol. 2021, 603, 126945. [Google Scholar] [CrossRef]
- Yang, M.; Yang, Q.; Shao, J.; Wang, G.; Zhang, W. A new few-shot learning model for runoff prediction: Demonstration in two data scarce regions. Environ. Model. Softw. 2023, 162, 105659. [Google Scholar] [CrossRef]
- Sit, M.; Demiray, B.Z.; Xiang, Z.; Ewing, G.J.; Sermet, Y.; Demir, I. A comprehensive review of deep learning applications in hydrology and water resources. Water Sci. Technol. 2020, 82, 2635–2670. [Google Scholar] [CrossRef]
- Wei, M.; You, X.-Y. Monthly rainfall forecasting by a hybrid neural network of discrete wavelet transformation and deep learning. Water Resour. Manag. 2022, 36, 4003–4018. [Google Scholar] [CrossRef]
- LeCun, Y.; Bengio, Y.; Hinton, G. Deep learning. Nature 2015, 521, 436–444. [Google Scholar] [CrossRef] [PubMed]
- Shrestha, A.; Mahmood, A. Review of Deep Learning Algorithms and Architectures. IEEE Access 2019, 7, 53040–53065. [Google Scholar] [CrossRef]
- Ren, Y.; Zeng, S.; Liu, J.; Tang, Z.; Hua, X.; Li, Z.; Song, J.; Xia, J. Mid- to Long-Term Runoff Prediction Based on Deep Learning at Different Time Scales in the Upper Yangtze River Basin. Water 2022, 14, 1692. [Google Scholar] [CrossRef]
- Wang, W.C.; Du, Y.J.; Chau, K.W.; Xu, D.M.; Liu, C.J.; Ma, Q. An ensemble hy-brid forecasting model for annual runoff based on sample entropy, secondary decomposi-tion, and long short-term memory neural network. Water Resour. Manag. 2021, 35, 4695–4726. [Google Scholar] [CrossRef]
- Wu, L.; Zhou, H.; Ma, X.; Fan, J.; Zhang, F. Daily reference evapotranspiration prediction based on hybridized extreme learning machine model with bio-inspired optimization algorithms: Application in contrasting climates of China. J. Hydrol. 2019, 577, 123960. [Google Scholar] [CrossRef]
- Olatomiwa, L.; Mekhilef, S.; Shamshirband, S.; Mohammadi, K.; Petković, D.; Sudheer, C. A support vector machine–firefly algorithm-based model for global solar radiation prediction. Sol. Energy 2015, 115, 632–644. [Google Scholar] [CrossRef]
- Petković, D.; Gocic, M.; Shamshirband, S.; Qasem, S.N.; Trajkovic, S. Particle swarm optimization-based radial basis function network for estimation of reference evapotranspiration. Theor. Appl. Clim. 2016, 125, 555–563. [Google Scholar] [CrossRef]
- Yin, Z.; Wen, X.; Feng, Q.; He, Z.; Zou, S.; Yang, L. Integrating genetic algorithm and support vector machine for modeling daily reference evapotranspiration in a semi-arid mountain area. Hydrol. Res. 2017, 48, 1177–1191. [Google Scholar] [CrossRef]
- Ozkan, C.; Kisi, O.; Akay, B. Neural networks with artificial bee colony algorithm for modeling daily reference evapotranspi-ration. Irrig. Sci. 2011, 29, 431–441. [Google Scholar] [CrossRef]
- Abdel-Basset, M.; Shawky, L.A. Flower pollination algorithm: A comprehensive review. Artif. Intell. Rev. 2019, 52, 2533–2557. [Google Scholar] [CrossRef]
- Tao, H.; Diop, L.; Bodian, A.; Djaman, K.; Ndiaye, P.M.; Yaseen, Z.M. Reference evapotranspiration prediction using hybridized fuzzy model with firefly algorithm: Regional case study in Burkina Faso. Agric. Water Manag. 2018, 208, 140–151. [Google Scholar] [CrossRef]
- Yaseen, Z.M.; Ebtehaj, I.; Bonakdari, H.; Deo, R.C.; Mehr, A.D.; Mohtar, W.H.M.W.; Diop, L.; El-Shafie, A.; Singh, V.P. Novel approach for streamflow forecasting using a hybrid ANFIS-FFA model. J. Hydrol. 2017, 554, 263–276. [Google Scholar] [CrossRef]
- Bennasar, M.; Hicks, Y.; Setchi, R. Feature selection using joint mutual information maximisation. Expert Syst. Appl. 2015, 42, 8520–8532. [Google Scholar] [CrossRef] [Green Version]
- Qian, W.; Shu, W. Mutual information criterion for feature selection from incomplete data. Neurocomputing 2015, 168, 210–220. [Google Scholar] [CrossRef]
- May, R.J.; Dandy, G.C.; Maier, H.R.; Nixon, J.B. Application of partial mutual information variable selection to ANN forecasting of water quality in water distribution systems. Environ. Model. Softw. 2008, 23, 1289–1299. [Google Scholar] [CrossRef]
- May, R.J.; Maier, H.R.; Dandy, G.C.; Fernando, T.G. Non-linear variable selection for artificial neural networks using partial mutual information. Environ. Model. Softw. 2008, 23, 1312–1326. [Google Scholar] [CrossRef]
- Scott, D.W. Multivariate Density Estimation: Theory, Practice, and Visualization; John Wiley & Sons: Hoboken, NJ, USA, 1992. [Google Scholar]
- Poli, R.; Kennedy, J.; Blackwell, T. 2007 Particle swarm optimization. Swarm Intell. 2015, 1, 33–57. [Google Scholar] [CrossRef]
- Hinton, G.E. Training Products of Experts by Minimizing Contrastive Divergence. Neural Comput. 2002, 14, 1771–1800. [Google Scholar] [CrossRef]
- Gu, J.; Wang, Z.; Kuen, J.; Ma, L.; Shahroudy, A.; Shuai, B.; Liu, T.; Wang, X.; Wang, G.; Cai, J.; et al. Recent advances in convolutional neural networks. Pattern Recognit. 2018, 77, 354–377. [Google Scholar] [CrossRef] [Green Version]
- Qi, Y.; Shen, C.; Wang, D.; Shi, J.; Jiang, X.; Zhu, Z. Stacked Sparse Autoencoder-Based Deep Network for Fault Diagnosis of Rotating Machinery. IEEE Access 2017, 5, 15066–15079. [Google Scholar] [CrossRef]
- Yang, X.; Zhang, X.; Xie, J.; Zhang, X.; Liu, S. Monthly Runoff Interval Prediction Based on Fuzzy Information Granulation and Improved Neural Network. Water 2022, 14, 3683. [Google Scholar] [CrossRef]
- Yuan, X.; Chen, C.; Lei, X.; Yuan, Y.; Muhammad Adnan, R. Monthly runoff forecasting based on LSTM–ALO model. Stoch. Environ. Res. Risk Assess. 2018, 32, 2199–2212. [Google Scholar] [CrossRef]
- Bai, Y.; Chen, Z.; Xie, J.; Li, C. Daily reservoir inflow forecasting using multiscale deep feature learning with hybrid models. J. Hydrol. 2016, 532, 193–206. [Google Scholar] [CrossRef]
Station | Lianghekou | Jinping | Guandi | Ertan |
---|---|---|---|---|
Percentage of the controlled area | 51% | 81% | 89% | 97% |
Weight normalization | 0.37 | 0.23 | 0.21 | 0.19 |
Importance Ranking | The Candidate Factors | Importance Ranking | The Candidate Factors |
---|---|---|---|
1 | ar(t-1), 253th | 2 | com(t-12), 276th |
3 | ar(t-7), 259th | 4 | tcf1(t-1), 1st |
5 | ar(t-12), 264th | 6 | com(t-1), 265th |
7 | com(t-11), 275th | 8 | com(t-2), 266th |
9 | tcf15(t-6),174th | 10 | tcf3(t-7), 31th |
11 | tcf13(t-8), 152th | 12 | tcf16(t-1), 181th |
13 | tcf16(t-5), 185th | 14 | com(t-3), 267th |
15 | tcf5(t-9), 57th | 16 | tcf21(t-5), 245th |
17 | tcf3(t-3), 27th | 18 | tcf4(t-7), 43th |
19 | tcf14(t-8), 164th | 20 | tcf7(t-4), 76th |
Influencing Factors | Selected Factors |
---|---|
COM | com(t-1), com(t-2), com(t-3), com(t-11), com(t-12) |
Rainfall Factors | ar(t-1), ar(t-7), ar(t-12) |
Climate Factors | tcf1(t-1), tcf3(t-7), tcf15(t-6), tcf13(t-8), tcf16(t-1) |
Models | Parameter Setting |
---|---|
BPNN | The hidden nodes = 12; the training function = “tansig”, learning function = “logsig”; the maximum training time = 600, learning rate = 0.1, momentum factor = 0.9, and expected error = 0.001; selecting the LM algorithm as the training algorithm. |
SVM | The kernel function = “sigmoid”, and the parameters of SVM were optimized via the grid-search algorithm with cross-validation. |
DBN-PLSR | The number of iterations of every RBM = 300, the enhancement coefficient of the learning rate = 1.4, the decrease coefficient of the learning rate = 0.7, and the limited value = 0.02. |
PSO-GA-DBN | PSO: the population size = 90, the maximum number of iterations = 600, the learning rate = 0.1, and the expected error = 0.001. GA: the population size = 90, the maximum number of iterations = 600, the mutation probability rate = 0.01, and the crossover ratio = 0.7. |
PSO-ACO-DBN | PSO: the population size = 90, the maximum number of iterations = 600, the learning rate = 0.1, and the expected error = 0.001. ACO: the ant colony size = 90, the maximum number of iterations = 600, the important factor of pheromone = 1, the importance factor of the heuristic function = 5, and the pheromone factor = 0.1. |
Model | MAPE (%) | RMSE (m3·s−1) | DC | QR (%) |
---|---|---|---|---|
BPNN | 24.75 | 326.29 | 0.8775 | 45.8 |
SVM | 24.64 | 360.02 | 0.8508 | 51.7 |
DBN | 41.00 | 277.50 | 0.9114 | 55.8 |
DBN-PLSR | 19.98 | 229.70 | 0.9393 | 61.7 |
PSO-GA-DBN | 18.77 | 240.20 | 0.9336 | 62.5 |
PSO-ACO-DBN | 17.85 | 237.63 | 0.9350 | 63.3 |
PSO-FPA-DBN | 18.23 | 230.45 | 0.9389 | 64.2 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Yue, Z.; Liu, H.; Zhou, H. Monthly Runoff Forecasting Using Particle Swarm Optimization Coupled with Flower Pollination Algorithm-Based Deep Belief Networks: A Case Study in the Yalong River Basin. Water 2023, 15, 2704. https://doi.org/10.3390/w15152704
Yue Z, Liu H, Zhou H. Monthly Runoff Forecasting Using Particle Swarm Optimization Coupled with Flower Pollination Algorithm-Based Deep Belief Networks: A Case Study in the Yalong River Basin. Water. 2023; 15(15):2704. https://doi.org/10.3390/w15152704
Chicago/Turabian StyleYue, Zhaoxin, Huaizhi Liu, and Hui Zhou. 2023. "Monthly Runoff Forecasting Using Particle Swarm Optimization Coupled with Flower Pollination Algorithm-Based Deep Belief Networks: A Case Study in the Yalong River Basin" Water 15, no. 15: 2704. https://doi.org/10.3390/w15152704
APA StyleYue, Z., Liu, H., & Zhou, H. (2023). Monthly Runoff Forecasting Using Particle Swarm Optimization Coupled with Flower Pollination Algorithm-Based Deep Belief Networks: A Case Study in the Yalong River Basin. Water, 15(15), 2704. https://doi.org/10.3390/w15152704