A parameter-free deep embedded clustering method for single-cell RNA-seq data

Yuansong Zeng, Zhuoyi Wei, Fengqi Zhong, Zixiang Pan, Yutong Lu, Yuedong Yang

TL;DR

This paper introduces ADClust, a novel deep learning method for clustering single-cell RNA sequencing (scRNA-seq) data that automatically determines the number of cell clusters. By combining an autoencoder for feature learning with a statistical merging process, ADClust achieves state-of-the-art performance in both clustering accuracy and the correct identification of cell types, while also demonstrating impressive speed and scalability for large datasets.

What Problem Does This Paper Address?

Single-cell RNA sequencing (scRNA-seq) allows researchers to study gene expression at the individual cell level, revealing cellular heterogeneity and developmental states. A crucial step in analyzing this data is clustering cells into distinct groups, representing different cell types or states. However, a major hurdle in existing scRNA-seq clustering methods is the requirement to pre-specify the number of clusters (e.g., cell types). This is problematic because the true number of cell types is often unknown beforehand, and manual determination can be unreliable. Existing methods either force users to guess this number or employ complex strategies to estimate it, which are not always accurate. This paper aims to solve this by developing a parameter-free clustering method that automatically discovers the optimal number of clusters.

Methods

ADClust employs a two-module architecture:

  1. Autoencoder Module: This module uses a deep autoencoder to learn a compressed, non-linear, low-dimensional representation of the high-dimensional scRNA-seq gene expression data. The autoencoder is trained to minimize reconstruction loss, ensuring that the learned embeddings capture essential information from the original data.
  2. Clustering Module:
    • Initial Micro-clustering: The learned embeddings are first clustered using the Louvain algorithm to generate a large number of "micro-clusters." This step intentionally overestimates the number of clusters.
  3. Statistical Merging: A key innovation is the use of the Dip-test, a statistical test for unimodality, to compare pairs of micro-clusters. Micro-clusters with a high Dip-score (indicating similarity) are identified as candidates for merging.
  4. Joint Optimization: The merging process is guided by a combined loss function that includes both the autoencoder's reconstruction loss and a custom clustering loss. This loss function encourages cells to move towards their assigned cluster centers and pulls similar clusters together, while simultaneously pushing dissimilar clusters apart.
  5. Iterative Merging: This merging process continues iteratively until no more clusters can be merged based on the Dip-score threshold, effectively determining the final number of clusters.

Datasets

The study evaluated ADClust on eleven real scRNA-seq datasets. These included:

  • Eight smaller datasets (less than 10,000 cells) such as Xin, Tasic, Baron Mouse, Klein, Romanov, Zeisel, Segerstolpe, and Baron Human.
  • Three larger datasets (greater than 20,000 cells) to assess scalability: Mouse retina, TM, and PBMC 68K.

The datasets were preprocessed using standard Seurat protocols, including normalization and selection of the top 2000 highly variable genes.

Key Insights and Ideas

  • Parameter-Free Clustering: The most significant contribution is the elimination of the need to pre-specify the number of clusters, a common bottleneck in scRNA-seq analysis.
  • Dip-test for Similarity: Leveraging the Dip-test for unimodality is an innovative way to statistically assess the similarity between clusters, enabling a more robust merging strategy than simple distance-based approaches.
  • Joint Optimization of Representation and Clustering: By jointly optimizing the autoencoder's representation learning and the clustering objective, ADClust ensures that the learned embeddings are highly suitable for the downstream clustering task.
  • Scalability through Deep Learning and Mini-batches: The use of deep autoencoders and mini-batch training allows ADClust to handle very large datasets efficiently, a critical requirement for modern scRNA-seq studies.

Key Results

  • Superior Clustering Performance: ADClust consistently outperformed existing methods on eleven scRNA-seq datasets in terms of clustering accuracy, measured by Adjusted Rand Index (ARI), Normalized Mutual Information (NMI), and Clustering Accuracy (CA). On average, it achieved an 8% higher ARI on small datasets and a 6% higher ARI on large datasets compared to the second-best methods.
  • Accurate Cluster Number Determination: ADClust demonstrated superior accuracy in determining the true number of cell clusters, with the smallest median absolute deviation among tested methods.
  • High Speed and Scalability: ADClust exhibited significantly faster runtimes compared to other methods, especially on large datasets. Its runtime scaled linearly with the number of cells, making it suitable for datasets with tens of thousands of cells. For example, it processed 70K cells in approximately 900 seconds.
  • Ablation Studies: Removing either the clustering loss or the autoencoder loss individually led to a noticeable decrease in performance, highlighting the importance of both components and their synergistic interaction.

Limitations and Future Work

  • Rare Cell Clusters: The paper acknowledges that the Dip-test might struggle to distinguish very small or rare cell clusters if they differ significantly in size from other clusters, potentially leading to underestimation of cluster numbers in such cases.
  • Batch Effects: ADClust does not currently account for batch effects, which are common in scRNA-seq data generated from different experiments or platforms. The authors suggest adding modules to address this in future work.
  • Subtype Distinction: Distinguishing between very closely related cell subtypes with extremely similar gene expression profiles might be challenging. Incorporating prior biological knowledge, such as marker genes, could improve performance in these scenarios.
  • Generalizability: The authors suggest that the core concept of ADClust could be applicable to other single-cell data types beyond scRNA-seq, such as mass cytometry and scATAC-seq.

Summary updated

Abstract

Clustering analysis is widely used in single-cell ribonucleic acid (RNA)-sequencing (scRNA-seq) data to discover cell heterogeneity and cell states. While many clustering methods have been developed for scRNA-seq analysis, most of these methods require to provide the number of clusters. However, it is not easy to know the exact number of cell types in advance, and experienced determination is not always reliable. Here, we have developed ADClust, an automatic deep embedding clustering method for scRNA-seq data, which can accurately cluster cells without requiring a predefined number of clusters. Specifically, ADClust first obtains low-dimensional representation through pre-trained autoencoder and uses the representations to cluster cells into initial micro-clusters. The clusters are then compared in between by a statistical test, and similar micro-clusters are merged into larger clusters. According to the clustering, cell representations are updated so that each cell will be pulled toward centers of its assigned cluster and similar clusters, while cells are separated to keep distances between clusters. This is accomplished through jointly optimizing the carefully designed clustering and autoencoder loss functions. This merging process continues until convergence. ADClust was tested on 11 real scRNA-seq datasets and was shown to outperform existing methods in terms of both clustering performance and the accuracy on the number of the determined clusters. More importantly, our model provides high speed and scalability for large datasets.
BibTeX
@article{zeng2022parameter,
  author = {Yuansong Zeng and Zhuoyi Wei and Fengqi Zhong and Zixiang Pan and Yutong Lu and Yuedong Yang},
  title = {{A parameter-free deep embedded clustering method for single-cell RNA-seq data}},
  journal = {Briefings in Bioinformatics},
  year = {2022},
  doi = {10.1093/bib/bbac172},
}

Loading related content...

Figure