[Paper Review] Visual Language Pretrained Multiple Instance Zero-Shot Transfer for Histopathology Images
MI-Zero enables zero-shot transfer on gigapixel whole-slide histopathology images by aligning visual-language encoders and applying multiple instance learning, achieving 70.2% average median zero-shot accuracy across three cancer subtyping tasks.
Contrastive visual language pretraining has emerged as a powerful method for either training new language-aware image encoders or augmenting existing pretrained models with zero-shot visual recognition capabilities. However, existing works typically train on large datasets of image-text pairs and have been designed to perform downstream tasks involving only small to medium sized-images, neither of which are applicable to the emerging field of computational pathology where there are limited publicly available paired image-text datasets and each image can span up to 100,000 x 100,000 pixels. In this paper we present MI-Zero, a simple and intuitive framework for unleashing the zero-shot transfer capabilities of contrastively aligned image and text models on gigapixel histopathology whole slide images, enabling multiple downstream diagnostic tasks to be carried out by pretrained encoders without requiring any additional labels. MI-Zero reformulates zero-shot transfer under the framework of multiple instance learning to overcome the computational challenge of inference on extremely large images. We used over 550k pathology reports and other available in-domain text corpora to pre-train our text encoder. By effectively leveraging strong pre-trained encoders, our best model pretrained on over 33k histopathology image-caption pairs achieves an average median zero-shot accuracy of 70.2% across three different real-world cancer subtyping tasks. Our code is available at: https://github.com/mahmoodlab/MI-Zero.
Motivation & Objective
- Address the lack of large paired image-text data in pathology for zero-shot transfer.
- Leverage contrastively aligned image-text encoders to operate on gigapixel WSIs.
- Formulate zero-shot WSI classification via a multiple instance learning framework.
- Demonstrate performance across multiple cancer subtyping tasks using in-domain text data.
Proposed method
- Pretrain a domain-specific text encoder (HistPathGPT) on over 550k pathology reports and PubMed abstracts.
- Use a state-of-the-art histopathology image encoder (CTP) or alternatives pre-trained on histology patches.
- Align image and text embeddings with a cross-modal contrastive loss (i2t and t2i directions) in a 512-dimensional latent space.
- Split WSIs into patches (instances), compute patch embeddings, and compute class scores via cosine similarity to prompt embeddings.
- Aggregate patch scores using permutation-invariant pooling (mean or topK) or spatially smoothed graph-based pooling to obtain slide-level predictions.
- For zero-shot classification, use prompt-based text embeddings for each class and select the best via the pooled image-text similarity.
Experimental results
Research questions
- RQ1Can zero-shot transfer be effectively applied to gigapixel histopathology WSIs using MIL-based aggregation?
- RQ2Does domain-specific text pretraining (HistPathGPT) improve zero-shot WSI classification compared to non-domain text models?
- RQ3What is the impact of pooling strategy (mean vs topK) and spatial smoothing on zero-shot WSI performance?
- RQ4How does pretraining data scale and modality pairing affect zero-shot accuracy across BRCA, NSCLC, and RCC subtyping tasks?
Key findings
- MI-Zero with HistPathGPT in-domain text data achieves 70.2% average accuracy across three subtyping tasks.
- TopK pooling generally outperforms mean pooling for zero-shot WSI classification.
- In-domain text pretraining improves performance over out-of-domain or from-scratch text models in several configurations.
- Pretraining the image encoder (CTP) and the text encoder yields the best overall performance in Table 1 configurations.
- Using 1% labeled data with competitive zero-shot methods approaches supervised baselines on some tasks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.