Inversion Models for Orchard Soil Nutrient Content Using Near- Infrared Spectroscopy

Authors

  • Rongguang Sun Zhongkai University of Agriculture and Engineering Author
  • Chaojun Hou Zhongkai University of Agriculture and Engineering Author
  • Huawei Cui Zhongkai University of Agriculture and Engineering Author

DOI:

https://doi.org/10.70695/AA1202502A16

Keywords:

Near-infrared Spectroscopy; Soil; Available Nutrient; Feature Selection; Random Forest

Abstract

Precise determination of available nitrogen (N), phosphorus (P) and potassium (K) concentrations in soil is essential for orchard fertilizer management. However, conventional chemical analytical methods are time-consuming and costly, making it difficult to meet the demand for rapid detection in modern agriculture. Near-infrared spectroscopy (NIRS) is a promising approach for rapidly detecting soil nutrient concentrations. This study aims to develop inversion models, including partial least squares regression (PLSR), support vector machine (SVM), and random forest (RF), to accurately determine the concentrations of available N, P, and K in soil using NIRS. To mitigate spectral interference and enhance prediction performance of inversion models. we systematically implemented multiple preprocessing methods including Savitzky-Golay smoothing (SG), multiplicative scatter correction (MSC), standard normal variate transformation (SNV), moving average (MA) and first-derivative transformation (FD). The results indicated that the RF model achieved superior predictive accuracy compared to the PLSR and SVR, with prediction performance for available N being R²=0.539, RMSE=21.408 mg/kg, and RPD=1.490; for available P, R²=0.536, RMSE=25.056 mg/kg, and RPD=1.484; and for available P, R²=0.429, RMSE=42.452 mg/kg, and RPD=1.338. Compared with the spectral data without preprocessing, the performance of RF model improved by 8.53%, 3.17%, and 0.47% for the R² values for available N, P, and K, respectively. The comparison of the preprocessing methods in combination with the RF model revealed that MSC had the best model accuracy for the available N (R²=0.585, RMSE=20.326 mg/kg, RPD=1.569), SG had the best model accuracy for the available P (R²=0.553, RMSE=24.585 mg/kg, RPD=1.513), and MA had the best model accuracy for the available K (R²=0.431, RMSE=42.383 mg/kg, RPD=1.340). It is noteworthy that the model accuracy is worst for the available K, possibly due to its inherently weaker spectral response characteristics and lower signal-to-noise ratio. This study shows that NIR spectroscopy using appropriate preprocessing methods and regression models can accurately predict soil nutrient concentrations, supporting precision fertilization management in orchard production systems.

Author Biography

  • Chaojun Hou, Zhongkai University of Agriculture and Engineering

    Chaojun Hou, Ph.D.: He received his B. S. and M. S. degrees from South China University of Technology, Guangzhou, China, in 2001 and 2004, respectively. He received his Ph.D. degree in the Sun Yat-Sen University, Guangzhou, China, in 2009. He is currently an associated professor in the School of Mathematics and Data Science, Zhongkai University of Agriculture and Engineering, Guangzhou, China. His current research interests include agriculture engineering and artificial intelligence in agriculture.

Published

2025-06-30

How to Cite

Sun, R., Hou, C., & Cui, H. (2025). Inversion Models for Orchard Soil Nutrient Content Using Near- Infrared Spectroscopy. Innovative Applications of AI, 2(2), 132-144. https://doi.org/10.70695/AA1202502A16