Skip to main content
QUICK REVIEW

[Paper Review] A deep generative model for gene expression profiles from single-cell RNA sequencing

Romain Lopez, Jeffrey Regier|arXiv (Cornell University)|Sep 7, 2017
Single-cell and spatial transcriptomicsBiochemistry, Genetics and Molecular Biology12 references5 citations
TL;DR

This paper proposes scVI, a deep generative model for single-cell RNA sequencing data that uses variational inference with neural networks to model gene expression as a zero-inflated negative binomial distribution, explicitly disentangling biological variation from technical noise. It achieves state-of-the-art performance in imputation, clustering, and differential expression analysis while scaling efficiently to millions of cells on a single GPU.

ABSTRACT

We propose a probabilistic model for interpreting gene expression levels that are observed through single-cell RNA sequencing. In the model, each cell has a low-dimensional latent representation. Additional latent variables account for technical effects that may erroneously set some observations of gene expression levels to zero. Conditional distributions are specified by neural networks, giving the proposed model enough flexibility to fit the data well. We use variational inference and stochastic optimization to approximate the posterior distribution. The inference procedure scales to over one million cells, whereas competing algorithms do not. Even for smaller datasets, for several tasks, the proposed procedure outperforms state-of-the-art methods like ZIFA and ZINB-WaVE. We also extend our framework to account for batch effects and other confounding factors, and propose a Bayesian hypothesis test for differential expression that outperforms DESeq2.

Motivation & Objective

  • To address the limitations of existing dimensionality reduction and imputation methods for single-cell RNA-seq, which often rely on linear models or batch optimization and fail to scale to large datasets.
  • To develop a scalable, differentiable, and probabilistic framework that explicitly models technical noise (e.g., dropout, sequencing depth) and disentangles it from underlying biological states.
  • To enable accurate downstream tasks such as clustering, imputation, and differential expression analysis using a unified generative model with uncertainty quantification.
  • To scale inference to datasets with up to 1.3 million cells, overcoming memory and computational bottlenecks of prior methods like ZIFA and ZINB-WaVE.

Proposed method

  • scVI models gene expression using a hierarchical generative process: latent cell states $ z_n $ are drawn from a standard normal distribution, and gene expression is modeled via a Gamma-distributed mean $ w_{ng} $ and a Bernoulli dropout indicator $ h_{ng} $, with observed data $ x_{ng} $ being zero-inflated Poisson.
  • The model uses two deep neural networks, $ f_w $ and $ f_h $, to parameterize the mean and dropout probability of gene expression, respectively, with shared weights and batch normalization for improved generalization.
  • Variational inference is used to approximate the intractable posterior $ p(z_n|x_n) $, with a Gaussian variational distribution $ q(z_n|x_n) $ parameterized by an encoder network, enabling end-to-end differentiable training.
  • The variational lower bound is optimized via stochastic backpropagation, with analytical marginalization over discrete latent variables to ensure differentiability and stable optimization.
  • For differential expression testing, a Bayesian hypothesis test is formulated using the posterior over $ w_{ag} $ and $ w_{bg} $, with Monte Carlo integration over latent variables to compute Bayes factors.
  • The model supports covariates $ \gamma_n $ (e.g., sequencing depth, batch) to disentangle technical effects from biological signals in the latent space.

Experimental results

Research questions

  • RQ1Can a deep generative model with differentiable inference outperform linear and batch-optimized methods in clustering and imputation on single-cell RNA-seq data?
  • RQ2Can a fully generative model effectively disentangle technical noise (e.g., dropout, batch effects) from true biological variation in high-dimensional, zero-inflated single-cell data?
  • RQ3Can the model scale to datasets with over a million cells while maintaining accuracy and computational efficiency?
  • RQ4Can the model’s probabilistic framework enable robust and uncertainty-aware differential expression testing in single-cell data?

Key findings

  • scVI achieved the lowest imputation error (1.048) on a 10,000-cell brain dataset, outperforming ZINB-WaVE (1.053) and MAGIC (1.806), and achieved the lowest zero-out prediction error (0.742), indicating superior modeling of dropout events.
  • On the 3,005-cell mouse cortex dataset, scVI achieved a silhouette score of 0.285, significantly outperforming ZINB-WaVE (0.260), ZIFA (0.202), and FA (0.208), indicating better recovery of known cell types.
  • On the 12,039-cell PBMC dataset, scVI achieved a silhouette score of 0.379 and a QC correlation of 0.157, outperforming PCA (0.314 and 0.381) and showing superior removal of unwanted variation while preserving biological structure.
  • scVI trained on the full 1.3 million-cell dataset in under two hours on a single GPU, while ZIFA and ZINB-WaVE ran out of memory on 100,000 cells with 32 GB RAM, demonstrating superior scalability.
  • In differential expression testing, scVI showed strong reproducibility with bulk RNA-seq data, with a high correlation (r ≈ 0.7) in significance rankings between scRNA-seq and bulk array data, validating its biological relevance.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.