NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Model Evaluation for Geospatial Problems

Jing Wang, Tyler Hallman, Laurel Hopkins, John Burns Kilbride, W. Douglas Robinson, Rebecca HutchinsonCompSust @ NeurIPS 2023

TL;DR

Standard methods for evaluating machine learning models, like cross-validation, often fail for geospatial data due to spatial autocorrelation and shifts in data distributions. This paper introduces a new method, Importance-weighted Buffered Cross-Validation (IBCV), and a framework to help researchers choose the right evaluation strategy for their specific geospatial problem, ensuring more reliable model performance estimates.

What Problem Does This Paper Address?

When building predictive models for spatial data (e.g., predicting species distribution based on habitat features), we often want to know how well these models will perform on new, unseen areas. Standard cross-validation (CV) techniques, which work well for independent data points, can give overly optimistic performance estimates for geospatial problems. This is because:

  1. Spatial Autocorrelation (SAC): Nearby locations tend to have similar features and outcomes. If training and validation data points are too close, information can "leak" from the training set to the validation set, making the model seem better than it actually is.
  2. Covariate Shift (CS): The environmental features (e.g., soil type, temperature) in a new area might be different from those in the area where the model was trained. This shift can lead to poor predictions if the model hasn't learned to generalize well.

Existing spatial CV methods try to address SAC by separating training and validation data spatially (e.g., using blocks or buffers), but they can sometimes introduce or exacerbate CS, leading to pessimistic bias. This paper aims to bridge this gap by providing a theoretical understanding and a practical solution for evaluating geospatial models under both SAC and CS.

Methods

The authors propose a novel cross-validation method called Importance-weighted Buffered Cross-Validation (IBCV). It combines two key ideas:

  • Buffered Cross-Validation (BFCV): Similar to other spatial CV methods, it creates buffer zones around validation folds, excluding nearby training data to mitigate spatial autocorrelation.
  • Importance Weighting (IW): This technique is borrowed from covariate shift adaptation. It re-weights the validation samples based on the ratio of their probability density under the test distribution versus the training distribution. This helps to correct for differences in feature distributions between training and testing data.

They also introduce a categorization framework based on two dimensions: spatial dependence (how much SAC is present) and covariate shift (how different the feature distributions are). This framework helps practitioners understand their specific geospatial problem and guides them towards appropriate CV strategies.

The paper also establishes a theoretical criterion for unbiased CV under certain assumptions, which helps validate their proposed methods.

Datasets

The paper uses two main types of data:

  1. Simulated Data: They generated synthetic datasets with varying degrees of spatial autocorrelation and covariate shift to systematically test their proposed methods and compare them against existing ones.
  2. Hermit Warbler (HEWA) Dataset: This is a real-world dataset used to predict the presence of a bird species based on vegetation indexes derived from remote sensing data across different regions of Oregon. This dataset was used to create four distinct scenarios (SD, SI, SD+CS, SI+CS) as defined by their framework.

Key Insights and Ideas

  • No One-Size-Fits-All: The best cross-validation strategy is highly dependent on the specific characteristics of the geospatial problem, particularly the presence and interplay of spatial autocorrelation and covariate shift.
  • Trade-offs in Spatial CV: Methods that effectively reduce spatial autocorrelation (like BLCV and BFCV) can sometimes introduce or worsen covariate shift, leading to biased estimates.
  • Importance Weighting is Crucial for CS: When covariate shift is present, methods that explicitly account for it (like IBCV and IWCV) significantly outperform those that don't.
  • IBCV's Promise: The proposed IBCV method shows strong performance, particularly in scenarios with both spatial dependence and covariate shift, often outperforming existing methods.

Key Results

  • Simulations: In scenarios with spatial dependence and covariate shift (SD+CS and SI+CS), IBCV and IWCV consistently showed the lowest biases in estimating model error (RMSE). IBCV was particularly effective, demonstrating significantly lower bias than IWCV as spatial autocorrelation increased.
  • Real-world Application (HEWA dataset): The study applied their framework and methods to predict Hermit Warbler presence. The results from the HEWA dataset largely aligned with the simulation findings, highlighting the importance of choosing the right CV strategy based on the scenario. For instance, in the SI+CS scenario, IBCV provided the most accurate estimates of test error for several machine learning models.
  • Framework Utility: The proposed categorization framework (Tab. 1) effectively maps geospatial problem characteristics to recommended CV strategies, providing practical guidance.

Limitations and Future Work

  • Hyperparameter Sensitivity: The performance of spatial CV methods, including IBCV, can be sensitive to hyperparameter choices (e.g., buffer size). Finding optimal hyperparameters can be challenging in practice.
  • Small Datasets: IBCV might be less suitable for very small datasets, as removing buffer points could lead to a disproportionately large loss of training data, potentially causing pessimistic bias and high variance.
  • Severe Covariate Shift: Like other importance-weighted methods, IBCV may struggle when the feature distributions of the training and test sets have very little overlap.
  • Future Work: The authors suggest developing more nuanced tools for characterizing geospatial problems beyond their current four-quadrant framework. Further research into improving IBCV's hyperparameter selection and exploring its applicability to other non-iid datasets is also recommended.

Summary updated

BibTeX
@inproceedings{wang2023model,
  author = {Jing Wang and Tyler Hallman and Laurel Hopkins and John Burns Kilbride and W. Douglas Robinson and Rebecca Hutchinson},
  title = {{Model Evaluation for Geospatial Problems}},
  booktitle = {CompSust @ NeurIPS},
  year = {2023},
  url = {https://openreview.net/forum?id=z5dAdYOgbs},
}
Figure