Skip to main content
QUICK REVIEW

[Paper Review] Multi-level Multiple Instance Learning with Transformer for Whole Slide Image Classification

Ruijie Zhang, Qiaozhe Zhang|arXiv (Cornell University)|Jun 8, 2023
Image Retrieval and Classification TechniquesComputer Science10 citations
TL;DR

MMIL-Transformer uses a hierarchical MIL framework with messenger tokens to enable non-approximate self-attention for large-scale whole-slide images, achieving strong results on CAMELYON16 and TCGA-NSCLC.

ABSTRACT

Whole slide image (WSI) refers to a type of high-resolution scanned tissue image, which is extensively employed in computer-assisted diagnosis (CAD). The extremely high resolution and limited availability of region-level annotations make employing deep learning methods for WSI-based digital diagnosis challenging. Recently integrating multiple instance learning (MIL) and Transformer for WSI analysis shows very promising results. However, designing effective Transformers for this weakly-supervised high-resolution image analysis is an underexplored yet important problem. In this paper, we propose a Multi-level MIL (MMIL) scheme by introducing a hierarchical structure to MIL, which enables efficient handling of MIL tasks involving a large number of instances. Based on MMIL, we instantiated MMIL-Transformer, an efficient Transformer model with windowed exact self-attention for large-scale MIL tasks. To validate its effectiveness, we conducted a set of experiments on WSI classification tasks, where MMIL-Transformer demonstrate superior performance compared to existing state-of-the-art methods, i.e., 96.80% test AUC and 97.67% test accuracy on the CAMELYON16 dataset, 99.04% test AUC and 94.37% test accuracy on the TCGA-NSCLC dataset, respectively. All code and pre-trained models are available at: https://github.com/hustvl/MMIL-Transformer

Motivation & Objective

  • Address the challenge of weakly labeled, high-resolution WSIs by proposing a scalable multi-level MIL framework.
  • Introduce MMIL-Transformer to enable exact local and global self-attention within large instance sets.
  • Demonstrate superior WSIs classification performance on CAMELYON16 and TCGA-NSCLC datasets.
  • Provide configurable grouping and masking mechanisms to balance accuracy and computation.
  • Release code and pre-trained models for reproducibility and further research.

Proposed method

  • Propose a differentiable multi-level MIL (MMIL) formulation that groups original instances into sub-bags to form higher-level bags.
  • Introduce various grouping operators (coordinate, embedding, random, sequential, MSA-based) to create sub-bags and enable targeted attention.
  • Attach MSG tokens to sub-bags and perform self-attention within sub-bags; use MSG tokens to build higher-level bags.
  • Use a messenger-based generator to merge MSG tokens from sub-bags into higher-level bags and attach a CLS token for final classification.
  • Incorporate an embedding-wise masking mechanism to reduce the number of active instances and boost performance.
  • Provide complexity analysis showing reduced self-attention overhead through sub-bag division and masking.

Experimental results

Research questions

  • RQ1Can MMIL handle large-scale MIL with non-approximate self-attention for WSIs?
  • RQ2How do grouping and masking affect the accuracy and efficiency of WSI classification?
  • RQ3How does MMIL-Transformer compare to state-of-the-art MIL/Transformer methods on CAMELYON16 and TCGA-NSCLC?
  • RQ4What is the impact of patch encoders (e.g., ResNet vs ViT) within the MMIL-Transformer framework?

Key findings

  • MMIL-Transformer achieves strong performance on CAMELYON16 with 96.80% test AUC and 97.67% test accuracy (as reported in the abstract).
  • MMIL-Transformer achieves 99.04% test AUC and 94.37% test accuracy on TCGA-NSCLC (as reported in the abstract).
  • On CAMELYON16, MMIL-Transformer with ResNet-50 as patch encoder reports 0.9341 accuracy and 0.9474 AUC in Table 1.
  • On TCGA-NSCLC, MMIL-Transformer reports 0.9437 accuracy and 0.9904 AUC in Table 1.
  • Ablation studies show grouping type, mask ratio, and multi-level framework significantly influence performance and efficiency, with masking improving accuracy and higher-level bag construction enabling non-approximate self-attention.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.