CASE: Contrastive Activation for Saliency Estimation

Dane Williamson, Yangfeng Ji, Matthew Dwyer
6/8/2025
cs.CVcs.LG

No official code found. Best implementation: dwil2444/case-saliency (1 star, last commit 2025-06-13).

Abstract

Saliency methods are widely used to visualize which input features are deemed relevant to a model's prediction. However, their visual plausibility can obscure critical limitations. In this work, we propose a diagnostic test for class sensitivity: a method's ability to distinguish between competing class labels on the same input. Through extensive experiments, we show that many widely used saliency methods produce nearly identical explanations regardless of the class label, calling into question their reliability. We find that class-insensitive behavior persists across architectures and datasets, suggesting the failure mode is structural rather than model-specific. Motivated by these findings, we introduce CASE, a contrastive explanation method that isolates features uniquely discriminative for the predicted class. We evaluate CASE using the proposed diagnostic and a perturbation-based fidelity test, and show that it produces faithful and more class-specific explanations than existing methods.

View on arXivView PDF

Code Implementations(1)

Official implementation of CASE: Contrastive Activation for Saliency Estimation; a diagnostic exploration and method for faithful, class-discriminative saliency maps.

10Shell, PythonJun 13, 20251 years ago
cnncnn-visualizationexplainable-aigrad-camsaliency+3 more

Similar Papers

Cite this paper

@article{williamson2025case,
  title  = {CASE: Contrastive Activation for Saliency Estimation},
  author = {Dane Williamson and Yangfeng Ji and Matthew Dwyer},
  year   = {2025},
  eprint = {2506.07327},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.07327v3}
}

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

Discussion