Cell ontology guided transcriptome foundation model

Xinyu Yuan, Zhihao Zhan, Zuobai Zhang, Manqi Zhou, Jianan Zhao, Boyu Han, Yue Li, Jian Tang

Introduction

The advent of single-cell RNA sequencing (scRNA-seq) has provided an unprecedented view into the molecular makeup of life. To navigate this vast data landscape, researchers have developed Transcriptome Foundation Models (TFMs)—large-scale neural networks trained to learn the "grammar" of gene expression. However, most existing TFMs, such as scGPT and Geneformer, treat individual cells as independent data points. This approach ignores a fundamental biological truth: cells exist within a structured, hierarchical taxonomy. A mature T cell is developmentally and functionally closer to a progenitor T cell than to a neuron, yet standard models often fail to leverage this inherent "family tree."

Bridging the Gap with scCello

To address this limitation, we introduce scCello, a transcriptome foundation model designed to integrate hierarchical cell ontology graphs directly into its pre-training process. By embedding biological priors into the model's architecture, scCello moves beyond simple pattern recognition to a more structured understanding of cellular identity.

Methodology: Three Levels of Biological Learning

scCello utilizes a Transformer-based architecture with three distinct pre-training objectives that bake biological structure into its latent space:

  1. Gene-Level Modeling: Using a masked gene prediction task similar to BERT, the model learns to predict missing gene expression values. This allows scCello to capture complex gene co-expression networks and regulatory relationships.
  2. Intra-Cellular Coherence: Through a supervised contrastive loss, the model is trained to cluster representations of the same cell type together while distinguishing them from different types.
  3. Inter-Cellular Relational Alignment: This is the core innovation of scCello. The authors employ Personalized PageRank (PPR) on cell ontology graphs to calculate structural similarity scores between different cell types. The model is then forced to align the distance between its internal cell representations with these ontology-derived similarities. This ensures that "cousin" cell types in the ontology remain proximal in the model's latent space.

To ensure robustness against technical noise and varying sequencing depths, scCello employs Rank Value Encoding, which prioritizes the relative expression levels of genes over raw counts rather than relying on absolute values.

Experimental Results and Performance

The model was pre-trained on a massive dataset of 22 million cells curated from the CellxGene database and evaluated across a variety of in-distribution (ID) and out-of-distribution (OOD) tasks, including scenarios with unseen cell types, tissues, and donors.

Efficiency and Scaling

One of the most significant findings is scCello’s parameter efficiency. Despite having only 10.7 million parameters, scCello consistently outperformed models like UCE, which contains 674.7 million parameters. This suggests that in specialized scientific domains, incorporating structured inductive biases—like cell ontologies—is a more effective "scaling law" than simply increasing model size.

Generalization and Novel Cell Discovery

scCello demonstrated a remarkable ability to generalize to unseen biological contexts:

  • OOD Performance: The model achieved a 12.1% improvement in biological clustering across OOD datasets compared to existing TFMs.
  • Novel Cell Classification: In tasks involving 87 entirely "unseen" cell types, scCello leveraged its knowledge of the ontology graph to place these new types correctly on the biological map, achieving up to 76.8% accuracy in easier settings.

Downstream Utility

Beyond classification, scCello proved highly effective in practical applications:

  • Marker Gene Prediction: The model showed a 1.8% AUROC improvement in identifying cell-type-specific marker genes using in-silico gene knockouts.
  • Drug Response Prediction: When integrated into the DeepCDR pipeline for cancer research, scCello improved the Pearson correlation of drug response predictions by 7.4% over the base method.

Limitations and Future Directions

While scCello represents a significant step forward, challenges remain. The model currently relies on a static snapshot of the Cell Ontology, which is a living document frequently updated by the scientific community. Future iterations will need to explore methods for updating the model's knowledge without requiring full retraining. Additionally, while the model is excellent at identifying markers, the zero-shot knockout method occasionally flags essential "housekeeping" genes rather than specific markers, a distinction that requires further refinement.

Conclusion

scCello demonstrates that the "Tree of Life" is not just a conceptual framework for biologists but a powerful computational prior for machine learning. By aligning latent representations with established biological hierarchies, scCello achieves state-of-the-art performance with a fraction of the parameters required by traditional foundation models, paving the way for more interpretable and efficient biological AI.

Summary updated

BibTeX
@inproceedings{yuan2024cell,
  author = {Xinyu Yuan and Zhihao Zhan and Zuobai Zhang and Manqi Zhou and Jianan Zhao and Boyu Han and Yue Li and Jian Tang},
  title = {{Cell ontology guided transcriptome foundation model}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=aeYNVtTo7o},
}
Figure