Retrieval-Augmented Multiple Instance Learning
Yufei Cui, Ziquan Liu, Yixin Chen, Yuchen Lu, Xinyue Yu, Xue (Steve) Liu, Tei-Wei Kuo, Miguel Rodrigues, Chun Jason Xue, Antoni B. Chan
Abstract
Multiple Instance Learning (MIL) is a crucial weakly supervised learning method applied across various domains, e.g., medical diagnosis based on whole slide images (WSIs). Recent advancements in MIL algorithms have yielded exceptional performance when the training and test data originate from the same domain, such as WSIs obtained from the same hospital. However, this paper reveals a performance deterioration of MIL models when tested on an out-of-domain test set, exemplified by WSIs sourced from a novel hospital. To address this challenge, this paper introduces the Retrieval-AugMented MIL (RAM-MIL) framework, which integrates Optimal Transport (OT) as the distance metric for nearest neighbor retrieval. The development of RAM-MIL is driven by two key insights. First, a theoretical discovery indicates that reducing the input’s intrinsic dimension can minimize the approximation error in attention-based MIL. Second, previous studies highlight a link between input intrinsic dimension and the feature merging process with the retrieved data. Empirical evaluations conducted on WSI classification demonstrate that the proposed RAM-MIL framework achieves state-of-the-art performance in both in-domain scenarios, where the training and retrieval data are in the same domain, and more crucially, in out-of-domain scenarios, where the (unlabeled) retrieval data originates from a different domain. Furthermore, the use of the transportation matrix derived from OT renders the retrieval results interpretable at the instance level, in contrast to the vanilla l 2 distance, and allows for visualization for human experts.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
4 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Rethinking Transformer for Long Contextual Histopathology Whole Slide Image Analysis cites Additive MIL: Intrinsically Interpretable Multiple Instance Learning for Pathology
- Rethinking Transformer for Long Contextual Histopathology Whole Slide Image Analysis cites TransMIL: Transformer based Correlated Multiple Instance Learning for Whole Slide Image Classification
- Rethinking Transformer for Long Contextual Histopathology Whole Slide Image Analysis cites Bi-directional Weakly Supervised Knowledge Distillation for Whole Slide Image Classification
- Rethinking Transformer for Long Contextual Histopathology Whole Slide Image Analysis cites DTFD-MIL: Double-Tier Feature Distillation Multiple Instance Learning for Histopathology Whole Slide Image Classification
- Dynamic Residual Encoding with Slide-Level Contrastive Learning for End-to-End Whole Slide Image Representation cites TransMIL: Transformer based Correlated Multiple Instance Learning for Whole Slide Image Classification
- Dynamic Residual Encoding with Slide-Level Contrastive Learning for End-to-End Whole Slide Image Representation cites DTFD-MIL: Double-Tier Feature Distillation Multiple Instance Learning for Histopathology Whole Slide Image Classification
- Additive MIL: Intrinsically Interpretable Multiple Instance Learning for Pathology cites TransMIL: Transformer based Correlated Multiple Instance Learning for Whole Slide Image Classification
- Morphological Prototyping for Unsupervised Slide Representation Learning in Computational Pathology cites Additive MIL: Intrinsically Interpretable Multiple Instance Learning for Pathology
- Morphological Prototyping for Unsupervised Slide Representation Learning in Computational Pathology cites DTFD-MIL: Double-Tier Feature Distillation Multiple Instance Learning for Histopathology Whole Slide Image Classification
- Bi-directional Weakly Supervised Knowledge Distillation for Whole Slide Image Classification cites TransMIL: Transformer based Correlated Multiple Instance Learning for Whole Slide Image Classification
Cited by top-tier papers4
- Morphological Prototyping for Unsupervised Slide Representation Learning in Computational PathologyAndrew H. Song, Richard J. Chen, Tong Ding, Drew F. K. Williamson et al.CVPR 2024 · 51 citations
- Rethinking Transformer for Long Contextual Histopathology Whole Slide Image AnalysisHonglin Li, Yunlong Zhang, Pingyi Chen, Zhongyi Shui et al.NeurIPS 2024 · 27 citations
- RAEE: A Robust Retrieval-Augmented Early Exit Framework for Efficient InferenceLianming Huang, Shangyu Wu, Yufei Cui, Ying Xiong et al.ICLR 2026 · 3 citations
- Dynamic Residual Encoding with Slide-Level Contrastive Learning for End-to-End Whole Slide Image RepresentationJing Jin, Xu Liu, Te Gao, Zhihong Shi et al.ACM MM 2025 · 1 citation
Builds on12
- WILDS: A Benchmark of in-the-Wild Distribution ShiftsPang Wei Koh, Shiori Sagawa, Henrik Marklund, Sang Michael Xie et al.ICML 2021 · 1,773 citations
- TransMIL: Transformer based Correlated Multiple Instance Learning for Whole Slide Image ClassificationZhuchen Shao, Hao Bian, Yang Chen, Yifeng Wang et al.NeurIPS 2021 · 1,163 citations
- DTFD-MIL: Double-Tier Feature Distillation Multiple Instance Learning for Histopathology Whole Slide Image ClassificationHongrun Zhang, Yanda Meng, Yitian Zhao, Yihong Qiao et al.CVPR 2022 · 402 citations
- Additive MIL: Intrinsically Interpretable Multiple Instance Learning for PathologySyed Ashar Javed, Dinkar Juyal, Harshith Padigela, Amaro Taylor-Weiner et al.NeurIPS 2022 · 124 citations
- Bi-directional Weakly Supervised Knowledge Distillation for Whole Slide Image ClassificationLinhao Qu, Xiaoyuan Luo, Manning Wang, Zhijian SongNeurIPS 2022 · 88 citations
Related papers
- Cracking Instance Jigsaw Puzzles: An Alternative to Multiple Instance Learning for Whole Slide Image AnalysisXiwen Chen, Peijie Qiu, Wenhui Zhu, Hao Wang et al.ICCV 2025 · 2 citations
- How Effective Can Dropout Be in Multiple Instance Learning ?Wenhui Zhu, Peijie Qiu, Xiwen Chen, Zhangsihao Yang et al.ICML 2025
- Boosting Multiple Instance Learning Models for Whole Slide Image Classification: A Model-Agnostic Framework Based on Counterfactual InferenceWeiping Lin, Zhenfeng Zhuang, Lequan Yu, Liansheng WangAAAI 2024 · 19 citations
- Every Error has Its Magnitude: Asymmetric Mistake Severity Training for Multiclass Multiple Instance LearningSungrae Hong, Jiwon Jeong, Jisu Shin, Donghee Han et al.CVPR 2026
- LNPL-MIL: Learning from Noisy Pseudo Labels for Promoting Multiple Instance Learning in Whole Slide ImageZhuchen Shao, Yifeng Wang, Yang Chen, Hao Bian et al.ICCV 2023 · 27 citations
