Dam Deformation Prediction Based on MHA-BiGRU Framework Enhanced by CEEMD–iForest Outlier Detection
Abstract
1. Introduction
2. Outlier Detection Method Based on CEEMD-iForest
2.1. Decomposition of the Original Deformation Sequence Based on CEEMD
2.2. iForest Algorithm
2.3. The Process of the Proposed Outlier Detection Method
3. Prediction Method Based on MHA-BiGRU Model
3.1. BiGRU Model
3.2. Multi-Head Attention Mechanism (MHA)
3.3. The Overall Architecture of the Presented Prediction Model
4. Case Study
4.1. Overview of the Studied Project
4.2. Outlier Detection Results Analysis
4.3. Prediction Results Analysis of MHA-BiGRU Model
4.4. Visualization of Attention Weights and Interpretability Analysis
5. Discussion and Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Shao, C.; Gu, C.; Yang, M.; Xu, Y.; Su, H. A novel model of dam displacement based on panel data. Struct. Control Health Monit. 2018, 25, e2037. [Google Scholar] [CrossRef]
- Wei, B.; Zheng, Z.; Hu, Y.; Yuan, D.; Chi, Y.; Qiu, C. Underwater concrete crack detection of dams via CycleGAN-based data enhancement and optimized multi-scale YOLO11. Constr. Build. Mater. 2026, 514, 145497. [Google Scholar] [CrossRef]
- Zhang, S.; Hou, W.; Yin, J.; Lin, Z. A Review of Research and Practice on the Theory and Technology of Reservoir Dam Risk Assessment. Sustainability 2022, 14, 14984. [Google Scholar] [CrossRef]
- Thepjunthra, W.; Mairaing, W.; Jinakulwipat, M.; Chalermpornchai, T.; Kunsuwan, B. Piezometer Time-Lag and Pore Pressure Ratio for Identification of Dam Internal Erosion. Civ. Eng. J. 2025, 11, 1162–1179. [Google Scholar] [CrossRef]
- Krisnayanti, D.S.; Sir, T.M.; Hangge, E.E.; Megonondo, B.D.; Klau, R.R.; Galla, A.Z. Stability Analysis of Dam with Asphalt Core in Static and Pseudo-Static Conditions. Civ. Eng. J. 2025, 11, 2631–2645. [Google Scholar] [CrossRef]
- Shao, C.; Zheng, S.; Xu, Y.; Gu, H.; Qin, X.; Hu, Y. A visualization system for dam safety monitoring with application of digital twin platform. Expert Syst. Appl. 2025, 271, 126740. [Google Scholar] [CrossRef]
- Gu, C.; Fu, X.; Shao, C.; Shi, Z.; Su, H. Application of Spatiotemporal Hybrid Model of Deformation in Safety Monitoring of High Arch Dams: A Case Study. Int. J. Environ. Res. Public Health 2020, 17, 319. [Google Scholar] [CrossRef]
- Hu, Y.; Shao, C.; Gu, C.; Meng, Z. Concrete Dam Displacement Prediction Based on an ISODATA-GMM Clustering and Random Coefficient Model. Water 2019, 11, 714. [Google Scholar] [CrossRef]
- Yuan, D.; Gu, C.; Qin, X.; Shao, C.; He, J. Performance-improved TSVR-based DHM model of super high arch dams using measured air temperature. Eng. Struct. 2022, 250, 113400. [Google Scholar] [CrossRef]
- Yao, K.; Wen, Z.; Shao, C.; Yang, J.; Su, H. A multisource data-driven monitoring model for assessing concrete dam behavior. Comput. Aided Civ. Infrastruct. Eng. 2024, 39, 3595–3609. [Google Scholar] [CrossRef]
- Shao, C.; Zheng, S.; Gu, C.; Hu, Y.; Qin, X. A novel outlier detection method for monitoring data in dam engineering. Expert Syst. Appl. 2022, 193, 116476. [Google Scholar] [CrossRef]
- Han, Z.; Chen, J.; Zhang, F.; Gao, Z.; Huang, H.; Li, Y. An efficient online outlier recognition method of dam monitoring data based on improved M-robust regression. Struct. Health Monit. 2023, 22, 581–599. [Google Scholar] [CrossRef]
- Mao, Y.; Li, J.; Qi, Z.; Yuan, J.; Xu, X.; Jin, X.; Du, X. Research on Outlier Detection Methods for Dam Monitoring Data Based on Post-Data Classification. Buildings 2024, 14, 2758. [Google Scholar] [CrossRef]
- Irazábal, J.; Salazar, F.; Silva-Cancino, N.; Vicente, D.J. Detection of outliers in dam monitoring time series with autoencoders. J. Civ. Struct. Health Monit. 2025, 15, 1771–1792. [Google Scholar] [CrossRef]
- Li, B.; Bai, X.; Li, J.; Wang, L. Outlier detection of gravity dam deformation monitoring data based on the multiple local outlier coefficient method. Math. Probl. Eng. 2022, 2022, 7157844. [Google Scholar] [CrossRef]
- Song, J.; Zhang, S.; Tong, F.; Yang, J.; Zeng, Z.; Yuan, S. Outlier Detection Based on Multivariable Panel Data and K-Means Clustering for Dam Deformation Monitoring Data. Adv. Civ. Eng. 2021, 2021, 3739551. [Google Scholar] [CrossRef]
- Rong, Z.; Pang, R.; Xu, B.; Zhou, Y. Dam safety monitoring data anomaly recognition using multiple-point model with local outlier factor. Autom. Constr. 2024, 159, 105290. [Google Scholar] [CrossRef]
- Song, J.; Chen, Y.; Yang, J. A Novel Outlier Detection Method of Long-Term Dam Monitoring Data Based on SSA-NAR. Wirel. Commun. Mob. Comput. 2022, 2022, 6569367. [Google Scholar] [CrossRef]
- Zhang, C.; Ren, J.; Gan, L.; Zhang, L.; Liu, J.; Liu, Z.; Xiong, L. Seepage pressure prediction in earth-rock dams using TVF-EMD-LOF outlier detection and CNN-BiLSTM-SAR integrated model. J. Civ. Struct. Health Monit. 2025, 2025, 2621–2640. [Google Scholar] [CrossRef]
- Zhang, M.; Li, X.; Wang, L. An adaptive outlier detection and processing approach towards time series sensor data. IEEE Access 2019, 7, 175192–175212. [Google Scholar] [CrossRef]
- Shi, Y.; Han, T.; Cui, F.; Wen, J.; Jia, J.; Pang, X. A hybrid prediction approach for enhancing heat transfer efficiency of coal-fired power plant boiler. Energy Rep. 2023, 9, 658–668. [Google Scholar] [CrossRef]
- Li, C.; Li, C.; Nie, B.; Han, Q.; Cao, J. Effect of anchor shear deformation on the propagation rules of excitation stress waves. Sci. Rep. 2024, 14, 29995. [Google Scholar] [CrossRef] [PubMed]
- Yang, Z.; Yu, J.; Liu, M.; Peng, T.; Wang, H. A Method for Predicting Trajectories of Concealed Targets via a Hybrid Decomposition and State Prediction Framework. Sensors 2025, 25, 3639. [Google Scholar] [CrossRef]
- Chen, L.; Gu, C.; Zheng, S.; Wang, Y. A Method for Identifying Gross Errors in Dam Monitoring Data. Water 2024, 16, 978. [Google Scholar] [CrossRef]
- Gamse, S. Dynamic modelling of displacements on an embankment dam using the Kalman filter. J. Spat. Sci. 2018, 63, 3–21. [Google Scholar] [CrossRef]
- Fang, C.; Wang, X.; Li, J.; Wu, L.; Wang, J.; Gu, H. A Novel Intelligent Learning Method for Identifying Gross Errors in Dam Deformation Monitoring Series. Water 2025, 17, 148. [Google Scholar] [CrossRef]
- Salazar, F.; Morán, R.; Toledo, M.Á.; Oñate, E. Data-based models for the prediction of dam behaviour: A review and some methodological considerations. Arch. Comput. Methods Eng. 2017, 24, 1–21. [Google Scholar] [CrossRef]
- Babaei, M.; Moeini, R.; Ehsanzadeh, E. Artificial neural network and support vector machine models for inflow prediction of dam reservoir (case study: Zayandehroud dam reservoir). Water Resour. Manag. 2019, 33, 2203–2218. [Google Scholar] [CrossRef]
- Xing, Y.; Chen, Y.; Huang, S.; Wang, P.; Xiang, Y. Research on Dam Deformation Prediction Model Based on Optimized SVM. Processes 2022, 10, 1842. [Google Scholar] [CrossRef]
- Li, M.; Pan, J.; Liu, Y.; Wang, Y.; Zhang, W.; Wang, J. Dam deformation forecasting using SVM-DEGWO algorithm based on phase space reconstruction. PLoS ONE 2022, 17, e0267434. [Google Scholar] [CrossRef]
- Zhang, Y.; Zhang, W.; Li, Y.; Wen, L.; Sun, X. AF-OS-ELM-MVE: A new online sequential extreme learning machine of dam safety monitoring model for structure deformation estimation. Adv. Eng. Inf. 2024, 60, 102345. [Google Scholar] [CrossRef]
- Cao, E.; Bao, T.; Gu, C.; Li, H.; Liu, Y.; Hu, S. A Novel Hybrid Decomposition—Ensemble Prediction Model for Dam Deformation. Appl. Sci. 2020, 10, 5700. [Google Scholar] [CrossRef]
- Dai, B.; Gu, C.; Zhao, E.; Qin, X. Statistical model optimized random forest regression model for concrete dam deformation monitoring. Struct. Control Health Monit. 2018, 25, e2170. [Google Scholar] [CrossRef]
- Belmokre, A.; Mihoubi, M.K.; Santillan, D. Seepage and dam deformation analyses with statistical models: Support vector regression machine and random forest. Proc. Struct. Integr. 2019, 17, 698–703. [Google Scholar] [CrossRef]
- Cai, S.; Gao, H.; Zhang, J.; Peng, M. A self-attention-LSTM method for dam deformation prediction based on CEEMDAN optimization. Appl. Soft Comput. 2024, 159, 111615. [Google Scholar] [CrossRef]
- Yang, X.; Xiang, Y.; Wang, Y.; Shen, G. A Dam Safety State Prediction and Analysis Method Based on EMD-SSA-LSTM. Water 2024, 16, 395. [Google Scholar] [CrossRef]
- Wen, Z.; Zhou, R.; Su, H. MR and stacked GRUs neural network combined model and its application for deformation prediction of concrete dam. Expert Syst. Appl. 2022, 201, 117272. [Google Scholar] [CrossRef]
- Bao, K.; Bi, J.; Gao, M.; Sun, Y.; Zhang, X.; Zhang, W. An Improved Ship Trajectory Prediction Based on AIS Data Using MHA-BiGRU. J. Mar. Sci. Eng. 2022, 10, 804. [Google Scholar] [CrossRef]
- Cheng, X.; Li, G.; Ellefsen, A.L.; Chen, S.; Hildre, H.P.; Zhang, H. A novel densely connected convolutional neural network for sea-state estimation using ship motion data. IEEE Trans. Instrum. Meas. 2020, 69, 5984–5993. [Google Scholar] [CrossRef]
- Wu, W.; Chen, Y. Application of isolation forest to extract multivariate anomalies from geochemical exploration data. Glob. Geol. 2018, 21, 36–47. [Google Scholar]
- Li, Z.; Wang, J.; Zhang, Z.; Jin, F.; Yang, J.; Sun, W.; Cao, Y. A Method Based on Improved iForest for Trunk Extraction and Denoising of Individual Street Trees. Remote Sens. 2023, 15, 115. [Google Scholar] [CrossRef]
- Shewalkar, A. Performance evaluation of deep neural networks applied to speech recognition: RNN, LSTM and GRU. J. Artif. Intell. Soft Comput. Res. 2019, 9, 235–245. [Google Scholar] [CrossRef]
- Zhang, J.; Liu, F.; Xu, W.; Yu, H. Feature Fusion Text Classification Model Combining CNN and BiGRU with Multi-Attention Mechanism. Future Internet 2019, 11, 237. [Google Scholar] [CrossRef]
- Hu, Y.; Gu, C.; Meng, Z.; Shao, C.; Min, Z. Prediction for the Settlement of Concrete Face Rockfill Dams Using Optimized LSTM Model via Correlated Monitoring Data. Water 2022, 14, 2157. [Google Scholar] [CrossRef]




















| Monitoring Point | PL5-1 | PL11-1 | PL16-1 | PL19-1 | PL21-1 | ||
|---|---|---|---|---|---|---|---|
| Number | |||||||
| Valid data | 526 | 510 | 502 | 524 | 535 | ||
| Outlier | 96 | 101 | 102 | 85 | 109 | ||
| Monitoring Points | Method | Total Number of Detected Outliers | Correct Detection Number | Missed Detection Number | False Alarm Number |
|---|---|---|---|---|---|
| PL5-1 | EMD-3σ | 74 | 72 | 24 | 2 |
| CEEMD-3σ | 87 | 87 | 9 | 0 | |
| CEEMD-iForest | 92 | 92 | 4 | 0 | |
| PL11-1 | EMD-3σ | 83 | 80 | 21 | 3 |
| CEEMD-3σ | 92 | 91 | 10 | 1 | |
| CEEMD-iForest | 99 | 99 | 2 | 0 | |
| PL16-1 | EMD-3σ | 86 | 79 | 23 | 7 |
| CEEMD-3σ | 97 | 93 | 9 | 4 | |
| CEEMD-iForest | 99 | 99 | 3 | 0 | |
| PL19-1 | EMD-3σ | 64 | 51 | 34 | 13 |
| CEEMD-3σ | 75 | 71 | 14 | 4 | |
| CEEMD-iForest | 79 | 78 | 6 | 1 | |
| PL21-1 | EMD-3σ | 96 | 73 | 36 | 18 |
| CEEMD-3σ | 92 | 84 | 25 | 8 | |
| CEEMD-iForest | 104 | 99 | 10 | 5 |
| Monitoring Points | Method | Precision | Recall | F1-Score |
|---|---|---|---|---|
| PL5-1 | EMD-3σ | 97.30% | 75% | 84.71% |
| CEEMD-3σ | 100% | 90.63% | 95.08% | |
| CEEMD-iForest | 100% | 95.83% | 97.87% | |
| PL11-1 | EMD-3σ | 96.39% | 79.21% | 86.96% |
| CEEMD-3σ | 98.91% | 90.10% | 94.03% | |
| CEEMD-iForest | 100% | 98.02% | 99.00% | |
| PL16-1 | EMD-3σ | 91.86% | 77.45% | 84.04% |
| CEEMD-3σ | 95.88% | 91.18% | 93.47% | |
| CEEMD-iForest | 100.00% | 97.06% | 98.51% | |
| PL19-1 | EMD-3σ | 79.69% | 60.00% | 68.46% |
| CEEMD-3σ | 94.67% | 83.53% | 91.76% | |
| CEEMD-iForest | 98.73% | 88.75% | 95.12% | |
| PL21-1 | EMD-3σ | 80.22% | 66.97% | 73.00% |
| CEEMD-3σ | 91.30% | 77.06% | 83.58% | |
| CEEMD-iForest | 95.19% | 90.83% | 92.96% |
| Module Category | Module | Parameter | Value |
|---|---|---|---|
| Data setup | Data and environment | Train and test split ratio | 80%, 20% |
| Processing | CEEMD | Noise amplitude | 0.2 |
| Ensemble size | 100 | ||
| Maximum iterations | 3000 | ||
| Outlier detection | iForest | Trees | 256 |
| Sample size per tree | 40 | ||
| Max tree height | 5 | ||
| Prediction models | Common deep learning settings | Learning rate | 0.001 |
| Look-back window | 30 | ||
| Batch size | 16 | ||
| Loss function | MSE | ||
| Optimizer | Adam | ||
| Epochs | 50 | ||
| Layers | 1 | ||
| Baselines (LSTM, GRU, BiGRU) | Dropout rate | 0.2 | |
| Hidden size | 64 | ||
| Proposed (MHA-BiGRU) | Dropout rate | 0.3 | |
| Hidden size | 32 | ||
| Number of heads | 2 | ||
| Baseline (XGBoost) | Number of estimators | 100 | |
| Learning rate | 0.05 | ||
| Max depth | 5 | ||
| Objective | Squared error | ||
| Baseline (TCN) | Filters | 64 | |
| Kernel size | 3 | ||
| Dilation rates | 1, 2, 4, 8 | ||
| Dense layer size | 32 | ||
| Optimizer | Adam |
| Model | MAE (Mean ± Std) | RMSE (Mean ± Std) | R2 (Mean ± Std) |
|---|---|---|---|
| LSTM | 0.116 ± 0.005 | 0.152 ± 0.006 | 0.961 ± 0.003 |
| GRU | 0.072 ± 0.003 | 0.086 ± 0.004 | 0.975 ± 0.002 |
| BiGRU | 0.083 ± 0.004 | 0.107 ± 0.005 | 0.979 ± 0.002 |
| MHA-BiGRU | 0.052 ± 0.002 | 0.064 ± 0.003 | 0.984 ± 0.001 |
| XGBoost | 0.189 ± 0.000 | 0.258 ± 0.001 | 0.926 ± 0.000 |
| TCN | 0.277 ± 0.012 | 0.371 ± 0.015 | 0.838 ± 0.008 |
| CEEMD-LSTM | 0.181 ± 0.007 | 0.242 ± 0.009 | 0.935 ± 0.005 |
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. |
© 2026 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.
Share and Cite
Xie, J.; Shao, Y.; Li, J.; Jia, Z.; Fu, C.; Chen, B.; Ma, C.; Zheng, S. Dam Deformation Prediction Based on MHA-BiGRU Framework Enhanced by CEEMD–iForest Outlier Detection. Water 2026, 18, 516. https://doi.org/10.3390/w18040516
Xie J, Shao Y, Li J, Jia Z, Fu C, Chen B, Ma C, Zheng S. Dam Deformation Prediction Based on MHA-BiGRU Framework Enhanced by CEEMD–iForest Outlier Detection. Water. 2026; 18(4):516. https://doi.org/10.3390/w18040516
Chicago/Turabian StyleXie, Jinji, Yuan Shao, Junzhuo Li, Zihao Jia, Chunjiang Fu, Bo Chen, Cong Ma, and Sen Zheng. 2026. "Dam Deformation Prediction Based on MHA-BiGRU Framework Enhanced by CEEMD–iForest Outlier Detection" Water 18, no. 4: 516. https://doi.org/10.3390/w18040516
APA StyleXie, J., Shao, Y., Li, J., Jia, Z., Fu, C., Chen, B., Ma, C., & Zheng, S. (2026). Dam Deformation Prediction Based on MHA-BiGRU Framework Enhanced by CEEMD–iForest Outlier Detection. Water, 18(4), 516. https://doi.org/10.3390/w18040516

