Deep Multiple Instance Learning with Distance-Aware Self-Attention
Not on the map. Why?
Abstract (arXiv)
Traditional supervised learning tasks require a label for every instance in the training set, but in many real-world applications, labels are only available for collections (bags) of instances. This problem setting, known as multiple instance learning (MIL), is particularly relevant in the medical domain, where high-resolution images are split into smaller patches, but labels apply to the image as a whole. Recent MIL models are able to capture correspondences between patches by employing self-attention, allowing them to weigh each patch differently based on all other patches in the bag. However, these approaches still do not consider the relative spatial relationships between patches within the larger image, which is especially important in computational pathology. To this end, we introduce a novel MIL model with distance-aware self-attention (DAS-MIL), which explicitly takes into account relative spatial information when modelling the interactions between patches. Unlike existing relative position representations for self-attention which are discrete, our approach introduces continuous distance-dependent terms into the computation of the attention weights, and is the first to apply relative position representations in the context of MIL. We evaluate our model on a custom MNIST-based MIL dataset that requires the consideration of relative spatial information, as well as on CAMELYON16, a publicly available cancer metastasis detection dataset, where we achieve a test AUROC score of 0.91. On both datasets, our model outperforms existing MIL approaches that employ absolute positional encodings, as well as existing relative position representation schemes applied to MIL. Our code is available at https://anonymous.4open.science/r/das-mil.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 27 of its 53 references that are in the map. First posted on arXiv 17 May 2023.
Builds on
27 of 53 references.
References · 27
- 2017Attention Is All You Needcited by 59,932
- 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,282
- 2017Graph Attention Networkscited by 8,854
- 2020End-to-End Object Detection with Transformerscited by 7,384
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
- 2018Self-Attention with Relative Position Representationscited by 1,112
- 2018Attention-based Deep Multiple Instance Learningcited by 1,077
- 2018Image Transformercited by 770
- 2021TransMIL: Transformer based Correlated Multiple Instance Learning for Whole Slide Image Classificationcited by 549
- 2019Stand-Alone Self-Attention in Vision Modelscited by 542
- 2022Scaling Vision Transformers to Gigapixel Images via Hierarchical Self-Supervised Learningcited by 357
- 2019Lookahead Optimizer: k steps forward, 1 step backcited by 333
15 more
- 2020Axial-DeepLab: Stand-Alone Axial-Attention for Panoptic Segmentationcited by 326
- 2021Rethinking and Improving Relative Position Encoding for Vision Transformercited by 206
- 2016Revisiting Multiple Instance Neural Networkscited by 119
- 2021Learnable Fourier Features for Multi-Dimensional Spatial Positional Encodingcited by 93
- 2020Improve Transformer Models with Better Relative Position Embeddingscited by 73
- 2019C-MIL: Continuation Multiple Instance Learning for Weakly Supervised Object Detectioncited by 71
- 2017Detecting Cancer Metastases on Gigapixel Pathology Imagescited by 51
- 2021Relative Positional Encoding for Transformers with Linear Complexitycited by 36
- 2021Accounting for Dependencies in Deep Learning Based Multiple Instance Learning for Whole Slide Imagingcited by 31
- 2023Diagnose Like a Pathologist: Transformer-Enabled Hierarchical Attention-Guided Multiple Instance Learning for Whole Slide Image Classificationcited by 27
- 2022Transformer based multiple instance learning for weakly supervised histopathology image segmentationcited by 26
- 2019Multiple instance learning with graph neural networkscited by 25
- 2023Regression-based Deep-Learning predicts molecular biomarkers from pathology slidescited by 15
- 2023Fully transformer-based biomarker prediction from colorectal cancer histology: a large-scale multicentric studycited by 6
- 2020Dual-stream Maximum Self-attention Multi-instance Learningcited by 2
Built on by
Citing papers per year: 2026: 1.
1 paper.