ASMIL: Attention-Stabilized Multiple Instance Learning for Whole Slide Imaging

Linfeng Ye, Shayan Mohajer Hamidi, Zhixiang Chi, Guang Li, Mert Pilanci +3 more
3/1/2026
cs.CV

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Attention-based multiple instance learning (MIL) has emerged as a powerful framework for whole slide image (WSI) diagnosis, leveraging attention to aggregate instance-level features into bag-level predictions. Despite this success, we find that such methods exhibit a new failure mode: unstable attention dynamics. Across four representative attention-based MIL methods and two public WSI datasets, we observe that attention distributions oscillate across epochs rather than converging to a consistent pattern, degrading performance. This instability adds to two previously reported challenges: overfitting and over-concentrated attention distribution. To simultaneously overcome these three limitations, we introduce attention-stabilized multiple instance learning (ASMIL), a novel unified framework. ASMIL uses an anchor model to stabilize attention, replaces softmax with a normalized sigmoid function in the anchor to prevent over-concentration, and applies token random dropping to mitigate overfitting. Extensive experiments demonstrate that ASMIL achieves up to a 6.49\% F1 score improvement over state-of-the-art methods. Moreover, integrating the anchor model and normalized sigmoid into existing attention-based MIL methods consistently boosts their performance, with F1 score gains up to 10.73\%. All code and data are publicly available at https://github.com/Linfeng-Ye/ASMIL.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{ye2026asmil,
  title  = {ASMIL: Attention-Stabilized Multiple Instance Learning for Whole Slide Imaging},
  author = {Linfeng Ye and Shayan Mohajer Hamidi and Zhixiang Chi and Guang Li and Mert Pilanci and Takahiro Ogawa and Miki Haseyama and Konstantinos N. Plataniotis},
  year   = {2026},
  eprint = {2603.06658},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2603.06658v1}
}

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/2603.06658.svg)](https://codeofpaper.com/paper/2603.06658)

Discussion