Skip to main content
Log in

Using deep neural networks for evaluation of soil quality based on VIS–NIR spectroscopy

  • RESEARCH
  • Published:
Earth Science Informatics Aims and scope Submit manuscript

Abstract

This study is focused on evaluating the potential of deep neural networks for assessing soil properties based on VIS–NIR spectroscopy with spectral wavelength ranges of 350–2500 nm and 10 nm resolution on a global scale. The dataset was provided by the ICRAF-ISRIC soil spectral library and consists of 4438 samples from 58 countries. In This research we used the powerful one-dimensional (1D) convolutional neural network (CNN) models to predict soil organic carbon (OC), pH, calcium carbonate (CaCO3), cation exchange capacity (CEC), effective CEC (ECEC), sum of cations (SC), base saturation (BS), exchangeable acidity (ACe), exchangeable cations (aluminum (Al), calcium (Ca), magnesium (Mg), sodium (Na) and‌ potassium (K)), silt, sand and clay content. Also, traditional regression approaches of spectral data including partial least squares regression (PLSR), multilayer perceptron (MLP) and random forest (RF) with optimum preprocessing of spectral data were also tested and the models’ performances were evaluated and compared. The optimum structure of models was determined by testing different components for PLSR, selecting the best number of neurons in the hidden layer, activation functions, and solvers for MLP, and finding the proper number of trees and maximum depth in RF. The CNN-based model estimated the OC, pH, CaCO3, CEC, ECEC, SC, BS, ACe, Al, Ca, Mg, Na, K, silt, sand and clay content with the ratio of percent deviation (RPD) of 2.98, 1.9, 2.48, 2.01, 2.05, 2.39, 1.97, 1.01, 1.59, 2.06, 1.72, 1.69, 1.29, 1.38, 1.8 and 1.97, respectively. We evaluated the performance of CNN-based methods with an effective architecture for soil spectral data analysis. The CNN model outperforms other regression algorithms in terms of accuracy and low predicting errors using non-preprocessed data. However, the use of diverse soil properties for modeling spectral data can provide sufficient information on the advantages and disadvantages of VIS–NIR data in predictions.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6

Similar content being viewed by others

Data availability

The datasets generated during and/or analyzed during the current study are available in the International Soil Reference and Information Centre (ISRIC) repository, (https://data.isric.org/geonetwork/srv/api/records/1081ac75-78f7-4db3-b8cc-23b78a3aa769).

Abbreviations

X:

Current batch

μ :

Mean

σ :

Standard deviation

γ, β, ∈ :

Constant parameters

Oi:

Measured value

n:

Number of samples

Pi:

Predicted value

SD:

Standard deviation

R2:

Coefficient of determination

RMSE:

Root-mean-square error

MAE:

Mean absolute error

RPD:

Ratio of percent deviation

References

Download references

Acknowledgements

The topsoil dataset used in this work was made available by ISRIC-World Soil Information is duly acknowledged.

Funding

No funding was received for conducting this study.

Author information

Authors and Affiliations

Authors

Contributions

Mehdi Safaie, Mohammad Hosseinpour-Zarnaq, Mahmoud Omid, Fereydoon Sarmadian and Hassan Ghasemi-Mobtaker wrote the main manuscript text. Mohammad Hosseinpour-Zarnaq designed the manuscript idea and developed the codes. Mehdi Safaie and Mohammad Hosseinpour-Zarnaq executed the codes. All authors analyzed and validated the results. All authors read and approved the final manuscript.

Corresponding authors

Correspondence to Mohammad Hosseinpour-Zarnaq or Mahmoud Omid.

Ethics declarations

Competing interests

The authors declare no competing interests.

Conflict of interest

The authors declare no competing interests.

Additional information

Communicated by: H. Babaie

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Safaie, M., Hosseinpour-Zarnaq, M., Omid, M. et al. Using deep neural networks for evaluation of soil quality based on VIS–NIR spectroscopy. Earth Sci Inform 17, 271–281 (2024). https://doi.org/10.1007/s12145-023-01168-4

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s12145-023-01168-4

Keywords

Navigation