bioRxivBioinformaticsPreprint
scFormer: A Universal Representation Learning Approach for Single-Cell Data Using Transformers
Haotian CuiiD, Chloe WangiD, Hassaan MaaniD, Nan DuaniD, Bo WangiD
Abstract
AO_SCPLOWBSTRACTC_SCPLOWSingle-cell sequencing has emerged as a promising technique to decode cellular heterogeneity and analyze gene functions. With the high throughput of modern techniques and resulting large-scale sequencing data, deep learning has been used extensively to learn representations of individual cells for downstream tasks. However, most existing methods rely on fully connected networks and are unable to model complex relationships between both cell and gene representations. We hereby propose scFormer, a novel transformer-based deep learning framework to jointly optimize cell and gene embeddings for single-cell biology in an unsupervised manner. By drawing parallels between natural language processing and genomics, scFormer applies self-attention to learn salient gene and cell embeddings through masked gene modelling. scFormer provides a unified framework to readily address a variety of downstream tasks such as data integration, analysis of gene function, and perturbation response prediction. Extensive experiments using scFormer show state-of-the-art performance on seven datasets across the relevant tasks. The scFormer model implementation is available at https://github.com/bowang-lab/scFormer.
- assay: scRNA-seq
- research focus: clustering
- research focus: dimensionality reduction
- research focus: benchmarking
- research focus: gene regulatory network inference
- approach: transformer / foundation model
- approach: contrastive learning
- Citations
- 9
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
- Unlocking biological insight from single-cell data with an interpretable dual-stream foundation model
Honglie Guo, Qinghang Cui, … Shunfang Wang·Genome biologyPeer-reviewed·Aug 8, 2026
- RegFormer: A Single-Cell Foundation Model Powered by Gene Regulatory Hierarchies
Luni Hu, Hua Qin, … Yuxiang Li·Nature CommunicationsPeer-reviewed·May 5, 2026
- scEMB: Learning context representation of genes based on large-scale single-cell transcriptomics
Kang‐Lin Hsieh, Yan Chu, … Yulin Dai·bioRxiv·Sep 24, 2024
- xTrimoGene: An Efficient and Scalable Representation Learner for Single-Cell RNA-Seq Data
Jing Gong, Minsheng Hao, … Le Song·bioRxiv·Mar 24, 2023
- scGPT: Towards Building a Foundation Model for Single-Cell Multi-omics Using Generative AI
Haotian Cui, Chloe Wang, … Bo Wang·Nature MethodsPeer-reviewed·Feb 26, 2024
- scConcept: Contrastive pretraining for technology-agnostic single-cell representations beyond reconstruction
Mojtaba Bahrami, Alejandro Tejada-Lapuerta, … Fabian Joachim Theis·bioRxiv·Oct 14, 2025