Sanity Checks for Saliency Maps

Julius Adebayo, Justin Gilmer, Michael Muelly, Ian Goodfellow, Moritz Hardt +1 more
10/8/2018
cs.CVcs.LGstat.ML

Official code: adebayoj/sanity_checks_saliency (119 stars, last commit 2022-11-21).

Abstract

Saliency methods have emerged as a popular tool to highlight features in an input deemed relevant for the prediction of a learned model. Several saliency methods have been proposed, often guided by visual appeal on image data. In this work, we propose an actionable methodology to evaluate what kinds of explanations a given method can and cannot provide. We find that reliance, solely, on visual assessment can be misleading. Through extensive experiments we show that some existing saliency methods are independent both of the model and of the data generating process. Consequently, methods that fail the proposed tests are inadequate for tasks that are sensitive to either data or model, such as, finding outliers in the data, explaining the relationship between inputs and outputs that the model learned, and debugging the model. We interpret our findings through an analogy with edge detection in images, a technique that requires neither training data nor model. Theory in the case of a linear model and a single-layer convolutional neural network supports our experimental findings.

View on arXivView PDF

Code Implementations(1)

11913Python, Jupyter NotebookAug 12, 20183 years ago

Similar Papers

Cite this paper

@article{adebayo2018sanity,
  title  = {Sanity Checks for Saliency Maps},
  author = {Julius Adebayo and Justin Gilmer and Michael Muelly and Ian Goodfellow and Moritz Hardt and Been Kim},
  year   = {2018},
  eprint = {1810.03292},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1810.03292}
}

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

Discussion