Attention-based Multiple Instance Learning with Mixed Supervision on the Camelyon16 Dataset

Paul Tourniaire, Marius Ilie, Paul Hofman, Nicholas Ayache, Herve DelingetteCOMPAY @ MICCAI 2021

Introduction: The Challenge of Digital Pathology

In digital pathology, Whole Slide Images (WSIs) present a unique computational challenge. These images are gargantuan, often exceeding 100,000 pixels in both dimensions, making them too large to process through standard deep learning architectures in one piece. To manage this, researchers utilize Multiple Instance Learning (MIL), where a slide is treated as a "bag" of smaller image patches, or "instances."

While MIL allows for slide-level classification (e.g., determining if a slide is cancerous), it faces two major hurdles. First, label scarcity: manually delineating tumor boundaries at the pixel level is an arduous task for pathologists, leading most datasets to provide only a single label for the entire slide. Second, the "right answer for the wrong reason" problem: weakly supervised models often achieve high classification accuracy but produce noisy attention maps, incorrectly flagging healthy tissue as tumorous because they haven't learned the fine-grained features of the disease.

Methodology: Integrating Mixed Supervision into CLAM

The authors address these challenges by building upon the CLAM (Clustering-constrained Attention Multiple instance learning) framework. CLAM uses a gated-attention mechanism to weight the importance of different tiles within a slide. The core innovation introduced in this paper is a "mixed supervision" approach.

The CLAM architecture modified for mixed supervision, showing the integration of annotation-based (red) and attention-based (blue) instance selection.

In the original CLAM model, the system selects tiles with the highest and lowest attention scores to create "pseudo-labels" for an internal instance-level classifier. This paper replaces these heuristic guesses with actual ground-truth labels for a subset of the training data (ranging from 10% to 80% of the annotated slides).

Furthermore, the authors refined the instance clustering logic to handle normal slides more effectively. By explicitly teaching the model that even high-attention patches in non-pathological slides are "negative evidence," they significantly reduced false positives. The training follows a two-stage process: first, training the instance-level classifier on the annotated subset, and second, leveraging the entire dataset with slide-level labels to fine-tune the final classification.

Experimental Setup: The Camelyon16 Dataset

The study was conducted using the Camelyon16 dataset, a standard benchmark for detecting metastases in lymph node sections. The dataset consists of 399 slides (270 for training and 129 for testing). Because exhaustive pixel-wise annotations are available for the metastatic slides in this dataset, the authors were able to simulate different levels of mixed supervision by withholding varying amounts of these detailed labels during the training phase.

Results: Performance Gains and Localization Accuracy

The results demonstrate that even a small amount of detailed annotation can lead to substantial improvements in both classification and localization.

Method AUC (Slide Classification) Mean Dice Score (Localization)
CLAM (Baseline) 0.895 0.215
CLAM w/ 10% Annotations 0.924 0.350
CLAM w/ 80% Annotations 0.949 0.405

As shown in the table, the AUC improved steadily as more annotations were added. More impressively, the Mean Dice score—a measure of how well the predicted tumor mask overlaps with the actual tumor—nearly doubled with just 10% annotation.

Qualitative comparison of localization: (a) Original slide, (b) noisy mask from standard CLAM, and (c) refined mask using only 10% mixed supervision.

Visually, the difference is stark. While the baseline CLAM model often produces scattered, noisy predictions (false positives), the mixed supervision model produces much cleaner localization maps that align closely with the physical location of the tumor. The "Mean tile-level Specificity" jumped from 0.864 to 0.999, indicating a near-total elimination of false-positive detections in healthy regions.

Discussion and Future Directions

One of the most striking findings is that a little goes a long way: using detailed annotations for just 10% of the slides provides a significant boost. This suggests that pathologists do not need to annotate entire datasets to achieve high-quality results. By providing ground truth at the tile level, the model learns a more consistent representation where the features used for classification actually correspond to the disease's physical location.

Future work may involve addressing stain variability across different medical centers through normalization techniques and refining the localization maps for even higher resolution. While the current approach significantly improves interpretability by cleaning up attention maps, the underlying "black box" nature of feature selection remains an ongoing area of research in the field of digital pathology.

Summary updated

BibTeX
@inproceedings{tourniaire2021attention,
  author = {Paul Tourniaire and Marius Ilie and Paul Hofman and Nicholas Ayache and Herve Delingette},
  title = {{Attention-based Multiple Instance Learning with Mixed Supervision on the Camelyon16 Dataset}},
  booktitle = {COMPAY @ MICCAI},
  year = {2021},
}
Figure