A hybrid artificial intelligence framework integrating bio-inspired optimization algorithms with machine learning models achieves exceptional accuracy in calculating the safety factor of earth dams under intricate hydro-geotechnical regimes. Published by an engineering research team investigating the Oued Guedouar earth dam in Mila Province, northeastern Algeria, the study demonstrates that coupling the Osprey Optimization Algorithm and the Marine Predators Algorithm with gradient boosted decision trees and artificial neural networks substantially outperforms conventional statistical baselines and standard grid-searched machine learning models. Accurate determination of the factor of safety serves as the primary indicator for assessing structural slope stability, mitigating catastrophic collapse risks, and guiding sustainable infrastructure stewardship across aging embankments worldwide.
Earth dam integrity represents an urgent global geotechnical challenge, as an estimated fifteen percent of large embankment dams worldwide currently face risks of damage, structural failure, or operational emergency incidents, with earthfill structures accounting for seventy to seventy-five percent of those documented events. Conventional stability evaluations traditionally depend on numerical simulations such as the limit equilibrium method and finite element analysis. While computationally sound, traditional numerical models require extensive computational running times and depend heavily on iterative inverse input calibrations derived from sparse in-situ instrumentation. To overcome these constraints, researchers developed an advanced predictive framework designed to capture complex, nonlinear interactions among geometric, hydraulic, material, and environmental variables while systematically reducing both epistemic and aleatory uncertainties inherent in slope stability evaluations.
The study focused on the physical configuration of the Oued Guedouar dam, located twelve kilometers south of Ferdjioua and two kilometers southeast of Derrahi Bouslah. Numerical limit equilibrium modeling was executed using PLAXIS LE software implementing the Morgenstern-Price formulation to derive true safety factors across a diverse matrix of operational scenarios. To rigorously evaluate internal drainage behavior, the research team modeled variations in the drainage blanket length relative to the normal water level height, expressed as the dimensionless ratio L/H spanning from 0.163 to 2.61. Because changing the horizontal drainage length directly shifts the internal phreatic surface, the phreatic line was systematically recalculated for each geometry using Kozeny analytical method, demonstrating that shorter drainage blankets induce a steep rise in internal saturation lines that severely impairs stability.
The compiled geotechnical modeling database comprises 101 fully resolved simulation scenarios characterized by five primary explanatory features: the internal friction angle tangent of the drainage blanket material, the dimensionless L/H drainage geometry ratio, the core cohesion governing shear resistance, the spatial evaluation position contrasting upstream and downstream slope faces, and the operational loading condition distinguishing between static equilibrium and seismic dynamic forces. In accordance with the Algerian Seismic Code, RPA 2024, dynamic evaluations incorporated a standard horizontal seismic coefficient of 0.15. The dataset was partitioned into a seventy percent training cohort and a thirty percent unseen testing cohort, with statistical equivalence rigorously corroborated through Kolmogorov-Smirnov tests, Kullback-Leibler divergence measurements, and permutation tests to ensure the absence of data partitioning bias.
Exploratory data analysis conducted prior to algorithm training revealed distinct physical dependencies governing dam behavior. Mutual information and distance correlation diagnostics identified the operational loading condition, with mutual information of approximately 0.684 and distance correlation of 0.931, alongside the spatial analysis location, with mutual information of 0.397 and distance correlation of 0.458, as the two most dominant features driving safety factor variations. Pearson correlation coefficients further substantiated these strong mathematical linkages, recording a strong positive correlation of 0.83 between static loading conditions and safety factor values, alongside a moderate negative correlation of minus 0.48 associated with upstream versus downstream slope positioning, confirming that seismic loading dramatically contracts structural stability margins.
To establish predictive benchmarks, researchers configured six distinct computational models comprising analytical Linear Regression, standard Artificial Neural Networks tuned via exhaustive Grid Search, standard XGBoost tuned via Grid Search, Osprey Optimization Algorithm-enhanced neural networks, Osprey Optimization Algorithm-enhanced XGBoost, and Marine Predators Algorithm-enhanced XGBoost. The bio-inspired metaheuristics automate hyperparameter calibration by mathematically replicating natural predatory dynamics. The Marine Predators Algorithm alternates adaptively between global exploration using Brownian and Levy flight distributions and localized exploitation based on varying predator-prey velocity ratios, while the Osprey Optimization Algorithm mirrors avian hunting patterns through sequential phases of broad prey detection, high-speed diving attacks, and localized capture adjustments to navigate multi-dimensional parameter spaces without trapping models in localized mathematical minima.
Comprehensive performance evaluations across the testing subset revealed that the neural network optimized with the Osprey Optimization Algorithm attained the highest individual test-set correlation, recording a coefficient of determination of 0.9957, a root mean square error of 0.01967, a mean absolute error of 0.00782, and a mean absolute percentage error of 0.5241 percent. This metaheuristic optimization yielded a six percent improvement in coefficient of determination alongside reductions of seventy-four percent in root mean square error and eighty-six percent in mean absolute error relative to baseline grid-searched neural networks. Meanwhile, the XGBoost models optimized with bio-inspired algorithms exhibited remarkable generalization parity, posting test-set coefficients of determination near 0.995, root mean square errors near 0.021, and mean absolute percentage errors around 0.6 percent, whereas traditional linear regression exhibited severe deficiencies with a test coefficient of determination dropping to 0.8738.
Across the entire combined dataset, the regularized gradient boosting architectures achieved the lowest overall predictive error margins and the most reliable stability characteristics. Both the Osprey and Marine Predators optimized XGBoost configurations achieved coefficients of determination reaching 0.9996, root mean square errors of approximately 0.0094, mean absolute errors of roughly 0.0023, and mean absolute percentage errors hovering at 0.15 percent. Regression error characteristic curves confirmed that the optimized XGBoost architectures surpassed ninety-nine percent cumulative prediction accuracy within a strict absolute error tolerance of 0.05. Violin plot residual analyses further revealed that XGBoost produced exceptionally tight, symmetrical error distributions tightly centered at zero without heavy tails or extreme outliers, demonstrating superior variance control compared to the slightly broader residual dispersion observed in the optimized neural network.
Model interpretability was systematically examined using Shapley Additive Explanations, which quantified the precise contribution of each input variable across all tested architectures. SHAP attribution identified dynamic seismic loading as the foremost governing factor, generating mean absolute SHAP values around 0.38, followed immediately by the upstream versus downstream analysis location. The bio-inspired XGBoost models exhibited crisp feature selectivity, prioritizing seismic loading and spatial boundary conditions over the geometric L/H ratio, core cohesion, and drainage friction angle. Conversely, the optimized neural network distributed importance more evenly across physical parameters, assigning elevated importance to drainage friction and core cohesion, which highlights the neural network capacity to model multi-parameter soil shear strength interactions at the expense of minor predictive dispersion.
Parametric evaluations confirmed that the machine learning models strictly conform to established geotechnical physics across diverse operational scenarios. Under static conditions, safety factor values rose steadily with expanding L/H drainage ratios and increasing soil cohesion, with upstream slope faces exhibiting higher stability margins due to stabilizing hydraulic counter-pressures exerted by impounded water. Dynamic seismic loading consistently depressed overall safety margins, where conventional linear regression and baseline neural networks suffered erratic overestimations, whereas the bio-inspired XGBoost and neural network architectures tracked analytical Morgenstern-Price benchmarks with high fidelity. To translate these algorithmic breakthroughs into operational geotechnical practice, the researchers compiled the trained models into a graphical user interface programmed in Python using the PyQt6 framework, providing practicing dam engineers with an accessible, data-driven software tool for rapid and dependable embankment stability assessment.
Subject of Research: Machine learning and bio-inspired optimization for earth dam factor of safety prediction
Article Title: Hybrid machine learning and bio-inspired optimization for accurate safety factor prediction in Earth dams
Article References: Arabet, L., Belaabed, F., Benbouza, A., & Malaoui, R. (2026). Hybrid machine learning and bio-inspired optimization for accurate safety factor prediction in Earth dams. Journal of Umm Al-Qura University for Engineering and Architecture, 17(4), 919-939. https://doi.org/10.1007/s43995-025-00271-5
Image Credits: AI Generated
DOI: 10.1007/s43995-025-00271-5
Keywords: earth dam stability, factor of safety, machine learning, XGBoost, artificial neural networks, Osprey Optimization Algorithm, Marine Predators Algorithm, bio-inspired optimization, limit equilibrium method, Morgenstern-Price method, PLAXIS LE, seismic loading, drainage blanket, phreatic line, geotechnical engineering, SHAP analysis, slope stability, Oued Guedouar dam
News Source: Teresa Odom. (November 21, 2026). Bio-Inspired Machine Learning Models Accurately Predict Earth Dam Factor of Safety. Scienmag.



