Spatial Implicit Neural Representations for Global-Scale Species Mapping

Elijah Cole, Grant Van Horn, Christian Lange, Alexander Shepard, Patrick Leary, Pietro Perona, Scott Loarie, Oisin Mac Aodha

Introduction

Understanding the geographical distribution of species—a field known as Species Distribution Modeling (SDM)—is a cornerstone of modern conservation biology and ecology. However, mapping the living world at a global scale presents significant challenges. Traditional ecological models often rely on "presence-absence" data, which requires confirmed records of where a species is not found. In reality, most available data is "presence-only," sourced from crowdsourced platforms like iNaturalist. Furthermore, traditional models typically analyze one species at a time and require manually curated environmental variables, such as temperature or precipitation, making them difficult to scale across tens of thousands of species.

To address these limitations, researchers have introduced Spatial Implicit Neural Representations (SINRs). Inspired by the success of Neural Radiance Fields (NeRFs) in computer vision, SINRs treat the Earth's surface as a continuous coordinate space, learning to map raw GPS coordinates directly to species presence probabilities for over 47,000 species simultaneously.

Methodology

Architecture

The SINR framework utilizes a deep coordinate-based neural network. The architecture consists of two primary components:

  1. Location Encoder: A deep residual network that takes longitude and latitude as input. These coordinates are processed using sinusoidal encoding to allow the network to capture high-frequency spatial details.
  2. Multi-label Classifier: The high-dimensional spatial features produced by the encoder are fed into a classifier that predicts the probability of presence for 47,375 distinct species.

Learning from Presence-Only Data

A major hurdle in using crowdsourced data is the lack of confirmed absences. To train the model, the authors employed an "assume negative" strategy ($\mathcal{L}_{AN-full}$). This loss function treats unobserved locations as "pseudo-negatives" by contrasting observed species at a specific location against random global locations and random species, providing the necessary signal for the model to learn range boundaries.

Evaluation and Benchmarks

The model was trained on a massive dataset of 35.5 million iNaturalist observations. To rigorously test its performance, the researchers utilized four distinct benchmarks:

  • S&T (eBird Status & Trends): Comparison against expert-derived bird maps in North America.
  • IUCN: Comparison against global expert range maps for 2,418 diverse species.
  • Geo Prior: Evaluating the model's ability to act as a geographical prior to improve image classification (e.g., distinguishing between visually similar species based on location).
  • Geo Feature: A transfer learning task where the model's learned spatial features were used to predict environmental variables like elevation and biomass.

Key Insights

Implicit Environmental Learning

One of the most significant findings is that SINRs implicitly learn to represent the environment. Despite being trained only on coordinates, the model effectively reconstructs maps of elevation and climate. This occurs because environmental factors dictate species distributions; by learning where species live, the model inherently learns the underlying environmental features of those locations.

The Benefit of Joint Learning

The research demonstrates that learning 47,000 species simultaneously is superior to modeling species in isolation. The model shares information across taxa; for instance, learning the range of a specific tree species provides the model with contextual information that improves its predictions for the birds or insects that inhabit those trees.

Efficiency of Coordinates

While adding explicit environmental covariates (like rainfall) provides a slight performance boost, the coordinate-only SINR achieves 93-97% of the performance of models with full environmental data. This suggests that geographic coordinates alone are a powerful proxy for complex ecological niches.

Results

  • Superior Accuracy: On the S&T (eBird) benchmark, the SINR achieved a Mean Average Precision (MAP) of 77.15, vastly outperforming traditional Logistic Regression, which scored 26.41.
  • Scalability: The model showed consistent performance improvements as the number of species and the volume of data increased, proving its efficacy for global-scale tasks.
  • Downstream Impact: When used as a geographical prior for computer vision, the SINR improved Top-1 image classification accuracy by over 6%, demonstrating its utility in real-world biological identification tools.
  • Low-Shot Performance: Remarkably, even for species with as few as 10 observations, the SINR outperformed traditional discretized grid models that had access to the entire dataset.

Limitations and Future Work

Despite its success, the model faces several challenges. The training data is geographically biased toward North America and Europe, potentially limiting accuracy in the Global South. Additionally, the current model is "temporally blind," meaning it does not account for seasonal migrations or long-term range shifts caused by climate change. Future iterations may incorporate spherical geometry to better represent the Earth's surface and improved calibration techniques to turn model scores into true statistical probabilities.

Summary updated

BibTeX
@inproceedings{cole2023spatial,
  author = {Elijah Cole and Grant Van Horn and Christian Lange and Alexander Shepard and Patrick Leary and Pietro Perona and Scott Loarie and Oisin Mac Aodha},
  title = {{Spatial Implicit Neural Representations for Global-Scale Species Mapping}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=C6IDiP5Or9},
}
Figure