[Paper Review] TPMIL: Trainable Prototype Enhanced Multiple Instance Learning for Whole Slide Image Classification
TPMIL proposes a trainable prototype-enhanced multiple instance learning framework for weakly supervised whole slide image (WSI) classification, leveraging soft clustering of all patch embeddings to refine the feature space and improve interpretability via prototype distances. It achieves state-of-the-art performance on two WSI datasets, outperforming prior methods like CLAM and DGMIL in AUC and accuracy.
Digital pathology based on whole slide images (WSIs) plays a key role in cancer diagnosis and clinical practice. Due to the high resolution of the WSI and the unavailability of patch-level annotations, WSI classification is usually formulated as a weakly supervised problem, which relies on multiple instance learning (MIL) based on patches of a WSI. In this paper, we aim to learn an optimal patch-level feature space by integrating prototype learning with MIL. To this end, we develop a Trainable Prototype enhanced deep MIL (TPMIL) framework for weakly supervised WSI classification. In contrast to the conventional methods which rely on a certain number of selected patches for feature space refinement, we softly cluster all the instances by allocating them to their corresponding prototypes. Additionally, our method is able to reveal the correlations between different tumor subtypes through distances between corresponding trained prototypes. More importantly, TPMIL also enables to provide a more accurate interpretability based on the distance of the instances from the trained prototypes which serves as an alternative to the conventional attention score-based interpretability. We test our method on two WSI datasets and it achieves a new SOTA. GitHub repository: https://github.com/LitaoYang-Jet/TPMIL
Motivation & Objective
- To address the challenge of weakly supervised whole slide image (WSI) classification due to high resolution and lack of patch-level annotations.
- To improve feature space representation by utilizing all instance embeddings rather than relying on a few extreme patches.
- To enhance interpretability beyond attention scores by introducing prototype distance-based visualization.
- To model correlations between tumor subtypes through learned prototype distances.
- To develop a trainable, end-to-end framework that jointly optimizes feature learning and prototype refinement.
Proposed method
- Introduces a trainable prototype-enhanced MIL framework (TPMIL) that performs soft clustering of all patch embeddings by assigning them to corresponding prototypes.
- Uses a differentiable prototype learning mechanism to update prototype centers based on the distribution of all instance features, enabling global feature space refinement.
- Employs a prototype-based attention mechanism where patch interpretability is determined by the L2 distance to the nearest prototype of the predicted class.
- Incorporates a negative prototype to capture non-diagnostic regions such as normal tissue, blood vessels, and artifacts.
- Trains the model end-to-end using slide-level labels, with joint optimization of feature extractor, prototype centers, and classifier.
- Replaces conventional attention scores with prototype distance heatmaps for improved robustness and interpretability in clinical visualization.

Experimental results
Research questions
- RQ1Can a prototype-based approach that considers all patch embeddings improve feature space representation in weakly supervised WSI classification compared to methods relying on extreme patches?
- RQ2How do learned prototype distances correlate with biological tumor subtypes and morphological differences in WSIs?
- RQ3Can prototype distance-based heatmaps provide more robust and clinically reliable interpretability than attention score-based heatmaps?
- RQ4Does the proposed method achieve state-of-the-art performance on benchmark WSI datasets for multi-class classification?
- RQ5Can the framework effectively distinguish between tumor subtypes using inter-prototype distances?
Key findings
- TPMIL achieves a new state-of-the-art (SOTA) performance on the TCGA Brain Tumor dataset, with a 0.24% higher AUC and 1.54% higher accuracy compared to CLAM.
- On the TCGA Lung Cancer dataset, TPMIL achieves 0.11% higher AUC and 1.41% higher accuracy than CLAM, demonstrating consistent SOTA performance.
- The inter-prototype distance matrix reveals that ACM (astrocytoma) and ODG (oligodendroglioma) are closer to each other than to GBM (glioblastoma), reflecting their shared low-grade glioma status.
- The negative prototype is closer to ACM and ODG than to GBM, indicating that GBM's morphological diversity and higher pathological complexity make it more distinct from normal-like regions.
- Distance-based heatmaps in TPMIL show superior robustness to artifacts and background noise compared to attention score heatmaps, particularly in highlighting necrotic regions in glioblastoma.
- Expert clinicians confirmed that prototype distance heatmaps provide more reliable and clinically interpretable visualizations than attention-based heatmaps, especially in distinguishing diagnostic features from artifacts.

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.