Introduction
Single-cell RNA sequencing (scRNA-seq) has revolutionized our ability to profile the genetic signatures of individual cells. However, the resulting data is often characterized by extreme sparsity and noise, primarily due to the "dropout" phenomenon—where active genes appear as zeros due to technical limitations. Furthermore, standard deep learning approaches like contrastive learning often suffer from sampling bias, where cells of the same type are incorrectly treated as negative pairs, degrading clustering performance.
To address these challenges, we present scGPCL (single-cell Graph Prototypical Contrastive Learning), a framework that integrates Graph Neural Networks (GNNs) with prototypical contrastive learning to achieve robust and accurate cell clustering.
Methodology: The scGPCL Framework
The scGPCL architecture operates in two main phases: a pre-training phase focused on representation learning and a fine-tuning phase for cluster refinement.
Bipartite Graph Representation
Unlike traditional methods that rely on pre-calculated cell-to-cell similarity—which can be highly inaccurate in noisy data—scGPCL constructs a bipartite cell-gene graph. This graph preserves raw biological relationships by connecting cell nodes directly to gene nodes based on expression levels. A GNN encoder (specifically GraphSAGE) then learns cell representations by passing messages through this bipartite structure.
Prototypical Contrastive Learning (PCL)
The "secret sauce" of scGPCL is its PCL module. By performing on-the-fly K-means clustering to identify "prototypes" (cluster centers), the model ensures that cells are pulled toward their assigned prototype rather than being pushed away from similar cells. This effectively solves the sampling bias problem inherent in standard contrastive learning. Additionally, a Zero-Inflated Negative Binomial (ZINB) loss is employed to model the statistical nature of dropouts, further enhancing the model's ability to "fill in the blanks."
Experimental Results
The authors validated scGPCL using both simulated data (via the Splatter package) and nine real-world scRNA-seq datasets covering various tissues and species, including human kidney cells and mouse brain cells.
Robustness to Noise and Low Signal
A significant finding is scGPCL's stability under adverse conditions. In simulations testing high dropout rates and low signal-to-noise ratios (sigma), scGPCL consistently maintained high performance while competing methods saw sharp declines.
For instance, when the biological signal (sigma) was reduced to 0.1, scGPCL maintained an accuracy of 0.9221, whereas most other methods fell below 0.6. Similarly, in imbalanced datasets where one cell type was rare, scGPCL achieved a Macro-F1 score of 0.9914, significantly outperforming the next best method (0.8118).
Real-World Performance
Across real-world datasets ranging from 777 to over 27,000 cells, scGPCL consistently outperformed state-of-the-art baselines like scDeepCluster and scGNN in terms of Normalized Mutual Information (NMI) and Adjusted Rand Index (ARI). This performance held steady across diverse biological contexts, from mouse ES cells to human PBMC samples.
Discussion and Future Work
The success of scGPCL highlights the advantages of using bipartite graphs to represent raw biological data and the power of prototypical learning to mitigate sampling bias. While the model is robust, the authors note potential areas for improvement, such as addressing confirmation bias—where early incorrect cluster assignments might be reinforced—and optimizing the GNN's scalability for massive "cell atlas" datasets containing millions of cells.
Conclusion
scGPCL represents a significant step forward in single-cell analysis. By leveraging the relational information in cell-gene graphs and refining representations through prototypes, it provides a powerful tool for uncovering the complex cellular landscapes hidden within noisy scRNA-seq data.
Summary updated