Transformer-Based Integrative Patient Representations from Single-Cell RNA Data

Benedikt von Querfurth, Johannes Lohmöller, Jan Pennekamp, Tore Bleckwehl, Rafael Kramann, Klaus Wehrle, Sikander Hayat

Abstract

Single-cell RNA sequencing (scRNA-Seq) is a powerful tool to explore cellular heterogeneity in healthy and diseased states, yet its translation into clinical insights has been limited. To bridge the gap between detailed cellular analysis and broader patient-level representations usable for phenotyping, we introduce a novel transformer-based architecture capable of embedding single-cell data into meaningful patient-level embeddings. This approach utilizes a self-supervised learning phase to construct integrative patient representations, which are then refined using contrastive learning techniques. On a dataset covering 7 million cells across 1223 individuals with diverse disease states, we show that learned embeddings are meaningful representations for a variety of downstream analytical tasks. Here, our approach proves robust against unbalanced datasets and shows indications of learning similarities between related diseases, such as COVID-19 and flu.

Cite this paper
@techreport{2025-lmrl,
  author = {von Querfurth, Benedikt AND Lohmöller, Johannes AND Pennekamp, Jan AND Bleckwehl, Tore AND Kramann, Rafael AND Wehrle, Klaus AND Hayat, Sikander},
  title = {{Transformer-Based Integrative Patient Representations from Single-Cell RNA Data}},
  year = {2025},
  doi = {10.18154/RWTH-2025-03883},
  url = {https://johanneslohmoeller.de/publication/2025-lmrl/2025_querfurth_transformer-based-integrative-patient-representations.pdf},
  publisher = {{RWTH Aachen University}},
  institution = {{RWTH Aachen University}},
}