GeOT: A spatially explicit framework for evaluating spatio-temporal predictions

Nina Wiedemann, Théo Uscidda, Martin Raubal
10/15/2024
cs.LGcs.CE

Official code: mie-lab/geospatialOT (13 stars, MIT, last commit 2025-11-24). 1 more implementation below.

Abstract

When predicting observations across space and time, the spatial layout of errors impacts a model's real-world utility. For instance, in bike sharing demand prediction, error patterns translate to relocation costs. However, commonly used error metrics in GeoAI evaluate predictions point-wise, neglecting effects such as spatial heterogeneity, autocorrelation, and the Modifiable Areal Unit Problem. We put forward Optimal Transport (OT) as a spatial evaluation metric and loss function. The proposed framework, called GeOT, assesses the performance of prediction models by quantifying the transport costs associated with their prediction errors. Through experiments on real and synthetic data, we demonstrate that 1) the spatial distribution of prediction errors relates to real-world costs in many applications, 2) OT captures these spatial costs more accurately than existing metrics, and 3) OT enhances comparability across spatial and temporal scales. Finally, we advocate for leveraging OT as a loss function in neural networks to improve the spatial accuracy of predictions. Experiments with bike sharing, charging station, and traffic datasets show that spatial costs are significantly reduced with only marginal changes to non-spatial error metrics. Thus, this approach not only offers a spatially explicit tool for model evaluation and selection, but also integrates spatial considerations into model training. All code is available at https://github.com/mie-lab/geospatialOT.

View on arXivView PDF

Code Implementations(2)

MIT

Optimal transport for evaluating geospatial predictions

131PythonMar 12, 202411 months agoMIT
MIT
51PythonMar 16, 20231 years agoMIT

Similar Papers

Cite this paper

@article{wiedemann2024geot,
  title  = {GeOT: A spatially explicit framework for evaluating spatio-temporal predictions},
  author = {Nina Wiedemann and Théo Uscidda and Martin Raubal},
  year   = {2024},
  eprint = {2410.11709},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.11709v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.11709.svg)](https://codeofpaper.com/paper/2410.11709)

Discussion