bioRxivBioinformaticsPreprint
CellMemory: Hierarchical Interpretation of Out-of-Distribution Cells Using Bottlenecked Transformer
Qifei WangiD, He ZhuiD, Yiwen Hu, Yanjie CheniD, Yuwei WangiD, Xuegong ZhangiD, James ZouiD, M KellisiD, Yue LiiD, Dianbo LiuiD, Lan JiangiD
Abstract
Identifying the genetic and molecular drivers of phenotypic heterogeneity among individuals is vital for understanding human health and for diagnosing, monitoring, and treating diseases. To this end, international consortia such as the Human Cell Atlas and the Tabula Sapiens are creating comprehensive cellular references. Due to the massive volume of data generated, machine learning methods, especially transformer architectures, have been widely employed in related studies. However, applying machine learning to cellular data presents several challenges. One such challenge is making the methods interpretable with respect to both the input cellular information and its context. Another less explored challenge is the accurate representation of cells outside existing references, referred to as out-of-distribution (OOD) cells. The out-of-distribution could be attributed to various physiological conditions, such as comparing diseased cells, particularly tumor cells, with healthy reference data, or significant technical variations, such as using transfer learning from single-cell reference to spatial query data. Inspired by the global workspace theory in cognitive neuroscience, we introduce CellMemory, a bottlenecked Transformer with improved generalization capabilities designed for the hierarchical interpretation of OOD cells unseen during reference building. Even without pre-training, it exceeds the performance of large language models pre-trained with tens of millions of cells. In particular, when deciphering spatially resolved single-cell transcriptomics data, CellMemory demonstrates the ability to interpret data at the granule level accurately. Finally, we harness CellMemorys robust representational capabilities to elucidate malignant cells and their founder cells in different patients, providing reliable characterizations of the cellular changes caused by the disease.
- organism: human
- assay: spatial transcriptomics
- assay: scRNA-seq
- research focus: cell type annotation
- research focus: differential expression
- research focus: cell-cell communication
- research focus: drug response / drug discovery
- approach: transformer / foundation model
- Citations
- 4
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
- Scaling Dense Representations for Single Cell with Transcriptome-Scale Context
Nicholas Ho, Caleb N. Ellington, … Eric P. Xing·bioRxiv·Nov 28, 2024
- Cellohood: multi-granular discovery of cellular neighborhoods with a permutation-invariant set transformer auto-encoder
Marcin Możejko, Daniel Schulz, … Ewa Szczurek·bioRxiv·Nov 10, 2025
- CellFM: a large-scale foundation model pre-trained on transcriptomics of 100 million human cells
Yuansong Zeng, Jiancong Xie, … Yuedong Yang·Nature CommunicationsPeer-reviewed·May 20, 2025
- TabVI: Leveraging Lightweight Transformer Architectures to Learn Biologically Meaningful Cellular Representations
Aditi Chandrashekar, Rohan Gala, … Mariano I. Gabitto·bioRxiv·Feb 13, 2025
- Tokenizing single-cell transcriptomes as a native language for large language models
Chuxi Xiao, Yuang Ding, … Xuegong Zhang·bioRxiv·Oct 22, 2025
- CellPLM: Pre-training of Cell Language Model Beyond Single Cells
Hongzhi Wen, Wenzhuo Tang, … Jiliang Tang·bioRxiv·Oct 3, 2023