[Paper Review] Disease Classification in Metagenomics with 2D Embeddings and Deep Learning
This paper proposes Met2Img, a method that transforms metagenomic abundance data into 2D synthetic images using taxonomic and t-SNE embeddings to enable deep learning classification via CNNs. It achieves state-of-the-art performance on 12 benchmark datasets, significantly outperforming Random Forest and SVM, especially when integrating phylogenetic information through Fill-up binning with heatmap color maps.
Deep learning (DL) techniques have shown unprecedented success when applied to images, waveforms, and text. Generally, when the sample size ($N$) is much bigger than the number of features ($d$), DL often outperforms other machine learning (ML) techniques, often through the use of Convolutional Neural Networks (CNNs). However, in many bioinformatics fields (including metagenomics), we encounter the opposite situation where $d$ is significantly greater than $N$. In these situations, applying DL techniques would lead to severe overfitting. Here we aim to improve classification of various diseases with metagenomic data through the use of CNNs. For this we proposed to represent metagenomic data as images. The proposed Met2Img approach relies on taxonomic and t-SNE embeddings to transform abundance data into "synthetic images". We applied our approach to twelve benchmark data sets including more than 1400 metagenomic samples. Our results show significant improvements over the state-of-the-art algorithms (Random Forest (RF), Support Vector Machine (SVM)). We observe that the integration of phylogenetic information alongside abundance data improves classification. The proposed approach is not only important in classification setting but also allows to visualize complex metagenomic data. The Met2Img is implemented in Python.
Motivation & Objective
- To address the challenge of high-dimensional, low-sample-size metagenomic data where traditional deep learning fails due to overfitting.
- To improve disease classification accuracy in metagenomics by transforming abundance data into visual representations suitable for convolutional neural networks.
- To evaluate the effectiveness of different embedding and binning strategies—Fill-up, t-SNE, and QTF—for creating informative 2D image representations.
- To integrate phylogenetic knowledge into the representation learning process to enhance classification performance.
- To provide a visualizable and interpretable framework for complex metagenomic data analysis.
Proposed method
- Transforming metagenomic abundance data (species or genus level) into 2D images using Fill-up binning, which organizes features by taxonomic hierarchy and assigns colors based on abundance.
- Applying t-SNE dimensionality reduction to project high-dimensional abundance vectors into 2D space for image generation, preserving local structure.
- Generating synthetic images using three binning methods: Species-based Binning (SPB), Quantile-based Binning (QTF), and Proportional Representation (PR), with various colormaps (heatmap, gray, black/white).
- Training and evaluating 2D Convolutional Neural Networks (CNNs) and fully connected (FC) networks on the generated images for disease classification.
- Using only training data to construct image representations to prevent data leakage and avoid overfitting.
- Evaluating performance using 5-fold stratified cross-validation with repeated runs and external validation on independent datasets.
Experimental results
Research questions
- RQ1Can transforming metagenomic abundance data into 2D synthetic images improve deep learning-based disease classification compared to traditional machine learning methods?
- RQ2Does integrating phylogenetic structure into image representation via Fill-up binning enhance classification performance over t-SNE-based or random binning methods?
- RQ3How do different image generation strategies (Fill-up, t-SNE, QTF) and color schemes (heatmap, gray, black/white) affect the performance of CNNs on metagenomic data?
- RQ4Is the performance gain from 2D image representations consistent across multiple disease types and datasets with varying species and genus abundance?
- RQ5Can the proposed method achieve superior results compared to state-of-the-art models like Ph-CNN and MetAML on benchmark metagenomic datasets?
Key findings
- Met2Img significantly outperforms Random Forest and SVM on 12 benchmark datasets, with the CNN model using Fill-up with heatmap images achieving the highest average MCC of 0.616 in internal validation.
- Fill-up binning with heatmap color maps outperforms t-SNE-based images, achieving significant improvements on three datasets (CIR, IBD, OBE) and comparable results on others.
- The CNN model using Fill-up with gray images achieved better performance than the FC model on gray and black/white images, while FC outperformed CNN on color images, indicating model-architecture interaction with image type.
- On Sokol’s lab IBD dataset, Met2Img with Fill-up and QTF outperformed Ph-CNN in 5 out of 6 external validation sets, with MCC scores of 0.930 (CDf), 0.868 (CDr), 0.919 (iCDf), 0.580 (iCDr), 0.826 (UCf), and 0.777 (UCr).
- SPB-based Fill-up achieved perfect external MCC scores (1.000) on two IBD subtypes (CDf and iCDf), demonstrating robustness and high predictive power.
- The integration of phylogenetic knowledge in Fill-up binning leads to more interpretable and effective representations, as evidenced by better feature visibility and reduced overlap compared to t-SNE.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.