An explainable machine learning framework for soil susceptibility mapping using SHapley additive exPlanation

Soil salinity and alkalinity are among the most critical land degradation processes that threaten agricultural productivity, ecosystem stability, and sustainable soil management. However, accurate modeling, especially over large areas, remains challenging due to the limited spatial and temporal coverage of soil samples, the quality of predictor variables, and the choice of modeling algorithm. To address these limitations, this study used “machine learning (ML)” and “explainable artificial intelligence (XAI)” to map combined soil hazards based on soil pH and electrical conductivity (EC) (0–30 cm depth) in the Qarah-Aghaj River basin, Fars Province, Iran. By integrating pH and EC measurements from 72 soil samples ​with climatic, anthropogenic, soil, hydrological, and topographic predictors, we modeled the spatial distribution of soil pH and EC. “Random Forest (RF)” and “Support Vector Regression (SVR)” were introduced for prediction, as RF outperformed SVR for both EC and pH prediction, achieving higher predictive accuracy (R 2 > 0.75) and lower error values across the validation datasets. “SHapley Additive exPlanations (SHAP)” was applied separately to the EC and pH models to interpret the contribution of predictor variables at both low and high values of the target properties. The results of the combined soil hazard map revealed that 94.41% of the study area was affected by only alkalinity hazards and 1.26% of the total area faced both alkalinity and salinity hazards. These findings offer a valuable tool for regional and environmental planning and sustainable soil management. This study also emphasizes the need to carefully evaluate covariate selection strategies and modeling approaches, as their effectiveness can vary depending on the algorithm and data characteristics.

Authors

Institutions

Publication Details

Journal
Scientific Reports
Published
2026-11-23
DOI
https://doi.org/10.1038/s41598-026-81126-4
Primary Topic
Soil Geostatistics and Mapping
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

An explainable machine learning framework for soil susceptibility mapping using SHapley additive exPlanation

Hamid Reza Pourghasemi, Soraya Bandak, Mohammad Rastegar, Mojgan Bordbar et al.
Scientific Reports
Soil Geostatistics and Mapping
article

An explainable machine learning framework for soil susceptibility mapping using SHapley additive exPlanation

Hamid Reza Pourghasemi, Soraya Bandak, Mohammad Rastegar, Mojgan Bordbar, Atiyeh Amindin, Sedigheh Maleki
article en

Abstract

Soil salinity and alkalinity are among the most critical land degradation processes that threaten agricultural productivity, ecosystem stability, and sustainable soil management. However, accurate modeling, especially over large areas, remains challenging due to the limited spatial and temporal coverage of soil samples, the quality of predictor variables, and the choice of modeling algorithm. To address these limitations, this study used “machine learning (ML)” and “explainable artificial intelligence (XAI)” to map combined soil hazards based on soil pH and electrical conductivity (EC) (0–30 cm depth) in the Qarah-Aghaj River basin, Fars Province, Iran. By integrating pH and EC measurements from 72 soil samples ​with climatic, anthropogenic, soil, hydrological, and topographic predictors, we modeled the spatial distribution of soil pH and EC. “Random Forest (RF)” and “Support Vector Regression (SVR)” were introduced for prediction, as RF outperformed SVR for both EC and pH prediction, achieving higher predictive accuracy (R 2 > 0.75) and lower error values across the validation datasets. “SHapley Additive exPlanations (SHAP)” was applied separately to the EC and pH models to interpret the contribution of predictor variables at both low and high values of the target properties. The results of the combined soil hazard map revealed that 94.41% of the study area was affected by only alkalinity hazards and 1.26% of the total area faced both alkalinity and salinity hazards. These findings offer a valuable tool for regional and environmental planning and sustainable soil management. This study also emphasizes the need to carefully evaluate covariate selection strategies and modeling approaches, as their effectiveness can vary depending on the algorithm and data characteristics.

Scientific Reports
Université du Québec à Chicoutimi (CA), Shiraz University (IR)
Shiraz University
Soil Geostatistics and Mapping
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon