Language-Enhanced Representation Learning for Single-Cell Transcriptomics

Jiaqi Yang, Zhiyuan Liu, Yaorui Shi, Qingchuan Zhang, Changhao Nai, Junfeng Fang, Yahui Long, Yang Zhang, Xiang Wang

TL;DR

This paper introduces scMMGPT, a novel multimodal framework that integrates single-cell RNA sequencing (scRNA-seq) data with textual biological descriptions to create richer cell representations. By leveraging both quantitative gene expression and qualitative biological knowledge, scMMGPT significantly improves performance on key single-cell analysis tasks like cell type annotation and clustering, outperforming existing methods.

What Problem Does This Paper Address?

Single-cell RNA sequencing (scRNA-seq) provides a powerful lens into cellular heterogeneity, revealing the intricate details of individual cells. While recent advancements have seen the rise of single-cell large language models (scLLMs) that learn representations from scRNA-seq data, these models often operate in isolation, neglecting a wealth of complementary biological knowledge found in textual descriptions. These descriptions, such as cell type definitions, tissue origins, and experimental contexts, contain high-level biological insights that are not directly captured by gene expression profiles alone. This limitation restricts the comprehensiveness and semantic richness of cell representations, potentially hindering downstream analysis. scMMGPT aims to bridge this gap by effectively integrating these two modalities.

Methods

scMMGPT is a multimodal framework built upon a two-stage pre-training strategy.

  1. Robust Cell Representation Extraction: It starts by using a specialized scLLM (scGPT) that directly models raw gene expression levels, preserving quantitative information and avoiding the loss of data that can occur with simpler gene selection methods.
  2. Language-Enhanced Integration: To bridge the gap between scRNA-seq data and textual descriptions, scMMGPT employs bidirectional projectors. A "cell-to-text" projector (using a Q-Former) maps cell embeddings into the text LLM's space, while a "text-to-cell" projector (using cross-attention layers) maps text embeddings into the scLLM's space, acting as soft prompts.
  3. Two-Stage Pre-training:
    • Stage 1: Cross-modal Discriminative Pre-training: This stage aligns cell and text representations into a shared latent space. It uses contrastive (InfoNCE) and matching (cross-entropy) objectives to teach the model to distinguish correct cell-text pairs from incorrect ones.
  4. Stage 2: Cross-modal Generative Pre-training: This stage further enhances alignment by enabling bidirectional knowledge transfer. It includes "cell-to-text" generation (where the model generates a textual description from a cell embedding) and "text-to-cell" generation (where the model generates a pseudo-cell expression vector from a textual description).

This comprehensive approach allows scMMGPT to learn richer, more context-aware cell representations.

Datasets

scMMGPT was trained on a massive dataset comprising:

  • Cell Transcriptomics Data: Approximately 27 million human single-cell RNA sequencing (scRNA-seq) profiles from the CellxGene database [20], covering diverse human tissues.
  • Textual Descriptions: Free-form cell identity explanations gathered from the Open Biomedical Ontologies Foundry (OBO Foundry) [21] and Wikipedia, merged with cell metadata from CellxGene.

For evaluation, scMMGPT was tested on several benchmark datasets, including:

  • CellxGene [20]
  • PBMC-10K [56]
  • Human Pancreas (hPancreas) [53]
  • Multiple Sclerosis [54]
  • Myeloid [52]
  • PBMC-3K [55]
  • Immune Tissue [60]
  • Tabula Sapiens [65]

Key Insights and Ideas

  • Textual context is crucial for richer cell representations: Simply relying on gene expression data limits the depth of understanding. Integrating biological knowledge from text significantly enhances cell representations.
  • A two-stage pre-training strategy is effective: Combining discriminative alignment (learning to match) with generative tasks (learning to translate) allows for more robust cross-modal learning.
  • Preserving quantitative gene expression is vital: Unlike some prior methods that simplify gene expression data, scMMGPT's approach of modeling raw expression levels helps retain critical information.
  • Bidirectional projectors are key for modality bridging: The Q-Former and cross-attention mechanisms effectively facilitate information exchange between the scLLM and text LLM.
  • scMMGPT generalizes well to unseen cell types: The model demonstrates strong performance even on datasets with many cell types not present in the pre-training corpus, indicating good out-of-distribution capabilities.

Key Results

scMMGPT consistently outperformed unimodal and multimodal baselines across various downstream tasks:

  • Cell Type Annotation: Achieved relative improvements of up to 10% in F1 scores on datasets like Multiple Sclerosis and PBMC-3K. For example, on the Myeloid dataset, it achieved 69.0% accuracy and 67.6% F1 score, outperforming scGPT (64.2% accuracy, 34.6% F1).
  • Cell Clustering: Showed significant improvements in both biological conservation and batch correction metrics. For instance, on the PBMC-10K dataset, scMMGPT achieved an Avgbio of 0.854 and Avgbatch of 0.988, surpassing scGPT (Avgbio 0.821, Avgbatch 0.923).
  • Cell Description Generation: Substantially outperformed baselines like GPT-2 and C2S, achieving higher text similarity and semantic alignment with ground-truth descriptions.
  • Robustness: Demonstrated strong performance across different lambda settings in cell type annotation, indicating robustness to hyperparameter choices.
  • Out-of-Distribution Performance: Achieved an Acc@1 of 49.1% on the Tabula Sapiens dataset without fine-tuning, significantly outperforming baselines.

Limitations and Future Work

  • Limited coverage of non-human species: The model's pre-training data is primarily from human tissues, limiting its generalization to cells from other species.
  • Exclusion of multiomics: scMMGPT currently focuses solely on scRNA-seq data and does not incorporate other modalities like scATAC-seq or CITE-seq, which could provide deeper insights into chromatin accessibility and protein expression.
  • Exclusion of spatial transcriptomics: The model analyzes individual cells and does not account for spatial context, missing out on information about cell-cell interactions within tissues.

Future work aims to address these limitations by:

  • Incorporating additional species and integrating further cell modalities (e.g., scATAC-seq, CITE-seq).
  • Expanding to address challenges in multi-omic integration and cross-omic translation.
  • Exploring novel cell type discovery and potentially integrating spatial transcriptomics.

Summary updated

BibTeX
@inproceedings{yang2026language,
  author = {Jiaqi Yang and Zhiyuan Liu and Yaorui Shi and Qingchuan Zhang and Changhao Nai and Junfeng Fang and Yahui Long and Yang Zhang and Xiang Wang},
  title = {{Language-Enhanced Representation Learning for Single-Cell Transcriptomics}},
  booktitle = {FM4Science @ ICLR},
  year = {2026},
  url = {https://openreview.net/forum?id=A3QZpECGSw},
}
Figure