NNICE: a deep quantile neural network algorithm for expression deconvolution

Yong Won Jin, Pingzhao Hu, Qian LiuScientific 2024

Abstract

The composition of cell-type is a key indicator of health. Advancements in bulk gene expression data curation, single cell RNA-sequencing technologies, and computational deconvolution approaches offer a new perspective to learn about the composition of different cell types in a quick and affordable way. In this study, we developed a quantile regression and deep learning-based method called Neural Network Immune Contexture Estimator (NNICE) to estimate the cell type abundance and its uncertainty by automatically deconvolving bulk RNA-seq data. The proposed NNICE model was able to successfully recover ground-truth cell type fraction values given unseen bulk mixture gene expression profiles from the same dataset it was trained on. Compared with baseline methods, NNICE achieved better performance on deconvolve both pseudo-bulk gene expressions (Pearson correlation R = 0.9) and real bulk gene expression data (Pearson correlation R = 0.9) across all cell types. In conclusion, NNICE combines statistic inference with deep learning to provide accurate and interpretable cell type deconvolution from bulk gene expression.

Introduction

In precision medicine, determining the "cellular makeup" of a tissue—such as a tumor—is vital for prognosis and treatment planning. For instance, a high concentration of T cells often signals a better prognosis, while an abundance of macrophages might suggest a pro-tumor environment. While single-cell RNA sequencing (scRNA-seq) is the gold standard for identifying these proportions, it remains expensive and labor-intensive. Most available clinical data is "bulk" RNA-seq, which provides an average gene expression of all cells mixed together.

Expression deconvolution is the computational challenge of "un-mixing" this data to identify original cell type proportions. However, existing tools face two major hurdles: multicollinearity (where genes are shared across cell types) and a lack of uncertainty quantification, often providing a single estimate without a measure of confidence.

Methods: Deep Quantile Regression

To address these challenges, we introduced NNICE (Neural Network Immune Contexture Estimator). The core innovation of NNICE is the use of Deep Quantile Regression (DQR). Instead of training a single model to predict a mean value, NNICE fits independent Artificial Neural Networks (ANNs) for five different quantiles (10th, 25th, 50th, 75th, and 90th). This allows the model to generate a range of possible values, effectively providing a "confidence interval" for each prediction.

Schematic of the NNICE model architecture, showing the integration of bulk gene expression profiles through quantile regression layers to output cell type composition and uncertainty.

To combat multicollinearity, NNICE utilizes six specialized sub-models—one for each major cell category (B cells, CD4+ T cells, CD8+ T cells, NK cells, myeloid cells, and "other"). By isolating the training for each cell type, the model reduces bias caused by shared gene expressions across lineages.

Data and Training

The study utilized two primary data sources for development and validation. First, scRNA-seq data from 10 immune cell types was used to simulate "pseudo-bulk" samples, providing a ground truth for training. Second, the SDY67 (ImmPort) dataset, consisting of 468 peripheral blood mononuclear cell (PBMC) samples verified via flow cytometry, served as a real-world benchmark.

UMAP projection of the single-cell RNA-seq training data, demonstrating the distinct clustering of the immune cell types used for model development.

Feature selection was critical; the model performed best when restricted to 3,000 highly variable genes cross-referenced with immunological databases like ImmPort and InnateDB.

Key Results

NNICE demonstrated superior performance compared to established tools like CIBERSORT and EPIC:

  • Pseudo-bulk Performance: NNICE achieved an overall Pearson correlation of R = 0.9, outperforming CIBERSORT (R = 0.88).
  • Real-world Performance: On the SDY67 dataset, NNICE maintained a strong correlation (R = 0.7 to 0.9 depending on the cell type), consistently exceeding the performance of EPIC (R = 0.65).
  • Cell-Specific Accuracy: The model was exceptionally accurate for NK cells (R = 0.745). While CD4+ T cells remained more challenging (R = 0.383) due to their high functional plasticity, NNICE still provided more reliable estimates than baseline methods.

Discussion and Limitations

By providing a range via quantiles, NNICE acknowledges the inherent noise in biological data, which is critical for clinical settings where point estimates can be misleading. However, several areas for improvement remain. CD4+ T cells are notoriously heterogeneous and may require more sophisticated architectures to capture their nuanced transcriptomic behavior. Additionally, while NNICE performs well, there is a known performance drop when moving from simulated to "messy" real-world bulk tissue. Future work will focus on improving simulation algorithms to include technical biases and refining metrics to ensure the model avoids consistent over- or under-estimation of specific cell fractions.

Summary updated

BibTeX
@inproceedings{jin2024nnice,
  author = {Yong Won Jin and Pingzhao Hu and Qian Liu},
  title = {{NNICE: a deep quantile neural network algorithm for expression deconvolution}},
  booktitle = {Scientific},
  year = {2024},
  doi = {10.1038/s41598-024-65053-w},
}
Figure