Physically Constrained and Location-Aware Machine Learning for Joint Prediction of Clay Compression and Recompression Indices
Abstract
1. Introduction
2. Literature Review
2.1. Empirical, Data-Centric, and Machine Learning Prediction of Clay Compressibility
2.2. Physical Consistency, Interpretability, and Uncertainty-Aware Validation
2.3. Positioning of the Present Study
3. Database and Methods
3.1. CLAY/Cc/6/6203 Database and Selected Subset
3.1.1. Global Database Overview
- basic identification data (site or project name, location, country);
- index properties such as LL, PI, w, and e;
- compressibility indices derived from oedometer or incremental loading tests, most notably the Cc and, where available, the Cur;
- additional descriptors (e.g., indication of remoulded or natural state, test type, comments from the original source).
3.1.2. Selected Subset and Data Cleaning
- Restriction to natural clays: All records explicitly flagged as remoulded were removed. This filtering step was used to keep the modelling dataset consistent with the intended engineering application, namely the prediction of Cc and Cur for natural clay deposits. Remoulding removes or strongly alters the natural soil fabric, bonding, ageing effects and stress-history imprint of the specimen. These effects are particularly relevant for recompression behaviour because Cur is more sensitive to structure, overconsolidation and sample disturbance than Cc. Therefore, mixing remoulded and natural clays without an explicit state or structure descriptor could introduce an additional source of heterogeneity into an index-only model. The remaining entries correspond to intact or lightly disturbed natural clays, or cases where remoulding was not reported;
- Completeness of inputs and targets: From the natural-clay subset, only records with non-missing, numerically valid values of LL, PI, w, e, Cc, and Cur were retained. Entries containing missing data, non-numeric values or comments in any of these fields were discarded;
- Unit and plausibility checks: LL, PI, and w were interpreted as percentages and e, Cc, and Cur as dimensionless quantities. After conversion to numeric types, basic physical plausibility filters were applied (e.g., LL > 0, PI ≥ 0, w > 0, e > 0, Cc > 0, Cur > 0). A small number of records with clearly non-physical or extreme values, likely due to transcription or digitisation errors, were removed;
- Outlier screening: Univariate histograms and boxplots were inspected for LL, PI, w, e, Cc, and Cur. In addition, robust statistics (e.g., interquartile range-based fences) were used as a guide to identify highly extreme points. A small number of outliers that were judged inconsistent with the bulk of the data were excluded, while preserving the overall spread and tail behaviour of each variable.
3.1.3. Variables Used in This Study
- LL—liquid limit [%];
- PI—plasticity index [%];
- w—natural water content [%];
- e—initial void ratio [–].
- Cc—compression index [–];
- Cur—recompression index [–].
3.2. Exploratory Analysis and Descriptive Statistics
Correlation Structure and Cc–Cur Relationship
3.3. Machine Learning Models and Training Protocol
3.3.1. Problem Definition and Predictors
3.3.2. Algorithm Selection and Justification
3.3.3. Preprocessing
3.3.4. Cross-Validation Design
3.4. Hyperparameter Tuning
3.5. Evaluation Metrics
3.6. Bootstrap-Based Uncertainty Analysis
3.7. Model Interpretability and Physical Consistency Checks
3.8. Reproducibility and Transparency
3.9. Physically Constrained Target Transformation and Geotechnical Feature Enrichment
Practical Four-Variable Empirical Formulation
3.10. Site-/Location-Aware Validation Protocol
4. Results
4.1. Descriptive Statistics and Correlation Structure
4.2. Single-Output Ensemble Model Performance
4.3. Multi-Output Ensembles and Joint Cc–Cur Consistency
4.4. Deep Neural Network Benchmarks
4.5. SHAP-Based Interpretation of Ensemble Models
4.5.1. Global Feature Importance
4.5.2. Non-Linear Effects and Interactions
4.6. Physical Interpretation and Sensitivity of Learned Relationships
4.7. Performance of Physics-Guided and Geotechnically Enriched Models
4.8. Sensitivity to Remoulded Soil Records
4.9. Practical Empirical Formula Performance
4.10. Results of Site-Location-Aware Validation
5. Discussion
5.1. Comparison with Empirical Correlations
5.2. Added Value of Multi-Output Modelling and Interpretability
5.3. Implications for Practice
5.4. Implications of the Physics-Guided Experiment
5.5. Limitations and Future Work
6. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
Abbreviations
| Cc | Compression index |
| Cur | Recompression index |
| LL | Liquid limit |
| PL | Plastic limit |
| PI | Plasticity index |
| LI | Liquidity index |
| w | Natural water content |
| e | Initial void ratio |
| r | Recompression ratio |
| C-hat-c | Predicted compression index |
| C-hat-ur | Predicted recompression index |
| OCR | Overconsolidation ratio |
| sigma’p | Preconsolidation pressure |
| ML | Machine learning |
| RF | Random Forest |
| XGB | Extreme Gradient Boosting |
| GB | Gradient Boosting |
| DNN | Deep Neural Network |
| ANN | Artificial Neural Network |
| MO_RF | Multi-output Random Forest |
| MO_XGB | Multi-output XGBoost |
| DNN_MO | Multi-output Deep Neural Network |
| SHAP | SHapley Additive exPlanations |
| PINN | Physics-informed Neural Network |
| CV | Cross-validation |
| LOLO | Leave-one-location-out |
| GroupKFold | Grouped K-fold cross-validation |
| R2 | Coefficient of determination |
| RMSE | Root Mean Square Error |
| MAE | Mean Absolute Error |
| MSE | Mean Squared Error |
| PICP | Prediction Interval Coverage Probability |
| MPIW | Mean Prediction Interval Width |
| IQR | Interquartile range |
| OOF | Out of fold |
Appendix A
| Model | Target | Seeds | R2 Mean | R2 SD | R2 Range | R2 Seed 42 | RMSE Mean | RMSE SD | MAE Mean | MAE SD |
|---|---|---|---|---|---|---|---|---|---|---|
| DNN single output | Cc | 5 | 0.725 | 0.040 | 0.099 | 0.702 | 0.369 | 0.027 | 0.247 | 0.016 |
| DNN single output | Cur | 5 | 0.276 | 0.083 | 0.183 | 0.340 | 0.042 | 0.002 | 0.032 | 0.003 |
| DNN_MO | Cc | 5 | 0.745 | 0.025 | 0.063 | 0.711 | 0.357 | 0.030 | 0.242 | 0.016 |
| DNN_MO | Cur | 5 | 0.245 | 0.088 | 0.214 | 0.182 | 0.042 | 0.003 | 0.033 | 0.003 |
| MO_RF enriched | Cc | 10 | 0.737 | 0.040 | 0.144 | 0.653 | 0.353 | 0.041 | 0.236 | 0.025 |
| MO_RF enriched | Cur | 10 | 0.389 | 0.076 | 0.268 | 0.328 | 0.038 | 0.003 | 0.029 | 0.003 |
| MO_RF raw | Cc | 10 | 0.695 | 0.040 | 0.164 | 0.612 | 0.380 | 0.041 | 0.256 | 0.028 |
| MO_RF raw | Cur | 10 | 0.335 | 0.095 | 0.348 | 0.288 | 0.040 | 0.003 | 0.030 | 0.003 |
| MO_XGB raw | Cc | 10 | 0.685 | 0.034 | 0.093 | 0.634 | 0.386 | 0.035 | 0.255 | 0.024 |
| MO_XGB raw | Cur | 10 | 0.209 | 0.096 | 0.310 | 0.277 | 0.043 | 0.004 | 0.033 | 0.003 |
| GCTT GB | Cc | 10 | 0.730 | 0.046 | 0.150 | 0.658 | 0.358 | 0.045 | 0.234 | 0.030 |
| GCTT GB | Cur | 10 | 0.205 | 0.109 | 0.355 | 0.184 | 0.043 | 0.003 | 0.033 | 0.002 |
| GCTT RF | Cc | 10 | 0.745 | 0.052 | 0.169 | 0.654 | 0.347 | 0.051 | 0.220 | 0.029 |
| GCTT RF | Cur | 10 | 0.356 | 0.060 | 0.163 | 0.386 | 0.039 | 0.003 | 0.029 | 0.002 |
| RF single output | Cc | 10 | 0.695 | 0.040 | 0.161 | 0.611 | 0.380 | 0.041 | 0.256 | 0.028 |
| RF single output | Cur | 10 | 0.292 | 0.074 | 0.220 | 0.286 | 0.041 | 0.003 | 0.031 | 0.003 |
| XGB single output | Cc | 10 | 0.685 | 0.034 | 0.093 | 0.634 | 0.386 | 0.035 | 0.255 | 0.024 |
| XGB single output | Cur | 10 | 0.209 | 0.096 | 0.310 | 0.277 | 0.043 | 0.004 | 0.033 | 0.003 |
Appendix B
| Baseline | Cc R2 (Mean ± Std) | Cc RMSE (Mean ± Std) | Cc MAE (Mean ± Std) |
|---|---|---|---|
| Terzaghi–Peck LL + α_train·Ĉc | −0.120 ± 0.045 | 0.752 ± 0.074 | 0.514 ± 0.038 |
| Skempton LL + α_train·Ĉc | −0.360 ± 0.045 | 0.829 ± 0.074 | 0.574 ± 0.038 |
| Azzouz (e + LL) + α_train·Ĉc | 0.331 ± 0.088 | 0.581 ± 0.077 | 0.378 ± 0.042 |
| Azzouz (w + LL) + α_train·Ĉc | 0.296 ± 0.074 | 0.597 ± 0.076 | 0.384 ± 0.043 |
| Reg (e + LL) + α_train·Ĉc | 0.366 ± 0.091 | 0.566 ± 0.077 | 0.368 ± 0.042 |
| Reg (e + LL) + 0.10·Ĉc | 0.366 ± 0.091 | 0.566 ± 0.077 | 0.368 ± 0.042 |
| Reg (e + LL) + 0.20·Ĉc | 0.366 ± 0.091 | 0.566 ± 0.077 | 0.368 ± 0.042 |
| OLS (LL, PI, e, w) | 0.713 ± 0.077 | 0.376 ± 0.042 | 0.279 ± 0.022 |
| Ridge (λ = 1) (LL, PI, e, w) | 0.714 ± 0.077 | 0.376 ± 0.043 | 0.279 ± 0.022 |
| Baseline | Cur R2 (Mean ± Std) | Cur RMSE (Mean ± Std) | Cur MAE (Mean ± Std) | P (Ĉur ≥ Ĉc) | α_train |
|---|---|---|---|---|---|
| Terzaghi–Peck LL + α_train·Ĉc | −0.077 ± 0.108 | 0.054 ± 0.005 | 0.041 ± 0.003 | 0.000 ± 0.000 | 0.117 ± 0.001 |
| Skempton LL + α_train·Ĉc | −0.441 ± 0.110 | 0.062 ± 0.004 | 0.048 ± 0.003 | 0.000 ± 0.000 | 0.117 ± 0.001 |
| Azzouz (e + LL) + α_train·Ĉc | 0.170 ± 0.163 | 0.047 ± 0.006 | 0.037 ± 0.004 | 0.000 ± 0.000 | 0.117 ± 0.001 |
| Azzouz (w + LL) + α_train·Ĉc | 0.198 ± 0.149 | 0.046 ± 0.006 | 0.036 ± 0.004 | 0.000 ± 0.000 | 0.117 ± 0.001 |
| Reg (e + LL) + α_train·Ĉc | 0.155 ± 0.175 | 0.048 ± 0.006 | 0.038 ± 0.004 | 0.000 ± 0.000 | 0.117 ± 0.001 |
| Reg (e + LL) + 0.10·Ĉc | 0.012 ± 0.158 | 0.052 ± 0.005 | 0.041 ± 0.004 | 0.000 ± 0.000 | — |
| Reg (e + LL) + 0.20·Ĉc | −0.549 ± 0.376 | 0.064 ± 0.006 | 0.049 ± 0.005 | 0.000 ± 0.000 | — |
| OLS (LL, PI, e, w) | 0.349 ± 0.150 | 0.042 ± 0.006 | 0.033 ± 0.005 | 0.030 ± 0.018 | — |
| Ridge (λ = 1) (LL, PI, e, w) | 0.349 ± 0.150 | 0.042 ± 0.006 | 0.033 ± 0.005 | 0.030 ± 0.018 | — |
Appendix C
| Predictor | Target | Geotechnical Expectation | What SHAP/PDP Should Show (Diagnostic) | Interpretation for Design | Failure/Edge Cases Flagged |
|---|---|---|---|---|---|
| e | Cc | Higher e → higher compressibility (looser structure, higher porosity) | Strong positive SHAP at high e; PDP/ICE monotonic or saturating increase | e is the dominant state variable; better e characterisation reduces Cc uncertainty | Structured/cemented clays; disturbed samples |
| w | Cc | Higher w often correlates with higher compressibility (state + sensitivity) | Positive SHAP trend; interactions with LL/PI (high plasticity amplifies effect) | w complements e as a state proxy for early-stage screening | Salinity/chemistry effects; protocol differences in w measurement |
| LL | Cc | Higher LL → higher intrinsic compressibility (plasticity/mineralogy proxy) | Secondary SHAP; stronger effect at high LL; PDP nonlinear/conditional | LL refines predictions mainly in high-plasticity regimes | LL-only rules fail on heterogeneous data; confounding with e and w |
| PI | Cc | PI reflects plasticity/activity; conditional influence on compressibility | Smaller SHAP than e, w; effect conditional; potential redundancy with LL | Use PI to refine within similar states; interpret interactions | Noisy PI; differing LL–PI coupling across sources |
| e | Cur | Stress history dominates; e may weakly correlate via stiffness/fabric | Weak or mixed SHAP; PDP not strongly monotonic | Index-only Cur is screening-level; add OCR/σ′p for decision-grade use | Highly OC or structured clays |
| w | Cur | Weak relationship expected; stress history/fabric more important | Diffuse SHAP contributions; high uncertainty | Use conservative bounds for Cur unless stress-history descriptors exist | Strong site clustering biases inference |
| LL, PI | Cur | Intrinsic plasticity affects stiffness but is not the primary driver | Small/unstable SHAP ranking; may vary across folds | Supports conclusion that missing stress-history/fabric limits Cur identifiability | Extrapolation in high LL/PI without matching stress history |
| Any | (Cc, Cur) pair | Physically Cur < Cc; ratio Cur/Cc should be plausible | Report violation rate P(Ĉur ≥ Ĉc), ratio distribution, and Cc–Cur cloud fidelity | Pairwise checks matter for consolidation calculations | Violations cluster in sparse regions; motivates constraints and grouped validation |
References
- Terzaghi, K.; Peck, R.B.; Mesri, G. Soil Mechanics in Engineering Practice, 3rd ed.; Wiley: New York, NY, USA, 1996. [Google Scholar]
- Skempton, A.W.; Jones, O.T. Notes on the compressibility of clays. Q. J. Geol. Soc. 1944, 100, 119–135. [Google Scholar] [CrossRef] [Scilit]
- Burland, J.B. On the compressibility and shear strength of natural clays. Géotechnique 1990, 40, 329–378. [Google Scholar] [CrossRef] [Scilit]
- Mesri, G.; Rokhsar, A.; Bohor, B.F. Composition and compressibility of typical samples of Mexico City clay. Géotechnique 1975, 25, 527–554. [Google Scholar] [CrossRef] [Scilit]
- Chong, S.H.; Santamarina, J.C. Soil compressibility models for a wide stress range. J. Geotech. Geoenvironmental Eng. 2016, 142, 06016003. [Google Scholar] [CrossRef] [Scilit]
- Ching, J.; Phoon, K.K. Transformations and correlations among some clay parameters—The global database. Can. Geotech. J. 2014, 51, 663–685. [Google Scholar] [CrossRef] [Scilit]
- Ching, J.; Phoon, K.K. Correlations among some clay parameters—The multivariate distribution. Can. Geotech. J. 2014, 51, 686–704. [Google Scholar] [CrossRef] [Scilit]
- Ching, J.; Phoon, K.K.; Wu, C.T. Data-centric quasi-site-specific prediction for compressibility of clays. Can. Geotech. J. 2022, 59, 2033–2049. [Google Scholar] [CrossRef] [Scilit]
- Ching, J.; Phoon, K.K.; Pan, Y.K.; Zhang, W.; Li, J. Introduction to CLAY-Cc/6/6203 database. Geod. AI 2024, 1, 100005. [Google Scholar] [CrossRef] [Scilit]
- Phoon, K.K. Trustworthy data-centric geotechnics. Geod. AI 2024, 1, 100008. [Google Scholar] [CrossRef] [Scilit]
- Bui, D.T.; Nhu, V.H.; Hoang, N.D. Prediction of soil compression coefficient for urban housing project using a novel integration machine learning approach of swarm intelligence and multilayer perceptron neural network. Adv. Eng. Inform. 2018, 38, 593–604. [Google Scholar] [CrossRef] [Scilit]
- Qiu, J.; Ohl, J.; Tran, T.T. Predicting clay compressibility for foundation design with high reliability and safety: A geotechnical engineering perspective using artificial neural network and five metaheuristic algorithms. Reliab. Eng. Syst. Saf. 2024, 243, 109827. [Google Scholar] [CrossRef] [Scilit]
- Long, T.; He, B.; Ghorbani, A.; Khatami, S.M.H. Tree-based techniques for predicting the compression index of clayey soils. J. Soft Comput. Civ. Eng. 2023, 7, 52–67. [Google Scholar] [CrossRef]
- Wu, H.; Zhang, Z.; Dias, D. Prediction on compression indicators of clay soils using XGBoost with Bayesian optimization. J. Cent. South Univ. 2024, 31, 3914–3929. [Google Scholar] [CrossRef] [Scilit]
- Díaz, E.; Spagnoli, G. A super-learner machine learning model for a global prediction of compression index in clays. Appl. Clay Sci. 2024, 249, 107239. [Google Scholar] [CrossRef] [Scilit]
- Ge, Q.; Xia, Y.; Shu, J.; Li, J.; Sun, H. Explainable ensemble learning approaches for predicting the compression index of clays. J. Mar. Sci. Eng. 2024, 12, 1701. [Google Scholar] [CrossRef] [Scilit]
- Baghbani, A.; Kiany, K.; Abuel-Naga, H.; Lu, Y. Predicting the compression index of clayey soils using a hybrid genetic programming and XGBoost model. Appl. Sci. 2025, 15, 1926. [Google Scholar] [CrossRef] [Scilit]
- Breiman, L. Random forests. Mach. Learn. 2001, 45, 5–32. [Google Scholar] [CrossRef] [Scilit]
- Friedman, J.H. Greedy function approximation: A gradient boosting machine. Ann. Stat. 2001, 29, 1189–1232. [Google Scholar] [CrossRef] [Scilit]
- Lundberg, S.M.; Lee, S.I. A unified approach to interpreting model predictions. In Advances in Neural Information Processing Systems, 2nd ed.; Curran Associates: New York, NY, USA, 2017; Volume 30, pp. 4765–4774. [Google Scholar]
- Goodfellow, I.; Bengio, Y.; Courville, A. Deep Learning; MIT Press: Cambridge, MA, USA, 2016. [Google Scholar]
- Zhang, W.; Li, H.; Li, Y.; Liu, H.; Chen, Y.; Ding, X. Application of deep learning algorithms in geotechnical engineering: A short critical review. Artif. Intell. Rev. 2021, 54, 5633–5673. [Google Scholar] [CrossRef] [Scilit]
- Kordnaeij, A.; Kalantary, F.; Kordtabar, B.; Mola-Abasi, H. Prediction of recompression index using GMDH-type neural network based on geotechnical soil properties. Soils Found. 2015, 55, 1335–1345. [Google Scholar] [CrossRef] [Scilit]
- Kootahi, K. Simple index tests for assessing the recompression index of fine-grained soils. J. Geotech. Geoenviron. Eng. 2017, 143, 06016027. [Google Scholar] [CrossRef] [Scilit]
- Kurnaz, T.F.; Dagdeviren, U.; Yildiz, M.; Ozkan, O. Prediction of compressibility parameters of the soils using artificial neural network. SpringerPlus 2016, 5, 1801. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Zhang, P.; Yin, Z.Y.; Sheil, B. Interpretable data-driven constitutive modelling of soils with sparse data. Comput. Geotech. 2023, 160, 105511. [Google Scholar] [CrossRef] [Scilit]
- Kiany, K.; Baghbani, A.; Abuel-Naga, H.; Yi, L. Novel integration of FEM, Physics-Informed Neural Networks, and explainable Metaheuristics for retaining wall analysis. Int. J. Geotech. Eng. 2025, 19, 813–831. [Google Scholar] [CrossRef] [Scilit]
- Baghbani, A.; Abuel-Naga, H.; Shirkavand, D. Accurately predicting quartz sand thermal conductivity using machine learning and grey-box AI models. Geotechnics 2023, 3, 638–660. [Google Scholar] [CrossRef] [Scilit]
- Yuan, B.; Choo, C.S.; Yeo, L.Y.; Wang, Y.; Yang, Z.; Guan, Q.; Suryasentana, S.; Choo, J.; Shen, H.; Megia, M.; et al. Physics-informed machine learning in geotechnical engineering: A direction paper. Geomech. Geoengin. 2025, 20, 1128–1159. [Google Scholar] [CrossRef] [Scilit]
- Bozorgzadeh, N.; Feng, Y. Evaluation structures for machine learning models in geotechnical engineering. Georisk Assess. Manag. Risk Eng. Syst. Geohazards 2024, 18, 52–59. [Google Scholar] [CrossRef] [Scilit]
- Baghbani, A.; Soltani, A.; Kiany, K.; Daghistani, F. Predicting the strength performance of hydrated-lime activated rice husk ash-treated soil using two grey-box machine learning models. Geotechnics 2023, 3, 894–920. [Google Scholar] [CrossRef] [Scilit]
- Jais, I.K.M.; Ismail, A.R.; Nisa, S.Q. Adam optimization algorithm for wide and deep neural network. Knowl. Eng. Data Sci. 2019, 2, 41–46. [Google Scholar] [CrossRef] [Scilit]
- Kingma, D.P.; Ba, J. Adam: A method for stochastic optimization. In Proceedings of the 3rd International Conference for Learning Representations, San Diego, CA, USA, 7–9 May 2015. [Google Scholar]
- Aminaee, A.; Ardakani, A.; Baghbani, A.; Abuel-Naga, H.; Daghistani, F. Hybrid ML–XAI Framework for Predicting and Interpreting the Strength of Lime–Silica Fume Stabilized Clay for Sustainable Construction Applications. Buildings 2026, 16, 953. [Google Scholar] [CrossRef] [Scilit]
- Azzouz, A.S.; Krizek, R.J.; Corotis, R.B. Regression analysis of soil compressibility. Soils Found. 1976, 16, 19–29. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Yang, S.; Lin, K.; Zhou, A. Evaluating Water Retention and Hydraulic Conductivity Properties Based on the Richardson–Richards Equation Using Progressive Training and Trainable Weights. Int. J. Numer. Anal. Methods Geomech. 2026, 50, 1045–1060. [Google Scholar]
- Li, D.; Cao, Y.; Huang, S.; Cui, Y.; Wei, X.; Cao, H.; Wang, C. Lagged backward-compatible physics-informed neural networks for unsaturated soil consolidation analysis. Can. Geotech. J. 2026, 63, 1–28. [Google Scholar] [CrossRef] [Scilit]
- Li, D.; Jiang, Z.; Tian, K.; Ji, R. Prediction of hydraulic conductivity of sodium bentonite GCLs by machine learning approaches. Environ. Geotech. 2025, 12, 154–173. [Google Scholar] [CrossRef] [Scilit]
- Li, D.; Jiang, Z.; Tian, K.; Ji, R. Estimation of the hydraulic conductivity of bentonite–polymer GCLs with machine learning techniques. Environ. Geotech. 2025, 12, 433–451. [Google Scholar] [CrossRef] [Scilit]
- Cheng, K.; Ziotopoulou, K. Machine Learning in Geotechnical Engineering: A Survey of Progress, Gaps, and Opportunities. Int. J. Geomech. 2026, 26, 03126001. [Google Scholar] [CrossRef] [Scilit]

















| Variable | Description | Unit | Mean | Std. Dev. | Min. | Q1 | Median | Q3 | Max. |
|---|---|---|---|---|---|---|---|---|---|
| LL | Liquid limit | % | 62.309 | 23.868 | 21.000 | 45.306 | 58.314 | 75.654 | 220.000 |
| PI | Plasticity index | % | 35.272 | 18.653 | 5.000 | 21.650 | 31.700 | 47.000 | 133.600 |
| e | Initial void ratio | – | 1.701 | 0.800 | 0.437 | 1.065 | 1.600 | 2.247 | 4.587 |
| w | Natural water content | % | 61.934 | 29.548 | 15.000 | 38.000 | 58.929 | 80.873 | 184.000 |
| Cc | Compression index | – | 0.901 | 0.716 | 0.059 | 0.300 | 0.656 | 1.384 | 3.130 |
| Cur | Recompression index | – | 0.086 | 0.052 | 0.006 | 0.045 | 0.078 | 0.117 | 0.251 |
| Model Family | Hyperparameter | Symbol | Search Range/Options | Type |
|---|---|---|---|---|
| RF/MO_RF | Number of trees | n_estim | 100, 200, 300, 400, 500 | Discrete |
| Maximum tree depth | max_depth | None, 4, 8, 12, 16 | Discrete | |
| Min. samples to split | min_samples_split | 2, 4, 6 | Discrete | |
| Min. samples per leaf | min_samples_leaf | 1, 2, 4 | Discrete | |
| Max. features per split | max_features | “sqrt”, “log2”, 0.7, 0.9 | Categorical | |
| XGB/MO_XGB | Number of trees | n_estim | 200, 400, 600, 800 | Discrete |
| Learning rate | η | 0.01, 0.03, 0.05, 0.10, 0.15 | Discrete | |
| Maximum tree depth | max_depth | 3, 4, 5, 6, 8 | Discrete | |
| Minimum child weight | min_child_weight | 1, 3, 5, 10 | Discrete | |
| Subsample ratio | subsample | 0.6, 0.8, 1.0 | Discrete | |
| Column subsample ratio | colsample_bytree | 0.6, 0.8, 1.0 | Discrete | |
| L2 regularisation | reg_lambda | 0, 1, 5, 10 | Discrete | |
| DNN/DNN_MO | Hidden layers | – | 1, 2, 3 fully connected layers | Discrete |
| Neurons per hidden layer | – | 32, 64, 96, 128 | Discrete | |
| Activation function | – | ReLU | Fixed | |
| Learning rate (Adam) | α | 1 × 10−4, 3 × 10−4, 1 × 10−3, 3 × 10−3 | Discrete | |
| Batch size | – | 16, 32, 64 | Discrete | |
| Early stopping patience | – | 20, 30, 50 epochs | Discrete | |
| Dropout rate | – | 0.0, 0.1, 0.2, 0.3 | Discrete |
| Model | Hyperparameter/Setting | Target(s) | ||
|---|---|---|---|---|
| Cc | Cur | Cc, Cur | ||
| RF | Number of trees (n_estim) | 300 | 300 | 300 |
| Maximum tree depth (max_depth) | None | None | None | |
| Min. samples to split (min_samples_split) | 2 | 2 | 2 | |
| Min. samples per leaf (min_samples_leaf) | 1 | 1 | 1 | |
| XGB | Number of trees (n_estim) | 400 | 400 | 400 |
| Maximum tree depth (max_depth) | 4 | 4 | 4 | |
| Minimum child weight (min_child_weight) | 1 | 1 | 1 | |
| Subsample ratio (subsample) | 0.8 | 0.8 | 0.8 | |
| Column subsample (colsample_bytree) | 0.8 | 0.8 | 0.8 | |
| Learning rate (XGB) | 0.05 | 0.05 | 0.05 | |
| DNN | DNN architecture (hidden layers × units) | 2 hidden layers × 64 neurons | 2 hidden layers × 64 neurons | 2 hidden layers × 64 neurons |
| Dropout rate | 0.0 | 0.0 | 0.0 | |
| Learning rate (Adam) | 0.001 | 0.001 | 0.001 | |
| Batch size | 32 | 32 | 32 | |
| Model | LOLO Scenario | n Samples | n Groups | Cc R2 | Cc MAE | Cur R2 | Cur MAE | Cur/Cc ≥ 0.25 (%) |
|---|---|---|---|---|---|---|---|---|
| RF enriched | all 81 groups | 459 | 81 | 0.697 | 0.274 | 0.187 | 0.037 | 9.150 |
| RF enriched | test groups with n ≥ 2 | 437 | 59 | 0.702 | 0.275 | 0.175 | 0.037 | 8.009 |
| RF enriched | test groups with n ≥ 4 | 376 | 34 | 0.721 | 0.266 | 0.130 | 0.038 | 7.713 |
| GCTT RF | all 81 groups | 459 | 81 | 0.717 | 0.253 | 0.142 | 0.037 | 10.240 |
| GCTT RF | test groups with n ≥ 2 | 437 | 59 | 0.725 | 0.254 | 0.136 | 0.038 | 8.696 |
| GCTT RF | test groups with n ≥ 4 | 376 | 34 | 0.747 | 0.245 | 0.100 | 0.039 | 8.511 |
| RF raw | all 81 groups | 459 | 81 | 0.669 | 0.285 | 0.179 | 0.037 | 8.279 |
| RF raw | test groups with n ≥ 2 | 437 | 59 | 0.673 | 0.286 | 0.166 | 0.037 | 7.094 |
| RF raw | test groups with n ≥ 4 | 376 | 34 | 0.703 | 0.273 | 0.123 | 0.038 | 7.181 |
| Target | Model | CV R2 (Mean ± Std) | CV RMSE (Mean ± Std) | CV MAE (Mean ± Std) | Test R2 | Test RMSE | Test MAE |
|---|---|---|---|---|---|---|---|
| Cc | RF | 0.732 ± 0.066 | 0.354 ± 0.069 | 0.244 ± 0.042 | 0.611 | 0.471 | 0.308 |
| XGB | 0.722 ± 0.110 | 0.357 ± 0.095 | 0.246 ± 0.061 | 0.637 | 0.455 | 0.311 | |
| DNN | 0.783 ± 0.078 | 0.315 ± 0.065 | 0.219 ± 0.037 | 0.697 | 0.416 | 0.283 | |
| Cur | RF | 0.321 ± 0.125 | 0.042 ± 0.006 | 0.031 ± 0.004 | 0.286 | 0.043 | 0.034 |
| XGB | 0.253 ± 0.133 | 0.044 ± 0.006 | 0.033 ± 0.004 | 0.290 | 0.043 | 0.034 | |
| DNN | 0.403 ± 0.154 | 0.039 ± 0.006 | 0.030 ± 0.005 | 0.196 | 0.046 | 0.034 |
| Model | Target | R2 | RMSE | MAE | PICP | MPIW |
|---|---|---|---|---|---|---|
| RF | Cc | 0.611 | 0.471 | 0.308 | 0.533 | 0.498 |
| Cur | 0.286 | 0.043 | 0.034 | 0.413 | 0.0528 | |
| XGB | Cc | 0.637 | 0.455 | 0.311 | 0.554 | 0.538 |
| Cur | 0.290 | 0.043 | 0.034 | 0.467 | 0.0607 | |
| DNN | Cc | 0.697 | 0.416 | 0.283 | 0.620 | 0.528 |
| Cur | 0.196 | 0.046 | 0.034 | 0.565 | 0.0738 |
| Target | Model | CV R2 (Mean ± Std) | CV RMSE (Mean ± Std) | CV MAE (Mean ± Std) | Test R2 | Test RMSE | Test MAE |
|---|---|---|---|---|---|---|---|
| Cc | MO_RF | 0.736 ± 0.067 | 0.351 ± 0.070 | 0.242 ± 0.043 | 0.612 | 0.470 | 0.308 |
| MO_XGB | 0.722 ± 0.110 | 0.357 ± 0.095 | 0.246 ± 0.061 | 0.637 | 0.455 | 0.311 | |
| DNN_MO | 0.784 ± 0.070 | 0.315 ± 0.063 | 0.218 ± 0.034 | 0.685 | 0.424 | 0.288 | |
| Cur | MO_RF | 0.374 ± 0.123 | 0.040 ± 0.006 | 0.030 ± 0.004 | 0.287 | 0.043 | 0.035 |
| MO_XGB | 0.253 ± 0.133 | 0.044 ± 0.006 | 0.033 ± 0.004 | 0.290 | 0.043 | 0.034 | |
| DNN_MO | 0.296 ± 0.161 | 0.042 ± 0.004 | 0.034 ± 0.004 | 0.189 | 0.046 | 0.037 |
| Model | Target | R2 | RMSE | MAE | PICP | MPIW |
|---|---|---|---|---|---|---|
| MO_RF | Cc | 0.612 | 0.470 | 0.308 | 0.565 | 0.499 |
| Cur | 0.287 | 0.043 | 0.035 | 0.370 | 0.049 | |
| MO_XGB | Cc | 0.637 | 0.455 | 0.311 | 0.554 | 0.538 |
| Cur | 0.290 | 0.043 | 0.034 | 0.467 | 0.061 | |
| DNN_MO | Cc | 0.685 | 0.424 | 0.288 | 0.543 | 0.431 |
| Cur | 0.189 | 0.046 | 0.037 | 0.609 | 0.080 |
| Model | Joint PICP | Violation Rate Cur ≥ Cc | Near Violation Rate Cur/Cc ≥ 0.25 | Median Predicted Cur/Cc |
|---|---|---|---|---|
| MO_RF | 0.228 | 0.000 | 0.065 | 0.096 |
| MO_XGB | 0.293 | 0.000 | 0.098 | 0.099 |
| DNN_MO | 0.380 | 0.000 | 0.022 | 0.095 |
| Model | Target | R2 | RMSE | MAE | Cur ≥ Cc Violation | Near-Violation Cur/Cc ≥ 0.25 |
|---|---|---|---|---|---|---|
| MO-RF raw | Cc | 0.744 | 0.352 | 0.234 | 0% | 13% |
| MO-RF raw | Cur | 0.481 | 0.037 | 0.027 | 0% | 13% |
| MO-RF + geotechnical features | Cc | 0.777 | 0.328 | 0.211 | 0% | 6.5% |
| MO-RF + geotechnical features | Cur | 0.507 | 0.036 | 0.027 | 0% | 6.5% |
| Physics-guided RF ratio | Cc | 0.743 | 0.353 | 0.214 | 0% | 5.4% |
| Physics-guided RF ratio | Cur | 0.397 | 0.040 | 0.029 | 0% | 5.4% |
| Physics-guided GB ratio | Cc | 0.714 | 0.372 | 0.224 | 0% | 7.6% |
| Physics-guided GB ratio | Cur | 0.364 | 0.041 | 0.031 | 0% | 7.6% |
| Equation | Constant | LL | PI | e | w |
|---|---|---|---|---|---|
| Cc | 0.6508 | −0.9543 | 0.7976 | 1.3588 | 0.1383 |
| Cur | 0.001322 | 0.4525 | 0.1604 | −0.0244 | 0.3979 |
| Model | Validation | Cc R2 | Cc RMSE | Cc MAE | Cur R2 | Cur RMSE | Cur MAE | Violation (%) | Near-Violation (%) |
|---|---|---|---|---|---|---|---|---|---|
| RF raw | random 10-fold | 0.712 | 0.3838 | 0.2583 | 0.399 | 0.0406 | 0.0313 | 0.000 | 10.022 |
| RF enriched | random 10-fold | 0.731 | 0.3711 | 0.2462 | 0.407 | 0.0403 | 0.0309 | 0.000 | 9.368 |
| RF ratio | random 10-fold | 0.734 | 0.3685 | 0.2324 | 0.372 | 0.0415 | 0.0307 | 0.000 | 11.547 |
| RF raw | LOLO | 0.677 | 0.4065 | 0.2788 | 0.202 | 0.0468 | 0.0360 | 0.000 | 9.150 |
| RF enriched | LOLO | 0.698 | 0.3929 | 0.2749 | 0.212 | 0.0465 | 0.0359 | 0.000 | 8.715 |
| RF ratio | LOLO | 0.709 | 0.3859 | 0.2547 | 0.147 | 0.0484 | 0.0373 | 0.000 | 11.983 |
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.
Share and Cite
Zeroual, A.; Baghbani, A.; Lahlouhi, A.; Aminaee, A.; Daghistani, F.; Abuel-Naga, H. Physically Constrained and Location-Aware Machine Learning for Joint Prediction of Clay Compression and Recompression Indices. Appl. Sci. 2026, 16, 7068. https://doi.org/10.3390/app16147068
Zeroual A, Baghbani A, Lahlouhi A, Aminaee A, Daghistani F, Abuel-Naga H. Physically Constrained and Location-Aware Machine Learning for Joint Prediction of Clay Compression and Recompression Indices. Applied Sciences. 2026; 16(14):7068. https://doi.org/10.3390/app16147068
Chicago/Turabian StyleZeroual, Abdelatif, Abolfazl Baghbani, Aissa Lahlouhi, Arash Aminaee, Firas Daghistani, and Hossam Abuel-Naga. 2026. "Physically Constrained and Location-Aware Machine Learning for Joint Prediction of Clay Compression and Recompression Indices" Applied Sciences 16, no. 14: 7068. https://doi.org/10.3390/app16147068
APA StyleZeroual, A., Baghbani, A., Lahlouhi, A., Aminaee, A., Daghistani, F., & Abuel-Naga, H. (2026). Physically Constrained and Location-Aware Machine Learning for Joint Prediction of Clay Compression and Recompression Indices. Applied Sciences, 16(14), 7068. https://doi.org/10.3390/app16147068

