A fast and efficient count-based matrix factorization method for detecting cell types from single-cell RNAseq data

Shiquan Sun, Yabo Chen, Yang Liu, Xuequn Shang

Abstract

Single-cell RNA sequencing (scRNAseq) has transformed our understanding of cellular diversity, yet the resulting data is characterized by high dimensionality, sparsity, and technical noise. Traditional matrix factorization methods often struggle with the trade-off between statistical rigor and computational efficiency. We introduce scNBMF (single-cell Negative Binomial Matrix Factorization), a tool designed to identify cell types by modeling raw gene counts directly. By utilizing the Negative Binomial distribution and the TensorFlow framework with the Adam optimizer, scNBMF achieves up to a 100-fold speed increase over existing methods while delivering superior accuracy.

Introduction

The advent of scRNAseq allows researchers to examine gene expression at the level of individual cells. However, analyzing this data is challenging due to "dropout" events—where transcripts are not captured—and extreme sparsity. To extract biological meaning, scientists employ matrix factorization to reduce data into latent factors representing distinct cell types. Current tools often fall into two camps: fast methods that treat counts as continuous data (losing accuracy) and rigorous statistical models that are too slow for large-scale datasets.

Methodology

The scNBMF framework addresses these challenges through three primary innovations:

  1. Negative Binomial (NB) Modeling: Unlike models assuming a normal distribution, scNBMF uses the NB distribution to account for over-dispersion inherent in genomic count data.
  2. TensorFlow and Adam Optimization: By implementing the model in TensorFlow, the researchers leverage modern machine learning infrastructure. The use of the Adam optimizer allows for efficient stochastic optimization, significantly reducing computation time.
  3. Sparse Penalty (LASSO): An $L_1$ penalty is applied to the loading matrix to promote sparsity, ensuring the model focuses on the most informative marker genes while filtering out noise.

Key Insights

A significant finding of this work is that zero-inflation in scRNAseq data is often overstated. The authors demonstrate that a standard Negative Binomial model is frequently sufficient, avoiding the computational complexity of zero-inflated models like ZINB-WaVE. Furthermore, the study highlights the benefits of direct count modeling over log-transformation, which can distort biological signals.

Key Results

The performance of scNBMF was validated against several human scRNAseq datasets, including brain, pancreatic islet, and embryonic stem cells.

Performance comparison and optimizer evaluation of scNBMF.

The results demonstrate a massive speedup, with scNBMF running 10 to 100 times faster than competitors like pCMF and ZINB-WaVE. In terms of accuracy, scNBMF consistently outperformed methods such as PCA, tSNE, and ZIFA. For instance, in the human brain dataset, scNBMF achieved a Normalized Mutual Information (NMI) of 0.901, significantly higher than ZIFA (0.797) and tSNE (0.712). As shown in the performance metrics, the choice of the Adam optimizer was critical for reaching optimal solutions in genomic matrices compared to traditional gradient descent methods.

Conclusion and Future Directions

While scNBMF is highly efficient, future iterations may include an optional zero-inflated component for datasets with extreme technical dropouts. Additionally, integrating automated feature selection and biological priors (such as gene length or GC-content) could further refine the model's accuracy and robustness in accounting for technical bias.

Summary updated

BibTeX
@article{sun2019fast,
  author = {Shiquan Sun and Yabo Chen and Yang Liu and Xuequn Shang},
  title = {{A fast and efficient count-based matrix factorization method for detecting cell types from single-cell RNAseq data}},
  journal = {BMC Syst. Biol.},
  year = {2019},
  doi = {10.1186/s12918-019-0699-6},
}
Figure