Abstract: As geospatial machine learning models and maps derived from their predictions are increasingly used for downstream analyses in science and policy, it is imperative to evaluate their accuracy and applicability. Geospatial machine learning has key distinctions from other learning paradigms, and as such, the correct way to measure performance of spatial machine learning outputs has been a topic of debate. In this paper, I delineate unique challenges of model evaluation for geospatial machine learning with global or remotely sensed datasets, culminating in concrete takeaways to improve evaluations of geospatial model performance.
Introduction
Geospatial machine learning (ML) currently faces a unique "identity crisis" in evaluation. Standard random data splits, the bread and butter of traditional ML, often lead to over-optimistic results in geographic contexts due to spatial autocorrelation. Conversely, popular alternatives like spatial cross-validation can actually under-report performance for certain tasks. This paper clarifies these tensions, distinguishing between the accuracy of a specific map and a model's ability to generalize to new regions.
The Problem: Beyond i.i.d. Data
In traditional machine learning, we usually assume data points are independent and identically distributed (i.i.d.). In geography, this assumption is almost always false. As Tobler’s First Law of Geography states: "everything is related to everything else, but near things are more related than distant things."
This creates a significant challenge for evaluation. If you randomly split geospatial data into training and test sets, the test points are likely very close to training points. The model can "cheat" by simply memorizing local patterns (spatial autocorrelation) rather than learning underlying physical or socioeconomic relationships. When such a model is deployed in a new country or climate zone—a situation known as covariate shift—it often fails to perform as expected. The community remains divided: some argue that spatial cross-validation is essential to prevent over-optimism, while others argue it lacks the theoretical grounding necessary for assessing the accuracy of a final produced map.
A Framework for Geospatial Evaluation
This synthesis categorizes geospatial evaluation into three distinct perspectives rather than proposing a single algorithm:
- Map Accuracy as a Population Parameter: This treats the map as a finished product. To determine if the map is "correct," one needs a "design-independent probability sample"—essentially, ground truth data collected independently of where the model was trained.
- Model Performance Beyond Accuracy: This focuses on how the model behaves in "unseen" conditions. It examines spatial generalization (performance in a new region) and spatial extrapolation (how far from the training data the model remains useful).
- Spatially-Aware Evaluation: This involves techniques like Spatial Cross-Validation (SCV), where data is split by geographic blocks or buffers to ensure training and testing sets are geographically distant.
While SCV is excellent for testing generalization, it can systematically under-report performance if the model’s intended use is interpolation—filling in small gaps within a known region.
Key Insights and Ideas
The "Map vs. Model" Distinction
Researchers often conflate the quality of a map with the quality of the model that produced it. They require different evaluation strategies: a map needs representative samples to verify its local utility, while a model needs stress-testing against geographic shifts to verify its robustness.
The Double-Edged Sword of Spatial CV
Spatial cross-validation is a powerful tool for simulating "out-of-sample" performance, but it does not provide a theoretical basis for estimating the total error of a global map. It may induce a higher degree of extrapolation than necessary, leading researchers to believe their models are less effective than they actually are for local tasks.
Addressing Geographic Bias
Most geospatial ground truth is clustered in wealthy, high-resource countries. Consequently, "global" models are often evaluated on data that does not represent the Global South, leading to hidden failures in the regions where these models are often most needed. Visualizing error residuals is just as important as reporting a single RMSE or R² value; seeing where a model fails provides more actionable insight than a global average.
Conclusion and Future Work
The paper highlights that non-spatial validation leads to over-optimism, while spatial CV can lead to under-reporting. To move the field forward, the author suggests three primary opportunities:
- Invest in probability-sampled evaluation data to create a "gold standard" for global evaluation.
- Adopt "Model Cards" for geospatial ML to transparently report specific areas of applicability.
- Distinguish between statistical parameters (map accuracy) and potential skill (generalization) in research reporting.
Future work should focus on developing better labeling tools for remote annotations, improving spatial baselines to ensure ML models outperform simple spatial interpolators, and expanding methods for reporting uncertainty across space rather than as a single global number.
Summary updated