RoFormer for Position Aware Multiple Instance Learning in Whole Slide Image Classification

Etienne Pochet, Rami Maroun, Roger Trullo
10/3/2023
cs.CVcs.LG

Official code: Sanofi-Public/DDS-RoFormerMIL (4 stars, last commit 2023-11-13).

Abstract

Whole slide image (WSI) classification is a critical task in computational pathology. However, the gigapixel-size of such images remains a major challenge for the current state of deep-learning. Current methods rely on multiple-instance learning (MIL) models with frozen feature extractors. Given the the high number of instances in each image, MIL methods have long assumed independence and permutation-invariance of patches, disregarding the tissue structure and correlation between patches. Recent works started studying this correlation between instances but the computational workload of such a high number of tokens remained a limiting factor. In particular, relative position of patches remains unaddressed. We propose to apply a straightforward encoding module, namely a RoFormer layer , relying on memory-efficient exact self-attention and relative positional encoding. This module can perform full self-attention with relative position encoding on patches of large and arbitrary shaped WSIs, solving the need for correlation between instances and spatial modeling of tissues. We demonstrate that our method outperforms state-of-the-art MIL models on three commonly used public datasets (TCGA-NSCLC, BRACS and Camelyon16)) on weakly supervised classification tasks. Code is available at https://github.com/Sanofi-Public/DDS-RoFormerMIL

View on arXivView PDF

Code Implementations(1)

41Shell, PythonAug 24, 20232 years agoNOASSERTION

Similar Papers

Cite this paper

@article{pochet2023roformer,
  title  = {RoFormer for Position Aware Multiple Instance Learning in Whole Slide Image Classification},
  author = {Etienne Pochet and Rami Maroun and Roger Trullo},
  year   = {2023},
  eprint = {2310.01924},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.01924v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2310.01924.svg)](https://codeofpaper.com/paper/2310.01924)

Discussion