Does embedding impact classification performance ? A small sample perspective

Deep learning (DL) methods can address many challenges posed by high-dimensional and sparse microbiome data. In this study we applied and compared deep (DNN) and shallow (SNN) feedforward neural networks combined with five dimensionality-reduction techniques: Principal Component Analysis (PCA), Singular Value Decomposition (SVD), Non-negative Matrix Factorization (NMF), Autoencoder based Embeddings (AE), and convolutional layers (Conv). To establish baseline classification performance, the XGBoost was used, as it represents a robust machine learning based classifier with a relatively low number of hyperparameters. The task was to classify effective microorganism (EM) treatments based on intestine bacterial family abundance in common carp. In particular, the experiment involved 25 ponds that were divided into experimental groups. In each pond, the intestinal microbiome of five individuals was determined by sequencing two hypervariable regions of the gene encoding the 16s rRNA gene sequencing. The sequence reads were processed by QIIME2 and taxonomically annotated to the SILVA database, what resulted in 126 annotated families that were used as features in all downstream analyses. Abundance tables from 125 samples, transformed using the Centered Log-Ratio (CLR) method, were used to evaluate ten dimensionality-reduction and Deep learning configurations considering five-, three-, and two-classification scenarios. The DL models were optimized using cross-validation. To combat the overfitting that was present due to sparsity and small sample size, dropout and kernel regularization were implemented. During testing autoencoder embeddings achieved the highest classification accuracy (0.84), exceeding the XGBoost baseline (0.64), while embedding based on convolutional layers significantly reduced performance (0.44). PCA and SVD transformations showed comparable results (0.65), whereas NMF often failed to converge, likely due to incompatibility with CLR-transformed data. Best classification results were obtained for models that implemented AE embedding, it is most likely caused by their ability to capture non-linear patterns in the data. All models showed stable training behavior, with loss functions consistently decreasing across epochs. The SNN models were markedly less computationally intensive, than DNN. AE and NMF based embeddings were the most resource hungry (Wall Clock Time and RAM). Our results show (1): SNN architectures performed slightly worse than DNN, due to the fact of lesser informative capacity of the models. (2): Dimensionality reduction impacts model performance, though not always positively. (3) EM supplementation causes significant changes in microbiome that can be captured by DL architectures. Future work will include feature-importance analysis, integration of environmental and host metadata, exploration of larger datasets and more advanced architectures. As well as validation of model quality on simulated datasets. Overall, these results indicate that DNN architectures combined with AE embeddings have potential to be used as high accuracy classification tools. Those tools when combined with feature importance can help researchers to understand changes made by EM supplementation in a microbial community.

Authors

Institutions

Publication Details

Journal
bioRxiv (Cold Spring Harbor Laboratory)
Published
2026-11-25
DOI
https://doi.org/10.64898/2026.11.24.768658
Primary Topic
Aquaculture disease management and microbiota
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Does embedding impact classification performance ? A small sample perspective

Joanna Szyda, Marek Sztuka
bioRxiv (Cold Spring Harbor Laboratory)
Aquaculture disease management and microbiota
preprint

Does embedding impact classification performance ? A small sample perspective

Joanna Szyda, Marek Sztuka
preprint en

Abstract

Deep learning (DL) methods can address many challenges posed by high-dimensional and sparse microbiome data. In this study we applied and compared deep (DNN) and shallow (SNN) feedforward neural networks combined with five dimensionality-reduction techniques: Principal Component Analysis (PCA), Singular Value Decomposition (SVD), Non-negative Matrix Factorization (NMF), Autoencoder based Embeddings (AE), and convolutional layers (Conv). To establish baseline classification performance, the XGBoost was used, as it represents a robust machine learning based classifier with a relatively low number of hyperparameters. The task was to classify effective microorganism (EM) treatments based on intestine bacterial family abundance in common carp. In particular, the experiment involved 25 ponds that were divided into experimental groups. In each pond, the intestinal microbiome of five individuals was determined by sequencing two hypervariable regions of the gene encoding the 16s rRNA gene sequencing. The sequence reads were processed by QIIME2 and taxonomically annotated to the SILVA database, what resulted in 126 annotated families that were used as features in all downstream analyses. Abundance tables from 125 samples, transformed using the Centered Log-Ratio (CLR) method, were used to evaluate ten dimensionality-reduction and Deep learning configurations considering five-, three-, and two-classification scenarios. The DL models were optimized using cross-validation. To combat the overfitting that was present due to sparsity and small sample size, dropout and kernel regularization were implemented. During testing autoencoder embeddings achieved the highest classification accuracy (0.84), exceeding the XGBoost baseline (0.64), while embedding based on convolutional layers significantly reduced performance (0.44). PCA and SVD transformations showed comparable results (0.65), whereas NMF often failed to converge, likely due to incompatibility with CLR-transformed data. Best classification results were obtained for models that implemented AE embedding, it is most likely caused by their ability to capture non-linear patterns in the data. All models showed stable training behavior, with loss functions consistently decreasing across epochs. The SNN models were markedly less computationally intensive, than DNN. AE and NMF based embeddings were the most resource hungry (Wall Clock Time and RAM). Our results show (1): SNN architectures performed slightly worse than DNN, due to the fact of lesser informative capacity of the models. (2): Dimensionality reduction impacts model performance, though not always positively. (3) EM supplementation causes significant changes in microbiome that can be captured by DL architectures. Future work will include feature-importance analysis, integration of environmental and host metadata, exploration of larger datasets and more advanced architectures. As well as validation of model quality on simulated datasets. Overall, these results indicate that DNN architectures combined with AE embeddings have potential to be used as high accuracy classification tools. Those tools when combined with feature importance can help researchers to understand changes made by EM supplementation in a microbial community.

bioRxiv (Cold Spring Harbor Laboratory)
Wrocław University of Science and Technology (PL)
Aquaculture disease management and microbiota
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon