scHSC: enhancing single-cell RNA-seq clustering via hard sample contrastive learning
Single-cell RNA sequencing (scRNA-seq) provides high-throughput information about the genome-wide gene expression levels at the single-cell resolution, bringing a precise understanding on the transcriptome of individual cells. Unfortunately, the rapidly growing scRNA-seq data and the prevalence of dropout events pose substantial challenges for clustering and cell type annotation. Here, we propose a deep learning method, scHSC, that employs hard sample mining through contrastive learning for clustering scRNA-seq data. Focusing on hard samples, this approach simultaneously integrates gene expression and topological structure information between cells to improve clustering accuracy. By adjusting the weights of hard positive and hard negative samples during the iterative training process, scHSC employs an adaptive weighting strategy to integrate contrastive learning with a ZINB model for single-cell clustering tasks. Extensive experiments on 18 single-cell RNA-seq real datasets demonstrate that scHSC exhibits significant superiority in clustering performance compared to existing deep learning-based clustering methods. scHSC is implemented in Python based on the PyTorch framework. The source code and datasets are available via https://github.com/fangs25/scHSC.
Authors
- Xiangjie Li (ORCID: https://orcid.org/0000-0002-9600-8984)
- Xiaokang Yu
- Jingxiao Zhang (ORCID: https://orcid.org/0000-0002-0857-6835)
- Xinyi Xu (ORCID: https://orcid.org/0000-0001-5081-625X)
- Sheng Fang (ORCID: https://orcid.org/0000-0002-1917-3281)
Institutions
- Central University of Finance and Economics (CN)
- Chinese Academy of Medical Sciences & Peking Union Medical College (CN)
- Fu Wai Hospital (CN)
- Renmin University of China (CN)
- University of Pennsylvania (US)
Publication Details
- Journal
- Briefings in Bioinformatics
- Published
- 2025-08-29
- DOI
- https://doi.org/10.1093/bib/bbaf485
- Citations
- 1
- Primary Topic
- Single-cell and spatial transcriptomics
- Type
- article
- Field-Weighted Citation Impact
- 0.81
Funders
- Ministry of Education, India