LiteMicroFormer: A Lightweight Attention-Guided Transformer with Adaptive Cluster Under-Sampling for Metagenomic Disease Prediction.
Md Tafhimul Haque Sadi, Sultanul Arifeen Hamim, Dunren Che, Tessema Mengistu, Mejdl Safran
Department of Computer Science and Engineering, American International University-Bangladesh (AIUB), Dhaka 1229, Bangladesh. · Department of Electrical Engineering and Computer Science, Texas A&M University-Kingsville, Kingsville, TX 78363, USA.
Key points
From the paper's conclusion- These results demonstrate strong internal predictive performance, while independent cross-cohort generalizability remains to be established.
Abstract
High-dimensional microbial abundance profiles, limited sample sizes, and severe class imbalance make accurate disease prediction from human gut metagenomics challenging. To address these limitations, we propose LiteMicroFormer, a lightweight attention-guided transformer framework for disease-specific binary classification using species-level microbiome profiles and metadata. LiteMicroFormer embeds species values, applies feature-gating attention, extracts microbial representations through a transformer, fuses metadata, and uses attention pooling to capture informative low-complexity patterns. To handle majority-class imbalance, the framework integrates AGACUS (Attention-Guided Adaptive Cluster Under-Sampling), which selectively downsamples majority instances using model uncertainty, attention relevance, and cluster diversity while preserving all minority disease samples. Evaluated using repeated subject-level partitions across four binary tasks (Healthy vs. Obesity, IBD, Cirrhosis, and CRC) over five random seeds, LiteMicroFormer achieved accuracies of 0.9321, 0.9606, 0.8553, and 0.9417, alongside ROC-AUC scores of 0.9743, 0.9796, 0.9205, and 0.9719, respectively. These results demonstrate strong internal predictive performance, while independent cross-cohort generalizability remains to be established. SHAP analysis was performed on learned latent representations to examine their contributions to model predictions, providing model-level explanations without claiming validated species-level biological interpretability.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Learning the Language of the Microbiome with TransformersbioRxiv · 2026
- Multi-Stream Adaptive Feature Integration for Microbiome-Based Multi-Disease ClassificationComputers · 2026
- Hierarchical sparse Bayesian multitask learning for disease prediction in pooled microbiome studiesBioData Mining · 2026
- MGM as a Large‐Scale Pretrained Foundation Model for Microbiome Analyses in Diverse ContextsAdvanced Science · 2026
- A temporal-aware machine learning framework enables microbial community dynamics prediction with personalized precision.Microbiome · 2025
- Large Language Model-Enhanced MFSSG Enables Effective and Accurate Integration Analysis for Microbiome-Metabolome Data.Analytical chemistry · 2026