[Paper Review] Convolutional neural networks for structured omics: OmicsCNN and the OmicsConv layer
This paper introduces OmicsCNN, a deep learning framework that adapts convolutional neural networks (CNNs) to structured omics data by embedding features into metric spaces via the novel OmicsConv Keras layer. It enables CNNs to operate on metagenomics and transcriptomics data using phylogenetic patristic distances and multilayer network diffusion distances, achieving superior classification performance—especially on challenging IBD subtypes—compared to traditional models like SVM and Random Forest.
Convolutional Neural Networks (CNNs) are a popular deep learning architecture widely applied in different domains, in particular in classifying over images, for which the concept of convolution with a filter comes naturally. Unfortunately, the requirement of a distance (or, at least, of a neighbourhood function) in the input feature space has so far prevented its direct use on data types such as omics data. However, a number of omics data are metrizable, i.e., they can be endowed with a metric structure, enabling to adopt a convolutional based deep learning framework, e.g., for prediction. We propose a generalized solution for CNNs on omics data, implemented through a dedicated Keras layer. In particular, for metagenomics data, a metric can be derived from the patristic distance on the phylogenetic tree. For transcriptomics data, we combine Gene Ontology semantic similarity and gene co-expression to define a distance; the function is defined through a multilayer network where 3 layers are defined by the GO mutual semantic similarity while the fourth one by gene co-expression. As a general tool, feature distance on omics data is enabled by OmicsConv, a novel Keras layer, obtaining OmicsCNN, a dedicated deep learning framework. Here we demonstrate OmicsCNN on gut microbiota sequencing data, for Inflammatory Bowel Disease (IBD) 16S data, first on synthetic data and then a metagenomics collection of gut microbiota of 222 IBD patients.
Motivation & Objective
- To overcome the limitation of CNNs on non-image omics data by establishing a theoretical framework for feature distance in structured omics.
- To develop a generalized deep learning architecture, OmicsCNN, that integrates metric-based convolution for omics data.
- To enable domain adaptation in low-sample-size omics settings using synthetic data pretraining.
- To provide a reproducible, unbiased experimental protocol (DAP) for honest performance evaluation in omics classification.
- To demonstrate the method's effectiveness on real-world gut microbiome data for inflammatory bowel disease (IBD) subtypes.
Proposed method
- OmicsConv is a custom Keras layer that computes convolutions using a learned or predefined distance metric between features, enabling neighborhood-based filtering.
- For metagenomics, the patristic distance on a phylogenetic tree defines feature proximity; for transcriptomics, a 4-layer multilayer network integrates Gene Ontology semantic similarity and gene co-expression.
- The framework uses Scaled Exponential Linear Units (SELU) as activation functions and Adam optimizer with a learning rate of 0.0005.
- A 10×5-fold cross-validation Data Analysis Protocol (DAP) is implemented to prevent overfitting and selection bias, with Borda aggregation for feature ranking.
- Domain adaptation is applied by pretraining OmicsCNN on a large synthetic dataset before fine-tuning on real IBD data with frozen early layers.
- The full pipeline is implemented in Python/Scikit-Learn and Keras v2.0.8, deployed on GPU-accelerated Azure infrastructure.
Experimental results
Research questions
- RQ1Can convolutional neural networks be effectively applied to non-image omics data by defining a meaningful feature distance metric?
- RQ2How does OmicsCNN perform on low-sample-size omics datasets such as IBD gut microbiome data compared to classical machine learning models?
- RQ3Can synthetic data pretraining improve generalization in omics classification tasks with limited real data?
- RQ4What is the impact of incorporating biological knowledge (e.g., phylogenetic trees, Gene Ontology) into the distance metric for omics representation?
- RQ5Does the OmicsCNN framework yield more interpretable and robust biomarkers than standard deep learning or shallow models?
Key findings
- OmicsCNN achieved a Matthews Correlation Coefficient (MCC) of 0.858 in classifying ileal Crohn’s disease (iCDf), significantly outperforming the next best model (RF at 0.920 F1, but lower MCC) and surpassing LSVM (0.418) and MLPNN (0.401).
- On the most challenging task—iCDf—OmicsCNN showed a 42% improvement in MCC over the baseline LSVM, indicating strong generalization on rare or complex subtypes.
- For ulcerative colitis flare (UCf), OmicsCNN achieved an MCC of 0.741, matching the best-performing LSVM (0.740), while outperforming MLPNN (0.666) and RF (0.699).
- The framework demonstrated robustness across all six IBD subtypes, with superior performance in four out of six tasks, especially in high-complexity conditions like CD and iCD.
- The use of synthetic data for pretraining enabled effective domain adaptation, allowing OmicsCNN to generalize despite limited real IBD samples.
- Randomized feature and label experiments confirmed model sanity, indicating that performance gains were not due to overfitting or data leakage.
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.