Integrating hyperspectral imaging with machine learning techniques for the high-resolution mapping of soil nitrogen fractions in soil profiles

Sci Total Environ. 2021 Feb 1:754:142135. doi: 10.1016/j.scitotenv.2020.142135. Epub 2020 Sep 4.

Abstract

Soil nitrogen (N) plays a central role in soil quality and biogeochemical cycles. However, little is known about the distribution and spatial variability of the different fractions of soil N within entire soil profiles. This study aimed to investigate the potential of laboratory-based hyperspectral imaging (HSI) spectroscopy to retrieve and map total N (TN), available N (AvailN), ammonium N (NH4-N), nitrate N (NO3-N), and microbial biomass N (MBN) in soil profiles at a high resolution. HSI images of eleven intact soil profiles of 100 ± 5 cm depth from three typical soil types were recorded. A variety of nonlinear machine learning techniques, such as artificial neural networks (ANN), cubist regression tree (Cubist), k-nearest neighbour (KNN), support vector machine regression (SVMR) and extreme gradient boosting (XGBoost), were compared with a partial least squares regression (PLSR) to determine the most suitable model for the prediction of the various soil N fractions. Overall, the results showed that nonlinear techniques performed better than PLSR in most cases, with a high coefficient of determination (R2) and low root mean square error (RMSE). Among the models, SVMR was found to be superior to the other tested models for TN (R2P = 0.94, RMSEP = 0.17 g kg-1), AvailN (R2P = 0.94, RMSEP = 13.35 mg kg-1), NO3-N (R2P = 0.82, RMSEP = 7.31 mg kg-1), and NH4-N (R2P = 0.70, RMSEP = 1.51 mg kg-1) based on independent validation, whereas MBN (R2P = 0.63, RMSEP = 6.62 mg kg-1) was predicted best by KNN. In addition, SVMR required less computational time and was less sensitive to spectral noise. It can therefore be concluded that HSI spectroscopy combined with SVMR is suitable for the high-resolution mapping of various soil N fractions in soil profiles.

Keywords: Hyperspectral imaging; Machine learning; Profile mapping; Soil nitrogen; Spectral noise.