cs.LGOct 29, 2026

TaxoMFM: A Taxonomy-Aware Foundation Model for the Human Gut Microbiome

Authors: Haochen Xue, Anastasia Godneva, Yulong Li, Qi Cao, Zhaodong Wu, Kaiyu Liang, Jionglong Su, Eran Segal, 

Organizations: Xi’an Jiaotong-Liverpool University · Mohamed bin Zayed University of Artificial Intelligence · Weizmann Institute of Science

Abstract

Existing gut microbiome foundation models typically use flat taxon representations, limiting their ability to exploit known taxonomic hierarchies. We introduce TaxoMFM, a microbiome foundation model that integrates taxonomic structure into self-supervised learning. TaxoMFM jointly learns abundance patterns across taxonomic ranks and relative proportions within groups through taxonomy-aware encoding and hierarchical compositional reconstruction. We further construct TaxoGut-HPP, comprising 100,806 gut microbiome profiles from 231 source cohorts and covering 40 classification and 8 regression tasks. TaxoMFM achieves competitive performance across disease, gut health, host trait, and liver ultrasound phenotype prediction. In cross-cohort zero-shot transfer, where target cohorts are excluded from both pretraining and downstream adaptation, TaxoMFM achieves AUROCs of 0.838, 0.736, and 0.722 for colorectal cancer, type 2 diabetes, and inflammatory bowel disease, respectively. Further analyses show that TaxoMFM recovers community changes across taxonomic scales, while preserving community information and producing consistent representations under database updates and species-vocabulary shifts. Our code is available at https://anonymous.4open.science/r/TaxoMFM-F16D/.

Figures & tables

Appendix figures & tables9 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Are Tabular Foundation Models Robust to Realistic Query Distribution Shifts in Microbiome Data?

    Jun 23, 2026Giulia Perciballi, Ahmad Fall, Federica Granese +2Distribution Shift RobustnessTabular Foundation Models

  2. HyperTaxa: Multiscale Genome Representations for Generalized Microbial Taxonomic Inference

    Oct 19, 2026Akash Rao, Sushim Gupta, Vishalini Ramnath +2BioinformaticsRepresentation Learning

  3. Set-Aggregated Genome Embeddings for Microbiome Abundance Prediction

    May 12, 2026Younhun Kim, Georg K. Gerber, Travis E. GibsonRepresentation LearningGenomics