Contrastive Integrated Gradients: A Feature Attribution-Based Method for Explaining Whole Slide Image Classification
Anh Mai Vu, Tuan L. Vo, Ngoc Lam Quang Bui, Nam Nguyen Le Binh, Akash Awasthi, Huy Quoc Vo, Thanh-Huy Nguyen, Zhu Han, Chandra Mohan, Hien Van Nguyen

TL;DR
This paper introduces Contrastive Integrated Gradients (CIG), a new feature attribution method for Whole Slide Image classification that improves interpretability by highlighting class-discriminative regions and satisfying theoretical axioms.
Contribution
CIG enhances interpretability of WSI models by computing contrastive gradients, providing sharper class distinctions and introducing new metrics for attribution quality evaluation.
Findings
CIG produces more informative and visually aligned attributions.
CIG outperforms baseline methods on multiple cancer datasets.
The proposed metrics MIL-AIC and MIL-SIC effectively measure attribution quality.
Abstract
Interpretability is essential in Whole Slide Image (WSI) analysis for computational pathology, where understanding model predictions helps build trust in AI-assisted diagnostics. While Integrated Gradients (IG) and related attribution methods have shown promise, applying them directly to WSIs introduces challenges due to their high-resolution nature. These methods capture model decision patterns but may overlook class-discriminative signals that are crucial for distinguishing between tumor subtypes. In this work, we introduce Contrastive Integrated Gradients (CIG), a novel attribution method that enhances interpretability by computing contrastive gradients in logit space. First, CIG highlights class-discriminative regions by comparing feature importance relative to a reference class, offering sharper differentiation between tumor and non-tumor areas. Second, CIG satisfies the axioms of…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsExplainable Artificial Intelligence (XAI) · AI in cancer detection · Generative Adversarial Networks and Image Synthesis
