Submitted:
27 July 2026
Posted:
28 July 2026
You are already at the latest version
Abstract
Keywords:
1. Introduction
- Systematic Comparison of Multiple Models and Hyperparameter Optimization: Four representative models—Support Vector Regression (SVR), Random Forest (RF), Multi-Layer Perceptron (MLP), and XGBoost—were selected. Grid search and Bayesian optimization (using the Optuna framework) were employed to tune the hyperparameters of each model, ensuring that all models were compared under optimal conditions, and the performance differences in predicting c and φ were systematically evaluated.
- Quantitative Evaluation of Rock-Type-Specific Modeling Strategies: For the first time on this dataset, we quantitatively compared the predictive performance of unified modeling and rock-type-specific modeling. SVR and RF models were trained independently for each of the four rock types (using the optimal hyperparameters obtained from the unified modeling optimization) and compared with the unified model on the same lithological test subset. The necessity of modeling each rock type separately was quantified using ΔR², revealing the patterns of how lithological differences affect prediction accuracy.
- Model interpretability analysis: The SHAP method was introduced to perform feature importance analysis on the optimal models for the two targets (XGBoost for cohesion c and Bayesian-optimized SVR for internal friction angle φ). Feature importance bar charts, swarm plots, and dependency graphs were generated to reveal the contribution and direction of influence of each input parameter on the prediction results, thereby enhancing the engineering credibility of the models.
- Robustness Evaluation and Engineering Applications: For the first time, multi-model robustness comparison tests were conducted on this dataset. Gaussian noise at different levels (0%, 1%, 3%, 5%, 10%) was added to the input features (
2. Data and Methods
2.1. Data Sources and Sample Characteristics
2.2. Data Preprocessing
2.3. Machine Learning Models
2.3.1. Support Vector Regression (SVR)
2.3.2. Random Forest (RF)
2.3.3. Multi-Layer Perceptron (MLP)
2.3.4. Extreme Gradient Boosting (XGBoost)
2.4. Hyperparameter Optimization
2.5. Lithology-Specific Modeling Strategies
2.6. Model Interpretability: SHAP Analysis
2.7. Robustness Analysis
2.8. Evaluation Metrics
3. Results
3.1. Model Performance Comparison
3.2. Comparison of Modeling by Rock Type
- Quartzite and quartz-mica schist: The absolute values of
- Slate: Rock-type-specific RF and SVR models significantly improved predictions of the internal friction angle (
- Limestone: Lithological modeling significantly improves the prediction of the internal friction angle (
3.3. SHAP Explainability Analysis
3.4. Robustness Analysis
4. Discussion and Recommendations for Engineering Applications
4.1. Comparison of Model Performance with Previous Studies
4.2. Engineering Significance of Rock-Type-Specific Modeling
4.3. Practical Value of Model Interpretability and Robustness
4.4. Trade-off Between Accuracy and Robustness
4.5. Limitations and Future Work
4.6. Recommendations for Engineering Applications
- Model Selection Recommendations: Field engineers should select models based on data quality: When data quality is high (
- Feature Selection Priority: SHAP analysis (Figure 6) indicates that UCS and UTS are the most significant features influencing c and φ, with their combined contribution exceeding 70%. When field data collection is limited, priority should be given to ensuring the measurement accuracy of UCS and UTS;
- 3.
- Rock-Type-Specific Modeling Strategy: For limestone-type rocks, it is recommended to establish separate prediction models—the R² of rock-type-specific SVR for φ increases from 0.5954 in the unified model to 0.9495 (ΔR² = 0.3541), representing a 59.5% improvement; For shale-type rocks, it is recommended to model the internal friction angle separately (RF lithology-specific ΔR² = 0.1410); for quartzite and quartz-mica schist, the unified model is sufficient (ΔR² < 0.01).
- 4.
- Field Application Process: Field engineers are advised to follow these steps: (a) Assess the types of available input parameters and the accuracy of testing to determine the data quality grade; (b) Identify rock types and determine whether rock-type-specific modeling is required; (c) Select an appropriate model based on the prediction target (c or φ) and Table 7;(d) Input the standardized parameters to perform predictions; (e) Use the prediction results as a reference for preliminary design or feasibility studies; however, critical engineering components still require verification through laboratory testing.
5. Conclusions
- Hyperparameter optimization significantly improved model performance: XGBoost (grid search) achieved a
- Lithofacies-specific modeling is crucial for specific rock types: in the prediction of
- SHAP analysis revealed the key controlling factors:
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Labuz, J.F.; Zang, A. Mohr–Coulomb failure criterion, in The ISRM suggested methods for rock characterization, testing and monitoring: 2007-2014; Springer, 2014; pp. 227–231. [Google Scholar]
- Singh, A.; Ayothiraman, R.; Rao, K.S. Failure criteria for isotropic rocks using a smooth approximation of modified Mohr–Coulomb failure function . Geotech. Geol. Eng. 2020, 38(4), 4385–4404. [Google Scholar] [CrossRef]
- Yu, M.-h. Advances in strength theories for materials under complex stress state in the 20th century . Appl. Mech. Rev. 2002, 55(3), 169–218. [Google Scholar] [CrossRef]
- Sivakugan, N.; et al. Determination of c and φ of rocks from indirect tensile strength and uniaxial compression tests . Int. J. Geotech. Eng. 2014, 8(1), 59–65. [Google Scholar]
- Kahraman, S. Evaluation of simple methods for assessing the uniaxial compressive strength of rock . Int. J. Rock. Mech. Min. Sci. 2001, 38(7), 981–994. [Google Scholar] [CrossRef]
- Khandelwal, M.; Singh, T. Correlating static properties of coal measures rocks with P-wave velocity . Int. J. Coal Geol. 2009, 79(1-2), 55–60. [Google Scholar] [CrossRef]
- Yasar, E.; Erdogan, Y. Correlating sound velocity with the density, compressive strength and Young’s modulus of carbonate rocks . Int. J. Rock. Mech. Min. Sci. 2004, 41(5), 871–875. [Google Scholar] [CrossRef]
- Inoue, M.; Ohomi, M. Relation between uniaxial compressive strength and elastic wave velocity of soft rock . ISRM International Symposium, 1981; ISRM. [Google Scholar]
- Goktan, R. Theoretical and practical analysis of rock rippability . Ph. D. thesis, 1988; p. 108. [Google Scholar]
- Entwisle, D.; et al. The relationships between effective porosity, uniaxial compressive strength and sonic velocity of intact Borrowdale Volcanic Group core samples from Sellafield . Geotech. Geol. Eng. 2005, 23(6), 793–809. [Google Scholar] [CrossRef]
- Akosah, S.; Gratchev, I.; Gidigasu, S.S. A systematic literature review on the application of artificial intelligence techniques for rock strength estimation . Neural Comput. Appl. 2025, 37(25), 20721–20753. [Google Scholar] [CrossRef]
- Ali, M.; Lai, S.H. Artificial intelligent techniques for prediction of rock strength and deformation properties–A review . In in Structures; Elsevier, 2023. [Google Scholar]
- Sabri, M.S.; Verma, A.K.; Singh, T. Direct and indirect methods for uniaxial compressive strength estimation in various geo-environments: a review . J. Rock. Mech. Geotech. Eng. 2025. [Google Scholar] [CrossRef]
- Kainthola, A.; et al. Prediction of strength parameters of himalayan rocks: a statistical and ANFIS approach . Geotech. Geol. Eng. 2015, 33(5), 1255–1278. [Google Scholar] [CrossRef]
- Shahani, N.M.; et al. Predicting angle of internal friction and cohesion of rocks based on machine learning algorithms . Mathematics 2022, 10(20), 3875. [Google Scholar] [CrossRef]
- Mahmoodzadeh, A.; et al. Machine learning techniques to predict rock strength parameters . Rock. Mech. Rock. Eng. 2022, 55(3), 1721–1741. [Google Scholar] [CrossRef]
- Breiman, L. Random forests . Mach. Learn. 2001, 45(1), 5–32. [Google Scholar] [CrossRef]
- Khandelwal, M.; et al. Implementing an ANN model optimized by genetic algorithm for estimating cohesion of limestone samples . Eng. With Comput. 2018, 34(2), 307–317. [Google Scholar]
- Hiba, M.; et al. Prediction of cohesion and friction angle from well-logging data using decision tree and random forest . Arab. J. Geosci. 2022, 15(1), 26. [Google Scholar] [CrossRef]
- Shen, J.; Jimenez, R. Predicting the shear strength parameters of sandstone using genetic programming . Bull. Eng. Geol. Environ. 2018, 77(4), 1647–1662. [Google Scholar]
- Jin, Z.-J.; et al. Prediction method for rock shear strength parameters based on data-driven and interpretability analysis . Sci. Rep. 2026, 16(1), 3080. [Google Scholar] [CrossRef] [PubMed]
- Lei, D.; et al. A machine learning framework for predicting shear strength properties of rock materials . Sci. Rep. 2025, 15(1), 8748. [Google Scholar] [CrossRef] [PubMed]
- Verma, A.K.; et al. Interpretable evolutionary optimized XGBoost framework for predicting shear strength parameters of rock; Springer, 2026; p. 98. [Google Scholar]
- Xie, H.; et al. Prediction method of rock uniaxial compressive strength based on feature optimization and SSA-XGBoost . Sustainability 2024, 16(19), 8460. [Google Scholar] [CrossRef]
- Cai, X.; et al. Dynamic Strength Prediction of Brittle Engineering Materials via Stacked Multi-Model Ensemble Learning and Interpretability-Driven Feature Analysis . Materials 2025, 18(13), 3054. [Google Scholar] [CrossRef] [PubMed]
- Cheng, Y.; et al. Hybrid data-driven model and shapley additive explanations for peak dilation angle of rock discontinuities . Mater. Today Commun. 2024, 40, 110194. [Google Scholar] [CrossRef]
- Lundberg, S.M.; Lee, S.-I. A unified approach to interpreting model predictions . In Advances in neural information processing systems; 2017; p. 30 . [Google Scholar]
- Cortes, C.; Vapnik, V. Support-vector networks . Mach. Learn. 1995, 20(3), 273–297. [Google Scholar] [CrossRef]
- Haykin, S. Neural networks and learning machines, 3/E; Pearson education india, 2009. [Google Scholar]
- Rosenblatt, F. The perceptron: a probabilistic model for information storage and organization in the brain . Psychol. Rev. 1958, 65(6), 386. [Google Scholar] [CrossRef] [PubMed]







| Reference | Model | Input Parameters | Rock type | Prediction Target | Performance (R² or accuracy) |
| Kainthola et al.[14] | Linear regression, ANFIS | P-wave velocity | Shale, limestone, quartzite, quartz-mica schist | c, φ | ~0.95 |
| Shahani et al.[15] | Lasso, Ridge, Decision Trees, SVM | P-wave velocity, density, UCS, TS | Ibid. | c, φ | Optimal SVM: c = 0.977, φ = 0.916 |
| Mahmoodzadeh et al.[16] | GPR, SVR, decision trees, LSTM | UCS, UTS, σ₃ | Sandstone | c, φ | Good |
| Khandelwal et al.[18] | GA-ANN | P-wave velocity, UCS, TS | Limestone | c | R² = 0.967 |
| Hiba et al.[19] | Decision tree, random forest | Density, neutron porosity, compression time | Carbonate rock | c, φ | Error < 2.4% |
| Shen et al.[20] | Genetic programming | UCS, UTS, σ₃ | Sandstone | c, φ | Fair |
| Lei et al.[22] | ISSA-XGBoost | P-wave velocity, density, UCS, TS | Shale, limestone, quartzite, quartz-mica schist | c, φ | c = 0.982, φ = 0.932 |
| Jin et al.[21] | Data-driven + interpretability | Ibid. | Ibid. | c, φ | High accuracy |
| Verma et al.[23] | Evolutionary optimization of XGBoost | Multiple | Rock | c, φ | High accuracy |
| Xie et al.[24] | SSA-XGBoost | Feature optimization | Rock | UCS | — |
| Parameter | Slate (n=50) | Limestone (n=49) | Quartzite (n=50) | Quartz-mica schist (n=50) |
| (m/s) | 4690.12 ± 623.37 | 4092.73 ± 429.83 | 5675.91 ± 373.94 | 2938.11 ± 464.85 |
| (g/cm³) | 2.68 ± 0.10 | 2.65 ± 0.07 | 2.59 ± 0.10 | 2.73 ± 0.06 |
| (MPa) | 141.53 ± 24.53 | 111.26 ± 14.04 | 198.53 ± 30.37 | 58.15 ± 10.12 |
| (MPa) | 17.85 ± 2.68 | 13.88 ± 1.76 | 24.89 ± 3.83 | 7.19 ± 1.09 |
| (MPa) | 19.13 ± 2.64 | 18.99 ± 1.73 | 25.80 ± 3.63 | 13.14 ± 1.60 |
| (°) | 31.53 ± 4.69 | 33.48 ± 2.99 | 35.95 ± 4.00 | 35.88 ± 4.26 |
| Model | Hyperparameter | Candidate Values |
| SVR | 1, 10, 50, 100, 200 | |
| ‘scale’, ‘auto’, 0.01, 0.1 | ||
| 0.01, 0.05, 0.1 | ||
| RF | 100, 200, 300 | |
| None, 10, 20 | ||
| 2, 5 | ||
| 1, 2 | ||
| MLP | (32,), (64,), (64,32) | |
| 0.0001, 0.001, 0.01 | ||
| 0.001, 0.005, 0.01 | ||
| XGBoost | 100, 200, 300 | |
| 3, 5, 7 | ||
| 0.01, 0.05, 0.1 | ||
| 0.7, 0.8, 0.9 | ||
| 0.7, 0.8, 0.9 |
| Model | Hyperparameter | Search Range | Distribution |
| SVR | [0.1, 1000] | Log-uniform | |
| [1e-4, 0.5] | Log-uniform | ||
| [0.01, 0.5] | Logarithmic uniform | ||
| RF | [50,300] | Integer uniform | |
| [3, 20] | Uniformly distributed integers | ||
| [2, 10] | Uniformly distributed integers | ||
| [1, 10] | Uniformly distributed integers | ||
| MLP | (32,), (64,), (32,16) | Class | |
| [1e-4, 0.1] | Logarithmic uniform | ||
| [1e-4, 5e-3] | Log-uniform | ||
| XGBoost | [100, 400] | Integer uniform | |
| [3, 8] | Uniformly distributed integers | ||
| [0.01, 0.3] | Uniform | ||
| [0.7, 1.0] | Uniform | ||
| [0.7, 1.0] | Uniform | ||
| [0,1] | Uniform | ||
| [1e-8, 0.1] | Log-uniform | ||
| [0.5, 2.0] | Uniform |
| Model | Objective | Grid Search R² | Bayesian Optimization R² | Final Selection |
| SVR | c | 0.9835 | 0.9831 | Grid |
| SVR | φ | 0.9176 | 0.9776 | Bayesian |
| RF | c | 0.9891 | 0.9890 | Grid |
| RF | φ | 0.9453 | 0.9411 | Grid |
| MLP | c | 0.9504 | 0.9787 | Bayesian |
| MLP | φ | 0.9033 | 0.9199 | Bayesian |
| XGBoost | c | 0.9901 | 0.9855 | Grid |
| XGBoost | φ | 0.9203 | 0.9151 | Grid |
| Rock Type | Model | Target | Rock-type-specific | Unification | |
|---|---|---|---|---|---|
| Quartzite | SVR | c | 0.9338 | 0.9299 | +0.0039 |
| Quartzite | RF | c | 0.9764 | 0.9770 | -0.0007 |
| Quartzite | SVR | φ | 0.9694 | 0.9648 | +0.0046 |
| Quartzite | RF | φ | 0.9891 | 0.9875 | +0.0017 |
| Slate | SVR | c | 0.9210 | 0.9258 | -0.0048 |
| Slate | RF | c | 0.9478 | 0.9060 | +0.0418 |
| Slate | SVR | φ | 0.9751 | 0.8887 | +0.0864 |
| Slate | RF | φ | 0.9726 | 0.8317 | +0.1410 |
| Limestone | SVR | c | 0.9626 | 0.8999 | +0.0627 |
| Limestone | RF | c | 0.9685 | 0.9694 | -0.0009 |
| Limestone | SVR | φ | 0.9495 | 0.5954 | +0.3541 |
| Limestone | RF | φ | 0.9738 | 0.8744 | +0.0994 |
| Quartz-mica schist | SVR | c | 0.9679 | 0.9657 | +0.0021 |
| Quartz-mica schist | RF | c | 0.9734 | 0.9659 | +0.0074 |
| Quartz-mica schist | SVR | φ | 0.9694 | 0.9790 | -0.0096 |
| Quartz-mica schist | RF | φ | 0.9770 | 0.9721 | +0.0048 |
| Condition Dimensions | Specific Scenarios | Recommended Model | Expected Performance | Basis for Decision-Making |
| Data Quality | High quality (standard indoor testing) | c: XGBoost φ: SVR (Bayesian) |
c: R² ≥ 0.990 φ: R² ≥ 0.975 |
Pursuing Maximum Accuracy (Table 5) |
| Moderate accuracy (including field test errors) | Random Forest (RF) | c: R² ≈ 0.989 φ: R² ≈ 0.945 |
Optimal balance between accuracy and robustness (Figure 7) | |
| Low quality (missing parameters or high noise) | Random Forest (RF) | Depends on the missing data situation | Tree models are insensitive to noise and missing features | |
| Lithological conditions | Limestone (uniform structure) | Lithology-specific modeling (SVR/RF) | φ: R² can be improved to ≥0.95 | ΔR² as high as 0.3541 (Table 6) |
| Slate (metamorphic schistosity) | Lithofacies modeling (φ only) | φ: R² can be increased to ≥0.12 | RF diagenetic ΔR² = 0.1410 (Table 6) | |
| Quartzite/Quartz-Mica Schist | Unified Model | Consistent with Table 5 | No significant improvement by lithology (ΔR² < 0.01) | |
| Prediction target | Prioritize predicting cohesion c | XGBoost (grid search) | R² = 0.9901 | Table 5: Optimal Accuracy |
| Prioritize predicting the internal friction angle φ | SVR (Bayesian Optimization) | R² = 0.9776 | Table 5: Optimal Accuracy | |
| Balancing Both | Random Forest (RF) | c: 0.9891, φ: 0.9453 | Best Overall Performance (Table 5 + Figure 7) | |
| Data Features | Input parameters contain measurement noise | Random Forest (RF) | R² decreases by <0.04 under 10% noise | Strongest noise resistance (Figure 7) |
| Only UCS and UTS | XGBoost or RF | Slightly lower than all features | Strength metrics as the core (Figure 6) |
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.