bioRxivEcologyPreprint
STEM-LM: Spatio-Temporal Ecological Modeling via Masked Language Model for Multi-Species Distribution
Jacky Kaiyuan LiiD, Wonseop LimiD, Robin RheemiD, Fiona Margaret CallahaniD, Levi Yoder RaskiniD, Maya Lemmon-KishiiD, Rasmus NielseniD
Abstract
Species distribution models (SDMs) are central to biodiversity forecasting and conservation decision-making. As ecological datasets grow in size, dimensionality, and resolution, there is a need for flexible yet scalable SDMs tailored to large-scale species observation data. Inspired by the masked modeling approach in natural language processing and genomics, if we treat each species' presence or absence as a token, and a site's species assemblage together with its spatio-temporal and ecological covariates as analogous to a sentence, we can learn joint co-occurrence structure by reconstructing masked species from their neighboring sites. We propose STEM-LM, a Transformer-based SDM that applies masked language modeling to multi-species distribution modeling with explicit consideration of spatio-temporal structure. By applying dynamic masking rates during training, a single trained model can support both purely spatio-temporal/ecological prediction and prediction conditioned on arbitrary subsets of observed species. On a North American butterfly dataset, a Northeast US demersal fish trawl survey, and a global plant distribution dataset, STEM-LM has the highest discrimination (AUROC) among all compared methods, and its rank-monotonicity (continuous Boyce index) is either the best or close to the best.
- Citations
- 0
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Incorporating environmental time series into species distribution models
A. M. Smith, C. Capinha, A. M. Kramer·bioRxiv·Oct 26, 2022
- Flexible Methods for Species Distribution Modeling with Small Samples
Brian Maitner, Robert L. Richards, … Cory Merow·EcographyPeer-reviewed·Jan 21, 2026
- Building realistic assemblages with a Joint Species Distribution Model
David J. Harris·bioRxiv·Apr 9, 2014
- Multi-scale neural networks enhance species distribution modelling across predictors and taxonomic groups
Nina van Tiel, Robin Zbinden, … Devis Tuia·Ecological InformaticsPeer-reviewed·May 16, 2026
- Data quantity is more important than its spatial bias for predictive species distribution modelling
W. B. Gaul, D. Sadykova, … J. M. Yearsley·bioRxiv·May 24, 2020
- The best of two worlds: using stacked generalization for integrating expert range maps in species distribution models
J. Oeser, D. Zurell, … T. Kuemmerle·bioRxiv·Mar 12, 2024