Machine Learning Prediction of Soil Nutrients and pH in Tibetan Alpine Croplands: A Comparison of Nine Algorithms

Soils underpin terrestrial ecosystem functioning and exert strong control over farmland productivity, nutrient turnover, environmental quality, and agricultural sustainability. Reliable prediction of soil nutrients and pH is therefore important for precision fertilization, soil-quality assessment, and the sustainability of farmland management, particularly in fragile alpine agroecosystems. However, the comparative performance of candidate algorithms for estimating soil properties in alpine croplands of the Qinghai-Tibetan Plateau remains poorly characterized. Here, we assessed nine approaches, namely random forest (RF), generalized boosting regression (GBR), multiple linear regression (MLR), artificial neural network (ANN), generalized linear regression (GLR), conditional inference tree (CIT), extreme gradient boosting (eXGB), support vector machine (SVM), and recursive partitioning regression tree (RRT), for predicting soil carbon, nitrogen, phosphorus, potassium, and pH from annual mean temperature, annual precipitation, annual solar radiation, and maximum normalized difference vegetation index (NDVImax). Field observations were obtained from 103 sampling plots, with four individual soil samples collected per plot and depth, resulting in 412 observations for each depth layer. Clear contrasts in model performance emerged under alpine agricultural conditions. Across all soil variables and depths, eXGB and RF showed the best overall performance, with the lowest mean relative bias values of 1.35% and 1.55%, respectively, and the lowest mean RMSE values of 0.43 and 0.47. These results indicate that nonlinear ensemble algorithms better captured the heterogeneous relationships between environmental covariates and soil properties than linear models or single-tree approaches. Overall, RF and eXGB provide a practical methodological basis for precision fertilization, soil-quality assessment, and long-term sustainability in fragile alpine agroecosystems.

Authors

Institutions

Publication Details

Journal
Sustainability
Published
2026-09-27
DOI
https://doi.org/10.3390/su18199875
Primary Topic
Soil Geostatistics and Mapping
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
article

Machine Learning Prediction of Soil Nutrients and pH in Tibetan Alpine Croplands: A Comparison of Nine Algorithms

Yuan Tian, Gang Fu, ChengQun Yu, Chenjun Zhao et al.
Sustainability
Soil Geostatistics and Mapping
article

Machine Learning Prediction of Soil Nutrients and pH in Tibetan Alpine Croplands: A Comparison of Nine Algorithms

Yuan Tian, Gang Fu, ChengQun Yu, Chenjun Zhao, Shaowei Li, Wei Sun, Zhiming Zhong
article en

Abstract

Soils underpin terrestrial ecosystem functioning and exert strong control over farmland productivity, nutrient turnover, environmental quality, and agricultural sustainability. Reliable prediction of soil nutrients and pH is therefore important for precision fertilization, soil-quality assessment, and the sustainability of farmland management, particularly in fragile alpine agroecosystems. However, the comparative performance of candidate algorithms for estimating soil properties in alpine croplands of the Qinghai-Tibetan Plateau remains poorly characterized. Here, we assessed nine approaches, namely random forest (RF), generalized boosting regression (GBR), multiple linear regression (MLR), artificial neural network (ANN), generalized linear regression (GLR), conditional inference tree (CIT), extreme gradient boosting (eXGB), support vector machine (SVM), and recursive partitioning regression tree (RRT), for predicting soil carbon, nitrogen, phosphorus, potassium, and pH from annual mean temperature, annual precipitation, annual solar radiation, and maximum normalized difference vegetation index (NDVImax). Field observations were obtained from 103 sampling plots, with four individual soil samples collected per plot and depth, resulting in 412 observations for each depth layer. Clear contrasts in model performance emerged under alpine agricultural conditions. Across all soil variables and depths, eXGB and RF showed the best overall performance, with the lowest mean relative bias values of 1.35% and 1.55%, respectively, and the lowest mean RMSE values of 0.43 and 0.47. These results indicate that nonlinear ensemble algorithms better captured the heterogeneous relationships between environmental covariates and soil properties than linear models or single-tree approaches. Overall, RF and eXGB provide a practical methodological basis for precision fertilization, soil-quality assessment, and long-term sustainability in fragile alpine agroecosystems.

SustainabilityVol. 18(19)
Institute of Geographic Sciences and Natural Resources Research (CN), University of Chinese Academy of Sciences (CN)
Zero hunger
Openalex Percentile: Top 19%
Soil Geostatistics and Mapping
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.