Evaluating the Effectiveness of Location Encoding Methods for Species Distribution Modelling

Christian Lange, Oisin Mac AodhaarXiv 2026

TL;DR

This paper provides a comprehensive benchmark of different "location encoding" methods—the ways we represent geographic coordinates for machine learning—to see which works best for predicting where species live. The authors find that while sophisticated satellite-based embeddings often lead the pack, simple coordinate transformations like random Fourier features are surprisingly effective baselines, especially in data-sparse "few-shot" scenarios.

What Problem Does This Paper Address?

Species Distribution Models (SDMs) are essential tools for conservation, helping researchers turn sparse "I saw a bird here" observations into dense maps of a species' entire potential range. Traditionally, these models relied on environmental variables like average rainfall or temperature.

However, the "feature engineering" landscape for geography has exploded recently. We now have raw coordinates, climate rasters, and "earth embeddings"—deep learning models (like SatCLIP or AlphaEarth) that compress satellite imagery into general-purpose vectors. The problem is that there hasn't been a standardized way to compare these different inputs. Is a complex deep-learning embedding actually better than just using latitude and longitude? Does the answer change if you are looking at a single county versus the entire globe?

Methods

The authors introduce a standardized evaluation framework to quantify the effectiveness of various location encodings. They categorize features into four families:

  1. Location-based: Raw coordinates, sine/cosine transformations, and random Fourier projections (which map 2D coordinates into a higher-dimensional space).
  2. Environmental: Traditional climate and soil data (e.g., Bioclim, ERA5).
  3. Earth Embeddings (EE): Pre-trained models that learn representations from satellite imagery (e.g., SatCLIP, GeoCLIP, AlphaEarth).
  4. SDM-derived: Features from models specifically trained for species mapping, like SINR (Spatial Implicit Neural Representations).

To ensure a fair comparison, they use a "probing" approach: they freeze the features and train simple, standard classifiers (Random Forest, Logistic Regression, and MaxEnt) on top of them for each species.

Datasets

The study evaluates these methods across three distinct scales:

  • Global: 3,052 species across 12 taxonomic groups, using expert-derived IUCN range maps as ground truth.
  • UK: 37 species of bats and butterflies using data from the NBN Atlas.
  • California: 54 species of amphibians and snakes using iNaturalist observations.

For the regional datasets (UK and California), they used spatially blocked cross-validation to ensure the models weren't just "memorizing" specific spots, but actually learning to generalize to new areas.

Key Insights and Ideas

  • The "Fourier Surprise": One of the most striking findings is that simple coordinate transformations—specifically random Fourier features—are incredibly potent. They often outperform traditional climate variables and provide a very high baseline that complex models struggle to beat significantly.
  • Scale Dictates Strategy: Climate variables (like ERA5) are highly effective for global-scale modeling where broad environmental gradients define ranges. However, for regional models (UK/California), high-resolution earth embeddings perform better because they capture local land-use and habitat nuances that coarse climate data misses.
  • The Proximity Trap: The authors highlight that a "null baseline"—simply scoring a location based on its distance to the nearest known sighting—is a very tough competitor. This suggests that many SDMs might appear accurate simply because they predict species will be near where they've been seen before, rather than learning the underlying ecology.
  • Few-Shot Robustness: In scenarios with very few observations (1–10 sightings), simple location features (coords, sin/cos) are remarkably stable. As more data becomes available, the gap widens in favor of expressive encodings like SINR or AlphaEarth.
Figure 1: Few-shot evaluation for the UK data where we vary the amount of presence observations available during training. Average Precision (AP) results are reported using a Random Forest probe, averaged over 34 species. ‘all’ uses every training presence available.

Key Results

The quantitative results, summarized in Table 1, show that there is no single "winner," but clear trends emerge:

  • Global Scale: SatCLIP and SINR (global) tied for the best performance with an Average Precision (AP) of 0.77.
  • Regional Scale (UK): A combination of sin cos + AlphaEarth reached the highest AP of 0.71.
  • Regional Scale (California): AlphaEarth multi-scale was the top performer with an AP of 0.67.

Qualitatively, the models produce visibly different range maps. As seen in Figure 2, location-based features (like rand fourier) tend to produce smoother, more localized predictions, while climate and embedding-based models can capture more complex, fragmented habitat patterns.

Figure 2: Predicted UK ranges for one bat (C. serotinus, top) and one butterfly (C. palaemon, bottom) species using a Random Forest probe. Left: training (blue) and test (orange) presences and the held-out region of the fold shown; the Average Precision (AP) reported is for that fold.

Limitations and Future Work

  • Data Contamination: The authors note a potential "contamination" issue: some earth embedding models (like AlphaEarth) may have been trained on datasets that included the very species occurrence records used for evaluation, potentially inflating their scores.
  • Ground Truth Quality: IUCN range maps, used for the global evaluation, are expert-drawn proxies and may not perfectly represent actual species presence on the ground.
  • Efficiency vs. Power: While large satellite-based embeddings are powerful, they are computationally expensive and energy-intensive to train. The authors suggest that more efficient models like SINR, which don't require satellite imagery at inference time, might be a better trade-off for many practitioners.
  • Future Directions: The authors aim to expand the evaluation to include more diverse species, more metrics (like model calibration), and a wider variety of encoding methods.

Summary updated

Abstract

Understanding the spatial distribution of species is a key question in ecology. A variety of solutions, from statistical, traditional machine learning, through to deep learning-based methods have been proposed. These methods take sparse observations for a species of interest as input and aim to generate dense spatial outputs indicating the spatial range of the species. Orthogonal to the choice of statistical model used is the question of what input features are most informative. Thanks to recent developments, the number of options has greatly expanded, with choices spanning different climate variables, learning-based encodings, earth embedding models, or raw transformed geographic coordinates. In this work, we introduce a standardized evaluation framework and quantify the effectiveness of different location encodings in the context of species range estimation, both at the local and global scale.
BibTeX
@misc{lange2026evaluating,
  author = {Christian Lange and Oisin Mac Aodha},
  title = {{Evaluating the Effectiveness of Location Encoding Methods for Species Distribution Modelling}},
  year = {2026},
  eprint = {2611.24622},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.24622},
}
Figure