scTGCL: A Transformer-Based Graph Contrastive Learning Approach for Efficiently Clustering Single-Cell RNA-seq Data
M. S. A. Khan, M. H. Kabir, M. M. Faisal
Key points
From the paper's conclusion- Results: We propose scTGCL, a novel Transformer-based graph contrastive learning framework that learns robust and discriminative cell representations directly from gene expression data. scTGCL employs multi-head self-attention to adaptively construct weighted cell-cell graphs and a Transformer encoder to generate cell embeddings from them, capturing diverse biological relationships.
Abstract
Motivation: Single-cell RNA sequencing (scRNA-seq) enables characterization of cellular heterogeneity at unprecedented resolution. However, accurate clustering of scRNA-seq data remains challenging due to high dimensionality, dropout-induced sparsity, and technical noise. Existing contrastive learning methods usually create augmented views by perturbing gene expression values, so the uncertainty in cell-cell relationships caused by dropout events is not properly modeled. Results: We propose scTGCL, a novel Transformer-based graph contrastive learning framework that learns robust and discriminative cell representations directly from gene expression data. scTGCL employs multi-head self-attention to adaptively construct weighted cell-cell graphs and a Transformer encoder to generate cell embeddings from them, capturing diverse biological relationships. For contrastive augmentation, we apply feature-level gene masking together with attention masking that randomly drops edges of the learned attention matrices, enabling the model to withstand dropout events and technical noise. A symmetric contrastive loss maximizes agreement between original and augmented representations, while joint optimization with reconstruction and imputation losses preserves biological interpretability. Extensive experiments on twenty real and simulated scRNA-seq datasets demonstrate that scTGCL achieves the highest average performance among nine state-of-the-art baseline methods in clustering accuracy, normalized mutual information, and adjusted Rand index, while also achieving superior imputation performance and substantially lower runtime on large-scale datasets. Furthermore, biological analysis confirms that the learned clusters align with known cell types and yield biologically interpretable pathway enrichment, validating the utility of scTGCL for downstream cell annotation and marker gene discovery. Availability and Implementation: The source code and test data are freely available at GitHub (https://github.com/ShoaibAbdullahKhan/scTGCL)
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Hypergraph-Attention-Guided Graph Refinement and Feature Decoupling for Single-Cell RNA-seq Clustering.IEEE transactions on computational biology and bioinformatics · 2026
- scGFormer: A Multi-Scale Graph-Transformer for Cell Type Annotation in Single-Cell RNA Sequencing.IEEE transactions on computational biology and bioinformatics · 2026
- scHCL-SDA: A Homophily-Aware Contrastive Learning with Spectral Distribution Alignment for scRNA-seq Data Clustering.IEEE transactions on computational biology and bioinformatics · 2026
- scLGGCL: Label-Guided Graph Contrastive Learning for Single-Cell Fusion Clustering.Interdisciplinary sciences, computational life sciences · 2026
- scMAGZ: Structure-Preserving Graph Autoencoder with Attention-Guided Fusion for Single-Cell Multi-OmicsBiology · 2026
- scDGCN: A Graph-Based Deep Clustering Framework for Single-Cell Transcriptomics via Neighborhood-Enhanced Context Representation Learning.Interdisciplinary sciences, computational life sciences · 2026