mlsanityData to 7 Oct 2026

Foundation for unbiased cross-validation of spatio-temporal models for species distribution modeling

arXiv 2502.03480 ↗First posted 27 Jan 2025stat.AP cs.LGcited by 2

Not on the map. Why?

Abstract (arXiv)

Evaluating the predictive performance of species distribution models (SDMs) under realistic deployment scenarios requires careful handling of spatial and temporal dependencies in the data. Cross-validation (CV) is the standard approach for model evaluation, but its design strongly influences the validity of performance estimates. When SDMs are intended for spatial or temporal transfer, random CV can lead to overoptimistic results due to spatial autocorrelation (SAC) among neighboring observations. We benchmark four machine learning algorithms (GBM, XGBoost, LightGBM, Random Forest) on two real-world presence-absence datasets, a temperate plant and an anadromous fish, using multiple CV designs: random, spatial, spatio-temporal, environmental, and forward-chaining. Two training data usage strategies (LAST FOLD and RETRAIN) are evaluated, with hyperparameter tuning performed within each CV scheme. Model performance is assessed on independent out-of-time test sets using AUC, MAE, and correlation metrics. Random CV overestimates AUC by up to 0.16 and produces MAE values up to 80 percent higher than spatially blocked alternatives. Blocking at the empirical SAC range substantially reduces this bias. Training strategy affects evaluation outcomes: LAST FOLD yields smaller validation-test discrepancies under strong SAC, while RETRAIN achieves higher test AUC when SAC is weaker. Boosted ensemble models consistently perform best under spatially structured CV designs. We recommend a robust SDM workflow based on SAC-aware blocking, blocked hyperparameter tuning, and external temporal validation to improve reliability under spatial and temporal shifts.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 7 of its 58 references that are in the map. First posted on arXiv 27 Jan 2025.

Builds on

7 of 58 references.

References · 7

  1. 2016XGBoost: A Scalable Tree Boosting Systemcited by 5,120
  2. 2018Tunability: Importance of Hyperparameters of Machine Learning Algorithmscited by 98
  3. 2018Hyperparameters and Tuning Strategies for Random Forestcited by 83
  4. 2021Species Distribution Modeling for Machine Learning Practitioners: A Reviewcited by 21
  5. 2020Estimating the Prediction Performance of Spatial Models via Spatial k-Fold Cross Validationcited by 14
  6. 2018Performance evaluation and hyperparameter tuning of statistical and machine-learning models using spatial datacited by 11
  7. 2022Machine Learning and Deep Learning -- A review for Ecologistscited by 11

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 2.

2 papers.