Abstract
Single-cell RNA sequencing (scRNA-seq) enables high-resolution exploration of cellular diversity and gene regulation, yet analyzing such data remains challenging due to technical and methodological limitations. Existing task-specific deep generative models like Variational Auto-Encoder (VAE) and its variants struggle to incorporate external biological knowledge, while transformer-based foundational large Language Models (LLMs or large LaMs) face limitations in computational cost and applicability to tabular gene expression data. Here, we introduce sciLaMA (single-cell interpretable Language Model Adapter), a novel representation learning framework that bridges these gaps by integrating static gene embeddings from multimodal LLMs with scRNA-seq tabular data through a paired-VAE architecture. Our approach generates context-aware representations for both cells and genes and outperforms state-of-the-art methods in key single-cell downstream tasks, including batch effect correction, cell clustering, and cell-state-specific gene marker and module identification, while maintaining computational efficiency. sciLaMA offers a computationally efficient, unified framework for comprehensive single-cell data analysis and biologically interpretable gene module discovery.
Introduction
Single-cell RNA sequencing (scRNA-seq) has revolutionized our understanding of cellular heterogeneity by providing high-resolution snapshots of gene expression. However, the resulting data is often sparse, noisy, and plagued by technical "batch effects." Traditional deep generative models, such as Variational Autoencoders (VAEs), are effective at denoising but typically treat genes as independent indices, ignoring the vast biological knowledge encoded in gene sequences and functional descriptions. Conversely, Large Language Models (LLMs) can capture this prior knowledge but are computationally intensive and often struggle with the tabular nature of expression data.
To bridge this gap, we present sciLaMA (single-cell interpretable Language Model Adapter). sciLaMA is a computationally efficient framework that integrates static gene embeddings from multimodal LLMs with scRNA-seq data using a paired-VAE architecture. This approach allows for the "contextualization" of general biological knowledge into specific experimental settings, achieving state-of-the-art performance in downstream tasks while being significantly faster than fine-tuning transformer-based models.
Methodology: The Paired-VAE Architecture
The core innovation of sciLaMA is its dual-encoder system, which processes cell-level expression and gene-level prior knowledge simultaneously.
Input and Contextualization
The framework accepts two primary inputs: the raw gene expression matrix and static gene embeddings derived from external LLMs (e.g., ChatGPT for text descriptions, ESM for protein sequences, or scGPT). The geneVAE component takes these static embeddings and maps them into a "contextual" latent space. This process ensures that the model doesn't just rely on general gene properties but learns how those properties manifest within the specific biological context of the dataset.
Latent Alignment and Interpretability
sciLaMA employs a unique alignment loss ($L_{alignment}$) that constrains the dot product of a cell's latent representation and a gene's latent representation to approximate the observed expression value. By forcing this alignment, the latent dimensions become inherently interpretable: a high value in a specific dimension for both a cell and a gene indicates a strong biological association, facilitating the discovery of gene modules without complex post-hoc analysis.
Experimental Results
We evaluated sciLaMA across diverse benchmarks, including human pancreatic datasets, spatial transcriptomics, and mouse neurodevelopmental trajectories.
Performance Benchmarks
On the human pancreatic integration task, sciLaMA achieved an Adjusted Rand Index (ARI) of 0.522, outperforming standard VAEs like scVI-batch (0.447) and even fine-tuned foundation models like scGPT (0.483). Furthermore, it demonstrated exceptional robustness in removing technical noise, achieving a batchASW score of 0.865.
Computational Efficiency
One of sciLaMA's most significant advantages is its efficiency. In head-to-head comparisons, sciLaMA processed a dataset of approximately 15,000 cells in 759 seconds. In contrast, fine-tuning scGPT on the same hardware required 19,474 seconds—a 25-fold reduction in computational cost that makes high-quality representation learning accessible without specialized high-performance computing clusters.
Biological Discovery
Beyond clustering, sciLaMA excels at gene expression imputation and marker identification. In "leave-one-gene-out" experiments, it surpassed specialized tools like gimVI and Tangram. The alignment between cell and gene latent spaces allowed for the identification of cell-state-specific markers that general-purpose LLMs might overlook, proving that the "contextualization" step is vital for biological accuracy.
Discussion and Conclusion
sciLaMA demonstrates that LLMs can serve as powerful regularizers for single-cell analysis. By incorporating external biological priors, the model avoids overfitting to technical noise while maintaining the interpretability of traditional VAEs. While the model's performance is currently dependent on the quality of input LLM embeddings, it represents a major step toward unified, knowledge-aware single-cell analysis. Future work will focus on extending the framework to multi-omic data and exploring the impact of diverse LLM priors on specific biological discoveries.
Source code is available at https://github.com/microsoft/sciLaMA.
Summary updated