Manuscript Offprint

arXiv:2609.03603

Neural-Network Maxent: a general extension with learned nonlinearity, applied to time-series for Desert Locust distribution modelling

Alessandro Grassi, Edoardo Kimani Bellotto, Wassim El Azami, Sabrina Outmani, Maximilien Houel

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Species Distribution Modelling (SDM) is essential for understanding how environmental conditions shape biodiversity, particularly for destructive pests such as the Desert Locust (Schistocerca gregaria), whose breeding dynamics are tightly coupled to rapidly evolving environmental conditions. Maxent has become the dominant method for presence-only data, but its reliance on a linear combination of hand-chosen feature transforms limits its ability to capture the nonlinear, temporal relationships common in ecological monitoring, where covariates such as precipitation, soil moisture, and vegetation indices evolve meaningfully over time. Standard implementations flatten time-series covariates into independent features, discarding sequential structure that carries critical signal. We introduce RNN-Maxent, an extension of the Maxent framework that replaces the fixed feature dictionary with a neural network—specifically a Gated Recurrent Unit (GRU)—trained end-to-end via backpropagation. The approach preserves Maxent’s presence-only statistical foundations, background normalization, and probability calibration, differing only in that the nonlinearity is learned from data rather than fixed in advance. We apply RNN-Maxent to map suitable habitat for the Desert Locust using 50-day environmental time series derived from ERA5-Land, MODIS, and Sentinel-3, maintaining a 7-day gap between covariates and presence records to yield forecasting behaviour. Compared against standard Maxent, RNN-Maxent improves performance across metrics (ROC-AUC 0.862 ± 0.036 vs. 0.792; F1 0.671 ± 0.056 vs. 0.590). Critically, RNN-Maxent flags a smaller fraction of the samples while capturing similar amount of Desert Locust findings, producing a tighter, more actionable footprint for control operations. Building on these suitability predictions, we further propose a stochastic migration model — a biased random walk on a 2D lattice — that ingests RNN-Maxent outputs and integrates Destination Earth Digital Twin data to simulate adult locust dispersion and swarm formation, offering a complementary tool for early warning systems operating over large, remote, and hard-to-access regions within the processing domain, from West Africa to Northwest Asia.

Keywords: Species Distribution Modelling, Maxent, Neural Network, Desert Locust, presence-only data, habitat suitability, migration modelling, early warning, Destination Earth

1 Introduction

Understanding how environmental conditions affect geographical distribution of species is extremely important for studying biodiversity and estimating how it might vary in response to climate change or weather conditions. Some species, of both animals and plants, become extremely dangerous when growing in large numbers, potentially damaging the environment around them. The Desert Locust (Schistocerca gregaria) makes a concrete example of such a threatening species. Understanding their behavior would grant better precision in control operations aiming at containing such pests.

Among Species Distribution Modelling (SDM) approaches, Maxent [23] has established itself as the dominant method for presence-only data [1] [22]. However, its reliance on a linear combination of input features limits its capacity to capture complex, nonlinear relationships between environmental variables and species presence. This limitation becomes particularly evident when the input data carries a temporal structure, as is common in ecological monitoring scenarios where covariates such as precipitation, soil moisture, and vegetation indices evolve over time in ways that are ecologically meaningful. Standard Maxent implementations typically flatten time-series covariates into independent features, discarding the sequential ordering and temporal dependencies that carry critical signal.

This paper proposes an extension of the Maxent framework, creating a model that keeps the qualities of the original approach while adding a neural network at its core, capable of understanding non-linear patterns. The specific implementation of this novel approach discussed in this article uses a recurrent neural network, specifically a Gated Recurrent Unit (GRU) [6], in place of the linear feature transformation; we refer to it as RNN-Maxent. RNN-Maxent preserves the presence-only statistical foundations and probability-of-presence output while gaining the capacity to learn nonlinear temporal dynamics from environmental time series, trained end-to-end via backpropagation [25]. To avoid confusion, from now on we refer to the original Maxent as Vanilla-Maxent.

To demonstrate its effectiveness, we apply RNN-Maxent to the task of mapping suitable habitat for the Desert Locust, which is considered one of the most destructive migratory pests on Earth and a species whose breeding dynamics is tightly coupled to rapidly evolving environmental conditions [28]. Results are compared directly against standard Maxent, validating the advantage of explicitly modeling temporal covariate dynamics in presence-only species distribution modeling.

References (28)