Spatial Transcriptomics Analysis of Zero-Shot Gene Expression Prediction

Yan Yang, Md. Zakir Hossain, Xuesong Li, Shafin Rahman, Eric A. StoneMICCAI 2024 · DOI

TL;DR

This paper introduces a novel "semantic guided network" (SGN) for zero-shot gene expression prediction in spatial transcriptomics. By leveraging large language models (LLMs) to understand gene functionality and phenotype, SGN can predict gene expression for previously unseen gene types, overcoming a major limitation of traditional methods. This approach shows competitive performance against state-of-the-art supervised methods on benchmark datasets.

What Problem Does This Paper Address?

Spatial transcriptomics (ST) provides a powerful way to study gene expression within the spatial context of tissue. However, acquiring ST data is resource-intensive, making it challenging to create comprehensive datasets that cover all possible gene types. Traditional machine learning models trained on ST data are typically supervised, meaning they can only predict the expression of gene types they were trained on. This creates a significant bottleneck: if researchers want to study a gene not included in the training set (an "unseen gene type"), the entire model needs to be retrained, which is often impractical. This paper addresses this limitation by developing a zero-shot learning framework that can predict gene expression for unseen gene types without requiring retraining.

Methods

The proposed Semantic Guided Network (SGN) tackles the zero-shot gene expression prediction problem in three main stages:

  1. Window Embedding:
    • Feature Extraction: Each window (a region of the tissue slide) is first processed by a pre-trained network (PTExtractor) to extract initial feature vectors.
  2. Feature Refinement: To capture global context, a graph is constructed where each window is a node. Edges connect windows based on their spatial proximity and feature similarity. A GraphSAGE network is then used to refine the window features, incorporating information from neighboring windows.
  3. Gene Type Embedding:
    • Functionality and Phenotype Description: For a given gene type, a prompt is designed to query a pre-trained Large Language Model (LLM). This prompt elicits descriptions of the gene's functionality and phenotype. If internet access is available, the LLM's knowledge is supplemented by scraping relevant gene type references.
  4. Description Embedding: The LLM-generated description is then embedded into a vector using a transformer network. This vector represents the gene type in a shared feature space.
  5. Gene Expression Prediction:
    • The refined window features and the gene type embedding vector are brought into a shared feature space. Gene expression for a specific gene type in a given window is predicted by performing a dot product between the window's feature vector and the gene type's embedding vector.

The model is trained using ground truth expression data for "seen" gene types and then evaluated on its ability to predict expression for "unseen" gene types.

Datasets

The paper evaluates its method on two publicly available datasets:

  • STNet dataset: Contains 30,612 windows from 68 slide images.
  • 10xProteomic dataset: Contains 24,263 windows from 6 slide images.

The authors follow standard pre-processing and cross-fold validation procedures from prior work. They note that previous methods typically select around 250 common gene types for training. For their zero-shot evaluation, they use these commonly selected gene types as "seen" gene types and test on the remaining "unseen" gene types.

Key Insights and Ideas

  • Leveraging LLMs for Gene Semantics: The core innovation is using LLMs to understand the functional and phenotypic characteristics of genes. This semantic understanding allows the model to generalize to genes it hasn't seen during training.
  • Zero-Shot Generalization: The ability to predict gene expression for unseen genes is a significant step beyond traditional supervised methods, which are limited to the training set. This dramatically increases the utility of ST analysis without requiring costly retraining.
  • Graph-Based Feature Refinement: Incorporating spatial relationships between tissue windows using graph neural networks (specifically GraphSAGE) is crucial for improving the discriminative power of window features.
  • Joint Feature Space: Projecting both window features and gene type descriptions into a common feature space is key to enabling the dot-product prediction mechanism.

Key Results

The paper demonstrates competitive zero-shot performance compared to state-of-the-art supervised learning approaches on both the STNet and 10xProteomic datasets. While the absolute gene expression prediction metrics (MSE, MAE) show some performance drop compared to supervised methods (as expected for zero-shot), the relative variation prediction metrics (PCC@F, PCC@S, PCC@M) are strong. For instance, on the STNet dataset, their method achieves a PCC@M of 2.83, which is only slightly lower than the supervised state-of-the-art method CFNet (3.00 PCC@M). This indicates that SGN effectively captures the relative changes in gene expression across different windows, which is a critical aspect for biological interpretation.

Limitations and Future Work

  • Performance Gap in Absolute Prediction: The authors acknowledge that their zero-shot approach naturally shows a performance gap in absolute gene expression prediction (MSE, MAE) compared to fully supervised methods.
  • LLM Dependency: The performance of the gene type embedding relies heavily on the quality of the LLM and the prompts used. The paper mentions supplementing LLM knowledge with internet scraping, but the robustness of this process could be a factor.
  • Future Work: The paper suggests exploring more advanced LLMs and prompt engineering techniques for richer gene type descriptions. Further investigation into the interplay between different graph construction strategies and the LLM component could also yield improvements. The authors also highlight the potential for their framework to be extended to other zero-shot learning tasks in computational biology.

Summary updated

BibTeX
@inproceedings{yang2024spatial,
  author = {Yan Yang and Md. Zakir Hossain and Xuesong Li and Shafin Rahman and Eric A. Stone},
  title = {{Spatial Transcriptomics Analysis of Zero-Shot Gene Expression Prediction}},
  booktitle = {International Conference on Medical Image Computing and Computer-Assisted Intervention},
  year = {2024},
  doi = {10.48550/arxiv.2401.14772},
}

Loading related content...

Figure