scTGCL: A Transformer-Based Graph Contrastive Learning Approach for Efficiently Clustering Single-Cell RNA-seq Data
Md. Shoaib Abdullah KhaniD, Md. Humayun Kabir, Md. Mahir Faisal
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)
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 0
- Assay
- Research Focus
- Approach
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Graph Contrastive Learning as a Versatile Foundation for Advanced scRNA-seq Data Analysis
Zhenhao Zhang, Yuxi Liu, … Fuyi Li·Briefings in BioinformaticsPeer-reviewed·Sep 23, 2024
- scRGCL: Neighbor-Aware Graph Contrastive Learning for Robust Single-Cell Clustering
Junming Fan, Fei Liu, Xin Lai·bioRxiv·Mar 18, 2026
- Graph Convolutional Network-based Method for ClusteringSingle-cell RNA-seq Data
Yuansong Zeng, Jinxing Lin, … Yuedong Yang·bioRxiv·Sep 2, 2020
- scContrast: A contrastive learning based approach for encoding single-cell gene expression data
Winston Li, Ghulam Murtaza, Ritambhara Singh·bioRxiv·Apr 7, 2025
- GatorSC: Multi-Scale Cell and Gene Graphs with Mixture-of-Experts Fusion for Single-Cell Transcriptomics
Yuxi Liu, Zhenhao Zhang, … Jiang Bian·Briefings in BioinformaticsPeer-reviewed·May 1, 2026
- BiGCN: Leveraging Cell and Gene Similarities for Single-cell Transcriptome Imputation with Bi-Graph Convolutional Networks
Yoshitaka Inoue, Ethan Kulman, Rui Kuang·bioRxiv·Apr 5, 2024