Rethinking Multiple Instance Learning for Whole Slide Image Classification: A Bag-Level Classifier is a Good Instance-Level Teacher

Hongyi Wang, Luyang Luo, Fang Wang, Ruofeng Tong, Yen-Wei Chen, Hongjie Hu, Lanfen Lin, Hao Chen · DOI

Introduction

Whole Slide Images (WSIs) are the cornerstone of modern digital pathology, yet their gigapixel scale poses a significant computational challenge. Because these images are too massive to be processed directly by standard neural networks, researchers typically employ Multiple Instance Learning (MIL). In the MIL paradigm, a slide is treated as a "bag" containing thousands of small image "instances" (patches).

The standard MIL pipeline is a two-stage process. First, a pre-trained feature extractor—often trained on non-medical datasets like ImageNet—converts patches into feature vectors. Second, a bag-level classifier aggregates these features to predict a slide-level label (e.g., cancerous vs. healthy). However, this approach suffers from a significant semantic gap. Because the feature extractor is usually "frozen" and non-learnable during the second stage, it never adapts to the specific nuances of pathology data, leading to suboptimal classification performance.

The ICMIL Framework

To bridge this gap, this paper introduces Iteratively Coupled Multiple Instance Learning (ICMIL). ICMIL establishes a feedback loop between the two stages of MIL through an iterative optimization scheme inspired by Expectation-Maximization (EM).

The framework alternates between two distinct phases:

  1. Classifier Phase: The patch embedder is fixed while the bag-level classifier is trained to aggregate features.
  2. Embedder Phase: The bag classifier is fixed and acts as a "teacher," providing pseudo-labels based on its internal attention mechanisms to fine-tune the patch-level embedder.
The Embedder Phase of the ICMIL framework, illustrating how the bag-level classifier guides the fine-tuning of the patch-level embedder through an iterative training loop to close the propagation gap.

Closing the Propagation Gap

A primary innovation of ICMIL is its ability to overcome the "broken loss back-propagation" inherent in traditional two-stage MIL. By using the bag classifier as a teacher, gradients can effectively influence the feature extraction stage.

Confidence-Based Converting Layer

Standard MIL attention scores typically highlight only the most "positive" (trigger) patches. However, for effective fine-tuning, a model must also understand what constitutes a "confident negative" patch. The authors introduced a confidence-based converting layer using the formula $\sigma(a_k) = |2 \cdot a_k - 1|^\beta$. This layer maps both very high and very low attention scores to high-confidence weights, while masking out uncertain patches in the middle. This ensures the embedder learns from the most definitive examples of both classes.

Bag Augmentation

To prevent overfitting on smaller medical datasets, ICMIL utilizes a "pseudo-bag + bag mix-up" scheme. By partitioning slides into smaller pseudo-bags and mixing them, the model is forced to generalize better across diverse tissue morphologies.

Experimental Results

The researchers evaluated ICMIL on four major datasets: Camelyon16, TCGA-Lung, TCGA-RCC, and a private HCC (Hepatocellular Carcinoma) dataset. The results consistently showed that ICMIL improves the performance of various MIL backbones, including Max Pooling, ABMIL, and DTFD-MIL.

  • Camelyon16: The framework improved the AUC of a simple Max Pooling backbone from 84.0% to 91.9% and the state-of-the-art DTFD-MIL from 93.1% to 95.0%.
  • HCC Dataset: On a difficult risk-grading task, ICMIL boosted the AUC of ABMIL by 7.4%.
  • Efficiency: Peak performance is often reached within just one or two iterations, making the framework computationally practical for real-world clinical workflows.

Conclusion and Future Work

ICMIL demonstrates that a bag-level classifier develops sufficient "category knowledge" to serve as an effective teacher for patch-level feature extraction. By closing the semantic gap and enabling task-specific fine-tuning, the framework significantly advances the state-of-the-art in WSI classification.

Future research will focus on refining the confidence converting layer. Currently, the layer relies on a manually tuned hyperparameter ($\beta$). The authors plan to investigate self-adaptive functions that can automatically identify trustworthy pseudo-labels, further automating the bridge between bag-level and instance-level learning.

Summary updated

BibTeX
@article{wang2024rethinking,
  author = {Hongyi Wang and Luyang Luo and Fang Wang and Ruofeng Tong and Yen-Wei Chen and Hongjie Hu and Lanfen Lin and Hao Chen},
  title = {{Rethinking Multiple Instance Learning for Whole Slide Image Classification: A Bag-Level Classifier is a Good Instance-Level Teacher}},
  journal = {IEEE Trans. Medical Imaging},
  year = {2024},
  doi = {10.1109/tmi.2024.3404549},
}
Figure