PDF(5900 KB)
基于冠豪猪优化CNN-BiLSTM和核密度估计的月径流区间预测
吴小涛, 郭欣, 袁晓辉, 晏莉娟, 曾志强, 陆涛
长江科学院院报 ›› 2025, Vol. 42 ›› Issue (9) : 51-57.
PDF(5900 KB)
PDF(5900 KB)
基于冠豪猪优化CNN-BiLSTM和核密度估计的月径流区间预测
Predicting Monthly Runoff Interval by Using CNN-BiLSTM Optimized by Crested Porcupine Optimizer and Kernel Density Estimation
径流预测对水资源合理配置、制定水力发电计划等非常重要,针对月径流点预测精度不高以及点预测结果难以描述月径流不确定性等问题,提出基于冠豪猪优化算法、卷积神经网络、双向长短时记忆网络和非参数核密度估计的月径流点预测模型和区间预测模型。首先,构建组合卷积神经网络和双向长短时记忆网络的月径流点预测模型,并采用冠豪猪优化算法优化模型的隐藏层单元数等参数,将月径流及影响因素数据输入模型得到月径流的点预测结果。然后采用极差分割法将点预测结果排序后划分为低流量段、中流量段和高流量段,再利用冠豪猪优化算法优化窗宽的非参数核密度估计方法估计3个流量段预测值误差的概率分布,并采用三次样条插值法进行曲线拟合,得到3个流量段的分位点。最后叠加点预测结果和点预测结果所属流量段的分位点得到月径流区间预测结果。通过实例分析,与其他模型相比,提出的CPO-CNN-BiLSTM点预测模型预测精度更高,能较好地追踪月径流的变化趋势,提出的CPO-CNN-BiLSTM-NKDE区间预测模型可有效减少月径流预测的不确定性,能够为决策者提供更多信息。
[Objective] To address the low accuracy of monthly runoff point prediction and the difficulty in describing the uncertainty of point prediction results, this study proposes a monthly runoff point prediction model and an interval prediction model based on the Crested Porcupine Optimizer (CPO), Convolutional Neural Network (CNN), Bidirectional Long Short-Term Memory (BiLSTM) network, and Nonparametric Kernel Density Estimation (NKDE). [Methods] First, a hybrid point prediction model (CPO-CNN-BiLSTM) was developed. CPO was used to optimize key model parameters such as the number of hidden layer nodes, initial learning rate, and regularization coefficient. Monthly runoff data and its influencing factors were input to the model to obtain point prediction results. Next, the point forecasts were sorted using a range segmentation method and divided into low, medium, and high flow segments. The relative error for each predicted value within these segments was calculated. The NKDE method, with window width optimized by CPO, was employed to estimate the error probability distribution function for each segment. Cubic spline interpolation was then applied to fit the probability distribution functions of the three segments and derive segment-specific quantiles, forming a monthly runoff interval prediction model (CPO-CNN-BiLSTM-NKDE) based on NKDE method and the CPO-CNN-BiLSTM model. Finally, the runoff point forecasts were combined with the corresponding quantiles of their flow segments to generate monthly runoff interval predictions. Case studies compared the proposed CPO-CNN-BiLSTM point prediction model with traditional models including Least Squares Support Vector Machine (LSSVM), Kernel Extreme Learning Machine (KELM), LSTM, and BiLSTM, using RMSE, MRE, and MAPE as evaluation metrics. [Results] The CPO-CNN-BiLSTM model’s prediction accuracy was significantly better than the other models, especially during flood and dry seasons. Compared with the best-performing among the other four models in terms of RMSE, MRE, and MAPE, the values decreased by 43.71%, 38.56%, and 24.38%, respectively. This indicated a superior ability to accurately predict peak and valley runoff values. Additionally, deep learning models (LSTM, BiLSTM, CNN-BiLSTM) outperformed machine learning models (LSSVM, KELM), with the BiLSTM model surpassing LSTM, and the CNN-BiLSTM hybrid outperforming both. The proposed CPO-CNN-BiLSTM-NKDE interval prediction model was compared with other interval prediction models at confidence levels of 95%, 90%, and 85%, and it exhibited the highest Prediction Interval Coverage Probability (PICP)and the lowest Prediction Interval Normalized Average Width (PINAW), indicating strong reliability and superior capability in capturing uncertainty. This demonstrated that the interval prediction results of the proposed model could help decision-makers better understand and respond to the uncertainty and variability in the data. [Conclusion] The proposed CPO-CNN-BiLSTM point prediction model and the CPO-CNN-BiLSTM-NKDE interval prediction model effectively address the challenges posed by the spatial-temporal complexity of monthly runoff sequences and the uncertainty of monthly runoff point predictions. This provides new ideas for monthly runoff prediction and offers useful reference for fields such as wind speed and solar irradiance forecasting.
月径流预测 / 冠豪猪优化算法 / 卷积神经网络 / 双向长短时记忆网络 / 非参数核密度估计
monthly runoff prediction / Crested Porcupine Optimizer / Convolutional Neural Network / Bidirectional Long Short-Term Memory Network / Nonparametric Kernel Density Estimation
| [1] |
赵力学, 黄解军, 程学军, 等. 基于VMD-BP模型的河流流量预测方法[J]. 长江科学院院报, 2020, 37(7):47-52.
河流流量是水文监测和水资源管理的重要指标,流量预测对于水利建设、航运规划和水资源调度等方面具有重要的指导意义和参考价值。结合变分模态分解(VMD)处理非平稳序列的优势以及BP神经网络(BPNN)处理非线性拟合的能力,提出和构建了基于VMD-BP模型的河流流量预测方法。以长江宜昌水文站为实例,基于1998年和1999年的日水位和日流量数据,对方法模型进行了验证。结果表明:VMD-BP模型在一定程度上解决了水位和流量的多值关系,降低了数据的波动性,预测结果优于线性拟合的回归模型和BPNN模型,预测误差仅为1.61%,为河流流量预测提供了一种有效的方法。
(
River flow is an important ecological indicator for monitoring hydrological issues and managing water resources. Flow forecast is also significant for providing guidance and reference for water conservancy construction, navigation planning, and water resources dispatching. In the present research, a VMD-BP (variational mode decomposition and back propagation) model of forecasting river flow is proposed and constructed by combining the advantages of VMD in dealing with non-stationary sequences and the ability of BP neural network in tackling nonlinear fitting problems. The model is verified by using daily water level and flow data in 1998 and 1999 at Yichang Hydrological Station of the Yangtze River. Results indicate the VMD-BP model solves the multi-value relations between water level and flow to some extent and mitigates the volatility of data. The predicted result is better than those of linear fitting regression model and BPNN model, and the prediction error is merely 1.61%. Therefore, the VMD-BP model can be considered as an effective method for river flow prediction.
|
| [2] |
|
| [3] |
李菊, 崔东文. 基于数据分解与斑马算法优化的混合核极限学习机月径流预测[J]. 长江科学院院报, 2024, 41(6): 42-50.
为提高月径流预测精度,改进混合核极限学习机(HKELM)预测性能,提出小波包分解(WPT)-斑马优化算法(ZOA)-HKELM组合模型。利用WPT处理月径流时序数据,构建局部高斯径向基核函数和全局多项式核函数相混合的HKELM;通过ZOA优化HKELM超参数(正则化参数、核参数、权重系数),建立WPT-ZOA-HKELM组合模型,并构建WPT-遗传算法(GA)-HKELM、WPT-灰狼优化(GWO)算法-HKELM、WPT-鲸鱼优化算法(WOA)-HKELM、WPT-ZOA-极限学习机(ELM)、WPT-ZOA-最小二乘支持向量机(LSSVM)、ZOA-HKELM作对比模型,通过黑河流域莺落峡、讨赖河水文站月径流时间序列预测实例对各模型进行检验。结果表明:①莺落峡、讨赖河水文站月径流时间序列WPT-ZOA-HKELM模型预测的平均绝对百分比误差分别为1.054%、0.761%,决定系数均达0.999 9,优于其他对比模型,具有更高的预测精度,预测效果更好。②利用ZOA优化HKELM超参数,可提高HKELM预测性能,优化效果优于GWO、WOA、GA。③预测模型能充分发挥WPT、ZOA和HKELM优势,提高月径流预测精度;在相同分解和优化情形下,HKELM的预测性能优于ELM、LSSVM。
(
In order to enhance the precision of monthly runoff forecasts and optimize the prediction performance of the Hybrid Kernel Extreme Learning Machine (HKELM), we propose a synergistic approach integrating Wavelet Packet Decomposition (WPT), the Zebra Optimization Algorithm (ZOA), and HKELM. The approach involves applying WPT to preprocess monthly runoff time series data and constructing a HKELM that combines local Gaussian radial basis function with global polynomial kernel function. By refining HKELM hyperparameters (including regularization parameters, kernel parameters, and weight coefficients) through ZOA, we establish the WPT-ZOA-HKELM model, alongside comparative models such as WPT-Genetic Algorithm (GA)-HKELM, WPT-Grey Wolf Optimization (GWO) algorithm-HKELM, WPT-Whale Optimization (WOA)-HKELM, WPT-ZOA Extreme Learning Machine (ELM), WPT-ZOA Least Squares Support Vector Machine (LSSVM), and ZOA-HKELM. These models are evaluated using monthly runoff time series data from the Yingluoxia and Tuolai River hydrological stations in the Heihe River Basin. Our findings indicate that: (1) The WPT-ZOA-HKELM model achieves average absolute percentage errors of 1.054% and 0.761% respectively, with determination coefficients of 0.999 9, surpassing other comparative models in terms of prediction accuracy and performance. (2) Optimization of HKELM hyperparameters with ZOA enhances predictive performance compared to GWO, WOA, and GA. (3) Through leveraging WPT, ZOA, and HKELM, the prediction model significantly improves monthly runoff forecast accuracy. Under equivalent decomposition and optimization conditions, the predictive performance of HKELM is superior to ELM and LSSVM.
|
| [4] |
徐冬梅, 庄文涛, 王文川. 基于CEEMDAN-WD-PSO-LSSVM模型的月径流预测研究[J]. 中国农村水利水电, 2021(8):54-58,66.
针对径流序列的非线性、非稳态化的特点导致直接预测精度低的问题,提出了一种二次分解径流时间序列,再经过最小二乘支持向量机(LSSVM)模型进行月径流预测的新途径。该方法首先利用自适应噪声的完整集成经验模态分解(CEEMDAN)算法来分解原始径流时间序列,得到一系列本征模态分量(IMF)。再利用小波分解(WD)对高频分量进行二次分解,更有效地提取原始数据中的隐含信息。把各分量作为基于粒子群算法(PSO)优化的LSSVM预测模型的输入,最后将每个分量预测结果进行叠加重构,得到最终结果。以洛河流域长水水文站月径流为例,验证结果表明:提出的CEEMDAN-WD-PSO-LSSVM组合模型的预测精度较单一模型有效提高了径流预报精度,CEEMDAN-WD二次分解可更有效地提取复杂径流序列的信息,为非线性、非稳态化的月径流时间序列预测提供了新方法。
(
Aiming at the problem of low accuracy of direct prediction due to the non-linear and unstable characteristics of runoff series, a new method based on double decomposition of runoff time series and least squares support vector machine (LSSVM) model is proposed for monthly runoff prediction. Firstly, the complete ensemble empirical mode decomposition with adaptive noise (CEEMDAN) is used to decompose the original runoff time series into a series of intrinsic mode function (IMF). Then the technique of wavelet decomposition (WD) is utilized to decompose the high-frequency components to extract the implicit information from the original data more effectively. Each component is taken as the input of the LSSVM prediction model optimized by particle swarm optimization (PSO). Finally, the prediction results of each component are superimposed and reconstructed to obtain the final result. Taking the monthly runoff at Changshui Hydrological Station in Luohe River Basin as an example, the verification results show that the proposed CEEMDAN-WD-PSO-LSSVM combination model improves the accuracy of runoff prediction better than that of the single model. The double decomposition conducted by CEEMDAN-WD is more powerful to detect the information of complex runoff series, and provide a new approach for forecasting the nonlinear and unstable monthly runoff time series. |
| [5] |
师鹏飞, 赵酉键, 徐辉荣, 等. 融合相空间重构和深度学习的径流模拟预测[J]. 水科学进展, 2023, 34(3): 388-397.
(
|
| [6] |
雷庆文, 高培强, 李建林. 时序分解和CNN-LSTM相融合的月径流预报模型[J]. 长江科学院院报, 2023, 40(6): 49-54.
针对常规模型无法充分提取径流序列复杂非线性特征信息的不足,提出一种基于局部加权回归周期趋势分解算法(STL)与卷积神经网络(CNN)和长短时记忆神经网络(LSTM)相融合的月径流预报模型。该模型首先利用STL将径流序列分解为趋势项、季节项和随机波动的余项,分解后的各分量序列输入CNN进行卷积运算和子采样层重采样,CNN输出的特征序列通过LSTM拟合时序关系后由全连接层输出径流预测值。以黑河流域讨赖河基准站的月径流数据为例,对比分析LSTM、STL-CNN、STL-CNN-LSTM三种模型的预测效果,验证结果表明:STL和CNN-LSTM相融合的模型预报误差最小、精度等级最高。该模型相较于直接对原始径流序列进行分析的常规模型,可以较为显著地提高月径流预测的能力。
(
To address the limitations of conventional models in fully capturing the complex nonlinear characteristics of runoff sequences, a monthly runoff prediction model is proposed by integrating the Seasonal-Trend decomposition procedure based on Loess (STL) with convolutional neural networks (CNN) and long short-term memory neural networks (LSTM). In this model, the runoff sequence is first decomposed into trend components, seasonal components, and residual terms of random fluctuations using STL. The decomposed component sequences are then input to the CNN for convolutional operations and subsampling, and the CNN outputs feature sequences that capture temporal relationships. These sequences are further processed by LSTM and the predicted runoff values are obtained through fully connected layers. With the monthly runoff data from the Taolai River gauge station in the Heihe River Basin as an example, the prediction performance of three models, LSTM, STL-CNN, and STL-CNN-LSTM, is compared and analyzed. The validation results demonstrate that the model integrating STL and CNN-LSTM achieves the lowest prediction error and the highest accuracy. Compared to conventional models that directly analyze the original runoff sequence, this model significantly improves the ability to predict monthly runoff.
|
| [7] |
朱豪, 胡圆昭, 尹明财, 等. 基于优化算法的CNN-BiLSTM-attention的月径流量预测[J]. 人民长江, 2023, 54(12): 96-104.
(
|
| [8] |
郭田丽, 宋松柏, 张特, 等. 基于两阶段粒子群优化算法的新型逐步分解集成径流预测模型[J]. 水利学报, 2022, 53(12): 1456-1466.
(
|
| [9] |
徐冬梅, 王亚琴, 王文川. 基于VMD-GRU与非参数核密度估计的月径流区间预测方法及应用[J]. 水电能源科学, 2022, 40(6): 1-5.
(
|
| [10] |
|
/
| 〈 |
|
〉 |