TaxaPLN: a taxonomy-aware augmentation strategy for microbiome-trait classification including metadata
Alexandre Chaussard, Anna Bonnet, Sylvain Le Corff, Harry Sokol · 2025
Read TaxaPLN: a taxonomy-aware augmentation strategy for microbiome-trait classification including metadata by Alexandre Chaussard, Anna Bonnet, Sylvain Le Corff, Harry Sokol (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2507-03588.txt.
Introduction
Alexandre Chaussard, Anna Bonnet, Sylvain Le Corff, and Harry Sokol present a computing paper from 2025 on gut microbe data. Microbe counts from stool can hint at disease, but data sets are small and the counts are sparse and skewed. Making fake data that rings true could help models learn.
Their method builds fake gut samples from a tree model that respects the family tree of microbes. A sampler drawn from real data keeps the fakes close to life. A second version also takes in facts about the host, like age or diet. On curated data sets, the fakes kept the living traits of real samples. Sorting scores held or rose, most with flexible classifiers. The host-aware version set a new mark for its class. Code is public under an open license.
Catalog record
| CREATOR | Alexandre Chaussard, Anna Bonnet, Sylvain Le Corff, Harry Sokol |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 65 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2507-03588
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
TaxaPLN: a taxonomy-aware augmentation strategy for microbiome-trait classification including metadata Alexandre Chaussard, Anna Bonnet, Sylvain Le Corff, Harry Sokol Abstract Motivation: The gut microbiome plays a crucial role in human health, making it a corner stone of modern biomedical research. To study its structure and dynamics, machine learning models are increasingly used to identify key microbial patterns associated with disease and environmental factors. However, microbiome data present unique challenges due to their compositionality, high-dimensionality, sparsity, and high variability, which can obscure meaningful signals. Besides, the effectiveness of machine learning models is often constrained by limited sample sizes, as microbiome data collection remains costly and time consuming. In this context, data augmentation has emerged as a promising strategy to enhance model robustness and predictive performance by generating artificial microbiome data. Results: The aim of this study is to improve predictive modeling from microbiome data by introducing a model-based data augmentation approach that incorporates both taxonomic relationships and covariate information. To that end, we propose TaxaPLN, a data augmentation method built on PLN-Tree generative models, which leverages the taxonomy and a data-driven sampler to generate realistic synthetic microbiome compositions. We further introduce a conditional extension based on feature-wise linear modulation, enabling covariate-aware generation. Experiments on high-quality curated microbiome datasets show that TaxaPLN preserves ecological properties and generally improves or maintains predictive performances, particularly with non-linear classifiers, outperforming state-of-the-art baselines. Besides, TaxaPLN conditional augmentation establishes a novel benchmark for covariate-aware microbiome augmentation. Availability and implementation: The MIT-licensed source code is available at https://github.com/AlexandreChaussard/PLNTree-package along with the datasets used in our experiments. keywords Data augmentation, Microbiology, Generative model, Variational inference 1 Introduction The human gut microbiome is a highly complex and diverse ecosystem composed of bacteria, fungi, and viruses living in our gastrointestinal tract. Its composition is determined via high-throughput sequencing technologies ( Knight et al. 2018 ) , and varies depending on numerous factors such as host genetics, diet, environmental exposure, lifestyle habits, and health condition ( Gilbert et al. 2018 ) . Despite the unique signature of each individual’s microbiome, growing evidence suggests that microbial composition can serve as a biomarker for various diseases, including Inflammatory Bowel Disease (IBD), Type 1 Diabetes (T1D), colorectal cancer (CRC), or psychiatric disorders such as schizophrenia ( Lloyd-Price et al. 2019 ; Kostic et al. 2015 ; Zeller et al. 2014 ; Yu et al. 2017 ; Zhu et al. 2020 ) . These insights have led to the integration of gut microbiome data into machine learning models for disease classification, prognosis, biomarker discovery, and bacterial interaction network inference ( Marcos-Zambrano et al. 2021 ; Chiquet et al. 2019 ) . However, leveraging microbiome data for predictive modeling remains challenging due to host-specific variability, high dimensionality, sparsity, and compositional constraints which raise challenges for model generalization ( Gloor et al. 2017 ; Quinn et al. 2018 ) . Additionally, thousands of microbial species inhabit the gut microbiome ( Rosenberg 2024 ) , often distributed in vastly different proportions across individuals. This inherent complexity aggravates the risk of overfitting in machine learning models, particularly when the cohort size is limited, yielding poor generalization. To mitigate these challenges, data augmentation has emerged as a promising approach to enrich training sets with synthetic samples ( Mumuni and Mumuni 2022 ) . Adapting traditional techniques such as SMOTE ( Chawla et al. 2002 ) , Mixup ( Zhang et al. 2018 ) , and generative adversarial networks (GAN) ( Goodfellow et al. 2014 ) , recent methods have focused on microbiome-specific augmentation, notably MB-GAN ( Rong et al. 2021 ) , Compositional CutMix, and Aitchison Mixup ( Gordon-Rodríguez et al. 2022 ) which tackle the compositional nature of microbiome data. Lately, approaches such as TADA ( Sayyari et al. 2019 ) , PhyloMix ( Jiang et al. 2025 ) , and PhylaGAN ( Sharma et al. 2024 ) have incorporated biological structures such as the taxonomy and phylogeny to guide the generation of synthetic samples, yielding improved predictive performances over earlier methods. Following these advances, we introduce TaxaPLN, a novel data augmentation strategy tailored to microbiome data that aims at improving predictive analysis. In contrast to prior approaches, TaxaPLN is a deep variational generative model based on the Poisson Log-Normal Tree (PLN-Tree) framework ( Chaussard et al. 2025 ) . By incorporating the microbial taxonomy as a structured prior on taxa distribution, TaxaPLN generates biologically faithful synthetic microbiome profiles using a variational mixture of posteriors (VAMP) sampler ( Tomczak and Welling 2018 ) . Additionally, we extend PLN-Tree with a conditional architecture based on Feature-wise Linear Modulation (FiLM) ( Perez et al. 2018 ) , enabling TaxaPLN to generate samples conditionally on exogenous metadata, thus allowing covariate-aware data augmentation in microbiome studies. We conduct a comprehensive evaluation of TaxaPLN on nine high-quality curated datasets from the curatedMetagenomicData database ( Pasolli et al. 2017 ) . First, we evaluate the fidelity of TaxaPLN-generated samples regarding the original cohorts using standard ecology diversity metrics, asserting valid downstream analysis. We then assess the practical utility of TaxaPLN in supervised learning tasks against several baseline augmentation methods. Our benchmark includes four widely used classifiers in microbiome research: logistic regression, random forest, XGBoost, and deep neural networks. Overall, we find that TaxaPLN preserves key biological properties of the cohorts while enhancing predictive performance, with notable gains on non-linear classifiers against baseline methods. In particular, TaxaPLN outperforms the standard PLN baseline, showing the interest of the taxonomy in microbiome modeling. Furthermore, performance increases in covariate-aware data augmentation establish a first baseline in conditional microbiome predictive analysis. 2 Material and methods 2.1 TaxaPLN augmentation 2.1.1 Framework Consider a supervised learning setting with n microbiome samples. Let \mathbf{X}\in\mathds{R}^{n\times K_{L}}_{+} the abundances matrix for the K_{L} taxa observed at the finest taxonomic level L , such that the i -th row \mathbf{X}_{i}\in\mathds{R}^{K_{L}}_{+} indicates the abundance of each taxon in the i -th sample. Each sample is paired with a binary or multiclass label \mathbf{Y}\in\{0,\dots,M\}^{n} describing the host trait of interest (e.g. disease status), and when available, the abundance can be joined with exogenous covariates \mathbf{C}\in\mathds{R}^{n\times d} (e.g. age, body-mass index, country) to be used as predictors. Upon sequencing microbial data, genome-resolved features are aggregated along a curated taxonomic hierarchy up to a level L of interest, typically the genus in 16S rRNA or the species in shotgun sequencing, offering an increasing resolution on the microbiome features as L grows. Thus, the obtained features are related through the taxonomy to form taxa-abundance data, establishing hierarchical compositional relationships along the taxonomy, as illustrated in Figure 1 . Formally, at level \ell\in\{1,\dots,L-1\} of the hierarchy, denoting by \mathrm{X}_{ik}^{\ell}\in\mathds{R}_{+} the abundance of taxa k at level \ell of the i -th sample, the taxa-abundance compositional property yields \mathrm{X}_{ik}^{\ell}=\sum_{j\in\mathcal{C}_{k}^{\ell}}\mathrm{X}_{ij}^{\ell+1}\;, where \mathcal{C}_{k}^{\ell} is the set of indices in \{1,\dots,K_{\ell+1}\} related to children taxa of taxa k at layer \ell . Although sequencing pipelines output integer count, the abundance is often normalized to assert the compositionality property of microbial samples ( Gloor et al. 2017 ) , from which counts can be recovered through multinomial sampling ( Chaussard et al. 2025 ; Holmes et al. 2012 ) . Given the microbial samples \mathbf{X} with corresponding traits labels \mathbf{Y} , the objective of data augmentation is to