Feedforward Few-shot Species Range Estimation

Christian Lange, Max Hamilton, Elijah Cole, Alexander Shepard, Samuel Heinrich, Angela Zhu, Subhransu Maji, Grant Van Horn, Oisin Mac Aodha

TL;DR

Researchers have developed FS-SINR, a Transformer-based model that can estimate a species' global range from just a handful of observations and optional metadata (like text descriptions or images). Unlike previous methods that require time-consuming retraining for every new species, FS-SINR works in a single "feedforward" pass, making it orders of magnitude faster and significantly more accurate in the data-scarce "few-shot" regime.

What Problem Does This Paper Address?

Understanding where species live is fundamental to conservation, yet we are flying blind for most of the planet's biodiversity. While platforms like iNaturalist have millions of observations, the data is "long-tailed": over half of the 373,000 cataloged species have fewer than ten recorded sightings.

Traditional Species Distribution Models (SDMs) struggle here. They typically require large amounts of data to learn a species' unique environmental niche. Recent deep learning approaches, like Spatial Implicit Neural Representations (SINR), can learn across thousands of species simultaneously, but they still require a "fine-tuning" step—essentially retraining part of the model—whenever a new species or observation is added. This is computationally expensive and prevents interactive use by ecologists in the field.

Methods

The authors introduce Few-shot Spatial Implicit Neural Representations (FS-SINR). The core innovation is treating species range estimation as a set-to-map problem processed by a Transformer.

The FS-SINR architecture processes sightings, text, and images into a species encoding to predict presence at any query location.

The model takes three types of input:

  1. Context Locations: A set of coordinates where the species has been seen.
  2. Text: Descriptions of habitat or range (encoded via a frozen LLM, GritLM).
  3. Images: Photos of the species (encoded via a frozen Vision Transformer, EVA-02).

These inputs are tokenized and passed through a Transformer encoder. The Transformer outputs a "class token" (CLS), which is then processed by a small MLP to create a unique species embedding. To predict if a species exists at a new "query" location, the model simply calculates the inner product between this species embedding and a pre-computed embedding of the query location. Because it’s a single forward pass, it requires no gradient updates at inference time.

Datasets

  • Training: 35.5 million citizen-science records from iNaturalist, covering over 47,000 species.
  • Evaluation: Two gold-standard benchmarks:
  • IUCN: Expert-derived range maps for 2,418 diverse species.
  • S&T (Status and Trends): High-quality model-derived maps for 535 North American bird species.
  • Metadata: 127,000 Wikipedia text sections and 200,000 iNaturalist images.

Crucially, all evaluation species were held out during training to test the model's ability to generalize to entirely "unseen" species (zero-shot and few-shot scenarios).

Key Insights and Ideas

  • Text is a Powerful Prior: In "zero-shot" scenarios (where no sightings are available), text descriptions are far more informative than images. A simple description like "found in the Andes" allows the model to generate a plausible initial map before a single coordinate is provided.
  • Feedforward Efficiency: By removing the need for retraining, FS-SINR is roughly 15 to 50 times faster than previous state-of-the-art models (LE-SINR) while running on the same hardware.
  • Modality Fusion: The Transformer architecture naturally handles variable numbers of observations. As more sightings are added, the model's prediction "contracts" from a broad regional guess to a specific, data-driven range.
  • Mapping the Abstract: Because it uses a pre-trained LLM, the model can spatially ground non-species concepts. It can generate maps for prompts like "mountain range" or "tropical climate" even though it wasn't explicitly trained to do so.

Key Results

FS-SINR achieves state-of-the-art performance across the board, but its lead is most dramatic when data is scarcest. It consistently outperforms baselines like SINR and LE-SINR. In the "very low data" regime (fewer than 5 observations), the performance gap is significant. Qualitatively, the model produces much sharper and more ecologically sensible maps than previous methods, which often produced "blurry" or overly diffuse ranges when given only one or two points.

Limitations and Future Work

  • Deterministic Outputs: Currently, the model provides a single "best guess" map. The authors suggest that future versions could use ensembling or stochastic layers to better represent the uncertainty inherent in few-shot estimation.
  • Presence-Only Bias: The model is trained on where species are, not where they aren't. It doesn't yet have a formal way to incorporate "confirmed absence" data, which is valuable for refining range boundaries.
  • Data Biases: Like all models trained on citizen science data, it inherits geographical biases (e.g., more data in North America and Europe). While FS-SINR is more robust to these than previous models, the underlying "long tail" of biodiversity remains a challenge.

Summary updated

BibTeX
@inproceedings{lange2025feedforward,
  author = {Christian Lange and Max Hamilton and Elijah Cole and Alexander Shepard and Samuel Heinrich and Angela Zhu and Subhransu Maji and Grant Van Horn and Oisin Mac Aodha},
  title = {{Feedforward Few-shot Species Range Estimation}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=u08HAb5WyC},
}
Figure