Skip to main content
QUICK REVIEW

[Paper Review] Revisiting Sanity Checks for Saliency Maps

Gal Yona, Daniel Greenfeld|arXiv (Cornell University)|Oct 27, 2021
Explainable Artificial Intelligence (XAI)Computer Science20 references12 citations
TL;DR

This paper critically re-evaluates the sanity check methodology for saliency maps proposed by Adebayo et al., arguing that their conclusions are confounded by task-specific data distributions. By designing custom tasks with controlled perturbations—such as multi-object images and mixed-object stimuli—they demonstrate that saliency methods like guided backpropagation can pass revised sanity checks, challenging the original claim that such methods are insensitive to model architecture.

ABSTRACT

Saliency methods are a popular approach for model debugging and explainability. However, in the absence of ground-truth data for what the correct maps should be, evaluating and comparing different approaches remains a long-standing challenge. The sanity checks methodology of Adebayo et al [Neurips 2018] has sought to address this challenge. They argue that some popular saliency methods should not be used for explainability purposes since the maps they produce are not sensitive to the underlying model that is to be explained. Through a causal re-framing of their objective, we argue that their empirical evaluation does not fully establish these conclusions, due to a form of confounding introduced by the tasks they evaluate on. Through various experiments on simple custom tasks we demonstrate that some of their conclusions may indeed be artifacts of the tasks more than a criticism of the saliency methods themselves. More broadly, our work challenges the utility of the sanity check methodology, and further highlights that saliency map evaluation beyond ad-hoc visual examination remains a fundamental challenge.

Motivation & Objective

  • To challenge the validity of the sanity check methodology proposed by Adebayo et al. for evaluating saliency maps.
  • To investigate whether the original conclusions about saliency methods (e.g., guided backpropagation) being insensitive to model architecture are artifacts of the specific tasks used in evaluation.
  • To design controlled, synthetic tasks where the correct saliency map is known a priori to isolate the effect of data distribution on evaluation outcomes.
  • To demonstrate that saliency methods can pass revised sanity checks when evaluated on tasks that explicitly require model-dependent reasoning.
  • To question the utility of current sanity check frameworks for distinguishing between saliency methods in practice.

Proposed method

  • Reframe the original sanity check objective causally, making the dependence on the data-generating distribution explicit.
  • Design two custom tasks on MNIST: one where the model must detect a missing top half (perturbation task), and another where it must identify a digit (classification task), both with known correct saliency maps.
  • Train models on these tasks to high accuracy (0.99) to ensure they learn task-specific representations.
  • Generate saliency maps using both vanilla backpropagation (VBP) and guided backpropagation (GBP) on trained models and randomly initialized models of the same architecture.
  • Extend the approach to ImageNet using TinyImageNet by creating paired images with mixed objects (e.g., espresso + baboon), where the label depends only on one object.
  • Fine-tune a ResNet18 on the paired dataset to achieve ~77% test accuracy, then compare saliency maps from trained, pre-trained, and random models.

Experimental results

Research questions

  • RQ1To what extent do the original sanity checks by Adebayo et al. depend on the specific data distribution of MNIST and ImageNet?
  • RQ2Can saliency methods like guided backpropagation be shown to be sensitive to model architecture when evaluated on tasks where the correct saliency map is known?
  • RQ3Do the observed failures of certain saliency methods in the original study stem from task-specific confounding factors rather than inherent methodological flaws?
  • RQ4Can custom, semi-synthetic tasks be used to create a more reliable evaluation framework for saliency methods?
  • RQ5Is the original sanity check methodology too weak to meaningfully distinguish between saliency methods like VBP and GBP?

Key findings

  • On custom multi-object tasks, both VBP and GBP produce saliency maps that are visually distinct between trained and randomly initialized models, indicating model sensitivity.
  • In the MNIST-based perturbation task, the trained model's saliency maps correctly highlight the relevant region (e.g., the missing top half), while the random model's maps are diffuse and unstructured.
  • On the ImageNet-based paired-object task, the fine-tuned ResNet18 produces saliency maps focused only on the relevant object (e.g., espresso), whereas the random model highlights both objects equally.
  • The results show that guided backpropagation passes the revised sanity checks, contradicting the original claim that it is insensitive to model architecture.
  • The original sanity check methodology is shown to be distribution-dependent, as results vary significantly when the data distribution is altered.
  • The study suggests that current sanity check frameworks may be too weak to meaningfully differentiate between saliency methods, especially when task design introduces confounding factors.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.