A Displacement Monitoring Model for High-Arch Dams Based on SHAP-Driven Ensemble Learning Optimized by the Gray Wolf Algorithm

Shasha Li, Kai Jiang, Sinian Yang, Zechen Lan, Yining Qi, Huaizhi SuWater 2025

TL;DR

This paper introduces a novel ensemble learning framework for predicting the displacement of high-arch dams, combining multiple machine learning and deep learning models. By optimizing hyperparameters with the Grey Wolf Algorithm and enhancing interpretability with SHAP, the proposed model significantly improves prediction accuracy and provides crucial insights into the factors influencing dam deformation, crucial for safety monitoring.

What Problem Does This Paper Address?

High-arch dams are critical infrastructure, but their increasing height and complexity pose significant safety challenges. Accurate monitoring and prediction of dam displacement are essential for assessing structural integrity and preventing potential failures. Traditional single-model approaches often struggle to capture the intricate, nonlinear relationships between various influencing factors (like water level and temperature) and dam deformation, leading to limited predictive performance and a lack of transparency. This makes it difficult to understand why a dam is behaving a certain way, hindering effective safety assessments and early risk warnings. The paper aims to bridge this gap by developing a more accurate, robust, and interpretable model for dam displacement prediction.

Methods

The core of this research lies in a sophisticated ensemble learning framework. Here's a breakdown of the key techniques:

  • Heterogeneous Base Learners: The model doesn't rely on a single algorithm. Instead, it combines three distinct types of models:
  • Hydraulic-Seasonal-Temporal (HST) Model: A statistical model that captures the influence of reservoir water level, seasonal temperature variations, and time-dependent effects (like concrete creep).
  • Random Forest (RF): A powerful machine learning algorithm that builds multiple decision trees to improve prediction accuracy and stability.
  • Bidirectional Gated Recurrent Unit (BiGRU): A deep learning model adept at capturing complex temporal dependencies in sequential data by processing information in both forward and backward directions.
  • Stacking Ensemble Strategy: To effectively combine the predictions of these diverse base learners, a stacking approach is used. This involves training a "meta-learner" (in this case, a Multi-Layer Perceptron) on the outputs of the base models to produce the final prediction. This allows the ensemble to leverage the complementary strengths of each individual model.
  • Grey Wolf Optimizer (GWO): To fine-tune the hyperparameters of each base learner and the meta-learner, the GWO algorithm is employed. GWO is a population-based metaheuristic inspired by wolf pack behavior, known for its ability to balance exploration and exploitation in search spaces, leading to more efficient optimization and improved model performance.
  • SHAP (SHapley Additive exPlanations): To address the interpretability challenge, the SHAP algorithm is integrated. SHAP provides a unified framework to quantify the contribution of each input feature to the model's prediction, offering insights into the causal relationships driving dam displacement.

Datasets

The study utilizes a dataset from a real-world high-arch dam. Specifically, it focuses on displacement monitoring data from point PL13-1, located on the crown cantilever beam. This data spans from March 8, 2016, to June 25, 2021, and includes measurements of horizontal displacements, upstream reservoir water levels, and toe temperatures. A total of 1936 data samples were used, with 80% allocated for training and 20% for testing.

Key Insights and Ideas

  • Ensemble Power: The research strongly supports the idea that combining diverse models (statistical, machine learning, and deep learning) leads to superior performance compared to any single model. The "heterogeneity" of base learners is key to reducing residual errors.
  • Interpretability is Crucial: Simply achieving high accuracy isn't enough for critical infrastructure like dams. The SHAP analysis reveals that water-level descriptors are the dominant factors influencing displacement, providing engineers with actionable insights for safety assessments.
  • Lagging Effects Matter: The SHAP analysis also highlights that antecedent water-level indices (e.g., average water levels from previous days) are significant predictors. This suggests that dam deformation doesn't always respond instantaneously to changes in water level, indicating a delayed or "lagging" effect that needs to be accounted for.
  • GWO's Efficiency: The Grey Wolf Optimizer proved effective in fine-tuning the complex hyperparameters of the base models, achieving optimal performance with fewer iterations than other tested optimization algorithms.

Key Results

The proposed SHAP-driven ensemble learning model demonstrated exceptional performance:

  • High Accuracy: The ensemble model achieved a Root Mean Squared Error (RMSE) of 0.2241 and a Coefficient of Determination (R²) of 0.9993 on the test set. This significantly outperforms individual base learners.
  • Superiority over Base Models: The ensemble's RMSE (0.2241) is considerably lower than the best individual base learner (BiGRU with RMSE of 0.4088).
  • Dominance of Water Level: SHAP analysis revealed that nine out of the top ten most influential factors for displacement prediction were water-level related, underscoring the primary role of hydraulic load.
  • Temperature's Role: The temperature harmonic term also showed a tangible influence, attributed to the quasi-periodic thermal fluctuations in the dam's environment.

Limitations and Future Work

The authors acknowledge several areas for future improvement:

  • Advanced Deep Learning Architectures: Exploring more sophisticated deep learning models like Transformers or graph neural networks as base learners could potentially yield further gains in predictive accuracy.
  • Distributed Computation: Implementing distributed computing schemes could significantly speed up the training process for larger ensembles and datasets, enabling more extensive exploration.
  • Broader Applications: The methodology could be extended to diverse dam-monitoring contexts and other structural health monitoring challenges.
  • Integration of Sensor Data: Incorporating data from multiple sensor types could enhance modeling accuracy.
  • Hybrid Approaches: Combining physical principles with data-driven techniques could lead to even more robust and interpretable predictive models.

Summary updated

Abstract

Displacement monitoring data is essential for assessing the structural safety of high-arch dams. Existing models, predominantly based on single-model architectures, often lack the ability to effectively integrate multiple algorithms, leading to limited predictive performance and poor interpretability. This study proposes an ensemble learning framework for dam displacement prediction, combining Hydraulic–Seasonal–Temporal model (HST), Random Forest (RF), and Bidirectional Gated Recurrent Unit (BiGRU) models as base learners. A stacking strategy is employed to enhance predictive accuracy, and the Grey Wolf Optimizer (GWO) is used for hyperparameter optimization. To improve model transparency, the Shapley Additive Explanations (SHAP) algorithm is applied for interpretability analysis. Extensive experiments demonstrate that the proposed ensemble model outperforms individual models, achieving a Root Mean Squared Error (RMSE) of 0.2241 and a Coefficient of Determination (R2) of 0.9993 on the test set. The SHAP analysis further elucidates the contribution of key variables, providing valuable insights into the displacement prediction process and offering a robust technical foundation for arch dam safety monitoring and early risk warning.
BibTeX
@inproceedings{li2025displacement,
  author = {Shasha Li and Kai Jiang and Sinian Yang and Zechen Lan and Yining Qi and Huaizhi Su},
  title = {{A Displacement Monitoring Model for High-Arch Dams Based on SHAP-Driven Ensemble Learning Optimized by the Gray Wolf Algorithm}},
  booktitle = {Water},
  year = {2025},
  doi = {10.3390/w17182766},
}
Figure