Prediction of the effect of biochar on soil CEC improvement based on machine learning

Abstract Biochar is an environmentally friendly soil amendment and is widely used for improving soil properties. Especially the Cation Exchange Capacity (CEC) of soil, which is the main criterion for assessing soil nutrients. Therefore, this study proposes a method for predicting the cation exchange capacity of soil, which is of great significance for the precise application of biochar and improving soil amendment efficiency. This study collects and organizes experimental data from published literature on biochar-amended soils to construct a dataset that includes biochar properties (feedstock type, pyrolysis temperature, specific surface area, cation exchange capacity) and soil properties. The dataset is divided into seven groups based on the properties of biochar to investigate the impact of biochar properties on the model’s prediction results. Using four machine learning algorithms—Light Gradient Boosting Machine (LightGBM), Deep Neural Network (DNN), Categorical gradient Boosting (CatBoost), and Random Forest (RF)—a predictive model for soil CEC after biochar was established. The results show that the CatBoost model performed best, with a coefficient of determination (R 2 ) of 0.963, a Mean Absolute Error (MAE) of 1.346, and a Root Mean Square Error (RMSE) of 2.238, indicating that it is effective in predicting soil CEC after the addition of biochar. Shapley Additive Explanations (SHAP) analysis and Partial Dependence Plot (PDP) results indicate that the pyrolysis temperature of biochar promotes the predicted values of soil CEC, while biochar with high CEC reduces the predicted values of soil CEC. The reason for this counterintuitive result may be that biochar with a high CEC competes for cations in the soil solution. Choosing biochar produced at high pyrolysis temperatures and with a specific surface area (SSA) below 50 m 2 /g can achieve a good improvement effect within the studied conditions. This study develops a promising model for predicting soil CEC, which can better optimize actual soil improvement, and provides valuable insights into the mechanism of the impact of biochar on soil CEC.

Authors

Institutions

Publication Details

Journal
Scientific Reports
Published
2026-06-30
DOI
https://doi.org/10.1038/s41598-026-58902-3
Primary Topic
Soil Carbon and Nitrogen Dynamics
Type
article
Field-Weighted Citation Impact
0.00

Funders

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

Prediction of the effect of biochar on soil CEC improvement based on machine learning

Xinran Lv, Chenxi Zhao, Hongyu Hè, Aihui Chen et al.
Scientific Reports
Soil Carbon and Nitrogen Dynamics
article

Prediction of the effect of biochar on soil CEC improvement based on machine learning

Xinran Lv, Chenxi Zhao, Hongyu Hè, Aihui Chen, Peiwen Wang, Biao Ma, Mei Zhi, Hang Yang
article en

Abstract

Abstract Biochar is an environmentally friendly soil amendment and is widely used for improving soil properties. Especially the Cation Exchange Capacity (CEC) of soil, which is the main criterion for assessing soil nutrients. Therefore, this study proposes a method for predicting the cation exchange capacity of soil, which is of great significance for the precise application of biochar and improving soil amendment efficiency. This study collects and organizes experimental data from published literature on biochar-amended soils to construct a dataset that includes biochar properties (feedstock type, pyrolysis temperature, specific surface area, cation exchange capacity) and soil properties. The dataset is divided into seven groups based on the properties of biochar to investigate the impact of biochar properties on the model’s prediction results. Using four machine learning algorithms—Light Gradient Boosting Machine (LightGBM), Deep Neural Network (DNN), Categorical gradient Boosting (CatBoost), and Random Forest (RF)—a predictive model for soil CEC after biochar was established. The results show that the CatBoost model performed best, with a coefficient of determination (R 2 ) of 0.963, a Mean Absolute Error (MAE) of 1.346, and a Root Mean Square Error (RMSE) of 2.238, indicating that it is effective in predicting soil CEC after the addition of biochar. Shapley Additive Explanations (SHAP) analysis and Partial Dependence Plot (PDP) results indicate that the pyrolysis temperature of biochar promotes the predicted values of soil CEC, while biochar with high CEC reduces the predicted values of soil CEC. The reason for this counterintuitive result may be that biochar with a high CEC competes for cations in the soil solution. Choosing biochar produced at high pyrolysis temperatures and with a specific surface area (SSA) below 50 m 2 /g can achieve a good improvement effect within the studied conditions. This study develops a promising model for predicting soil CEC, which can better optimize actual soil improvement, and provides valuable insights into the mechanism of the impact of biochar on soil CEC.

Scientific Reports
Harbin University of Science and Technology (CN), Heilongjiang Provincial Academy of Agricultural Sciences (CN), Ministry of Agriculture and Rural Affairs (CN), Heilongjiang Academy of Agricultural Machinery Engineering (CN), Nanjing Institute of Agricultural Mechanization (CN)
National Key Research and Development Program of China
Life in Land
Openalex Percentile: Top 11%
Soil Carbon and Nitrogen Dynamics
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.