[Paper Review] Multiple Instance Learning Framework with Masked Hard Instance Mining for Whole Slide Image Classification
This paper proposes MHIM-MIL, a novel Multiple Instance Learning framework that improves whole slide image (WSI) classification by implicitly mining hard-to-classify instances through masked hard instance mining (MHIM) using a Siamese teacher-student structure with momentum update and consistency regularization. By focusing on less salient, challenging patches instead of only attention-salient ones, MHIM-MIL achieves state-of-the-art performance with lower training cost on CAMELYON-16 and TCGA Lung Cancer datasets.
The whole slide image (WSI) classification is often formulated as a multiple instance learning (MIL) problem. Since the positive tissue is only a small fraction of the gigapixel WSI, existing MIL methods intuitively focus on identifying salient instances via attention mechanisms. However, this leads to a bias towards easy-to-classify instances while neglecting hard-to-classify instances. Some literature has revealed that hard examples are beneficial for modeling a discriminative boundary accurately. By applying such an idea at the instance level, we elaborate a novel MIL framework with masked hard instance mining (MHIM-MIL), which uses a Siamese structure (Teacher-Student) with a consistency constraint to explore the potential hard instances. With several instance masking strategies based on attention scores, MHIM-MIL employs a momentum teacher to implicitly mine hard instances for training the student model, which can be any attention-based MIL model. This counter-intuitive strategy essentially enables the student to learn a better discriminating boundary. Moreover, the student is used to update the teacher with an exponential moving average (EMA), which in turn identifies new hard instances for subsequent training iterations and stabilizes the optimization. Experimental results on the CAMELYON-16 and TCGA Lung Cancer datasets demonstrate that MHIM-MIL outperforms other latest methods in terms of performance and training cost. The code is available at: https://github.com/DearCaat/MHIM-MIL.
Motivation & Objective
- To address the limitation of existing MIL methods that over-prioritize salient, easy-to-classify instances, leading to poor generalization.
- To improve model discriminability by implicitly identifying and focusing on hard-to-classify instances in weakly supervised WSI classification.
- To develop a training framework that enhances stability and efficiency without requiring additional parameters or complex gradient updates.
- To mitigate overfitting and improve robustness by incorporating consistency constraints and masked instance mining strategies.
- To demonstrate the generality and effectiveness of MHIM-MIL across different attention-based MIL models on real-world WSI datasets.
Proposed method
- MHIM-MIL employs a Siamese teacher-student architecture where the student model is trained using hard instances mined by a momentum-updated teacher.
- The momentum teacher is updated via exponential moving average (EMA) of the student’s parameters, ensuring stable and progressive knowledge distillation.
- Instance masking strategies are applied based on attention scores—high-attention patches are masked to force the student to focus on less salient, hard-to-classify instances.
- Three hybrid masking strategies are introduced to enhance training efficiency and reduce overfitting risk by diversifying the hard instance distribution.
- A consistency constraint is enforced between the student and teacher predictions to exploit additional supervisory signals beyond bag-level labels.
- The framework is compatible with any attention-based MIL model, enabling plug-and-play integration and broad applicability.
Experimental results
Research questions
- RQ1Can focusing on hard-to-classify instances instead of salient ones improve the generalization and discriminative capability of MIL-based WSI classifiers?
- RQ2How can hard instances be effectively mined in the absence of instance-level annotations in WSI classification?
- RQ3Does a momentum-based teacher-student framework with consistency regularization enhance the stability and performance of hard instance mining in MIL?
- RQ4Can masked hard instance mining reduce overfitting and improve training efficiency compared to conventional attention-based MIL methods?
- RQ5To what extent does MHIM-MIL generalize across different attention-based MIL models and WSI datasets?
Key findings
- MHIM-MIL achieves state-of-the-art performance on the CAMELYON-16 dataset, outperforming previous methods with a 0.97% improvement in AUC over the baseline AB-MIL.
- On the TCGA Lung Cancer dataset, MHIM-MIL improves AUC by 1.00% compared to the baseline AB-MIL, demonstrating consistent gains across different models.
- The momentum teacher with EMA update strategy achieves the best performance, outperforming both fixed initialization and non-batch gradient updated teachers.
- Visualization results show that MHIM-MIL produces more comprehensive and accurate tumor probability maps, covering more true tumor regions while reducing false positives in non-tumor areas.
- The framework reduces reliance on salient patches and improves detection of subtle, hard-to-classify tumor regions, enhancing model robustness and generalization.
- MHIM-MIL achieves better performance with lower training cost, demonstrating improved efficiency and stability without adding extra parameters.
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.