DOI: 10.1061/jmcee7.mteng-23582 ISSN: 0899-1561

Prediction of Compressive Strength of CSGR Based on Optimized Machine Learning with Sparrow Search Algorithm

Minghui Fan, Zhenghao Liu, Wenyuan Ren, Ruru Qu, Li Li, Tao Luo

Abstract

Cemented sand, gravel, and rock (CSGR) is an emerging dam material, and accurately predicting its compressive strength is essential for reliable mix-proportion design. Using 342 experimentally measured samples, this study develops an SSA-optimized machine-learning framework in which four base models (BP, SVM, RF, and XGBoost) are systematically tuned via the sparrow search algorithm (SSA). After optimization, the [ μ σ , μ + σ ] uncertainty intervals of all models were markedly reduced, with the smallest μ + σ value reaching 0.469, and the training-set MAE, RMSE, MAPE, R 2 , and R values showed substantial improvements. Among the models, SSA-XGBoost achieved the best performance, yielding the lowest prediction errors ( MAE = 0.612 , RMSE = 0.876 , MAPE = 10.65 % ) and the highest goodness-of-fit ( R = 0.983 , R 2 = 0.964 ). SHAP-based global and local interpretability analysis further identified cement content and curing age as the most influential factors governing CSGR strength. In addition, a graphical user interface (GUI) prediction platform was developed based on the SSA-XGBoost model, and experimental validation indicated that the prediction deviations remained below 10%. Overall, this study provides an accurate, interpretable, and practical tool for CSGR strength prediction and offers technical support for mix-proportion optimization in CSGR dam construction.

More from our Archive