Spatial machine-learning model diagnostics: a model-agnostic distance-based approach
Open accessThe DOI matches its Crossref record; 43 of the 43 references it cites were found in a registry or an index.
Abstract
While significant progress has been made towards explaining black-box machine-learning (ML) models, there is still a distinct lack of diagnostic tools that elucidate the spatial behaviour of ML models in terms of predictive skill and variable importance. This contribution proposes spatial prediction error profiles (SPEPs) and spatial variable importance profiles (SVIPs) as novel model-agnostic assessment and interpretation tools for spatial prediction models with a focus on prediction distance. Their suitability is demonstrated in two case studies representing a regionalization task in an environmental-science context, and a classification task from remotely-sensed land cover classification. In these case studies, the SPEPs and SVIPs of geostatistical methods, linear models, random forest, and hybrid algorithms show striking differences but also relevant similarities. Limitations of related cross-validation techniques are outlined, and the case is made that modelers should focus their model assessment and interpretation on the intended spatial prediction horizon. The range of autocorrelation, in contrast, is not a suitable criterion for defining spatial cross-validation test sets. The novel diagnostic tools enrich the toolkit of spatial data science and may improve ML model interpretation, selection, and design.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Breiman, L. (2001) · Machine Learning · doi:10.1023/a:1010933404324 · Cited by 133,538 · cited 3×
“Random forest (RF) was chosen as it is a popular nonlinear ML technique that is agnostic of the spatial setting (Breiman, 2001).”
MethodModern Applied Statistics with S
Venables, W. N., & Ripley, B. D. (2002) · Statistics and Computing · doi:10.1007/978-0-387-21706-2 · Cited by 24,305 · cited 1×
“LDA classification was based on the implementation in the MASS package (Venables and Ripley, 2002).”
MethodCressie, N. A. C. (1993) · Wiley Series in Probability and Statistics · doi:10.1002/9781119115151 · Cited by 6,507 · cited 6×
“From a practical perspective, independent test data is not even a desirable property in predictive tasks such as interpolation or regionalization that precisely build upon and require spatial dependence (Cressie, 1993).”
BackgroundMethodInfluentialRees, M., & Cressie, N. (1993) · Journal of the Royal Statistical Society. Series A (Statistics in Society) · doi:10.2307/2982871 · Cited by 5,101
Cross‐validation strategies for data with temporal, spatial, hierarchical, or phylogenetic structure
Roberts, D. R., Bahn, V., Ciuti, S., Boyce, M. S., Elith, J., Guillera‐Arroita, G., Hauenstein, S., Lahoz‐Monfort, J. J., Schröder, B., Thuiller, W., et al. (2017) · Ecography · doi:10.1111/ecog.02881 · Cited by 3,689
Random forest classifier for remote sensing classification
Pal, M. (2005) · International Journal of Remote Sensing · doi:10.1080/01431160412331269698 · Cited by 3,283 · cited 1×
“Random forest (RF) was chosen since it is a popular nonlinear technique that is widely used in remote sensing (Breiman, 2001; Pal, 2005).”
MethodConditional variable importance for random forests
Strobl, C., Boulesteix, A.-L., Kneib, T., Augustin, T., & Zeileis, A. (2008) · BMC Bioinformatics · doi:10.1186/1471-2105-9-307 · Cited by 3,254
A leisurely look at the bootstrap, the jackknife, and cross-validation
Efron, B., & Gong, G. (1983) · The American Statistician · doi:10.1080/00031305.1983.10483087 · Cited by 3,229 · cited 2×
“The model is trained on a training sample L comprising n observations of response and predictors, and its performance is estimated on a test sample or with a cross-validation (CV) or bootstrap estimator (Efron and Gong, 1983), including spatial resampling approaches (Brenning, 2012) and leave-one-out cross-validation…”
MethodModern Applied Statistics with S Fourth edition
Venables, W. N., & Ripley, B. D. (2002) · Cited by 2,538
Geostatistics for Environmental Scientists
Webster, R., & Oliver, M. A. (2007) · Wiley eBooks · doi:10.1002/9780470517277 · Cited by 2,345 · cited 1×
“…cross-validation (LOO-CV) and cross-validation in general have long been used in the context of geostatistical regionalization (Isaaks and Srivastava, 1989; Goovaerts, 2000; Webster and Oliver, 2007; Fouedjio and Klump, 2020), but they do not provide a spatially differentiated summary.”
MethodStatistics for Spatio‐Temporal Data
Subba Rao, T. (2012) · Journal of Time Series Analysis · doi:10.1111/j.1467-9892.2011.00765.x · Cited by 1,560
Geostatistical approaches for incorporating elevation into the spatial interpolation of rainfall
Goovaerts, P. (2000) · Journal of Hydrology · doi:10.1016/s0022-1694(00)00144-x · Cited by 1,544 · cited 5×
“In spatial model assessment, (non-spatial) leave-one-out cross-validation (LOO-CV) and cross-validation in general have long been used in the context of geostatistical regionalization (Isaaks and Srivastava, 1989; Goovaerts, 2000; Webster and Oliver, 2007; Fouedjio and Klump, 2020), but they do not provide a spatially…”
BackgroundMethodInfluential(1990) · Choice Reviews Online · doi:10.5860/choice.28-0304 · Cited by 1,495
Statistics for Spatio-Temporal Data
Cressie, N., & Wikle, C. K. (2011) · Research Online (University of Wollongong) · Cited by 1,318
On the use of cross-validation for time series predictor evaluation
Bergmeir, C., & Benítez, J. M. (2012) · Information Sciences · doi:10.1016/j.ins.2011.12.028 · Cited by 1,292 · cited 2×
“, 2018), forecasting has received particular attention in time-series research, where the consideration of an appropriate forecasting horizon has been identified as a critical issue in assessing model performance (Bergmeir and Benitez, 2012).”
BackgroundInterpretable Machine Learning
Molnar, C. (2020) · Cited by 1,104
Valavi, R., Elith, J., Lahoz‐Monfort, J. J., & Guillera‐Arroita, G. (2019) · Methods in Ecology and Evolution · doi:10.1111/2041-210x.13107 · Cited by 1,056 · cited 6×
“It has previously been proposed to choose the buffer distance based on the range of residual autocorrelation (Brenning, 2005; Le Rest et al., 2014; Valavi et al., 2019).”
BackgroundInfluentialSpatio-Temporal Interpolation using gstat
Gräler, B., Pebesma, E., & Heuvelink, G. (2016) · The R Journal · doi:10.32614/rj-2016-014 · Cited by 974
Hengl, T., Heuvelink, G. B. M., Kempen, B., Leenaars, J. G. B., Walsh, M. G., Shepherd, K. D., Sila, A., MacMillan, R. A., Mendes de Jesus, J., Tamene, L., et al. (2015) · PLOS ONE · doi:10.1371/journal.pone.0125814 · Cited by 935 · cited 1×
“Machine-learning (ML) and hybrid geostatistical–ML models such as regression–kriging have become increasingly popular in spatial prediction modeling (for example, Hengl et al., 2015; Sekulić et al., 2020).”
MethodSpatial validation reveals poor predictive performance of large-scale ecological mapping models
Ploton, P., Mortier, F., Réjou-Méchain, M., Barbier, N., Picard, N., Rossi, V., Dormann, C., Cornu, G., Viennois, G., Bayol, N., et al. (2020) · Nature Communications · doi:10.1038/s41467-020-18321-y · Cited by 870
Goetz, J. N., Brenning, A., Petschko, H., & Leopold, P. (2015) · Computers & Geosciences · doi:10.1016/j.cageo.2015.04.007 · Cited by 829 · cited 2×
“…et al., 2020), (2) postulate that spatial dependence needs to be taken care of based on the range of residual autocorrelation (Brenning, 2005; Roberts et al., 2017; Valavi et al., 2019), or (3) focus on other fixed scales of spatial prediction (e.g., Peña and Brenning, 2015; Goetz et al., 2015).”
BackgroundSelf-citationSpatial prediction models for landslide hazards: review, comparison and evaluation
Brenning, A. (2005) · Natural Hazards and Earth System Sciences · doi:10.5194/nhess-5-853-2005 · Cited by 676 · cited 7×
“…spatial exclusion buffers around the LOO test locations, making reference to the concepts of spatial autocorrelation and statistical independence (Brenning, 2005; Le Rest et al., 2014; Roberts et al., 2017; Pohjankukka et al., 2017; Veronesi and Schillaci, 2019); the theoretical shortcomings of…”
BackgroundInfluentialSelf-citationMeyer, H., Reudenbach, C., Hengl, T., Katurji, M., & Nauss, T. (2018) · Environmental Modelling & Software · doi:10.1016/j.envsoft.2017.12.001 · Cited by 565 · cited 2×
“While recently proposed space–time resampling schemes focused on hindcasting and regionalization, or a combination of both (Meyer et al., 2018), forecasting has received particular attention in time-series research, where the consideration of an appropriate forecasting horizon has been identified…”
BackgroundSpatial cross-validation is not the right way to evaluate map accuracy
Wadoux, A. M. J.-C., Heuvelink, G. B. M., de Bruin, S., & Brus, D. J. (2021) · Ecological Modelling · doi:10.1016/j.ecolmodel.2021.109692 · Cited by 423
Random Forest Spatial Interpolation
Sekulić, A., Kilibarda, M., Heuvelink, G. B. M., Nikolić, M., & Bajat, B. (2020) · Remote Sensing · doi:10.3390/rs12101687 · Cited by 366
Predictability of Weather and Climate
(2006) · Cambridge University Press eBooks · doi:10.1017/cbo9780511617652 · Cited by 305
Brenning, A. (2012) · 2012 IEEE International Geoscience and Remote Sensing Symposium · doi:10.1109/igarss.2012.6352393 · Cited by 266 · cited 7×
“The model is trained on a training sample L comprising n observations of response and predictors, and its performance is estimated on a test sample or with a cross-validation (CV) or bootstrap estimator (Efron and Gong, 1983), including spatial resampling approaches (Brenning, 2012) and leave-one-out cross-validation…”
BackgroundMethodInfluentialSelf-citationHooker, G., Mentch, L., & Zhou, S. (2021) · Statistics and Computing · doi:10.1007/s11222-021-10057-z · Cited by 264
Testing the predictive performance of distribution models
Bahn, V., & McGill, B. J. (2013) · Oikos · doi:10.1111/j.1600-0706.2012.00299.x · Cited by 245 · cited 1×
“Spatial adaptations proposed so far have partitioned the study region into spatially disjoint training and validation areas (Ruß and Brenning, 2010a; Brenning, 2012; Bahn and McGill, 2013).”
BackgroundGeographically Weighted Regression
Zimmerman, D. (2003) · Journal of the American Statistical Association · doi:10.1198/jasa.2003.s286 · Cited by 225
Top-kriging - geostatistics on stream networks
Skøien, J. O., Merz, R., & Blöschl, G. (2006) · Hydrology and Earth System Sciences · doi:10.5194/hess-10-277-2006 · Cited by 215 · cited 2×
“…concepts of prediction distance can be defined based on, for example, the forecasting horizon, the vertical or three-dimensional physical distance, or graph-theoretical distances in a phylogenetic tree (Roberts et al., 2017), in a stream network (Skøien et al., 2006), or in a social network.”
BackgroundEstimating the prediction performance of spatial models via spatial k-fold cross validation
Pohjankukka, J., Pahikkala, T., Nevalainen, P., & Heikkonen, J. (2017) · International Journal of Geographical Information Science · doi:10.1080/13658816.2017.1346255 · Cited by 203 · cited 3×
“…making reference to the concepts of spatial autocorrelation and statistical independence (Brenning, 2005; Le Rest et al., 2014; Roberts et al., 2017; Pohjankukka et al., 2017; Veronesi and Schillaci, 2019); the theoretical shortcomings of such requirements are discussed later in Section 5.3.”
BackgroundInfluentialKarasiak, N., Dejoux, J.-F., Monteil, C., & Sheeren, D. (2022) · Machine Learning · doi:10.1007/s10994-021-05972-1 · Cited by 163
Basic probability sampling designs for thematic map accuracy assessment
Stehman, S. V. (1999) · International Journal of Remote Sensing · doi:10.1080/014311699212100 · Cited by 161
Veronesi, F., & Schillaci, C. (2019) · Ecological Indicators · doi:10.1016/j.ecolind.2019.02.026 · Cited by 156 · cited 1×
“…making reference to the concepts of spatial autocorrelation and statistical independence (Brenning, 2005; Le Rest et al., 2014; Roberts et al., 2017; Pohjankukka et al., 2017; Veronesi and Schillaci, 2019); the theoretical shortcomings of such requirements are discussed later in Section 5.3.”
BackgroundInfluentialLe Rest, K., Pinaud, D., Monestiez, P., Chadoeuf, J., & Bretagnolle, V. (2014) · Global Ecology and Biogeography · doi:10.1111/geb.12161 · Cited by 148 · cited 4×
“…such as kriging provide estimates of predictive uncertainty that are backed by statistical theory, most ML models do not, and therefore computational estimation procedures are needed, which must be adapted to the spatial context (Brenning, 2012; Le Rest et al., 2014; Roberts et al., 2017).”
BackgroundInfluentialAssessing fruit-tree crop classification from Landsat-8 time series for the Maipo Valley, Chile
Peña, M. A., & Brenning, A. (2015) · Remote Sensing of Environment · doi:10.1016/j.rse.2015.10.029 · Cited by 142 · cited 6×
“At distances beyond the field scale, LDA (and NN–LDA) outperformed RF, as detected previously with field-level CV (Peña and Brenning, 2015).”
BackgroundMethodInfluentialSelf-citationComparing spatial regression to random forests for large environmental data sets
Fox, E. W., Hoef, J. M. V., & Olsen, A. R. (2020) · PLoS ONE · doi:10.1371/journal.pone.0229509 · Cited by 110 · cited 2×
“This has not been acknowledged sufficiently in previous benchmarking studies that (1) either ignore the scale of spatial prediction (Goovaerts, 2000; Fox et al., 2020), (2) postulate that spatial dependence needs to be taken care of based on the range of residual autocorrelation (Brenning, 2005; Roberts et al.”
BackgroundExploring prediction uncertainty of spatial data in geostatistical and machine learning approaches
Fouedjio, F., & Klump, J. (2019) · Environmental Earth Sciences · doi:10.1007/s12665-018-8032-z · Cited by 68 · cited 1×
“In spatial model assessment, (non-spatial) leave-one-out cross-validation (LOO-CV) and cross-validation in general have long been used in the context of geostatistical regionalization (Isaaks and Srivastava, 1989; Goovaerts, 2000; Webster and Oliver, 2007; Fouedjio and Klump, 2020), but they do not provide a spatially…”
MethodRobust Resampling Confidence Intervals for Empirical Variograms
Clark, R. G., & Allingham, S. F. (2010) · Mathematical Geosciences · doi:10.1007/s11004-010-9314-5 · Cited by 39 · cited 1×
“Similar issues are known from the estimation of confidence intervals for empirical semivariograms, where resampling procedures have therefore been proposed (Clark and Allingham, 2011; Olea and Pardo-Iguzquiza, 2011), which could be adapted to SPEPs.”
BackgroundGeneralized Bootstrap Method for Assessment of Uncertainty in Semivariogram Inference
Olea, R. A., & Pardo‐Igúzquiza, E. (2010) · Mathematical Geosciences · doi:10.1007/s11004-010-9269-6 · Cited by 36 · cited 1×
“Similar issues are known from the estimation of confidence intervals for empirical semivariograms, where resampling procedures have therefore been proposed (Clark and Allingham, 2011; Olea and Pardo-Iguzquiza, 2011), which could be adapted to SPEPs.”
BackgroundSpatial Variable Importance Assessment for Yield Prediction in Precision Agriculture
Ruß, G., & Brenning, A. (2010) · Lecture notes in computer science · doi:10.1007/978-3-642-13062-5_18 · Cited by 33 · cited 4×
“Spatial 10-fold CV using 10-means clustering to partition the study region (Ruß and Brenning, 2010a).”
BackgroundMethodInfluentialSelf-citationmlr3spatiotempcv: Spatiotemporal Resampling Methods for 'mlr3'
Schratz, P., & Becker, M. (2020) · doi:10.32614/cran.package.mlr3spatiotempcv · Cited by 7
Research works printed but not linked: 5
- Brenning, A. (2021). Transforming feature space to interpret machine learning models, arXiv:2104.04295. · arXiv
- Hooker, G. and Mentch, L. (2019). Please stop permuting features: an explanation and alternatives, arXiv:1905.03151. · arXiv
- Liaw, A. and Wiener, M. (2002). Classification and regression by randomforest, R News 2 (3): 18-22.
- Pebesma, E. J. and Bivand, R. S. (2005). Classes and methods for spatial data in R, R News 5 (2): 9-13.
- Ruß, G. and Brenning, A. (2010a). Data mining in precision agriculture: Management of spatial information, in E. Hüllermeier, R. Kruse and F. Hoffmann (eds), Computational Intelligence for Knowledge-Based Systems Design , Lecture Notes in Computer Science, Springer, Berlin, Heidelberg, pp. 350-359.
Cited by
How Interpretable Machine Learning Can Benefit Process Understanding in the Geosciences
Jiang, S., Sweet, L., Blougouras, G., Brenning, A., Li, W., Reichstein, M., Denzler, J., Shangguan, W., Yu, G., Huang, F., et al. (2024) · Earth's Future · doi:10.1029/2024ef004540 · Cited by 182
“…requires careful management of the training and test data sets with consideration of the specific characteristics of the data (Bischl et al., 2023; Brenning, 2022; Davenport & Diffenbaugh, 2021; de Burgh‐Day & Leeuwenburg, 2023; Lopez‐Gomez et al., 2023; McGovern, Jergensen, et al., 2019; Meyer &…”
InfluentialSelf-citationOpening the Black Box: A systematic review on explainable artificial intelligence in remote sensing
Höhl, A., Obadić, I., Fernández‐Torres, M., Najjar, H., Oliveira, D. A. B., Akata, Z., Dengel, A. R., & Zhu, X. X. (2024) · IEEE Geoscience and Remote Sensing Magazine · doi:10.1109/mgrs.2024.3467001 · Cited by 142
Nearest neighbour distance matching Leave‐One‐Out Cross‐Validation for map validation
Milà, C., Mateu, J., Pebesma, E., & Meyer, H. (2022) · Methods in Ecology and Evolution · doi:10.1111/2041-210x.13851 · Cited by 119
“…to bLOO, NNDM LOO CV only considers geographical distances to estimate map accuracy, but ignores the directions of those distances and the actual locations of the sampling and prediction points, and therefore may fail to account for anisotropy or lack of stationarity of the errors (Brenning, 2021).”
BackgroundAdapting machine learning for environmental spatial data - A review
Jemeļjanova, M., Kmoch, A., & Uuemaa, E. (2024) · Ecological Informatics · doi:10.1016/j.ecoinf.2024.102634 · Cited by 99
kNNDM CV: k-fold nearest-neighbour distance matching cross-validation for map accuracy estimation
Linnenbrink, J., Milà, C., Ludwig, M., & Meyer, H. (2024) · Geoscientific Model Development · doi:10.5194/gmd-17-5897-2024 · Cited by 82
“As an alternative, spatial CV methods such as block CV (Wenger and Olden, 2012; Valavi et al., 2019; Roberts et al., 2017) or buffered-LOO CV (Telford and Birks, 2009; Le Rest et al., 2014; Brenning, 2022) are often used.”
Influential
Metadata
- Authors
- Brenning, A.
- Affiliations
- Friedrich Schiller University Jena (DE)
- Corresponding author
- Brenning, Alexander
- ORCID
- Brenning, Alexander
- Venue
- International Journal of Geographical Information Science
- Publisher
- Informa UK Limited
- Published
- 2022-10-26
- Volume
- 37
- Issue
- 3
- Pages
- 584-606
- ISSN
- 0269-3798 (ISSN-L)
- 1365-8816
- 1362-3087
- OpenAlex
- W3214660732
- Semantic Scholar
- f53324d6a4ec584258b5123660edd013c6972ade
- Cited by
- 33
- References
- 43
- Citations by year
- 2026: 8 · 2025: 5 · 2024: 8 · 2023: 9 · 2022: 3
- FWCI
- 5.03
- Type
- journal article
- Language
- en
- Open access
- green
- arxiv.org
- Locations
- International Journal of Geographical Information Systems (publishedVersion)
- arXiv (Cornell University) (submittedVersion)
- arXiv (Cornell University)
- Funders
- NSERC Discovery Grant
- Topics
- Social Sciences › Economics, Econometrics and Finance › Economics and Econometrics › Spatial and Panel Data Analysis
- Life Sciences › Agricultural and Biological Sciences › Soil Science › Soil Geostatistics and Mapping
- Physical Sciences › Computer Science › Artificial Intelligence › Gaussian Processes and Bayesian Inference
- Keywords
- spatial machine learning, model diagnostics, spatial cross-validation, spatial autocorrelation, geostatistical methods, random forest, land cover classification, regionalization, black-box models
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.