Explainable Machine Learning for Compressive Stress Prediction in Cement-Based Construction Materials: A Systematic Benchmarking and SHAP Interpretability Study
DOI:
https://doi.org/10.56748/ejse.261000Keywords:
compressive strength prediction, cement concrete, Machine learning, XGBoost, SHAP explainability, Bayesian optimisation, feature engineeringAbstract
Accurate prediction of the compressive strength of cement-based materials remains a central problem in structural engineering, because the property depends on strongly nonlinear interactions among mixture proportions, supplementary cementitious materials and curing age. Recent systematic reviews of the machine learning literature in this area report three recurring weaknesses: model comparisons are seldom made under one shared data split and are rarely validated statistically; raw mix-design variables are usually passed to the learner without encoding established concrete science; and analysis code is almost never released, so published accuracies cannot be reproduced or placed on a common footing. This study addresses all three on the University of California, Irvine (UCI) Concrete Compressive Strength dataset (n = 1,030). Nine regression models, from ordinary least squares to gradient-boosted ensembles, were compared under one identical ten-fold cross-validation (CV) protocol on a fixed 80/20 stratified split, with all model selection confined to the training partition. The eight raw mix-design variables were augmented with eight physics-informed features derived from Abrams’ strength law and cement hydration kinetics, among them the water-to-cement ratio, the water-to-binder ratio and log-transformed curing age. Hyperparameters of the two gradient-boosted learners were tuned by Bayesian optimisation in Optuna over 100 trials each. Extreme gradient boosting (XGBoost) gave the best held-out result, with a coefficient of determination (R²) of 0.9567, a root mean squared error (RMSE) of 3.46 MPa and a mean absolute error (MAE) of 2.35 MPa. The four gradient-boosted variants, tuned and untuned XGBoost and light gradient boosting machine (LightGBM), could not be separated from one another by Wilcoxon signed-rank tests, and all four were significantly better than the kernel, bagging and linear baselines (p = 0.002). Bayesian tuning raised the cross-validated score of both boosters yet lowered their held-out score; this negative result is reported in full because it carries a concrete rule for practitioners. SHapley Additive exPlanations (SHAP) computed for both tuned boosters identified curing age, the water-to-binder ratio and total binder content as the dominant predictors, in agreement with physical theory, and the two models returned the same six leading features with closely matching global importance (Spearman ρ = 0.829). The complete pipeline is released as open source under a single fixed random seed.
Downloads
References
Abrams, D.A. (1918) Design of Concrete Mixtures. Structural Materials Research Laboratory Bulletin 1. Chicago, IL: Lewis Institute.
Akiba, T., Sano, S., Yanase, T., Ohta, T. and Koyama, M. (2019) 'Optuna: a next-generation hyperparameter optimization framework', Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, Anchorage, AK, USA, 4-8 August, pp. 2623-2631. DOI: https://doi.org/10.1145/3292500.3330701
ASTM International (2021) ASTM C39/C39M-21: Standard Test Method for Compressive Strength of Cylindrical Concrete Specimens. West Conshohocken, PA: ASTM International.
Ben Chaabene, W., Flah, M. and Nehdi, M.L. (2020) 'Machine learning prediction of mechanical properties of concrete: critical review', Construction and Building Materials, 260, 119889. DOI: https://doi.org/10.1016/j.conbuildmat.2020.119889
Chen, T. and Guestrin, C. (2016) 'XGBoost: a scalable tree boosting system', Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, San Francisco, CA, USA, 13-17 August, pp. 785-794. DOI: https://doi.org/10.1145/2939672.2939785
Chen, T. and Guestrin, C. (2023) XGBoost Documentation, Version 2.0. Available at: https://xgboost.readthedocs.io (Accessed: 10 April 2025).
Chou, J.S., Chiu, C.K., Farfoura, M. and Al-Taharwa, I. (2011) 'Optimizing the prediction accuracy of concrete compressive strength based on a comparison of data-mining techniques', Journal of Computing in Civil Engineering, 25(3), pp. 242-253. DOI: https://doi.org/10.1061/(ASCE)CP.1943-5487.0000088
Chou, J.S., Tsai, C.F., Pham, A.D. and Lu, Y.H. (2014) 'Machine learning in concrete strength simulations: multi-nation data analytics', Construction and Building Materials, 73, pp. 771-780. DOI: https://doi.org/10.1016/j.conbuildmat.2014.09.054
Feng, D.C., Liu, Z.T., Wang, X.D., Chen, Y., Chang, J.Q., Wei, D.F. and Jiang, Z.M. (2020) 'Machine learning-based compressive strength prediction for concrete: an adaptive boosting approach', Construction and Building Materials, 230, 117000. DOI: https://doi.org/10.1016/j.conbuildmat.2019.117000
Jiang, Y. et al. (2022) 'A gradient boosting regressor with physics-informed feature engineering for concrete compressive strength prediction', Materials, 15(24), 8953.
Juenger, M.C.G. and Siddique, R. (2015) 'Recent advances in understanding the role of supplementary cementitious materials in concrete', Cement and Concrete Research, 78, pp. 71-80. DOI: https://doi.org/10.1016/j.cemconres.2015.03.018
Ke, G., Meng, Q., Finley, T., Wang, T., Chen, W., Ma, W., Ye, Q. and Liu, T.Y. (2017) 'LightGBM: a highly efficient gradient boosting decision tree', Advances in Neural Information Processing Systems, 30, pp. 3146-3154.
Lundberg, S.M. and Lee, S.I. (2017) 'A unified approach to interpreting model predictions', Advances in Neural Information Processing Systems, 30, pp. 4765-4774.
Lundberg, S.M., Erion, G., Chen, H., DeGrave, A., Prutkin, J.M., Nair, B., Katz, R., Himmelfarb, J., Bansal, N. and Lee, S.I. (2020) 'From local explanations to global understanding with explainable AI for trees', Nature Machine Intelligence, 2(1), pp. 56-67. DOI: https://doi.org/10.1038/s42256-019-0138-9
Mehta, P.K. and Monteiro, P.J.M. (2014) Concrete: Microstructure, Properties, and Materials, 4th edn. New York, NY: McGraw-Hill.
Microsoft Corporation (2024) LightGBM: Light Gradient Boosting Machine, Version 4.3. Available at: https://lightgbm.readthedocs.io (Accessed: 10 April 2025).
Neville, A.M. (2011) Properties of Concrete, 5th edn. Harlow: Pearson Education.
Nunez, I. et al. (2021) 'Estimating compressive strength of modern concrete mixtures using computational intelligence: a systematic review', Construction and Building Materials, 310, pp. 125-148. DOI: https://doi.org/10.1016/j.conbuildmat.2021.125279
Pengyu, C. et al. (2025) 'Machine learning for modeling stress evolution in cement-based materials: a systematic review', Acta Polytechnica Hungarica, 22(12). DOI: https://doi.org/10.12700/APH.22.12.2025.12.7
Powers, T.C. (1958) The Physical Structure and Engineering Properties of Concrete. Research Department Bulletin 90. Skokie, IL: Portland Cement Association.
Rahman, J., Ahmed, K.S., Khan, N.I., Islam, K. and Mangalathu, S. (2021) 'Data-driven shear strength prediction of steel fiber reinforced concrete beams using machine learning approach', Engineering Structures, 233, 111743. DOI: https://doi.org/10.1016/j.engstruct.2020.111743
Richard, P. and Cheyrezy, M. (1995) 'Composition of reactive powder concretes', Cement and Concrete Research, 25(7), pp. 1501-1511. DOI: https://doi.org/10.1016/0008-8846(95)00144-2
Rudin, C. (2019) 'Stop explaining black box machine learning models for high-stakes decisions and use interpretable models instead', Nature Machine Intelligence, 1(5), pp. 206-215. DOI: https://doi.org/10.1038/s42256-019-0048-x
Scrivener, K.L., John, V.M. and Gartner, E.M. (2018) 'Eco-efficient cements: potential economically viable solutions for a low-CO₂ cement-based materials industry', Cement and Concrete Research, 114, pp. 2-26. DOI: https://doi.org/10.1016/j.cemconres.2018.03.015
Shahmansouri, A.A. et al. (2021) 'Artificial neural network model to predict the compressive strength of eco-friendly geopolymer concrete incorporating silica fume and natural zeolite', Journal of Cleaner Production, 279, 123697. DOI: https://doi.org/10.1016/j.jclepro.2020.123697
Turner, R., Eriksson, D., McCourt, M., Kiili, J., Laaksonen, E., Xu, Z. and Guyon, I. (2021) 'Bayesian optimization is superior to random search for machine learning hyperparameter tuning: analysis of the black-box optimization challenge 2020', Proceedings of the NeurIPS 2020 Competition Track, PMLR, vol. 133, pp. 3-26.
Wang, X. et al. (2024) 'Predicting the compressive strength of self-compacting concrete using an optimised gradient boosting machine with SHAP analysis', Case Studies in Construction Materials, 20, e02890.
Wilcoxon, F. (1945) 'Individual comparisons by ranking methods', Biometrics Bulletin, 1(6), pp. 80-83. DOI: https://doi.org/10.2307/3001968
Yeh, I.C. (1998) 'Modeling of strength of high-performance concrete using artificial neural networks', Cement and Concrete Research, 28(12), pp. 1797-1808. DOI: https://doi.org/10.1016/S0008-8846(98)00165-3
Zhang, J. et al. (2020) 'Predicting uniaxial compressive strength of oil palm shell concrete using a hybrid artificial intelligence model', Journal of Building Engineering, 30, 101282. DOI: https://doi.org/10.1016/j.jobe.2020.101282
Zou, Y. et al. (2022) 'Evaluation of artificial intelligence methods to estimate the compressive strength of geopolymers', Gels, 8(5), 271 DOI: https://doi.org/10.3390/gels8050271
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 M.Mallikarjuna Rao, C. Manjunath, G. Malli Reddy, D. Venkatesh, Shaik Rahamat Basha, D. V. Bhaskar

This work is licensed under a Creative Commons Attribution 4.0 International License.
