Loss-Based Attention for Deep Multiple Instance Learning
Xiaoshuang Shi, Fuyong Xing, Yuanpu Xie, Zizhao Zhang, Lei Cui, Lin Yang
Abstract
Although attention mechanisms have been widely used in deep learning for many tasks, they are rarely utilized to solve multiple instance learning (MIL) problems, where only a general category label is given for multiple instances contained in one bag. Additionally, previous deep MIL methods firstly utilize the attention mechanism to learn instance weights and then employ a fully connected layer to predict the bag label, so that the bag prediction is largely determined by the effectiveness of learned instance weights. To alleviate this issue, in this paper, we propose a novel loss based attention mechanism, which simultaneously learns instance weights and predictions, and bag predictions for deep multiple instance learning. Specifically, it calculates instance weights based on the loss function, e.g. softmax+cross-entropy, and shares the parameters with the fully connected layer, which is to predict instance and bag predictions. Additionally, a regularization term consisting of learned weights and cross-entropy functions is utilized to boost the recall of instances, and a consistency cost is used to smooth the training process of neural networks for boosting the model generalization performance. Extensive experiments on multiple types of benchmark databases demonstrate that the proposed attention mechanism is a general, effective and efficient framework, which can achieve superior bag and image classification performance over other state-of-the-art MIL methods, with obtaining higher instance precision and recall than previous attention mechanisms. Source codes are available on https://github.com/xsshi2015/Loss-Attention.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext fca4302d-ff0b-4a48-90e0-14e6af4cea8aCited by top-tier papers19
- Bi-directional Weakly Supervised Knowledge Distillation for Whole Slide Image ClassificationLinhao Qu, Xiaoyuan Luo, Manning Wang, Zhijian SongNeurIPS 2022 · 88 citations
- The Rise of AI Language Pathologists: Exploring Two-level Prompt Learning for Few-shot Weakly-supervised Whole Slide Image ClassificationLinhao Qu, Xiaoyuan Luo, Kexue Fu, Manning Wang et al.NeurIPS 2023 · 75 citations
- Interventional Multi-Instance Learning with Deconfounded Instance-Level PredictionTiancheng Lin, Hongteng Xu, Canqian Yang, Yi XuAAAI 2022 · 34 citations
- Multi-Instance Causal Representation Learning for Instance Label Prediction and Out-of-Distribution GeneralizationWeijia Zhang, Xuanhui Zhang, Hanwen Deng, Min-Ling ZhangNeurIPS 2022 · 32 citations
- CaMIL: Causal Multiple Instance Learning for Whole Slide Image ClassificationKaitao Chen, Shiliang Sun, Jing ZhaoAAAI 2024 · 30 citations
Related papers
- Rethinking Multiple-Instance Learning From Feature Space to Probability SpaceZhaolong Du, Shasha Mao, Xuequan Lu, Mengnan Qi et al.ICLR 2025
- Multi-Instance Partial-Label Learning with Margin AdjustmentWei Tang, Yin-Fang Yang, Zhaofei Wang, Weijia Zhang et al.NeurIPS 2024 · 11 citations
- ASMIL: Attention-Stabilized Multiple Instance Learning for Whole-Slide ImagingLinfeng Ye, Shayan Mohajer Hamidi, Zhixiang Chi, Guang Li et al.ICLR 2026 · 9 citations
- Balancing Bias and Variance for Active Weakly Supervised LearningHitesh Sapkota, Qi YuKDD 2022 · 1 citation
- Query-Driven Multi-Instance LearningYen-Chi Hsu, Cheng-Yao Hong, Ming-Sui Lee, Tyng-Luh LiuAAAI 2020 · 3 citations
