NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Finding Regions of Interest in Whole Slide Images Using Multiple Instance Learning

Martim Afonso, Praphulla M. S. Bhawsar, Monjoy Saha, Jonas S. Almeida, Arlindo L. OliveiraarXiv 2024 · DOI

Introduction

In digital pathology, Whole Slide Images (WSIs) present a significant computational challenge. These gigapixel images often exceed 100,000 pixels in dimensions, yet the diagnostic evidence—such as cancerous cells or specific genetic markers—may only occupy a tiny fraction of the total area. This creates a "needle in a haystack" problem where slide-level labels (e.g., from genomic testing) are available, but precise pixel-level annotations are missing. This research investigates Multiple Instance Learning (MIL) as a solution to bridge this labeling gap.

Multiple Instance Learning Architectures

Multiple Instance Learning treats a WSI as a "bag" of smaller image tiles or "instances." If a slide is labeled positive, the model assumes at least one tile within the bag contains the relevant feature. The study compares three primary architectures:

  1. Attention MIL (AMIL): Currently the standard approach, AMIL uses a neural network to assign attention weights to each tile. A weighted average of tile features forms the final slide-level representation.
  2. Additive MIL (AdMIL): This approach classifies each tile independently, summing their scores for a final verdict. This provides explicit interpretability regarding each tile's contribution.
  3. Modified Additive MIL: The authors improved upon the standard AdMIL by replacing LeakyReLU activations with tanh (as used in AMIL) to prevent the model from focusing too narrowly on a few tiles, resulting in more balanced attention maps.
Comparison of Attention MIL (a) and Additive MIL (b) architectures.

Experimental Setup and Pipeline

The study utilized datasets from The Cancer Genome Atlas (TCGA), specifically Invasive Breast Carcinoma (TCGA-BRCA) and Lung Squamous Cell Carcinoma (TCGA-LUSC). Two main tasks were evaluated: tumor detection and TP53 mutation detection.

The processing pipeline involved:

  • Preprocessing: Background removal via Otsu thresholding.
  • Feature Extraction: Tiles were converted into 1024-dimensional vectors using KimiaNet, a DenseNet121 variant pretrained on pathology data.
  • Sampling: To manage high-resolution data (10x and 20x magnification), a K-means clustering strategy was employed to select a diverse subset of patches from each cluster for training.
The sampling pipeline using K-means clustering to select representative patches from each cluster.

Results and Discussion

Performance Benchmarks

The models demonstrated varying levels of success depending on the task and resolution:

  • Tumor Detection (5x): Both AMIL and the modified AdMIL performed exceptionally well, achieving AUCs of 0.971 and 0.963, respectively.
  • TP53 Mutation Detection: This task proved significantly more difficult. At 5x magnification, performance was near-random (AUC ~0.60). However, at 10x and 20x, performance improved. AMIL reached an AUC of 0.711 at 10x, and the modified AdMIL reached 0.642 at 20x, suggesting that genetic mutations manifest in cellular-level details not visible at low magnifications.

Interpretability and Sparsity

The choice of architecture significantly impacts the resulting "Regions of Interest" (RoIs). While AMIL often highlights tissue edges, the modified AdMIL produces sparser, more localized regions. These heatmaps act as a form of "virtual staining," potentially revealing morphological patterns associated with genomic mutations that are otherwise invisible to the human eye.

Conclusion

This work highlights the importance of resolution in digital pathology AI; while tissue architecture suffices for tumor detection, cellular-level detail is required for genomic tasks like TP53 mutation detection. Furthermore, the choice of MIL architecture and activation functions plays a critical role in the interpretability and distribution of the model's attention across the gigapixel slide.

Summary updated

BibTeX
@misc{afonso2024finding,
  author = {Martim Afonso and Praphulla M. S. Bhawsar and Monjoy Saha and Jonas S. Almeida and Arlindo L. Oliveira},
  title = {{Finding Regions of Interest in Whole Slide Images Using Multiple Instance Learning}},
  year = {2024},
  eprint = {2404.01446},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2404.01446},
}
Figure