bioRxiv · 10.1101/2024.12.30.630825
Microbial general model: Leveraging large language model for contextualized microbiome analysis
Abstract
Microbial communities significantly impact medicine, biotechnology, and agriculture. Advanced sequencing technologies have generated extensive microbiome data, enabling the discovery of substantial evolutionary and ecological patterns. However, traditional supervised learning methods struggle to capture universal patterns in microbial community data, largely due to the large data heterogeneity and profound batch effects among samples, rendering it difficult to classify samples as well as detect biomarkers from millions of samples, not to say the intricate but important dynamic patterns from a variety of contextualized sceneries. In this study, we introduce the Microbial General Model (MGM), the first microbiome community foundation model pre-trained on a dataset of 263,302 microbiome samples using language modeling techniques. MGM demonstrated significant improvements in microbial community classification compared to traditional machine learning methods. Additionally, MGM has enabled contextualized classification, effectively overcomes cross-regional limitations, showing enhanced performance on intercontinental datasets through transfer learning. Furthermore, fine-tuning MGM on a longitudinal infant dataset revealed distinct keystone genera during development, with Bacteroides and Bifidobacterium exhibiting higher attention weights in vaginal deliveries, and Haemophilus in cesarean deliveries. Finally, through in silico modeling, the model also uncovered novel microbial dynamic patterns in a Crohns disease cohort following antibiotic treatment. In conclusion, by leveraging self-attention and autoregressive pre-training, MGM serves as a versatile model for various downstream microbiome tasks and holds significant potential for achieving contextualized aims. Key pointsO_LIThe Microbial General Model (MGM) is a foundation model with millions of parameters pre-trained on sub-million microbial community data. C_LIO_LIMGM outperforms traditional methods in various microbiome classification and prediction tasks, such as microbial community classification. C_LIO_LIMGM effectively captures the spatial and temporal dynamics of microbial communities. C_LIO_LIMGM could detect the effects of perturbation on microbial community through in silico experiments. C_LI
Source connections
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Zhang, H., Kang, Z., Zhang, Y., Song, L., Ning, K., Yang, R.. 2025-01-01. Microbial general model: Leveraging large language model for contextualized microbiome analysis. https://doi.org/10.1101/2024.12.30.630825
Cite the original work for its findings. Save a collection to share your selection of sources.