Skip to main content
QUICK REVIEW

[Paper Review] TransMIL: Transformer based Correlated Multiple Instance Learning for Whole Slide Image Classication

Zhuchen Shao, Hao Bian|arXiv (Cornell University)|Jun 2, 2021
AI in cancer detectionComputer Science38 references26 citations
TL;DR

TransMIL proposes a Transformer-based correlated multiple instance learning framework that models spatial and morphological correlations among patches in whole slide images (WSIs), achieving state-of-the-art performance with faster convergence and improved interpretability. It reaches 93.09% AUC on CAMELYON16 for binary tumor classification and up to 98.82% AUC on TCGA-RCC for cancer subtyping.

ABSTRACT

Multiple instance learning (MIL) is a powerful tool to solve the weakly supervised classification in whole slide image (WSI) based pathology diagnosis. However, the current MIL methods are usually based on independent and identical distribution hypothesis, thus neglect the correlation among different instances. To address this problem, we proposed a new framework, called correlated MIL, and provided a proof for convergence. Based on this framework, we devised a Transformer based MIL (TransMIL), which explored both morphological and spatial information. The proposed TransMIL can effectively deal with unbalanced/balanced and binary/multiple classification with great visualization and interpretability. We conducted various experiments for three different computational pathology problems and achieved better performance and faster convergence compared with state-of-the-art methods. The test AUC for the binary tumor classification can be up to 93.09% over CAMELYON16 dataset. And the AUC over the cancer subtypes classification can be up to 96.03% and 98.82% over TCGA-NSCLC dataset and TCGA-RCC dataset, respectively.

Motivation & Objective

  • To address the limitation of existing MIL methods that assume i.i.d. instances by modeling correlations among patches in whole slide images.
  • To develop a weakly supervised learning framework that effectively captures both morphological and spatial relationships in WSIs.
  • To improve classification performance on unbalanced and multi-class WSI datasets while maintaining high interpretability.
  • To provide a theoretical proof of convergence for the proposed correlated MIL framework.

Proposed method

  • Introduces a correlated MIL framework that replaces the i.i.d. assumption with structured attention to model dependencies between instance patches.
  • Employs a Transformer encoder to capture long-range spatial and morphological dependencies across multiple patch instances in WSIs.
  • Applies learnable class tokens and multi-head self-attention mechanisms to aggregate patch-level features into global image-level representations.
  • Uses a global average pooling layer followed by a classifier head for end-to-end training with weakly supervised labels.
  • Incorporates positional encoding to preserve spatial context in the patch embeddings.
  • Provides a theoretical convergence proof for the proposed correlated MIL framework.

Experimental results

Research questions

  • RQ1Can modeling instance correlations in WSIs lead to improved classification performance over standard MIL methods?
  • RQ2How does the Transformer-based attention mechanism enhance feature representation learning in weakly supervised WSI classification?
  • RQ3To what extent does the proposed method improve interpretability and visualization of attention maps in pathological image analysis?
  • RQ4Does the correlated MIL framework converge under theoretical guarantees, and how does it compare to existing methods in training stability?

Key findings

  • TransMIL achieved an AUC of 93.09% on the CAMELYON16 dataset for binary tumor classification, outperforming state-of-the-art methods.
  • On the TCGA-NSCLC dataset, TransMIL reached an AUC of 96.03% for cancer subtyping, demonstrating strong performance on multi-class problems.
  • For the TCGA-RCC dataset, TransMIL achieved an AUC of 98.82%, indicating exceptional performance on complex renal cancer subtyping tasks.
  • The model demonstrated faster convergence and better generalization across both balanced and unbalanced datasets compared to existing MIL approaches.
  • Attention maps generated by TransMIL showed high interpretability, clearly localizing relevant tumor regions in WSIs.

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.