bioRxivSystems BiologyPreprint
Self-supervised learning enables robust microbiome predictions in data-limited and cross-cohort settings
Liron ZahaviiD, Zachary LevineiD, Anastasia GodnevaiD, Veronika B. DubinkinaiD, Raja DhiriD, Katherine S. PollardiD, Adina WeinbergeriD, Eran SegaliD
Abstract
The gut microbiome plays a crucial role in human health, but machine learning applications in this field face significant challenges, including limited labeled data availability, high dimensionality, and batch effects across different cohorts. To address these limitations, we developed representation learning models for gut microbiome metagenomic data, drawing inspiration from foundation models approaches based on self-supervised and transfer learning principles. By leveraging a large collection of 85,364 metagenomic samples, we implemented multiple self-supervised learning methods, including masked autoencoders with varying masking rates and adapted single-cell RNA sequencing models (scVI and scGPT), to generate embeddings from bacterial abundance profiles. These learned representations demonstrated significant advantages over raw bacterial abundances in two key scenarios: first, when training predictive models with very limited labeled data, improving prediction performance for age (r = 0.14 vs. 0.06), BMI (r = 0.16 vs. 0.11), visceral fat mass (r = 0.25 vs. 0.18), and drug usage classification (PR-AUC = 0.81 vs. 0.73); and second, when generalizing predictions across different cohorts, consistently outperforming models based on raw abundances in cross-dataset evaluation. Our approach provides a valuable framework for leveraging self-supervised representation learning to overcome the data limitations inherent in microbiome research, potentially enabling more robust and generalizable machine learning applications in this field.
- organism: human
- assay: metagenomics
- research focus: benchmarking
- approach: deep learning
- approach: contrastive learning
- Citations
- 0
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
- Evaluating Few-Shot Meta-Learning using STUNT for Microbiome-Based Disease Classification
Chengyao Peng, Thomas Abeel·bioRxiv·Sep 9, 2026
- Microbial general model: Leveraging large language model for contextualized microbiome analysis
Haohong Zhang, Yuli Zhang, … Kang Ning·Advanced SciencePeer-reviewed·Jan 25, 2026
- Learning the Language of the Microbiome with Transformers
Neythen J. Treloar, Saif Ur-Rehman, Jenny Yang·bioRxiv·Sep 10, 2026
- Beyond Microbial Abundance: Metadata Integration Enhances Disease Prediction in Human Microbiome Studies
André Ricardo Gonçalves, Hiranmayi Ranganathan, … Nicholas A. Be·Frontiers in MicrobiologyPeer-reviewed·Jan 21, 2026
- DeepMicro: deep representation learning for disease prediction based on microbiome data
Min Oh, Liqing Zhang·Scientific ReportsPeer-reviewed·Apr 7, 2020
- Learning a deep language model for microbiomes: the power of large scale unlabeled microbiome data