Machine learning models for predicting soil shear strength using geotechnical parameters and explainable artificial intelligence
Accurate prediction of soil shear strength is essential for the design and stability assessment of geotechnical structures. In this study, machine learning (ML) techniques were employed to predict soil shear strength using seven geotechnical parameters: cohesion, angle of internal friction, liquid limit (LL), plastic limit (PL), plasticity index (PI), maximum dry density (MDD), and optimum moisture content (OMC). A dataset comprising 229 laboratory records of experimentally measured shear strength obtained from direct shear tests was divided into 80% training and 20% testing subsets. Four ML models, namely Linear Regression (LR), Decision Tree (DT), Random Forest (RF), and XGBoost (XGB), were developed and evaluated using multiple performance metrics and repeated cross-validation. On the independent testing dataset, RF provided the best overall performance, achieving an R 2 of 0.7812, adjusted R 2 of 0.7408, RMSE of 22.7080, and MAPE of 0.1523. XGB showed comparable performance, while DT exhibited the weakest generalization. SHAP, FAST, and PAWN analyses indicated that cohesion was the dominant model input for LR, DT, and RF, whereas OMC showed the highest sensitivity for XGB. The target shear strength values were experimentally obtained from direct shear tests rather than calculated from cohesion and angle of internal friction. However, the observed strong dependence between cohesion and shear strength, together with correlations among several input variables, limits the interpretation of the models as fully independent predictors. Overall, the results demonstrate the usefulness of interpretable ML models for representing laboratory-derived shear strength relationships under the investigated conditions, while further validation using independent datasets and wider stress conditions is required before broader application.
Authors
- Semachew Molla Kassa (ORCID: https://orcid.org/0000-0001-7920-8522)
- Betelhem Zewdu Wubineh (ORCID: https://orcid.org/0000-0002-4790-7449)
- Sosina Dires Sewunet (ORCID: https://orcid.org/0009-0006-8379-3369)
- Muluager Bewket Demlew (ORCID: https://orcid.org/0009-0001-7183-9343)
- Grzegorz Kacprzak
Institutions
- Warsaw University of Technology (PL)
- Wrocław University of Science and Technology (PL)
- Addis Ababa Science and Technology University (ET)
- Bahir Dar University (ET)
- AGH University of Krakow (PL)
- University of Gondar (ET)
Publication Details
- Journal
- Scientific Reports
- Published
- 2026-08-26
- DOI
- https://doi.org/10.1038/s41598-026-68602-7
- Primary Topic
- Geotechnical Engineering and Soil Mechanics
- Type
- article
- Field-Weighted Citation Impact
- 0.00