TL;DR
Cell2Text bridges single-cell genomics and natural language processing by connecting single-cell foundation model embeddings directly to instruction-tuned Large Language Models (LLMs). Instead of forcing single-cell expression profiles into rigid, discrete classification buckets, Cell2Text translates them into coherent, biologically grounded text descriptions detailing cell type, tissue origin, disease state, and active biological pathways. Surprisingly, extracting discrete labels from these generated sentences outperforms traditional specialized classifiers on benchmark tasks.
What Problem Does This Paper Address?
Interpreting single-cell RNA sequencing (scRNA-seq) data typically relies on automated cell annotation. Most current approaches—including recent single-cell foundation models like Geneformer and scGPT—rely on discrete classification heads.
This formulation introduces two major limitations:
- Rigid label spaces: Traditional classification heads cannot easily generalize to unseen cell types, rare disease states, or dynamic cellular transitions without costly retraining.
- Information loss: Most models compress an entire cell’s transcriptome into a single pooled vector, discarding subtle gene–gene regulatory dynamics and providing single-label outputs rather than the nuanced, contextual biological explanations that researchers need.
Methods
Cell2Text introduces a multimodal generative framework combining three components:
- Cell Encoder: Uses a frozen Geneformer-V2-316M model. Instead of standard cell-level pooling, it preserves fine-grained biological signals by retaining a sequence of up to 4,096 contextualized gene-level embeddings per cell.
- Modality Adapter: A lightweight two-layer feedforward projection network with non-linear activations and $L_2$-normalization that maps gene embeddings into the LLM's text token embedding space.
- Language Decoder: Instruction-tuned LLMs (Meta-Llama-3.2-1B-Instruct and Gemma3-4B-it) prompted to act as scientific assistants and generate comprehensive cell descriptions.
- Ontology-Aware Evaluation: Because biological taxonomy is hierarchical, predicting a "T cell" instead of a "CD4+ T cell" should not be treated as a complete failure. The authors implement a Personalized PageRank (PPR) metric across the Cell Ontology graph to quantify semantic and biological closeness for "near miss" predictions.
[ scRNA-seq Profile ]
│
▼
[ Frozen Geneformer-V2 ] ──> (Sequence of Gene-Level Embeddings)
│
▼
[ 2-Layer Adapter + L2 Norm ]
│
▼
[ Instruction-Tuned LLM ] ──> "This sample consists of a ciliated columnar cell..."
Datasets
The authors constructed a multimodal dataset of 1,000,000 single cells derived from the CELLxGENE Census, spanning 7,331 donors, 783 cell types, 347 tissue classes, and 128 disease conditions.
- Text Enrichment: Cell annotations were expanded into natural language descriptions using Cell Ontology definitions paired with pathway activity analysis via
pySCENICacross 34 MSigDB Hallmark pathways. - Stratified Sampling: Implemented to curb severe class imbalance (e.g., overrepresentation of brain and blood cells, or COVID-19 samples), significantly improving Shannon diversity across tissues, diseases, and cell types.
- Splitting: A strict donor-level 80/10/10 train/validation/test split was used to prevent data leakage.
Key Insights and Ideas
- Text generation improves classification accuracy: Even though Cell2Text is trained purely on next-token text prediction, parsing metadata from the generated natural language yields higher classification accuracy than training linear heads directly on frozen embeddings. The language objective acts as a rich semantic regularizer.
- Gene-level granularity matters: Bypassing global pooling allows the LLM decoder to attend directly to individual gene representations and expression levels, preserving regulatory signals often washed out in single-vector representations.
- Biologically meaningful errors: PageRank-based ontology evaluation revealed that when Cell2Text misclassifies a cell, it overwhelmingly predicts closely related ancestor or sibling cell types rather than unrelated lineages.
Key Results
- Metadata Classification:
- Cell Type: Cell2Text-Gemma-4B achieved 77.83% accuracy (77.39% macro-F1), significantly outperforming Geneformer with a linear classification head (67.26%) and LightGBM (50.70%).
- Tissue & Disease: Cell2Text-Llama-1B achieved 73.35% tissue accuracy (vs. 68.52% baseline) and 77.84% disease accuracy (vs. 74.09% baseline).
- Ontological Closeness: On Cell Ontology PageRank similarity, Cell2Text-Gemma-4B reached 85.62%, compared to 80.62% for the Geneformer linear head and 63.70% for LightGBM.
- Text Quality: Generated descriptions demonstrated high biomedical fidelity, scoring over 93.9% BioBERT F1 across fully fine-tuned models, alongside ROUGE-L scores exceeding 81.9.
- Pathway Activity: Cell2Text achieved a 58.76% Jaccard index and 42.31% exact subset accuracy for multi-label pathway identification, remaining competitive with a specialized 34-model LightGBM ensemble (60.39% Jaccard).
Limitations and Future Work
- Computational Cost: Full fine-tuning of 1B–4B parameter models on gene-level sequences demands multi-GPU infrastructure (e.g., clusters of V100 or A100 GPUs), although LoRA demonstrated viable efficiency trade-offs.
- Sequence Length Caps: The architecture is limited by Geneformer's 4,096-gene context window. While this covers most expressed genes, deeply sequenced cells with higher transcript complexity require truncation.
- Underlying Dataset Skew: Despite stratification, public repositories remain biased toward specific tissues (brain, blood) and conditions (normal, COVID-19), which can impact generalizability on ultra-rare cell states.
Summary updated