EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

Prediction of Soil Total Nitrogen Through Vis–NIR Spectroscopy and Machine Learning: From Model Comparison to Explainability

Shengchang Huai, Qingyue Zhang, Yuwen Jin, Shenzhong Tian, Yueming Chen, Xilin Guan, Tao Sun, Shenqiang Lv, Zichao Zhao, Weijia Yu, Ran Li, Gilles Colinet und 2 weitere

Soil Systems · 20.05.2026 · 10 (5) · 59

DOI: 10.3390/soilsystems10050059 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Soil Systems, online erschienen am 20.05.2026. Verfasst von Shengchang Huai und 13 weiteren Autor:innen. Die Arbeit wurde bisher 1-mal zitiert (Crossref) und nennt 36 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0). Gefördert von: Complex Environments and Field Validation, National Key Research and Development Program of China, Key R&D Program of Shandong Province.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Rapid and cost-effective estimation of soil total nitrogen (TN) is essential for soil fertility assessment and nutrient management. However, the performance of laboratory visible–near-infrared (Vis–NIR) models is shaped not only by preprocessing and modeling strategy but also by sample preparation and the soil’s compositional background. In this study, TN prediction was evaluated using 376 topsoil samples from two contrasting datasets: Mollisols from the black-soil region of Northeast China and Ultisols from Qiyang County, Hunan Province, southern China. Spectra acquired over 350–2500 nm for three particle-size fractions were preprocessed using Savitzky–Golay smoothing combined with standard normal variate (SNV), first-derivative, or second-derivative transformations, and modeled using partial least squares regression (PLSR), support vector regression (SVR), and extreme gradient boosting (XGBoost). Model development used a 5 × 5 nested cross-validation followed by evaluation on a sample-grouped held-out test set. Among all combinations, XGBoost with first-derivative preprocessing on the 0.25 mm fraction produced the best performance, with test R2 values of 0.91 for Mollisol and 0.78 for Ultisol. Shapley additive explanations (SHAP) and principal component analysis (PCA) consistently identified informative spectral regions at 430–480 and 1330–1450 nm for Mollisol and at 585–635, 820–900, and 2180–2240 nm for Ultisol. Prediction errors were larger in the sampled Ultisol dataset and increased with DCB-extractable Fe and mineral backgrounds. A second-stage log-domain residual correction incorporating ancillary soil properties further reduced the Ultisol RMSE from 0.30 to 0.27 g kg−1. These findings support the 0.25 mm, first-derivative, XGBoost workflow as a robust laboratory Vis–NIR approach for TN prediction and indicate that composition-aware residual correction can improve prediction in oxide- and mineral-rich soils.

Förderung

  • Complex Environments and Field Validation
  • National Key Research and Development Program of China
  • Key R&D Program of Shandong Province

Zitieren

APA

Huai, S., Zhang, Q., Jin, Y., Tian, S., Chen, Y., Guan, X., Sun, T., Lv, S., Zhao, Z., Yu, W., Li, R., Colinet, G., Lu, C., & Gao, X. (2026). Prediction of Soil Total Nitrogen Through Vis–NIR Spectroscopy and Machine Learning: From Model Comparison to Explainability. Soil Systems, 10(5), 59. https://doi.org/10.3390/soilsystems10050059

Vancouver

Huai S, Zhang Q, Jin Y, Tian S, Chen Y, Guan X, et al. Prediction of Soil Total Nitrogen Through Vis–NIR Spectroscopy and Machine Learning: From Model Comparison to Explainability. Soil Systems. 2026;10(5):59. doi:10.3390/soilsystems10050059

BibTeX
@article{Huai2026,
  author = {Huai, Shengchang and Zhang, Qingyue and Jin, Yuwen and Tian, Shenzhong and Chen, Yueming and Guan, Xilin and Sun, Tao and Lv, Shenqiang and Zhao, Zichao and Yu, Weijia and Li, Ran and Colinet, Gilles and Lu, Changai and Gao, Xinhao},
  title = {Prediction of Soil Total Nitrogen Through Vis–NIR Spectroscopy and Machine Learning: From Model Comparison to Explainability},
  journal = {Soil Systems},
  year = {2026},
  volume = {10},
  number = {5},
  pages = {59},
  doi = {10.3390/soilsystems10050059}
}
Kostenlos starten →