Spatial autocorrelation in machine learning for modelling soil organic carbon

Spatial autocorrelation, the relationship between nearby samples of a spatial random variable, is often overlooked in machine learning models, leading to biased results. This study compares various methods to account for spatial autocorrelation when predicting soil organic carbon (SOC) using random forest models. This kind of systematic comparison has not been done previously. Five models incorporating spatial structure were compared against baseline models with no added spatial components. Cross-validation showed slight improvements in accuracy for models considering spatial autocorrelation, while Shapley Additive Explanations confirmed the importance of spatial variables. However, no decrease in spatial autocorrelation of residuals was observed. Random Forest Spatial Interpolation emerged as the top performer in capturing spatial structure and improving model accuracy. Raster-based models exhibited enhanced prediction detail. The findings emphasize the value of incorporating spatial autocorrelation for better prediction of SOC with machine learning. Considerations such as the spatial distribution of predictions and computational complexity should help guide the selection of suitable approaches for specific spatial modelling tasks. • Five raster-based RF models incorporated unique spatial autocorrelation strategies. • Spatial ML strategies reduced residual spatial autocorrelation, improved performance. • RFSI captured spatial structure and improved model the most, followed by BD and XY models. • Raster-based models provided more detailed predictions than vector-based ones.

Authors

Institutions

Publication Details

Journal
Ecological Informatics
Published
2025-02-05
DOI
https://doi.org/10.1016/j.ecoinf.2025.103057
Citations
17
Primary Topic
Soil Geostatistics and Mapping
Type
article
Field-Weighted Citation Impact
13.58
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Spatial autocorrelation in machine learning for modelling soil organic carbon

Chris Harrison, Evelyn Uuemaa, Alexander Kmoch, Jeong-Hwan Choi
17 citations
Ecological Informatics
Soil Geostatistics and Mapping
13.58
article

Spatial autocorrelation in machine learning for modelling soil organic carbon

Chris Harrison, Evelyn Uuemaa, Alexander Kmoch, Jeong-Hwan Choi
article en
17 citations

Abstract

Spatial autocorrelation, the relationship between nearby samples of a spatial random variable, is often overlooked in machine learning models, leading to biased results. This study compares various methods to account for spatial autocorrelation when predicting soil organic carbon (SOC) using random forest models. This kind of systematic comparison has not been done previously. Five models incorporating spatial structure were compared against baseline models with no added spatial components. Cross-validation showed slight improvements in accuracy for models considering spatial autocorrelation, while Shapley Additive Explanations confirmed the importance of spatial variables. However, no decrease in spatial autocorrelation of residuals was observed. Random Forest Spatial Interpolation emerged as the top performer in capturing spatial structure and improving model accuracy. Raster-based models exhibited enhanced prediction detail. The findings emphasize the value of incorporating spatial autocorrelation for better prediction of SOC with machine learning. Considerations such as the spatial distribution of predictions and computational complexity should help guide the selection of suitable approaches for specific spatial modelling tasks. • Five raster-based RF models incorporated unique spatial autocorrelation strategies. • Spatial ML strategies reduced residual spatial autocorrelation, improved performance. • RFSI captured spatial structure and improved model the most, followed by BD and XY models. • Raster-based models provided more detailed predictions than vector-based ones.

Ecological InformaticsVol. 86
University of Tartu (EE)
Zero hunger
Openalex Percentile: Top 1%
Soil Geostatistics and Mapping
13.58
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.

Spatial autocorrelation in machine learning for modelling soil organic carbon — Chris Harrison, Evelyn Uuemaa, et al. · Ecological Informatics (2025) | TGRS Research Map | TGRS