bioRxivBioinformaticsPreprint
Learning the Language of the Microbiome with Transformers
- Citations
- 0
Abstract
Self-supervised pretraining has become central to biological machine learning, yet microbiome data remains comparatively underexplored in terms of both modeling approaches and evaluation frameworks. To address this gap, we present Atlas, a pretraining dataset of 539,308 microbiome datapoints from the MGnify database. Using Atlas, we train the Waypoint family of microbiome foundation models: a series of GPT-2 style causal language models ranging from 6M to 170M parameters. We also introduce Compass, a curated benchmark of eight predictive tasks spanning biome classification, drug-microbiome interactions, drug degradation, and infant gut development. Using this benchmark, we compare the performance of Waypoint models against classical baselines and the existing MGM foundation model. Our results show that pretraining leads to consistent and significant improvements in downstream task performance, that both dataset scale and tokenization strategy impact model quality, that pretraining is essential for achieving favorable scaling behavior and that representations learned during pretraining generalise between microbiome domains. Furthermore, pretrained transformer models begin to reliably outperform classical methods once training data exceeds roughly 10,000 examples - a threshold that is attainable for modern microbiome studies. Finally, we demonstrate that the Waypoint models achieve state-of-the-art performance among microbiome foundation models. Overall, our work highlights the importance of large-scale self-supervised pretraining in this domain and establishes Atlas, Compass, and the Waypoint models as valuable resources for the research community in this emerging field.
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Microbial general model: Leveraging large language model for contextualized microbiome analysis
Haohong Zhang, Yuli Zhang, … Kang Ning·Advanced SciencePeer-reviewed·Jan 25, 2026
- BiomeGPT: A foundation model for the human gut microbiome
Nicholas A. Medearis, Siyao Zhu, Ali R. Zomorrodi·bioRxiv·Jan 5, 2026
- Learning a deep language model for microbiomes: the power of large scale unlabeled microbiome data
- Self-supervised learning enables robust microbiome predictions in data-limited and cross-cohort settings
Liron Zahavi, Zachary Levine, … Eran Segal·bioRxiv·Oct 19, 2025
- Towards a Generative Paradigm for Large-scale Microbiome Analysis by Generative Language Model
Haohong Zhang, Zixin Kang, … Kang Ning·bioRxiv·Jan 15, 2025
- ProkBERT Family: Genomic Language Models for Microbiome Applications
Balázs Ligeti, István Szepesi-Nagy, … János Juhász·Frontiers in MicrobiologyPeer-reviewed·Jan 11, 2024