CAR-MIL: Counterfactual Attention Regularization for Multiple Instance Learning

📅 2026-09-08
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
为解决MIL中注意力机制不准确反映实例重要性的问题,提出CAR-MIL框架,通过反事实注意力正则化方法提高注意力学习的可靠性和解释性。
📝 Abstract
Multiple Instance Learning (MIL) is widely used for weakly supervised learning, particularly in digital pathology, where fine-grained annotations are costly. Most MIL methods aggregate instance features via attention mechanisms. However, attention weights do not always faithfully reflect instance importance and may focus on spuriously correlated regions. In this work, we propose CAR-MIL, a framework that explicitly guides attention learning through a counterfactual attention regularization objective inspired by counterfactual explanations. Built on a standard attention-based MIL architecture, our approach introduces a lightweight counterfactual attention branch trained to produce an alternative prediction while remaining close to the factual attention distribution. This encourages prediction changes to arise from minimal, structured redistributions of attention, leading to more informative evidence allocation. The resulting factual and counterfactual attention maps capture complementary evidence: the former highlights regions supporting the prediction, while the latter reveals regions whose reweighting would challenge it. We evaluate our method on synthetic MIL benchmarks with instance-level ground truth enabling controlled analysis of attention behavior and on five digital pathology datasets across four tasks. CAR-MIL maintains competitive classification performance, with the largest gains observed on more challenging tasks, while improving attention reliability, demonstrating the benefits of integrating counterfactual explainability reasoning into attention learning. Code is available at: https://github.com/ImaneCR/CAR-MIL/.
Problem

Research questions and friction points this paper is trying to address.

Multiple Instance Learning
attention mechanisms
counterfactual explanations
digital pathology
Innovation

Methods, ideas, or system contributions that make the work stand out.

Counterfactual Attention Regularization
Multiple Instance Learning
Attention Mechanism
Digital Pathology
🔎 Similar Papers
2024-07-09arXiv.orgCitations: 1