CAR-MIL: Counterfactual Attention Regularization for Multiple Instance Learning
Not on the map. Why?
Abstract (arXiv)
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/.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 27 of its 40 references that are in the map. First posted on arXiv 8 Sep 2026.
Builds on
27 of 40 references.
References · 27
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2017Learning Important Features Through Propagating Activation Differencescited by 1,458
- 2018Sanity Checks for Saliency Mapscited by 1,156
- 2018Attention-based Deep Multiple Instance Learningcited by 1,095
- 2017Counterfactual Explanations without Opening the Black Box: Automated Decisions and the GDPRcited by 1,089
- 2020Data Efficient and Weakly Supervised Computational Pathology on Whole Slide Imagescited by 745
- 2020Towards Faithfully Interpretable NLP Systems: How should we define and evaluate faithfulness?cited by 599
- 2020Dual-stream Multiple Instance Learning Network for Whole Slide Image Classification with Self-supervised Contrastive Learningcited by 478
- 2021Nystr"omformer: A Nystr"om-Based Algorithm for Approximating Self-Attentioncited by 471
- 2017The (Un)reliability of saliency methodscited by 333
- 2022DTFD-MIL: Double-Tier Feature Distillation Multiple Instance Learning for Histopathology Whole Slide Image Classificationcited by 256
15 more
- 2021BRACS: A Dataset for BReAst Carcinoma Subtyping in H&E Histology Imagescited by 132
- 2021Counterfactual Attention Learning for Fine-Grained Visual Categorization and Re-identificationcited by 114
- 2020On the Tractability of SHAP Explanationscited by 92
- 2020Deep Learning-based Computational Pathology Predicts Origins for Cancers of Unknown Primarycited by 89
- 2020General Pitfalls of Model-Agnostic Interpretation Methods for Machine Learning Modelscited by 75
- 2024Feature Re-Embedding: Towards Foundation Model-Level Performance in Computational Pathologycited by 67
- 2023Attention-Challenging Multiple Instance Learning for Whole Slide Image Classificationcited by 61
- 2023Multiple Instance Learning Framework with Masked Hard Instance Mining for Whole Slide Image Classificationcited by 60
- 2018iNNvestigate neural networks!cited by 58
- 2022Additive MIL: Intrinsically Interpretable Multiple Instance Learning for Pathologycited by 58
- 2022Bi-directional Weakly Supervised Knowledge Distillation for Whole Slide Image Classificationcited by 43
- 2023Inherently Interpretable Time Series Classification via Multiple Instance Learningcited by 23
- 2024xMIL: Insightful Explanations for Multiple Instance Learning in Histopathologycited by 16
- 2022Model Agnostic Interpretability for Multiple Instance Learningcited by 10
- 2020Improving Interpretability for Computer-aided Diagnosis tools on Whole Slide Imaging with Multiple Instance Learning and Gradient-based Explanationscited by 8
Built on by
Not cited yet.