Soil Classification from Cone Penetration Test Profiles Based on XGBoost
This study develops a machine-learning-based framework for multiclass soil classification using Cone Penetration Test (CPT) data, aiming to overcome the limitations of traditional empirical Soil Behavior Type (SBT) charts and improve the automation, continuity, robustness, and reliability of stratigraphic interpretation. A dataset of 340 CPT soundings from 26 sites in Shanghai is compiled, and a sliding-window feature engineering strategy is introduced to transform point measurements into local pattern descriptors. An XGBoost-based multiclass classifier is then constructed using fifteen engineered features, integrating second-order optimization, regularized tree structures, and probability-based decision functions. Results demonstrate that the proposed method achieves strong classification performance across nine soil categories, with an overall classification accuracy of approximately 92.6%, an average F1-score exceeding 0.905, and a mean Average Precision (mAP) of 0.954. The confusion matrix, P–R curves, and prediction probabilities show that soil types with distinctive CPT signatures are classified with near-perfect confidence, whereas transitional clay–silt facies exhibit moderate but geologically consistent misclassification. To evaluate depth-wise prediction reliability, an Accuracy Coverage Rate (ACR) metric is proposed. Analysis of all CPTs reveals a mean ACR of 0.924, and the ACR follows a Weibull distribution. Feature importance analysis indicates that depth-dependent variables and smoothed ps statistics are the dominant predictors governing soil behavior differentiation. The proposed XGBoost-based framework effectively captures nonlinear CPT–soil relationships, offering a practical and interpretable tool for high-resolution soil classification in subsurface investigations.
Authors
- Jinzhang Zhang (ORCID: https://orcid.org/0000-0003-0921-3988)
- Feiyang Wang (ORCID: https://orcid.org/0000-0002-7668-2971)
- Dongming Zhang (ORCID: https://orcid.org/0000-0001-7652-1919)
- Jiaze Ni
- Hongwei Huang
Institutions
- Tongji University (CN)
- Chongqing University (CN)
- Donghua University (CN)
- PLA Army Service Academy (CN)
Publication Details
- Journal
- Applied Sciences
- Published
- 2025-12-26
- DOI
- https://doi.org/10.3390/app16010280
- Primary Topic
- Soil and Unsaturated Flow
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Natural Science Foundation of China