TL;DR
This paper introduces AGP-Net, a novel deep learning framework that predicts gene expression directly from histopathology images. By leveraging textual descriptions of genes, AGP-Net achieves state-of-the-art performance in zero-shot spatial gene expression prediction, enabling more accurate diagnoses and treatments for complex diseases like cancer.
What Problem Does This Paper Address?
Understanding the spatial distribution of gene expression within tissues is crucial for dissecting complex diseases, especially cancers, where localized gene expression patterns can reveal distinct signatures. Traditional methods for measuring gene expression are often expensive and time-consuming. While computational approaches can infer gene expression from histopathology images, they face challenges in generalizability due to limited and varied datasets. Existing models often struggle to predict expression for genes not seen during training and are confined to specific experimental conditions. This paper tackles the problem of creating a universal, robust, and adaptable model for predicting spatial gene expression from histopathology images, even for unseen genes and across diverse datasets.
Methods
AGP-Net employs a multi-modal foundation framework with a dual-encoder architecture:
- Image Encoder: A Vision Transformer (ViT) backbone enhanced with interleaved convolutional layers processes histopathology images to extract comprehensive feature maps.
- Text Encoder: A transformer-based architecture encodes textual descriptions of genes into a 512-dimensional feature vector.
The core innovation lies in linking these two modalities. For gene expression prediction at a specific spot, the image encoder's output is pooled using ROI pooling based on the spot's location. This visual feature vector is then combined with the text encoder's gene description vector via a dot product. This approach allows AGP-Net to:
- Borrow strength across similar genes: By using textual descriptions, the model can infer relationships between genes with similar functions or characteristics.
- Predict for unseen genes: Leveraging gene descriptions enables prediction of expression for genes not present in the training data.
- Handle varying gene coverage: The model is flexible with datasets that have different sets of measured genes.
The framework also supports downstream tasks like tumor detection and gene expression imputation by framing them as prediction problems. For training, AGP-Net utilizes a combination of real spatial transcriptomics datasets and artificially generated datasets derived from histopathology images paired with textual captions.
Datasets
The paper uses a combination of real and artificial datasets for training and evaluation:
- Real Spatial Transcriptomics Datasets: The authors leverage publicly available datasets from platforms like 10x Visium and Stereo-seq. Specific datasets mentioned for evaluation include Ji et al. [19], Andersson et al. [26], Maynard et al. [29], and Erickson et al. [25].
- Artificial Datasets: These are constructed by pairing histopathology images with textual captions. This approach generates datasets with positive gene expression (paired image-caption) and zero gene expression (unpaired image-caption).
- Datasets for Downstream Tasks:
- Tumor Detection: LC-Colon [31], WSSS4LUAD [32], SkinCancer-Tumor [33], and NCT-CRC-Tumor [34] datasets.
- Tumor and Cancer Typing: BACH [35], BreakHis [36], LC-Lung [31], LungHist700 [37], SICAP [38], and SkinCancer [33] datasets.
Key Insights and Ideas
- Textual Gene Descriptions as a Bridge: The most significant insight is the power of using free-form textual descriptions of genes to bridge the gap between visual histopathology data and gene expression. This allows for a more universal and flexible model.
- Zero-Shot Learning for Gene Expression: AGP-Net's ability to predict gene expression for genes not seen during training (zero-shot prediction) is a major breakthrough, significantly expanding its applicability.
- Universal Foundation Model: The goal of creating a single, adaptable model that can handle diverse datasets and tasks (prediction, detection, typing, imputation) is a key ambition, moving towards more generalized AI in biology.
- Artificial Data for Robustness: The use of artificially generated datasets, derived from image-caption pairs, is crucial for enhancing the model's robustness and training efficacy, especially for tasks like tumor detection.
- Interpretability through Attention: The attention maps generated by AGP-Net provide insights into which regions of the histopathology image are most discriminative for predictions, offering a degree of interpretability.
Key Results
- State-of-the-Art Performance: AGP-Net achieves state-of-the-art performance in zero-shot spatial gene expression prediction across multiple datasets. For instance, on the Ji et al. [19] dataset, it achieved a mean Pearson correlation coefficient (PCC@M) of 0.530.
- Superior Tumor Detection: AGP-Net outperforms previous zero-shot methods in tumor detection tasks, achieving an accuracy of 0.914 on the WSSS4LUAD dataset, significantly surpassing the next best method (0.851).
- Advanced Cancer Typing: The model also demonstrates superior performance in tumor and cancer typing, with significant accuracy improvements over prior methods on datasets like BACH and SICAP.
- Robust Gene Expression Imputation: AGP-Net consistently outperforms competing methods in gene expression imputation, especially in data-sparse settings, showing improvements of over 0.2 PCC@M on the Maynard et al. [29] dataset.
- Visual Correspondence: The predicted gene expression distributions show excellent visual correspondence with ground truth, even in challenging out-of-distribution scenarios.
Limitations and Future Work
- Reliance on High-Quality Data: AGP-Net's performance is dependent on the availability of high-quality spatial transcriptomics and histopathology datasets for training.
- Domain Adaptation: Extending applicability to accommodate variations in staining techniques, imaging protocols, and batch effects is a key area for future work.
- Incorporating Domain-Specific Knowledge: Integrating curated gene ontologies or molecular pathway information could further refine predictions.
- Multi-Modal Integration: Future work could explore integrating additional data types, such as imaging mass spectrometry or single-cell RNA sequencing data, to enhance predictive power.
- Code Availability: The paper states "Our code can be assessed at TBC," indicating that the code is not yet publicly available but is planned for release.
Summary updated