Large Scale Foundation Model on Single-cell Transcriptomics

Minsheng Hao, Jing Gong, Xin Zeng, Chi-Ming Liu, Yucheng Guo, Xingyi Cheng, Taifeng Wang, Jianzhu Ma, Le Song, Xuegong ZhangbioRxiv 2023

TL;DR

Researchers have developed "scFoundation," a large-scale foundation model trained on over 50 million human single-cell transcriptomics datasets. This model, with 100 million parameters, demonstrates remarkable ability to enhance gene expression data, predict drug responses, and model cellular perturbations, setting a new benchmark for foundation models in single-cell biology.

What Problem Does This Paper Address?

The field of single-cell biology generates massive amounts of complex data, often referred to as the "language of cells." While large-scale foundation models have revolutionized natural language processing by learning intricate patterns from vast text corpora, applying similar principles to biological data has faced significant challenges. These include the sheer scale and complexity of single-cell transcriptomics data (millions of cells, tens of thousands of genes), the inherent noise and variability in sequencing data, and the difficulty in handling the high dimensionality of gene expression. Existing models often had to restrict themselves to a subset of genes or struggled with data heterogeneity. This paper aims to bridge this gap by developing a robust, large-scale foundation model capable of learning from and generalizing across diverse single-cell transcriptomic datasets.

Methods

The core of this work is the scFoundation model, built upon the xTrimoGene architecture. Key methodological innovations include:

  • Asymmetric Encoder-Decoder Architecture: Designed to efficiently handle the high sparsity of single-cell data. The encoder focuses on non-zero and non-masked expressed genes, while the decoder considers all genes, allowing for differential attention and computational resource allocation.
  • Read-Depth-Aware (RDA) Pre-training Task: Addresses the issue of varying sequencing depth across datasets. This task trains the model to predict masked gene expression values by leveraging context from either the same cell or a low read-depth variant. It uses a hierarchical Bayesian downsampling strategy to create these variants.
  • Continuous Gene Expression Modeling: Unlike previous methods that discretized gene expression, scFoundation directly models continuous scalar values, preserving more information.
  • Unified Gene List: All data was aligned to a consolidated list of 19,264 protein-coding and common mitochondrial genes.

Datasets

  • Pre-training Dataset: Over 50 million human single-cell RNA sequencing (scRNA-seq) profiles were collected from publicly available resources like GEO, Single Cell Portal, HCA, and EMBL-EBI. This dataset covers more than 100 tissue types and various cell states.
  • Downstream Task Datasets:
    • Gene Expression Enhancement: A subset of 10,000 high-quality cells from the pre-training data was used for evaluation.
  • Cancer Drug Response Prediction: Cancer Cell Line Encyclopedia (CCLE) and Genomics of Cancer Drug Sensitivity (GDSC) datasets were used.
  • Single-Cell Drug Sensitivity Prediction: Datasets from four specific drugs (Sorafenib, NVP-TAE684, PLX4720, and Etoposide) were utilized.
  • Perturbation Prediction: Three datasets were used: Adamson (87 1-gene perturbations), Dixit (24 1-gene perturbations), and Norman (131 2-gene perturbations and 105 1-gene perturbations).

Key Insights and Ideas

  • "Language of Cells" Analogy Holds: The success of scFoundation validates the idea that single-cell transcriptomic data can be treated as a "language" that foundation models can learn from, similar to natural language.
  • Read Depth is a Solvable Problem: The RDA pre-training task effectively harmonizes cells with different sequencing depths, a significant hurdle in single-cell data analysis.
  • Embeddings Capture Richer Information: scFoundation's learned embeddings provide more informative representations than raw gene expression, leading to improved performance across diverse downstream tasks.
  • Transferability Across Data Types: The model's ability to transfer learned relationships from single-cell data to bulk data for drug response prediction highlights the generality of its learned representations.
  • Cell-Specific Context is Crucial for Perturbations: By constructing cell-specific gene co-expression graphs using scFoundation's decoder outputs, the model achieves highly accurate perturbation predictions.

Key Results

  • State-of-the-Art Performance: scFoundation achieved state-of-the-art results on multiple downstream tasks, including gene expression enhancement, drug response prediction, and perturbation prediction.
  • Gene Expression Enhancement: Demonstrated significant reduction in Mean Absolute Error (MAE) and Mean Relative Error (MRE) compared to baseline methods, even with extreme downsampling rates.
  • Clustering: scFoundation embeddings led to improved clustering accuracy (NMI, ARI, SIL) compared to raw data and other imputation methods, showing better separation of cell types.
  • Cancer Drug Response: Improved prediction accuracy (PCC) for drug IC50 values when integrated with the DeepCDR model.
  • Single-Cell Drug Sensitivity: Achieved higher AUROC values for predicting drug sensitivity in single cells, outperforming baseline SCAD models.
  • Perturbation Prediction: Lower Mean Square Error (MSE) and higher percentage of accurate predictions compared to the GEARS baseline model.

Limitations and Future Work

  • Model Size and Computational Resources: While scFoundation is large, the authors suggest pre-training even larger models with more parameters and datasets in the future.
  • Multi-omics Integration: The availability of single-cell multi-omics data (e.g., epigenomics) opens avenues for training multi-omics foundation models to capture more complex regulatory relationships and cell state transitions.
  • Generalizability to Novel Perturbations: While the model performed well on unseen perturbations, further validation on a wider range of novel perturbations would be beneficial.
  • Interpretability: While the embeddings are shown to be informative, further work could focus on deeper interpretability of the learned representations.

Summary updated

Abstract

Abstract Large-scale pretrained models have become foundation models leading to breakthroughs in natural language processing and related fields. Developing foundation models in life science for deciphering the “languages” of cells and facilitating biomedical research is promising yet challenging. We developed a large-scale pretrained model scFoundation with 100M parameters for this purpose. scFoundation was trained on over 50 million human single-cell transcriptomics data, which contain high-throughput observations on the complex molecular features in all known types of cells. scFoundation is currently the largest model in terms of the size of trainable parameters, dimensionality of genes and the number of cells used in the pre-training. Experiments showed that scFoundation can serve as a foundation model for single-cell transcriptomics and achieve state-of-the-art performances in a diverse array of downstream tasks, such as gene expression enhancement, tissue drug response prediction, single-cell drug response classification, and single-cell perturbation prediction.
BibTeX
@misc{hao2023large,
  author = {Minsheng Hao and Jing Gong and Xin Zeng and Chi-Ming Liu and Yucheng Guo and Xingyi Cheng and Taifeng Wang and Jianzhu Ma and Le Song and Xuegong Zhang},
  title = {{Large Scale Foundation Model on Single-cell Transcriptomics}},
  year = {2023},
  doi = {10.1101/2023.05.29.542705},
  howpublished = {bioRxiv},
}
Figure