Abstract
Multiple instance learning (MIL) has been increasingly used in the classification of histopathology whole slide images (WSIs). However, MIL approaches for this specific classification problem still face unique challenges, particularly those related to small sample cohorts. In these, there are limited number of WSI slides (bags), while the resolution of a single WSI is huge, which leads to a large number of patches (instances) cropped from this slide. To address this issue, we propose to virtually enlarge the number of bags by introducing the concept of pseudo-bags, on which a double-tier MIL framework is built to effectively use the intrinsic features. Besides, we also contribute to deriving the instance probability under the framework of attention-based MIL, and utilize the derivation to help construct and analyze the proposed framework. The proposed method outperforms other latest methods on the CAMELYON-16 by substantially large margins, and is also better in performance on the TCGA lung cancer dataset. The proposed framework is ready to be extended for wider MIL applications.
Introduction
In digital pathology, Whole Slide Images (WSIs) are extremely high-resolution images, often exceeding 100,000 pixels in dimensions. Due to memory constraints, these images are typically processed using Multiple Instance Learning (MIL), where a slide is treated as a "bag" containing thousands of small "instances" or patches.
Despite its utility, MIL in pathology faces two significant hurdles:
- Small Sample Sizes: While a single slide contains thousands of patches, datasets often consist of only a few hundred slides, leading to potential overfitting.
- Sparsity of Positive Instances: Often, only a tiny fraction of a slide contains malignant cells. Identifying these rare positive instances with only slide-level supervision is a "needle in a haystack" problem.
Methodology
The proposed DTFD-MIL (Double-Tier Feature Distillation MIL) framework addresses these challenges through two primary innovations: the pseudo-bag strategy and a novel derivation for instance-level probabilities.
Double-Tier Feature Distillation and Pseudo-Bags
To mitigate the small sample size problem, DTFD-MIL introduces pseudo-bags. Instead of treating one WSI as a single bag, the patches are randomly partitioned into several smaller pseudo-bags, each inheriting the parent slide's label. This effectively augments the dataset and acts as a powerful regularizer.
The architecture consists of two tiers:
- Tier-1: An Attention-based MIL (AB-MIL) model is trained on these pseudo-bags, forcing the model to learn discriminative features from smaller data subsets.
- Tier-2: The framework distills the most relevant features from the Tier-1 pseudo-bags. These distilled features are then passed to a second-tier model that performs the final classification for the original parent slide.
Instance Probability Derivation
A common practice in MIL is using attention weights to localize important patches. However, attention weights are not true probabilities. DTFD-MIL mathematically derives a formula for instance-level probabilities by adapting the logic of Grad-CAM to the MIL framework. This provides a more rigorous method for identifying which patches contribute most to a positive diagnosis, allowing the model to explicitly "see" the evidence.
Results and Interpretability
The model was evaluated on the CAMELYON-16 and TCGA Lung Cancer benchmarks. DTFD-MIL significantly outperformed existing state-of-the-art methods:
- CAMELYON-16: Achieved an AUC of 0.946, surpassing the previous best (Trans-MIL at 0.906).
- TCGA Lung Cancer: Achieved an AUC of 0.961, demonstrating robustness across different cancer types.
Qualitatively, the derivation-based probability maps provided cleaner and more accurate tumor localization compared to traditional attention scores, which often highlight irrelevant background tissue.
Conclusion
DTFD-MIL introduces a powerful regularization technique through pseudo-bags and a theoretically grounded method for instance-level interpretability. While the approach introduces new hyperparameters, such as the number of pseudo-bags, it demonstrates superior performance in small-sample histopathology tasks. Future work includes exploring non-random pseudo-bag formation and extending the framework to multi-class classification problems.
Summary updated