A single-cell gene expression language model

William Connell, Umair Khan, Michael KeiserLMRL @ NeurIPS 2022

TL;DR

This paper introduces "Exceiver," a novel single-cell gene expression language model that treats gene expression data like text. By learning context dependencies between genes in a self-supervised manner, Exceiver can uncover hidden regulatory logic and its pre-trained models demonstrate impressive transfer learning capabilities to new datasets and downstream tasks like predicting drug responses.

What Problem Does This Paper Address?

Understanding how genes interact and regulate cellular behavior (gene regulation) is fundamental to biology, but physically mapping these complex networks in mammals is incredibly challenging. While large-scale single-cell RNA sequencing (scRNA-seq) provides snapshots of gene activity, extracting meaningful regulatory insights from this noisy, high-dimensional data remains a significant hurdle. The authors propose to leverage the success of natural language processing (NLP) models, which excel at learning context dependencies in sequential data, as an analogy for understanding gene expression. They aim to build a computational framework that can implicitly learn gene regulatory logic from unlabeled scRNA-seq data.

Methods

The core of this work is the Exceiver model, which is based on the Perceiver IO architecture. Exceiver is designed to handle the unique characteristics of scRNA-seq data:

  • Transformer-based Architecture: It uses attention mechanisms to learn relationships between genes, similar to how NLP models learn relationships between words.
  • Discrete Noise Masking (DNM): This is a novel self-supervised pretraining task. Instead of masking words in a sentence, DNM randomly masks a fraction of genes in a cell's expression profile. The model is then trained to predict the expression of these masked genes based on the remaining genes. This approach is tailored for discrete count data and accounts for feature sparsity.
  • Auxiliary Classification Task: To further guide the learning process, Exceiver can optionally be trained to classify sample metadata (e.g., tissue type) as an additional task. This helps the model learn representations that are informative about cell identity.
  • Handling Technical Dropout: The model explicitly accounts for technical dropout (instances where a gene is expressed but not detected) by masking attention computations at zero-valued expression positions, preventing the model from learning from these artifacts.

Datasets

  • Tabula Sapiens: A large human atlas dataset of approximately 500,000 single cells from 24 organs. This dataset was used for the primary self-supervised pretraining of Exceiver.
  • Bi et al. dataset: A scRNA-seq dataset of tumor and immune cells from patients treated with immune checkpoint blockade. This dataset was used to evaluate the transferability of the pretrained Exceiver model to a new, unseen dataset.
  • MIX-Seq dataset: A dataset of pooled cell lines that were transcriptionally characterized after drug treatments. This was used to assess the model's ability to predict drug responses.

Key Insights and Ideas

  • Gene Expression as a "Language": The paper successfully demonstrates that treating gene expression profiles as a form of "language" allows for the application of powerful sequence modeling techniques to uncover biological relationships.
  • Self-Supervised Learning for Biology: DNM provides an effective way to pretrain models on vast amounts of unlabeled scRNA-seq data, learning fundamental gene dependencies without requiring explicit labels for every gene interaction.
  • Learned Representations Reflect Biology: The model's learned representations for both cells (sample embeddings) and genes (gene embeddings) show remarkable agreement with known biological annotations and molecular interactions, suggesting it's capturing genuine biological signals.
  • Transfer Learning is Powerful: A pretrained Exceiver model can rapidly adapt to new datasets and tasks, significantly outperforming models trained from scratch. This highlights the value of general-purpose biological representation learning.

Key Results

  • Improved Biological Annotation Matching: Exceiver's latent sample representations achieved considerably higher Adjusted Mutual Information (AMI) scores for matching biological annotations (tissue, donor, compartment) compared to original sample embeddings.
  • Gene Embeddings Reflect Network Biology: 66% of Exceiver's gene clusters showed significant enrichment in known molecular interactions (STRING database) and functional gene associations (Gene Ontology).
  • Faster Convergence on New Datasets: When fine-tuned on a new scRNA-seq dataset, pretrained Exceiver models converged to a high explained variance (EV) of 0.94 in under 10 epochs, whereas baseline models required over 350 epochs to reach an EV of 0.73.
  • Successful Drug Response Prediction: For specific drug treatments (trametinib and dabrafenib), the pretrained Exceiver model significantly outperformed the baseline model in predicting drug response, demonstrating its utility in downstream predictive tasks.

Limitations and Future Work

  • Positional Encoding: The authors acknowledge that Exceiver does not currently use positional encoding for genes, which could be valuable for capturing spatial gene dependencies (e.g., chromosomal location). They suggest this as a direction for future work.
  • Generalizability of DNM: While DNM is effective, its extension to other distributions beyond simple mean noising is mentioned as a potential area for further exploration.
  • Drug Response Prediction Challenges: The model struggled to predict responses for certain drugs (navitoclax, taselisib, bortezomib, gemcitabine), possibly due to the complexity of the biological interactions or limitations in the dataset matching. Further optimization and exploration of different model configurations might be needed.
  • Broader Applications: The authors envision Exceiver's utility in transferring systems knowledge to various downstream tasks, from understanding molecular functions to predicting complex phenotypes, suggesting a broad scope for future research.

Summary updated

BibTeX
@inproceedings{connell2022single,
  author = {William Connell and Umair Khan and Michael Keiser},
  title = {{A single-cell gene expression language model}},
  booktitle = {LMRL @ NeurIPS},
  year = {2022},
  url = {https://openreview.net/forum?id=XxRuCIgq2LX},
}
Figure