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
- Yuan Tian (ORCID: https://orcid.org/0000-0002-8758-1826)
- Gang Fu (ORCID: https://orcid.org/0000-0002-6055-8730)
- ChengQun Yu
- Chenjun Zhao
- Shaowei Li
- Wei Sun
- Zhiming Zhong
Institutions
- Institute of Geographic Sciences and Natural Resources Research (CN)
- University of Chinese Academy of Sciences (CN)
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