Abstract
Large-scale foundation models, which are pre-trained on massive, unlabeled datasets and subsequently fine-tuned on specific tasks, have recently achieved unparalleled success on a wide array of applications, including in healthcare and biology. In this paper, we explore two foundation models recently developed for single-cell RNA sequencing data, scBERT and scGPT. Focusing on the fine-tuning task of cell type annotation, we explore the relative performance of pre-trained models compared to a simple baseline, L1-regularized logistic regression, including in the few-shot setting. We perform ablation studies to understand whether pretraining improves model performance and to better understand the difficulty of the pre-training task in scBERT. Finally, using scBERT as an example, we demonstrate the potential sensitivity of fine-tuning to hyperparameter settings and parameter initializations. Taken together, our results highlight the importance of rigorously testing foundation models against well established baselines, establishing challenging fine-tuning tasks on which to benchmark foundation models, and performing deep introspection into the embeddings learned by the model in order to more effectively harness these models to transform single-cell data analysis.
Introduction
The emergence of large-scale foundation models (FMs) has revolutionized various domains, and single-cell RNA sequencing (scRNA-seq) is no exception. Models such as scBERT and scGPT promise to learn universal biological representations by pre-training on millions of unlabeled cells. This study provides a rigorous evaluation of these models, questioning whether their complexity translates to superior performance over traditional baselines like L1-regularized logistic regression, particularly in the context of cell type annotation.
Methodology
The researchers evaluated two primary foundation models: scBERT, which utilizes "Performer" layers and gene2vec embeddings, and scGPT, which employs "Flash-Attention" and a generative pre-training strategy. These were benchmarked against a standard L1-regularized Logistic Regression (LR) model. The study spanned multiple datasets, including the Zheng68K PBMC dataset, a Multiple Sclerosis (MS) dataset for testing distribution shifts, and tissue-specific datasets such as Pancreas and Myeloid.
Ablation studies were conducted to isolate the impact of pre-training. For instance, the researchers tested scBERT without its pre-training phase to determine if the architecture alone was responsible for its performance. Additionally, sensitivity analyses explored the effects of hyperparameters and random initializations on model stability.
Results and Discussion
The findings reveal a nuanced picture of foundation model utility. In many "in-distribution" tasks, the simple LR baseline proved remarkably robust. On the PBMC dataset, LR achieved 81.1% accuracy, significantly higher than scBERT's 76.6%. Furthermore, ablation studies on scBERT showed that removing the pre-training phase had negligible impact on performance for certain tasks, suggesting that the model's architecture might be more influential than the learned weights.
However, foundation models demonstrated a clear advantage in "out-of-distribution" scenarios. In the Multiple Sclerosis dataset, where the model was trained on healthy cells and tested on diseased ones, scGPT achieved 85.9% accuracy compared to the baseline's 81.2%. This suggests that the diverse data seen during pre-training provides a valuable regularizing effect for clinical shifts.
The study also highlighted significant hyperparameter fragility. Small variations in batch size or random seeds led to substantial differences in accuracy for the foundation models, highlighting a major challenge for reproducibility. Moreover, the researchers found that scBERT's pre-training task (predicting masked gene expression) could often be solved by simple heuristics, indicating that current pre-training objectives may not yet be capturing deep biological insights.
Conclusion
While foundation models offer potential for handling complex biological data shifts, their current application to cell type annotation often fails to significantly outperform simple linear baselines. The results underscore the need for more challenging benchmarking tasks, such as predicting genetic perturbations, and more robust pre-training objectives that capture deeper biological logic beyond simple statistical patterns. Rigorous testing against established baselines remains essential for the field to move forward effectively.
Summary updated