bioRxiv Science⌕ Search

bioRxiv · 10.64898/2026.11.26.769410

Tabular foundation models outperform Random Forests in predicting environmental variables from metabarcoding data.

Abstract

Supervised machine learning is increasingly used to predict environmental variables and biotic indices from environmental DNA (eDNA) metabarcoding data. Random Forests have become the de facto standard for this task. Tabular foundation models (TFMs) are transformers pretrained on millions of synthetic datasets that make predictions through in-context learning, without dataset-specific training or hyperparameter tuning. They now outperform tree ensembles on general tabular benchmarks. Whether this advantage carries over to metabarcoding data, which are sparse, compositional and have many more features than samples, is unclear. Here, we extend a published benchmark of environmental metabarcoding datasets with four TFMs (TabPFN v3, TabPFN v3.5, TabPFN v3.5-Fast and TabICL). We compare them with Random Forests, Gradient Boosted Trees and other conventional models across eleven regression and eight classification tasks from aquatic habitats, combining several feature-selection methods and two input representations. TFMs were the top-ranked approaches overall. In regression, the best TFM, TabPFN v3.5, outperformed the best conventional model on nine of ten datasets with increases in R^2 between 0.04 and 0.17. In classification, gains were small ({Delta}F1 [≤] 0.06), as several tasks were already saturated. TFM performance was largely insensitive to whether raw counts or relative abundances were used, and benefited at most from light rarity or variance filtering. These gains came at the cost of higher computational cost at inference time and, thus, longer runtimes. We conclude that TFMs are a strong default for predicting environmental variables from metabarcoding data, and we provide practical recommendations for their use in biomonitoring.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Schröder, H., Lüdtke, S., Sperlea, T.. 2026-11-30. Tabular foundation models outperform Random Forests in predicting environmental variables from metabarcoding data.. https://doi.org/10.64898/2026.11.26.769410. https://biorxiv.science/record/biorxiv%3A10.64898%2F2026.11.26.769410/tabular-foundation-models-outperform-random-forests-in-predicting-environmental-variables-from-metab

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite bioRxiv Science by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related preprints

Founder effects -- the initiation of population dynamics

Population dynamics is an emergent property built from the level of individuals; as individuals are born and die, the number, mass, and age structure of individuals in the population fluctuates. Population dynamics are central to some of the most serious and difficult problems faced by humanity, such as the accelerating extinction of species and loss of biodiversity. To understand how traits of individuals and their life course trajectories result in the emergent property of population dynamics, we utilized two tools: 1) A lab population system with the genetic model organism Caenorhabditis elegans; 2) An agent-based computational simulation that realistically models the lab population system. Here we focus on the initiation of a population in a new environment. This phase of population dynamics has many important implications, including reintroduction of species in the wild that are close to extinction. Here we demonstrate that two external factors are important for the initial behavior of the population - the number of animals that initiates the population, and the magnitude of the food in the environment, which establishes the steady state capacity of the system. To address how the traits of individual animals affect this process, we analyzed a loss-of-function mutation of the daf-2 gene; the mutants take much longer to establish a population, and the first maximum peak number is lower. daf-2 mutants display multiple defects, including changes in adult longevity, dauer formation, and egg laying. Using the simulation model, we analyzed virtual worms with some or all of these changes. This analysis suggests that defects in egg-laying and dauer formation are the key drivers of population dynamic changes displayed by the population of daf-2 mutants. This study establishes rigorously how specific traits of individual animals contribute to the emergent property of population dynamics.

ecology↗

Infection persistence, caste turnover, and host density shape divergent parasite seasonality in an invasive bumblebee

Understanding what drives parasite seasonality within dominant invasive species is critical for predicting disease risk in recipient communities. In Patagonia, the invasive bumblebee Bombus terrestris now dominates pollinator assemblages across the region while harboring a diverse parasite community. Here, we investigated the temporal dynamics and ecological drivers of parasite prevalence in B. terrestris across three sites in northern Patagonia, Argentina. Using periodic PCR screening throughout the active season (312 individuals) and hierarchical Bayesian autoregressive models, we evaluated how infection probabilities for trypanosomatids, microsporidians, and neogregarines responded to host abundance, floral availability, temporal persistence, caste identity, and site-level variation. Overall, parasite prevalence was 79.8%, with 35.3% of individuals harboring co-infections, yet the three parasite groups exhibited divergent seasonal trajectories. Neogregarines showed low temporal persistence and increased with host density. Conversely, trypanosomatids and microsporidians exhibited moderate and high temporal persistence, respectively, and were decoupled from host or floral abundance. Caste identity further structured infection risk, with queens showing lower prevalence than workers for neogregarines and trypanosomatids, and males exhibiting elevated microsporidian prevalence. Moreover, seasonal caste phenology and composition diverged sharply among nearby sites, including an anomalously early and high male representation at one site and prolonged queen-worker codominance at another. Together, these results demonstrate that invasive B. terrestris acts as a seasonally structured parasite reservoir whose infection and demographic dynamics vary markedly among geographically close populations, showing that invasive hosts do not necessarily function as homogeneous epidemiological units across landscapes.

ecology↗

Soil aggregates as islands: cluster sizes critically shape microbial biodiversity and community assembly

Soils hold over half of Earth's biodiversity, yet how so many microbes coexist in soil remains unclear. Soil aggregates may serve as habitat island patches, where island biogeography predicts richness tracking surface area, while metacommunity theory may explain how many small, separated patches help maintain diversity. Here, in a neotropical coffee agroforest, 1) microbial species richness increased with soil aggregate surface area, but was distributed more evenly than soil mass, 2) fungal but not bacterial assembly shifted with size, with increasing dispersal limitation over drift, contrasting assumptions of stronger determinism or selection, and 3) phylum-level drift and dispersal limitation crossed at 125-500 um near the typical 250 um micro-/macro-aggregate boundary, suggesting that intermediate aggregates may serve as 'critical clusters' within soil aggregate hierarchies. Results help extend aggregate hierarchy and island biogeography theories into soil microhabitats, supporting soil structure benefits to agricultural biodiversity.

ecology↗