Predicting the Water Retention Behavior of Biochar-Amended Soils: A Comparative Study of Six Machine Learning Approaches

The soil-water retention curve (SWRC) is a key indicator characterizing soil water retention capacity. Biochar incorporation can affect the SWRC by altering soil pore structure and physicochemical properties. The SWRC of biochar-amended soils is influenced by both soil- and biochar-related factors. To address the time-consuming and labor-intensive nature of conventional SWRC measurement methods, this study employed six machine learning models, Decision Tree (DT), Random Forest (RF), Extreme Gradient Boosting (XGBoost), Categorical Gradient Boosting (CatBoost), Light Gradient Boosting (LightGBM), and Artificial Neural Network (ANN), to predict the SWRC of biochar-amended soils based on a constructed dataset. Feature importance analysis and partial dependence analysis were also conducted to identify key variables and reveal their influence patterns. The results indicated that gradient boosting tree models, XGBoost, CatBoost, and LightGBM, achieved the highest accuracy, with R2 = 0.85–0.89 on the inner-test set and R2 = 0.61–0.64 on the held-out source, demonstrating their advantage in modeling complex nonlinear relationships. Suction was the variable most strongly associated with volumetric water content, while soil particle-size distribution and particle packing density also played important roles. Among biochar-related parameters, ash content showed higher importance than carbon content and pH. The model-derived response of volumetric water content to ash content was non-uniform: limited at low levels, increasing after reaching a certain range, and stabilizing at high levels. In contrast, carbon content and pH had relatively weak marginal effects. A staged hyperparameter optimization strategy combining random search and Bayesian optimization was then applied to optimize the XGBoost model, yielding accuracy comparable to grid search while substantially reducing the training time. Based on the optimized XGBoost model, a prediction platform for the SWRC of biochar-amended soils was developed, enabling volumetric water content prediction, SWRC generation, and van Genuchten (VG) model fitting. This study provides a data-driven approach and a prototype tool for rapid, preliminary SWRC estimation for biochar-amended soils, thereby facilitating the application of biochar in engineering practice.

Authors

Institutions

Publication Details

Journal
Applied Sciences
Published
2026-10-15
DOI
https://doi.org/10.3390/app162010219
Primary Topic
Soil and Unsaturated Flow
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Predicting the Water Retention Behavior of Biochar-Amended Soils: A Comparative Study of Six Machine Learning Approaches

登飞 张, Kewen Huang, Ping Li, Fangyuan Zhou et al.
Applied Sciences
Soil and Unsaturated Flow
article

Predicting the Water Retention Behavior of Biochar-Amended Soils: A Comparative Study of Six Machine Learning Approaches

登飞 张, Kewen Huang, Ping Li, Fangyuan Zhou, Haijian Liu, Letian Wang, Qiang Hu, Yang Lu, Junming Lin, Zixuan Zheng
article en

Abstract

The soil-water retention curve (SWRC) is a key indicator characterizing soil water retention capacity. Biochar incorporation can affect the SWRC by altering soil pore structure and physicochemical properties. The SWRC of biochar-amended soils is influenced by both soil- and biochar-related factors. To address the time-consuming and labor-intensive nature of conventional SWRC measurement methods, this study employed six machine learning models, Decision Tree (DT), Random Forest (RF), Extreme Gradient Boosting (XGBoost), Categorical Gradient Boosting (CatBoost), Light Gradient Boosting (LightGBM), and Artificial Neural Network (ANN), to predict the SWRC of biochar-amended soils based on a constructed dataset. Feature importance analysis and partial dependence analysis were also conducted to identify key variables and reveal their influence patterns. The results indicated that gradient boosting tree models, XGBoost, CatBoost, and LightGBM, achieved the highest accuracy, with R2 = 0.85–0.89 on the inner-test set and R2 = 0.61–0.64 on the held-out source, demonstrating their advantage in modeling complex nonlinear relationships. Suction was the variable most strongly associated with volumetric water content, while soil particle-size distribution and particle packing density also played important roles. Among biochar-related parameters, ash content showed higher importance than carbon content and pH. The model-derived response of volumetric water content to ash content was non-uniform: limited at low levels, increasing after reaching a certain range, and stabilizing at high levels. In contrast, carbon content and pH had relatively weak marginal effects. A staged hyperparameter optimization strategy combining random search and Bayesian optimization was then applied to optimize the XGBoost model, yielding accuracy comparable to grid search while substantially reducing the training time. Based on the optimized XGBoost model, a prediction platform for the SWRC of biochar-amended soils was developed, enabling volumetric water content prediction, SWRC generation, and van Genuchten (VG) model fitting. This study provides a data-driven approach and a prototype tool for rapid, preliminary SWRC estimation for biochar-amended soils, thereby facilitating the application of biochar in engineering practice.

Applied SciencesVol. 16(20)
Northwest University (CN), Guangdong Power Grid Company (China) (CN)
Education Department of Shaanxi Province
Life on land, Zero hunger
Openalex Percentile: Top 19%
Soil and Unsaturated Flow
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.