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

DevFeed: [TaxoMFM: A Taxonomy-Aware Foundation Model for the Human Gut Microbiome](<https://devfeed.tech/articles/taxomfm-a-taxonomy-aware-foundation-model-for-the-human-gut-microbiome-108789.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.39316>)

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

Published: 2026-10-30T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [AI Foundation Models](<https://devfeed.tech/topics/ai-foundation-models.md>), [Representation learning](<https://devfeed.tech/topics/representation-learning.md>), [generalization in machine learning](<https://devfeed.tech/topics/generalization-in-machine-learning.md>), [Neural Network](<https://devfeed.tech/topics/neural-network.md>)

Tags: [cancer](<https://devfeed.tech/tags/cancer.md>), [classification](<https://devfeed.tech/tags/classification.md>), [community](<https://devfeed.tech/tags/community.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [database](<https://devfeed.tech/tags/database.md>), [disease](<https://devfeed.tech/tags/disease.md>), [foundation-model](<https://devfeed.tech/tags/foundation-model.md>), [prediction](<https://devfeed.tech/tags/prediction.md>), [regression](<https://devfeed.tech/tags/regression.md>), [self-supervised-learning](<https://devfeed.tech/tags/self-supervised-learning.md>), [taxonomy](<https://devfeed.tech/tags/taxonomy.md>), [type-2-diabetes](<https://devfeed.tech/tags/type-2-diabetes.md>), [zero-shot](<https://devfeed.tech/tags/zero-shot.md>)

## AI overview

TaxoMFM incorporates gut microbiome taxonomic hierarchy into self-supervised learning, jointly modeling abundance patterns across taxonomic ranks and relative proportions within groups through taxonomy-aware encoding and hierarchical compositional reconstruction. The accompanying TaxoGut-HPP dataset contains 100,806 profiles from 231 cohorts and covers 40 classification and 8 regression tasks. The authors report competitive results across disease, gut health, host traits, and liver ultrasound phenotype prediction. In zero-shot cross-cohort transfer, with target cohorts excluded from pretraining and downstream adaptation, reported AUROCs are 0.838 for colorectal cancer, 0.736 for type 2 diabetes, and 0.722 for inflammatory bowel disease. Further analyses indicate that the model captures community changes across taxonomic scales and produces consistent representations under database updates and species-vocabulary shifts.

## Source excerpt

arXiv:2610.39316v1 Announce Type: new 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/.