Submitted:
14 July 2025
Posted:
15 July 2025
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Materials and Methods
2.1. DeepAR Model
2.1.1. Training
2.1.2. Prediction
2.1.3. Likelihood Model
2.2. DeepAR-Based Modeling Framework
2.2.1. Data Preparing
2.2.2. Data Splitting
2.2.3. Model Calibration
2.2.4. Model Evaluation
2.3. Case Study and Data
2.4. Experiment Setup
3. Results
3.1. Optimal Probability Distribution Selection
3.2. Input Configuration Optimization
3.3. Testing Performance Evaluation
4. Discussion
4.1. Deterministic Prediction Performance of Different Models
4.2. Probabilistic Prediction Performance of Different Models
4.3. Overall Predictive Performance
5. Conclusions
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
| MLSP | mid–long term streamflow prediction |
| AI | artificial intelligence |
| SVR | support vector regression |
| ANN | artificial neural network |
| LSTM | long short-term memory network |
| GRU | gated recurrent unit neural network |
| RNN | recurrent neural network |
| WDDR | Wudongde Reservoir |
| SXR | Sanxia Reservoir |
| RMSE | root mean square error |
| CRPS | continuous ranked probability score |
References
- Nguyen, Q.H. and V. N. Tran, Temporal Changes in Water and Sediment Discharges: Impacts of Climate Change and Human Activities in the Red River Basin (1958–2021) with Projections up to 2100. Water 2024, 16, 1155. [Google Scholar]
- Jia, L. , et al. , Sensitivity of Runoff to Climatic Factors and the Attribution of Runoff Variation in the Upper Shule River, North-West China. Water 2024, 16, 1272. [Google Scholar]
- Xu, H. , et al., Assessment of climate change impact and difference on the river runoff in four basins in China under 1.5 and 2.0∘ C global warming. Hydrology & Earth System Sciences, 2019. 23(10).
- Zou, L. and T. Zhou, Near future (2016-40) summer precipitation changes over China as projected by a regional climate model (RCM) under the RCP8. 5 emissions scenario: Comparison between RCM downscaling and the driving GCM. Advances in Atmospheric Sciences 2013, 30, 806–818. [Google Scholar]
- Shukla, P. , et al., Climate Change and Land: an IPCC special report on climate change, desertification, land degradation, sustainable land management, food security, and greenhouse gas fluxes in terrestrial ecosystems. 2019.
- Haj-Amor, Z. , et al. , Impacts of climate change on irrigation water requirement of date palms under future salinity trend in coastal aquifer of Tunisian oasis. Agricultural Water Management 2020, 228, 105843. [Google Scholar]
- Piao, S. , et al. , The impacts of climate change on water resources and agriculture in China. Nature 2010, 467, 43–51. [Google Scholar]
- Larraz, B. , et al. , Socio-Economic Indicators for Water Management in the South-West Europe Territory: Sectorial Water Productivity and Intensity in Employment. Water 2024, 16, 959. [Google Scholar]
- Gong, G. , et al. , A simple framework for incorporating seasonal streamflow forecasts into existing water resource management practices 1. JAWRA Journal of the American Water Resources Association 2010, 46, 574–585. [Google Scholar]
- Sunday, R. , et al. , Streamflow forecasting for operational water management in the Incomati River Basin, Southern Africa. Physics and Chemistry of the Earth, Parts A/B/C 2014, 72, 1–12. [Google Scholar]
- Bărbulescu, A. and L. Zhen, Forecasting the River Water Discharge by Artificial Intelligence Methods. Water 2024, 16, 1248. [Google Scholar] [CrossRef]
- Chu, H., J. Wei, and W. Wu, Streamflow prediction using LASSO-FCM-DBN approach based on hydro-meteorological condition classification. Journal of Hydrology 2020, 580, 124253. [Google Scholar]
- Feng, Z.-k. , et al. , Monthly runoff time series prediction by variational mode decomposition and support vector machine based on quantum-behaved particle swarm optimization. Journal of Hydrology 2020, 583, 124627. [Google Scholar]
- Xie, S. , et al. , An Index Used to Evaluate the Applicability of Mid-to-Long-Term Runoff Prediction in a Basin Based on Mutual Information. Water 2024, 16, 1619. [Google Scholar]
- Xie, S. , et al. , Mid-long term runoff prediction based on a Lasso and SVR hybrid method. Journal of Basic Science and Engineering 2018, 26, 709–722. [Google Scholar]
- Shamir, E. , The value and skill of seasonal forecasts for water resources management in the Upper Santa Cruz River basin, southern Arizona. Journal of Arid Environments 2017, 137, 35–45. [Google Scholar] [CrossRef]
- Zhao, H. , et al. , Investigating the critical influencing factors of snowmelt runoff and development of a mid-long term snowmelt runoff forecasting. Journal of Geographical Sciences 2023, 33, 1313–1333. [Google Scholar]
- He, C. , et al. , Improving the precision of monthly runoff prediction using the combined non-stationary methods in an oasis irrigation area. Agricultural Water Management 2023, 279, 108161. [Google Scholar]
- Samsudin, R., P. Saad, and A. Shabri, River flow time series using least squares support vector machines. Hydrology and Earth System Sciences 2011, 15, 1835–1852. [Google Scholar]
- Bennett, J.C. , et al. , Reliable long-range ensemble streamflow forecasts: Combining calibrated climate forecasts with a conceptual runoff model and a staged error model. Water Resources Research 2016, 52, 8238–8259. [Google Scholar]
- Crochemore, L., M. -H. Ramos, and F. Pappenberger, Bias correcting precipitation forecasts to improve the skill of seasonal streamflow forecasts. Hydrology and Earth System Sciences 2016, 20, 3601–3618. [Google Scholar]
- Le, X.-H. , et al. , Application of long short-term memory (LSTM) neural network for flood forecasting. Water 2019, 11, 1387. [Google Scholar]
- Choi, J. , et al. , Learning Enhancement Method of Long Short-Term Memory Network and Its Applicability in Hydrological Time Series Prediction. Water 2022, 14, 2910. [Google Scholar]
- Reichstein, M. , et al. , Deep learning and process understanding for data-driven Earth system science. Nature 2019, 566, 195–204. [Google Scholar] [PubMed]
- Yaseen, Z.M. , et al. , Artificial intelligence based models for stream-flow forecasting: 2000–2015. Journal of Hydrology 2015, 530, 829–844. [Google Scholar]
- Liu, Y. , et al. , Mid and long-term hydrological classification forecasting model based on KDE-BDA and its application research. IOP Conference Series: Earth and Environmental Science 2019, 330, 032010. [Google Scholar]
- Asefa, T. , et al. , Multi-time scale stream flow predictions: The support vector machines approach. Journal of Hydrology 2006, 318, 7–16. [Google Scholar]
- Kalteh, A.M. , Monthly river flow forecasting using artificial neural network and support vector regression models coupled with wavelet transform. Computers & Geosciences 2013, 54, 1–8. [Google Scholar]
- Maity, R., P. P. Bhagwat, and A. Bhatnagar, Potential of support vector regression for prediction of monthly streamflow using endogenous property. Hydrological Processes 2010, 24, 917–923. [Google Scholar]
- Noori, R. , et al. , Assessment of input variables determination on the SVM model performance using PCA, Gamma test, and forward selection techniques for monthly stream flow prediction. Journal of Hydrology 2011, 401, 177–189. [Google Scholar]
- Lin, J., C. Cheng, and K. Chau, Using support vector machines for long-term discharge prediction. Hydrological Sciences Journal 2006, 51, 599–612. [Google Scholar]
- Sujay, R.N. and P. C. Deka, Support vector machine applications in the field of hydrology: A review. Applied Soft Computing Journal 2014, 19, 372–386. [Google Scholar]
- Liang, Z. , et al., A data-driven SVR model for long-term runoff prediction and uncertainty analysis based on the Bayesian framework. Theoretical and applied climatology, 2018. 133(1-2): p. 137-149.
- Wang, Q. , et al. , A Seasonally Coherent Calibration (SCC) Model for Postprocessing Numerical Weather Predictions. Monthly Weather Review 2019, 147, 3633–3647. [Google Scholar]
- May, R., G. Dandy, and H. Maier, Review of Input Variable Selection Methods for Artificial Neural Networks. InTech, 2011.
- Mo, R. , et al. , Dynamic long-term streamflow probabilistic forecasting model for a multisite system considering real-time forecast updating through spatio-temporal dependent error correction. Journal of Hydrology 2021, 601, 126666. [Google Scholar]
- Mo, R. , et al. , Long-term probabilistic streamflow forecast model with “inputs–structure–parameters” hierarchical optimization framework. Journal of Hydrology 2023, 622, 129736. [Google Scholar]
- Salinas, D. , et al. , DeepAR: Probabilistic forecasting with autoregressive recurrent networks. International Journal of Forecasting 2020, 36, 1181–1191. [Google Scholar]
- Salinas, D. , et al., High-Dimensional Multivariate Forecasting with Low-Rank Gaussian Copula Processes. ArXiv, 2019. abs/1910.03002.
- Wu, W., G. C. Dandy, and H.R. Maier, Protocol for developing ANN models and its application to the assessment of the quality of the ANN model development process in drinking water quality modelling. Environmental Modelling & Software 2014, 54, 108–127. [Google Scholar]
- Xie, S. , et al. , Artificial neural network based hybrid modeling approach for flood inundation modeling. Journal of Hydrology 2021, 592, 125605. [Google Scholar]
- Maier, H.R. , et al. , Methods used for the development of neural networks for the prediction of water resource variables in river systems: Current status and future directions. Environmental modelling & software 2010, 25, 891–909. [Google Scholar]
- Kingma, D. and J. Ba, Adam: A Method for Stochastic Optimization. Computer Science, 2014.
- Humphrey, G.B. , et al. , Improved validation framework and R-package for artificial neural network models. Environmental modelling & software 2017, 92, 82–106. [Google Scholar]
- Gneiting, T. , et al. , Calibrated probabilistic forecasting using ensemble model output statistics and minimum CRPS estimation. Monthly Weather Review 2005, 133, 1098–1118. [Google Scholar]
- Renard, B. , et al. , Understanding predictive uncertainty in hydrologic modeling: The challenge of identifying input and structural errors. Water Resources Research 2010, 46, W05521. [Google Scholar]
- See, L. and R. J. Abrahart, Multi-model data fusion for hydrological forecasting. Computers & Geosciences 2001, 27, 987–994. [Google Scholar]
- Azmi, M., S. Araghinejad, and M. Kholghi, Multi model data fusion for hydrological forecasting using k-nearest neighbour method. Iranian Journal of Science and Technology, 2010, 34, 81. [Google Scholar]
- Wang, Q., A. Schepen, and D. E. Robertson, Merging seasonal rainfall forecasts from multiple statistical models through Bayesian model averaging. Journal of Climate 2012, 25, 5524–5537. [Google Scholar]
- Schepen, A., Q. Wang, and Y. Everingham, Calibration, bridging, and merging to improve GCM seasonal temperature forecasts in Australia. Monthly Weather Review 2016, 144, 2421–2441. [Google Scholar]







| Study area | Variable | Temporal coverage | Temporal scale | Average | Standard deviation |
|---|---|---|---|---|---|
| Upper WDDR | Naturalized streamflow | January 1980 to September 2022 | Ten-day | 3819.97m3/s | 3247.06m3/s |
| Areal mean precipitation | 17.59mm | 18.98mm | |||
| Upper SXR | Naturalized streamflow | January 1980 to September 2022 | Ten-day | 13432.22m3/s | 10016.31m3/s |
| Areal mean precipitation | 22.69mm | 20.36mm |
| Study area | Distribution | AIC | BIC |
|---|---|---|---|
| Upper WDDR | Normal | 28574.36 | 28584.99 |
| Student’s t | 28455.62 | 28471.57 | |
| Gamma | 27321.09 | 27337.03 | |
| Upper SXR | Normal | 31960.51 | 31971.14 |
| Student’s t | 31962.46 | 31978.40 | |
| Gamma | 30848.71 | 30864.66 |
| Input configuration | Average RMSE on validation dataset of different models for Upper WDDR area (m3/s) | Average RMSE on validation dataset of different models for Upper SXR area (m3/s) | |
|---|---|---|---|
| Lags of precipitation | 0 | 1277.07 | 3634.55 |
| 0,1 | 1237.00 | 3616.81 | |
| 0,1,2 | 1199.21 | 3481.18 | |
| Lags of streamflow | 1 | 1245.33 | 3577.72 |
| 1,2 | 1230.19 | 3577.31 | |
| Study area | Evaluation metrics | Model | |||||
|---|---|---|---|---|---|---|---|
| GRU-N | GRU-S | GRU-G | LSTM-N | LSTM-S | LSTM-G | ||
| Upper WDDR | RMSE (m3/s) | 1356.74 | 1282.09 | 1098.98 | 1407.77 | 1331.08 | 1016.54 |
| CRPS (m3/s) | 608.89 | 578.95 | 517.54 | 637.95 | 620.08 | 473.26 | |
| Upper SXR | RMSE (m3/s) | 4217.12 | 4143.33 | 4057.33 | 4091.22 | 4296.16 | 4047.15 |
| CRPS (m3/s) | 1776.92 | 1716.52 | 1654.24 | 1771.43 | 1870.94 | 1717.93 | |
| Forecast horizon (10-day periods) | Upper WDDR area | Upper SXR area | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| GRU-N | GRU-S | GRU-G | LSTM-N | LSTM-S | LSTM-G | GRU-N | GRU-S | GRU-G | LSTM-N | LSTM-S | LSTM-G | |
| 1 | 876.2 | 878.3 | 940.6 | 892.9 | 881.5 | 859.8 | 3897.6 | 4024.8 | 4126.8 | 3863.2 | 4022.0 | 3687.2 |
| 2 | 1035.7 | 1007.6 | 1017.9 | 1083.1 | 1054.9 | 958.9 | 4031.0 | 4091.6 | 4104.6 | 3880.4 | 4254.2 | 3841.5 |
| 3 | 1124.9 | 1085.5 | 995.7 | 1164.5 | 1129.9 | 913.6 | 4167.4 | 4109.5 | 4221.6 | 4045.0 | 4260.8 | 3938.4 |
| 4 | 1201.3 | 1157.9 | 1032.1 | 1235.9 | 1190.4 | 924.8 | 3982.7 | 3978.0 | 3947.0 | 4011.7 | 4176.2 | 4011.2 |
| 5 | 1239.9 | 1159.2 | 1006.4 | 1264.5 | 1178.6 | 902.7 | 4080.1 | 4002.4 | 4118.1 | 4106.4 | 4272.7 | 3977.0 |
| 6 | 1270.4 | 1215.3 | 1020.5 | 1312.1 | 1219.7 | 912.3 | 4098.8 | 4148.2 | 4043.1 | 4024.7 | 4213.8 | 4068.3 |
| 7 | 1330.8 | 1247.1 | 1082.2 | 1351.1 | 1263.2 | 986.2 | 4145.4 | 4102.0 | 4044.4 | 4104.7 | 4285.8 | 4020.6 |
| 8 | 1367.0 | 1303.7 | 1119.5 | 1406.9 | 1350.6 | 1051.4 | 4190.1 | 4031.1 | 3977.6 | 4065.0 | 4249.4 | 3936.1 |
| 9 | 1408.0 | 1340.6 | 1102.5 | 1467.4 | 1390.4 | 1093.2 | 4297.1 | 4161.7 | 4030.8 | 4063.2 | 4283.7 | 4023.0 |
| 10 | 1453.8 | 1350.4 | 1119.3 | 1492.2 | 1430.3 | 1089.7 | 4312.4 | 4183.7 | 4002.9 | 4155.7 | 4348.2 | 4117.6 |
| 11 | 1451.8 | 1362.3 | 1116.0 | 1518.1 | 1441.8 | 1068.9 | 4343.3 | 4163.7 | 4020.1 | 4116.1 | 4329.2 | 4064.6 |
| 12 | 1487.0 | 1394.6 | 1153.5 | 1532.0 | 1458.4 | 1073.3 | 4374.3 | 4184.0 | 4009.1 | 4158.2 | 4295.4 | 4095.5 |
| 13 | 1483.9 | 1394.1 | 1152.8 | 1545.5 | 1469.7 | 1048.0 | 4328.6 | 4229.5 | 4107.5 | 4140.8 | 4311.1 | 4103.9 |
| 14 | 1485.5 | 1394.9 | 1167.4 | 1559.4 | 1449.5 | 1055.8 | 4358.9 | 4277.4 | 4034.3 | 4176.3 | 4406.5 | 4258.0 |
| 15 | 1484.5 | 1390.3 | 1174.9 | 1574.5 | 1454.6 | 1071.8 | 4339.0 | 4217.5 | 4096.7 | 4170.8 | 4371.7 | 4235.7 |
| 16 | 1494.8 | 1391.5 | 1164.6 | 1565.6 | 1456.0 | 1069.7 | 4331.0 | 4219.1 | 4042.1 | 4119.7 | 4391.1 | 4180.6 |
| 17 | 1507.1 | 1407.0 | 1177.8 | 1574.5 | 1474.5 | 1068.0 | 4336.2 | 4245.0 | 4098.1 | 4216.8 | 4428.7 | 4178.2 |
| 18 | 1503.5 | 1430.7 | 1192.9 | 1559.5 | 1468.4 | 1096.7 | 4251.0 | 4194.8 | 3998.1 | 4203.0 | 4411.2 | 4070.5 |
| Forecast horizon (10-day periods) | Upper WDDR area | Upper SXR area | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| GRU-N | GRU-S | GRU-G | LSTM-N | LSTM-S | LSTM-G | GRU-N | GRU-S | GRU-G | LSTM-N | LSTM-S | LSTM-G | |
| 1 | 346.4 | 347.7 | 385.2 | 348.1 | 360.7 | 340.4 | 1553.1 | 1543.3 | 1592.6 | 1459.6 | 1544.6 | 1458.3 |
| 2 | 434.9 | 430.4 | 448.0 | 454.0 | 457.3 | 407.0 | 1660.5 | 1604.5 | 1592.8 | 1558.3 | 1726.7 | 1557.0 |
| 3 | 484.8 | 480.0 | 456.7 | 505.0 | 507.9 | 410.9 | 1730.7 | 1640.8 | 1687.3 | 1659.3 | 1754.6 | 1615.9 |
| 4 | 524.8 | 509.7 | 476.0 | 537.9 | 542.5 | 421.5 | 1665.1 | 1597.8 | 1587.3 | 1683.5 | 1762.0 | 1630.8 |
| 5 | 546.3 | 516.5 | 479.7 | 567.1 | 546.6 | 420.8 | 1698.8 | 1619.6 | 1637.7 | 1744.7 | 1812.4 | 1646.5 |
| 6 | 574.3 | 543.7 | 489.3 | 589.5 | 572.0 | 433.4 | 1697.0 | 1701.7 | 1622.5 | 1724.7 | 1821.5 | 1705.1 |
| 7 | 597.5 | 559.8 | 514.6 | 613.2 | 599.8 | 469.1 | 1730.8 | 1696.1 | 1627.2 | 1772.7 | 1868.5 | 1692.7 |
| 8 | 619.7 | 595.2 | 540.6 | 650.4 | 645.7 | 499.0 | 1762.0 | 1661.0 | 1605.2 | 1743.0 | 1862.3 | 1680.1 |
| 9 | 643.9 | 616.3 | 530.5 | 672.4 | 666.0 | 521.3 | 1822.9 | 1745.4 | 1621.3 | 1774.7 | 1908.1 | 1730.4 |
| 10 | 670.8 | 625.8 | 534.6 | 688.3 | 683.1 | 524.7 | 1834.3 | 1770.1 | 1630.9 | 1825.0 | 1940.2 | 1805.9 |
| 11 | 673.9 | 630.6 | 535.3 | 704.1 | 690.0 | 510.7 | 1840.2 | 1761.5 | 1634.5 | 1831.9 | 1920.9 | 1762.7 |
| 12 | 685.9 | 640.2 | 550.9 | 715.0 | 696.3 | 508.1 | 1855.1 | 1785.1 | 1653.2 | 1865.8 | 1930.1 | 1792.6 |
| 13 | 686.4 | 637.9 | 549.2 | 721.2 | 696.6 | 498.2 | 1848.9 | 1819.6 | 1708.6 | 1860.7 | 1937.2 | 1784.2 |
| 14 | 686.0 | 643.3 | 560.9 | 733.7 | 689.4 | 502.1 | 1850.6 | 1823.0 | 1701.1 | 1896.4 | 1964.7 | 1861.3 |
| 15 | 684.8 | 645.0 | 560.8 | 740.2 | 696.5 | 508.6 | 1871.2 | 1792.8 | 1730.7 | 1860.8 | 1982.0 | 1849.3 |
| 16 | 693.1 | 658.1 | 564.8 | 743.9 | 694.2 | 509.5 | 1841.8 | 1773.2 | 1709.1 | 1853.0 | 1956.9 | 1807.5 |
| 17 | 701.6 | 670.3 | 566.4 | 751.6 | 711.4 | 512.0 | 1878.3 | 1793.6 | 1734.6 | 1894.1 | 1998.1 | 1795.9 |
| 18 | 705.2 | 670.6 | 572.2 | 747.6 | 705.4 | 521.4 | 1843.3 | 1768.5 | 1699.6 | 1877.5 | 1986.0 | 1746.6 |
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. |
© 2025 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 (http://creativecommons.org/licenses/by/4.0/).