<scp>MaskSDM</scp> with Shapley values to improve flexibility, robustness and explainability in species distribution modelling

Abstract Species distribution models (SDMs) play a vital role in biodiversity research, conservation planning and ecological niche modelling by predicting species distributions based on environmental conditions. The selection of predictors is crucial, strongly impacting both model accuracy and how well the predictions reflect ecological patterns. To ensure meaningful insights, input variables must be carefully chosen to match the study objectives and the ecological requirements of the target species. However, existing SDMs, including both traditional and deep learning‐based approaches, often lack key capabilities for variable selection: (i) flexibility to choose relevant predictors at inference without retraining; (ii) robustness to handle missing predictor values without compromising accuracy; and (iii) explainability to interpret and accurately quantify each predictor's contribution. To overcome these limitations, we build upon and extend MaskSDM, a novel deep learning‐based SDM that enables flexible predictor selection by employing a masked training strategy, in which input variables are randomly hidden during training to simulate missing or ignored predictors. This approach allows the model to make predictions with arbitrary subsets of input variables while remaining robust to missing data. It also provides a clearer understanding of how adding or removing a given predictor affects model performance and predictions. Furthermore, we introduce a new method for computing Shapley values with MaskSDM, enabling precise assessments of predictor contributions and improving upon traditional approximations. We conduct an extensive evaluation of MaskSDM on the global sPlotOpen dataset, modelling the distributions of 12,738 plant species. Our results show that MaskSDM outperforms imputation‐based methods and closely approximates models trained on specific subsets of variables, while also providing key local and global insights into predictor contributions through more accurate Shapley value estimation. These findings underscore MaskSDM's potential to increase the applicability and adoption of SDMs, laying the groundwork for developing foundation models in SDMs that can be readily applied to diverse ecological applications.

Authors

Institutions

Publication Details

Journal
Methods in Ecology and Evolution
Published
2025-11-26
DOI
https://doi.org/10.1111/2041-210x.70200
Citations
2
Primary Topic
Species Distribution and Climate Change
Type
article
Field-Weighted Citation Impact
3.68
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

MaskSDM with Shapley values to improve flexibility, robustness and explainability in species distribution modelling

Devis Tuia, Gencer Sumbül, Robin Zbinden, Benjamin Kellenberger et al.
2 citations
Methods in Ecology and Evolution
Species Distribution and Climate Change
3.68
article

MaskSDM with Shapley values to improve flexibility, robustness and explainability in species distribution modelling

Devis Tuia, Gencer Sumbül, Robin Zbinden, Benjamin Kellenberger, Chiara Vanalli, Nina van Tiel
article en
2 citations

Abstract

Abstract Species distribution models (SDMs) play a vital role in biodiversity research, conservation planning and ecological niche modelling by predicting species distributions based on environmental conditions. The selection of predictors is crucial, strongly impacting both model accuracy and how well the predictions reflect ecological patterns. To ensure meaningful insights, input variables must be carefully chosen to match the study objectives and the ecological requirements of the target species. However, existing SDMs, including both traditional and deep learning‐based approaches, often lack key capabilities for variable selection: (i) flexibility to choose relevant predictors at inference without retraining; (ii) robustness to handle missing predictor values without compromising accuracy; and (iii) explainability to interpret and accurately quantify each predictor's contribution. To overcome these limitations, we build upon and extend MaskSDM, a novel deep learning‐based SDM that enables flexible predictor selection by employing a masked training strategy, in which input variables are randomly hidden during training to simulate missing or ignored predictors. This approach allows the model to make predictions with arbitrary subsets of input variables while remaining robust to missing data. It also provides a clearer understanding of how adding or removing a given predictor affects model performance and predictions. Furthermore, we introduce a new method for computing Shapley values with MaskSDM, enabling precise assessments of predictor contributions and improving upon traditional approximations. We conduct an extensive evaluation of MaskSDM on the global sPlotOpen dataset, modelling the distributions of 12,738 plant species. Our results show that MaskSDM outperforms imputation‐based methods and closely approximates models trained on specific subsets of variables, while also providing key local and global insights into predictor contributions through more accurate Shapley value estimation. These findings underscore MaskSDM's potential to increase the applicability and adoption of SDMs, laying the groundwork for developing foundation models in SDMs that can be readily applied to diverse ecological applications.

Methods in Ecology and EvolutionVol. 17(1)
Springer Nature (United Kingdom) (GB), University College London (GB), École Polytechnique Fédérale de Lausanne (CH)
Openalex Percentile: Top 7%
Species Distribution and Climate Change
3.68
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.