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

arXiv: https://arxiv.org/abs/2610.39316 · HTML: https://mlsanity.com/paper/2610.39316/

## Key facts

- No citing papers in the map yet (data through 26 Nov 2026).
- Builds on 2 of its 23 references that are in the map.
- Submitted 29 Oct 2026.

## Builds on (most cited first, 2 of 2)

- [On the Opportunities and Risks of Foundation Models](https://mlsanity.com/paper/2108.07258/) (2021)
- [Phylogenetic Convolutional Neural Networks in Metagenomics](https://mlsanity.com/paper/1709.02268/) (2017)

## Abstract (arXiv)

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/.
