journal article·2026-05-15Open access

Prediction of the mechanical behaviour of rocks using a multi-model stacking fusion

Luyuan Wu, Haoran Wang, Dan Ma

Abstract

Rock materials exhibit complex mechanical responses due to their heterogeneity and anisotropy, while traditional stress–strain models can only partially describe their behaviour and encounter limitations in handling complex nonlinear relationships. This study proposes a multi-model stacking fusion framework integrating random forest, LightGBM, and Extreme Gradient Boosting with Bayesian optimisation for stress–strain relationship prediction across five rock failure stages. The Stacking ensemble framework relies on the noise resistance of random forest to address overfitting and integrates the advantages of Extreme Gradient Boosting and LightGBM in capturing complex feature interactions, effectively overcoming the poor generalisation of single models. A dual-validation scheme (five-fold out-of-fold cross-validation combined with an independent validation set) was employed to generate unbiased meta-features and robustly assess model generalisation. Selected meta-learners (linear model, Lasso, and ridge) further integrate these base learner outputs to more precisely capture the complex relationships of rock mechanical behaviour. The proposed framework was trained and validated using a dataset comprising over 218,000 data samples collected from sandstone and mudstone samples from the Yuanzigou coal mine. Taylor-diagram analysis demonstrated the Stacking ensemble framework's superior robustness and improved generalisation. The Stacking-Lasso hybrid model demonstrates outstanding predictive performance of stress–strain relationship with R 2 of 0.942 (pre-peak) and 0.931 (post-peak), alongside mean absolute error of 0.0128/0.0565, mean squared error of 2.54 × 10 −4 /5.0 × 10 −3 , mean absolute percentage error of 0.051, and root mean square deviation of 0.0138/0.0707 in pre- and post-peak regimes, respectively. SHapley Additive exPlanations feature importance analysis reveals that axial stress ( σ z ) and confining pressure ( σ x/y ) constitute the most dominant features controlling rock mechanical behaviour. Additionally, a visual interactive tool for the Stacking ensemble is developed based on PyQt, enabling data upload, model training and result visualisation. This study confirms the framework as an innovative, reliable reference for advancing digital and intelligent rock mechanics modelling.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Rock Mechanics and Modeling · Mineral Processing and Grinding · Coal Properties and Utilization

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Henan University

China University of Mining and Technology - Xuzhou Campus

Funding

the Henan Natural Science Foundation Youth Fund Project, China · the National Natural Science Foundation of China · the China Postdoctoral Science Foundation, China · the Postdoctoral Research Grant in Henan Province, China · the Key Scientific Research Projects of Colleges and Universities in Henan Province, China

References (29)

Show source-provided references
1. 10.1016/j.ijrmms.2019.03.00310.1016/j.ijrmms.2019.03.003 ↗
2. 10.1016/j.ijrmms.2004.02.00110.1016/j.ijrmms.2004.02.001 ↗
3. Chalajour S, Hataf N (2023) The comparison of tunnel convergence from numerical analysis with monitoring data based on different constitutive models in rock medium. Civil Engineering Infrastructures Journal-CEIJ 56(2): 301–319.
4. 10.1109/ICIII.2009.40110.1109/ICIII.2009.401 ↗
5. 10.1007/s12665-022-10695-010.1007/s12665-022-10695-0 ↗
6. 10.1016/j.compgeo.2022.10519010.1016/j.compgeo.2022.105190 ↗
7. 10.1007/s40789-025-00785-210.1007/s40789-025-00785-2 ↗
8. 10.1016/j.compgeo.2024.10666210.1016/j.compgeo.2024.106662 ↗
9. Ke G, Meng Q, Finley T, et al. (2017) Lightgbm: A highly efficient gradient boosting decision tree. In: Neural Information Processing Systems. Red Hook, NY: Curran Associates Inc, 3149–3157. https://api.semanticscholar.org/ CorpusID:3815895.
10. Li DW, Yang St, Liu Yl (2012) Experimental study on the bond performance between mortar and rock. Concrete (5): 5–7.
11. 10.1007/s00603-010-0131-410.1007/s00603-010-0131-4 ↗
12. 10.1007/s40098-023-00829-x10.1007/s40098-023-00829-x ↗
13. Lundberg SM and Lee SI (2017) A unified approach to interpreting model predictions. In: Guyon I, Luxburg U, Bengio S, et al. (eds) Advances in Neural Information Processing Systems 30 (NIPS 2017), 31st Annual Conference on Neural Information Processing Systems (NIPS), Long Beach, CA, 4–9 December 2017. Red Hook, NY: Curran Associates Inc., 4768–4777.
14. 10.1016/j.measurement.2025.11890010.1016/j.measurement.2025.118900 ↗
15. Mascarenhas WF (2018) Fast and accurate normalization of vectors and quaternions. https://arxiv.org/abs/1606.06508 arXiv:1606.0650810.1007/s40314-018-0594-6 ↗
16. 10.1016/j.acags.2025.10027610.1016/j.acags.2025.100276 ↗
17. 10.3389/fnbot.2013.0002110.3389/fnbot.2013.00021 ↗
18. 10.1016/j.compgeo.2025.10730310.1016/j.compgeo.2025.107303 ↗
19. 10.1016/j.compgeo.2022.10504010.1016/j.compgeo.2022.105040 ↗
20. Snoek J, Larochelle H, Adams RP (2012) Practical Bayesian optimization of machine learning algorithms. In: Proceedings of the 26th International Conference on Neural Information Processing Systems - Volume 2. Red Hook, NY: Curran Associates Inc., NIPS’12, 2951–2959.
21. 10.1142/S175882512450050910.1142/S1758825124500509 ↗
22. 10.1109/CCDC.2015.716257210.1109/CCDC.2015.7162572 ↗
23. Wu L (2020) Study on the evolution mechanism of water inrush disaster caused by overburden separation in coal seams. PhD thesis. China University of Mining and Technology.
24. 10.1016/j.engfracmech.2023.10905410.1016/j.engfracmech.2023.109054 ↗
25. 10.1007/s43452-022-00560-z10.1007/s43452-022-00560-z ↗
26. 10.1155/2019/530985210.1155/2019/5309852 ↗
27. 10.1016/j.tust.2024.10574710.1016/j.tust.2024.105747 ↗
28. 10.1016/j.ijrmms.2023.10543910.1016/j.ijrmms.2023.105439 ↗
29. 10.1007/s11831-020-09524-z10.1007/s11831-020-09524-z ↗