BIOTRAM: Biochemistry-informed Transformer for Relative Abundance via Metabarcoding

summary

The gist

Arthropod monitoring at scale is often limited by metabarcoding, which identifies taxa but fails to account for relative abundance due to variations in DNA amplification rates and specimen body sizes.

In short

BIOTRAM is a neural network designed to estimate per-taxon specimen counts from metabarcoding data by learning read yield specific to each specimen. It uses Barcode Index Numbers (BIN) as its unit and predicts physical quantities like body size. The model significantly reduced composition divergence and achieved lower count error compared to baselines, proving it accurately estimates relative abundance.

Key concepts

BIOTRAM
A neural network architecture that estimates the number of specimens for each taxon by learning how much DNA each individual contributes and how efficiently it is amplified. It uses Barcode Index Numbers (BIN) as its unit to link observed reads to estimated counts.
Read Yield Estimation
The core function of BIOTRAM is to estimate the specific read yield for every specimen. This involves dividing observed read counts for a taxon by a learned yield per specimen, which accounts for both the DNA content of that individual and the efficiency with which its DNA was amplified during sequencing.
Composite Loss Function
BIOTRAM minimizes a complex loss function that balances several objectives: accurately predicting count likelihood, maintaining composition similarity, ensuring presence is detected, and linking predicted reads per specimen to actual observed values. This comprehensive approach guides the model's learning process.

Terminology used across episodes

This episode discusses

The paper

BIOTRAM: Biochemistry-informed Transformer for Relative Abundance via Metabarcoding · Read on arXiv

Emma Boehly, Scott C. Lowe, Ken A. Thompson, Anthony Fuller, Will Armstrong, Iuliia Zarubiieva, Neelu Madan, Tiancheng Gao, Sameer Padhye, Jayme Sones, © Kate H. J. Perez, © Bess Hardwick, IJ Brendan Furneaux, ⅸ Evgeny V. Zakharov, Dirk Steinke, Jeremy R. deWaard, Stephanie L. deWaard, Jaclyn McKeown, Norman Monkhouse, Cole Pace, Ū Sujeevan Ratnasingham, œ Raina Schmuck, Ł Amy Thompson, … Jorge L. León-Corts, Luciano Cagnolo, Julieta Soledad Arena, Jeremías Domnguez Mascruale, Errol Douwes, № Elli Groner, Ŋ Masae Iwamoto Ishihara, Shunsuke Matsuoka, Mailyn A. Gonzalez, … Alexandre Antonelli, œ Renata S. Sousa-Lima, Armin Niessner, Patrcia Guedes, œ Elizabeth G. Biro, Ž Zuania Coln-Piro, Dezene P. W. Huber, Santosh Mazumdar, Magda Bou Dagher Kharrat, Eddie P. Mondejar, Pablo Luis Tubaro, É Eugene Marais, ō Marie-Eugénie Maggia, Darso Alejandro Lijtmaer, Sean W. J. Prosser, Andrea Murillo-Vazquez, Paola Pulido-Santacruz, ℳ Paula Leitman, ř Thiago Arnt Dorigo, Nao Ito, Paul Knoops, Ŋ Maria L. Kuzmina, Hikaru Morishita, Keishi Kimoto, Dimby Raharinjanahary, ⅸ Rhian J. Smith, œ Solny A. Adalsteinsson, Kevin G. Borja-Acosta, Paul Amouroux, Angela M. Mendoza-Henao, É Angélica Diaz-Pulido, Anamaria Dal Molin, Luke L. Powell, ⅸ Diego Inclan, Alice Calvente, David Dunson, ń Brian Fisher, Tomas Roslin, Otso Ovaskainen, œ Paul D. N. Hebert

University of Guelph · Vector Institute · Centre for Biodiversity Genomics · Aalborg University · University of Helsinki · ⅸ University of Jyvaskyla Centre for Biodiversity Genomics Institute for the Frontera Sur Universidad Nacional de Córdoba Universidad del Rosario Independent Researcher Universidade Federal do Rio Grande do Norte Hochschule für Forstwirtschaft Rottenburg Faculdade de Cincias da Universidade de Lisboa Washington University in St. Louis University of Florida University of Northern British Columbia Bangladesh Forest Research Institute Alliance for Environment and Community Development Université Saint-Joseph European Forest Institute Mindanao State University Iligan Institute of Technology Premier Research Institute of Science and Mathematics Museo Argentino de Ciencias Naturales Universidad de Buenos Aires Gobabeb Namib Research Institute Andes Amazon Fund Universidad del Rosario Independent Researcher Universidade Pedaggica y Tecnológica Universidad Mayor

Arthropod monitoring at scale begins with metabarcoding of bulk samples: trap collections of hundreds to thousands of specimens processed as one unit, extraction of DNA from the bulked specimens, then sequencing of the DNA from all specimens together. Metabarcoding reveals which taxa such a sample contains, but due to factors such as differing DNA amplification rates and body sizes, its read counts do not neatly correspond to how abundant the different taxa are relative to one another. This lack of relative abundance limits the data's utility for the multitude of ecological analyses that depend on it. We propose BIOTRAM: a neural network that estimates per-taxon specimen counts by dividing the observed read counts by a learned read yield per specimen, which it factors into the DNA each specimen contributes and how efficiently that DNA is amplified. On a paired dataset of 1,188 bottles (800 k specimens) processed both by metabarcoding and by comprehensive individual barcoding for ground-truthing, BIOTRAM reduces the Jensen-Shannon divergence between the estimated and the true composition from 0.3586 for raw read proportions (the usual proxy for abundance) to 0.1200. Trained on the same objective and inputs as four generic deep architectures, all with tuned loss weights, it reaches a count error 3.2% below that of the strongest of them and the lowest composition divergence. It also generalizes to out-of-domain data better, beating all baselines on bottles from unseen regions, later collection dates and unseen sequencing batches, and transferring to data from an unseen laboratory. Structuring the mapping from reads to counts around the steps of the experimental pipeline thus yields more accurate abundance estimates than leaving that mapping unconstrained.

Transcript

Introduction to the show: ident: Genomics Radio. Generated commentary on the latest computational biology and genomics papers.

Ines: We're looking at the paper: "BIOTRAM: Biochemistry-informed Transformer for Relative Abundance via Metabarcoding".

Marcus: Here's the gist of the paper. Arthropod monitoring at scale is often limited by metabarcoding, which identifies taxa but fails to account for relative abundance due to variations in DNA amplification rates and specimen body sizes.

Ines: BIOTRAM is proposed as a neural network designed to estimate per-taxon specimen counts by learning the read yield specific to each specimen.

Marcus: This estimation is achieved by dividing observed read counts for a taxon by a learned yield per specimen, which incorporates both the DNA contributed by that individual and the efficiency of its amplification.

Ines: The model's structure is intrinsically linked to the experimental pipeline, using Barcode Index Numbers (BIN) as its taxonomic unit.

Paper summary: Ines: So we're going over "BIOTRAM: Biochemistry-informed Transformer for Relative Abundance via Metabarcoding" again. The central idea here is that traditional metabarcoding just gives us a species list, and BIOTRAM proposes using a neural network to estimate the actual number of specimens per taxon in those samples.

Marcus: It claims this estimation works by learning the read yield specific to each specimen, and it does this by dividing the observed read counts for a taxon by a learned yield that incorporates both how much DNA that individual contributes and how efficiently its amplification goes.

Yuki: So why is this important? Because insect diversity is huge, but quantifying it reliably has been difficult for a long time. This paper suggests that linking the species list to physical properties like body size and primer binding efficiency can give us a better picture of the abundance we are missing.

Ines: The model produces latent predictions for these physical properties, and those predictions directly shape how the specimen counts relate to the observed read counts per BIN across different bottles. It’s not just guessing; it’s using biological and chemical knowledge baked into the model's structure.

Marcus: They frame it as a staged model, moving beyond a simple approach by basing it on the biochemical properties of the metabarcoding process itself, which is what makes it distinct from naïve models.

Yuki: From my perspective, this means we can use this to get relative abundance estimates across huge scales where manually counting individuals is just impossible. It’s about scaling our understanding of insect populations beyond just presence and absence.

Ines: The paper sets out a controlled evaluation under distribution shift, meaning they tested it against data from different collection locations, different time points, and even sequencing methods from other labs to see if it held up outside the training set.

Marcus: They also used a paired dataset of one thousand one hundred eighty-eight bottles processed with both metabarcoding and individual barcoding to create a ground-truthing dataset that's much larger than what existed before.

Conclusion: Ines: So, looking at the BIOTRAM paper again, it’s really about using biochemistry to inform a transformer to estimate relative abundance from metabarcoding data. The authors are demonstrating that this structure allows for the prediction of physical traits like body size and primer efficiency as intermediate steps in linking specimen counts to read counts.

Marcus: The core takeaway for me is that they managed to get significantly lower composition divergence, dropping it from zero point three five eight six down to zero point one two zero zero on raw read proportions, which shows the model is much better at capturing the true species mix.

Yuki: And for the wider field, this suggests that when we combine high-throughput sequencing with biological knowledge about how DNA is amplified, we can start getting estimates of insect abundance that are more reliable than just relying on species lists alone.

Ines: It’s about building a tool that doesn't just report what's there, but attempts to quantify the actual numbers behind those reports, which is a fundamental shift in how we analyze biodiversity data.

More episodes

← Home