The Second Brain: Diffusion Models for Realistic Human Microbiome Generation
Abstract
The human microbiome is a critical determinant of health and disease, but microbiome machine learning is constrained by limited data availability, heterogeneous cohort coverage, and privacy risks from individually identifying microbial signatures. Synthetic microbiome generation could support method development and privacy-preserving sharing, provided that generated samples preserve the ecological zero-inflation of real communities. We present a diffusion-based generative model with a sparsity-preserving decoder built around two sparsity-focused mechanisms: (1) prevalence-aware bias initialization that anchors per-taxon presence probabilities to observed prevalences from epoch one; and (2) a hard sparsity loss implemented with straight-through gradient estimators. The implementation also uses hyperbolic taxonomic embeddings as an unvalidated, phylogeny-aware architectural prior in the diffusion backbone. Evaluated on the American Gut Project (4,827 samples, 500 taxa), the full 15.2M-parameter model achieves parametric-level sparsity preservation: 1.4% deviation in the main comparison and 2.6%{+/-}0.5% deviation across three AGP seeds. SparseDOSSA2 achieves the lowest sparsity deviation in this comparison (0.7%), and MIDASim also passes the operational sparsity threshold (4.9%). Among the three threshold-passing methods, MIDASim achieves the best ecological distance scores, SparseDOSSA2 is best on sparsity deviation, and our model achieves the best prevalence correlation (0.996) while narrowly improving on SparseDOSSA2 on Bray-Curtis (0.0485 vs. 0.0495) and UniFrac (0.0400 vs. 0.0435) discrepancies. PERMANOVA remains able to distinguish generated from real AGP samples (F = 64.29), which we treat as an important limitation rather than evidence of indistinguishability. These results support a deliberately narrow conclusion: this is, to our knowledge, the first deep generative model to match parametric-level sparsity preservation for human microbiome profiles while remaining competitive on standard ecological distance metrics.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 0
- Organism
- Assay
- Research Focus
- Approach
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
- A Statistical Model for Describing and Simulating Microbial Community Profiles
Siyuan Ma, Boyu Ren, … Curtis Huttenhower·PLoS Computational BiologyPeer-reviewed·Sep 13, 2021
- MIDASim: a fast and simple simulator for realistic microbiome data
Mengyu He, Ni Zhao, Glen A. Satten·MicrobiomePeer-reviewed·Jul 22, 2024
- DeepBioSim: Efficient and Versatile Methods for Microbiome Data Simulation with Minimal Statistical Assumptions
Yiyang Shen, Shri Vishalini Rajaram, … Erliang Zeng·bioRxiv·Aug 21, 2025
- MB-GAN: Microbiome Simulation via Generative Adversarial Network
Ruichen Rong, Shuang Jiang, … Xiaowei Zhan·GigaSciencePeer-reviewed·Jan 29, 2021
- Using Conditional Generative Adversarial Networks to Boost the Performance of Machine Learning in Microbiome Datasets
Derek J. Reiman, Yang David Dai·International Conference on Deep Learning Theory and Applications (DeLTA)Peer-reviewed·Jan 1, 2020
- Genos-m: a foundation model for human-associated microbial genomes
Chao Fang, Fangming Yang, … Zhun Shi·bioRxiv·May 24, 2026