Guided Integrated Gradients: An Adaptive Path Method for Removing Noise

Andrei Kapishnikov, Subhashini Venugopalan, Besim Avci, Ben Wedin, Michael Terry +1 more
6/17/2021
188 citations
cs.CVcs.LG

Official code: PAIR-code/saliency (996 stars, Jupyter Notebook, Apache-2.0, TensorFlow, last commit 2024-03-20).

Abstract

Integrated Gradients (IG) is a commonly used feature attribution method for deep neural networks. While IG has many desirable properties, the method often produces spurious/noisy pixel attributions in regions that are not related to the predicted class when applied to visual models.

Show full abstract

While this has been previously noted, most existing solutions are aimed at addressing the symptoms by explicitly reducing the noise in the resulting attributions. In this work, we show that one of the causes of the problem is the accumulation of noise along the IG path. To minimize the effect of this source of noise, we propose adapting the attribution path itself -- conditioning the path not just on the image but also on the model being explained. We introduce Adaptive Path Methods (APMs) as a generalization of path methods, and Guided IG as a specific instance of an APM. Empirically, Guided IG creates saliency maps better aligned with the model's prediction and the input image that is being explained. We show through qualitative and quantitative experiments that Guided IG outperforms other, related methods in nearly every experiment.

View on arXivView PDF

Code Implementations(1)

PAIR-code/saliencyOfficial100%
TensorFlowApache-2.0

Framework-agnostic implementation for state-of-the-art saliency methods (XRAI, BlurIG, SmoothGrad, and more).

996190Jupyter Notebook, PythonJun 9, 20172 years agoApache-2.0
convolutional-neural-networksdeep-learningdeep-neural-networksig-saliencyimage-recognition+6 more

Similar Papers

Cite this paper

@article{kapishnikov2021guided,
  title  = {Guided Integrated Gradients: An Adaptive Path Method for Removing Noise},
  author = {Andrei Kapishnikov and Subhashini Venugopalan and Besim Avci and Ben Wedin and Michael Terry and Tolga Bolukbasi},
  year   = {2021},
  eprint = {2106.09788},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.09788}
}

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

Discussion