Skip to main content
QUICK REVIEW

[Paper Review] A Note about: Local Explanation Methods for Deep Neural Networks lack Sensitivity to Parameter Values

Mukund Sundararajan, Ankur Taly|arXiv (Cornell University)|Jun 11, 2018
Explainable Artificial Intelligence (XAI)Computer Science8 references11 citations
TL;DR

This paper challenges the claim that integrated gradients (IG) lack sensitivity to deep neural network parameters by showing that Adebayo et al. (2018) observed high correlation between explanations from random and trained networks due to two artifacts: (1) normalization by absolute values, which inflates Spearman correlation due to shared zero attributions on black MNIST pixels, and (2) inclusion of baseline pixels with zero attributions. When these artifacts are corrected, IG explanations for random and trained networks become uncorrelated, demonstrating that IG is indeed sensitive to parameter values when properly evaluated.

ABSTRACT

Local explanation methods, also known as attribution methods, attribute a deep network's prediction to its input (cf. Baehrens et al. (2010)). We respond to the claim from Adebayo et al. (2018) that local explanation methods lack sensitivity, i.e., DNNs with randomly-initialized weights produce explanations that are both visually and quantitatively similar to those produced by DNNs with learned weights. Further investigation reveals that their findings are due to two choices in their analysis: (a) ignoring the signs of the attributions; and (b) for integrated gradients (IG), including pixels in their analysis that have zero attributions by choice of the baseline (an auxiliary input relative to which the attributions are computed). When both factors are accounted for, IG attributions for a random network and the actual network are uncorrelated. Our investigation also sheds light on how these issues affect visualizations, although we note that more work is needed to understand how viewers interpret the difference between the random and the actual attributions.

Motivation & Objective

  • To challenge the claim that local explanation methods like integrated gradients lack sensitivity to neural network parameters.
  • To identify and correct methodological flaws in Adebayo et al. (2018)’s evaluation of integrated gradients on MNIST.
  • To demonstrate that integrated gradients are sensitive to network parameters when proper evaluation metrics are used.
  • To highlight how normalization and baseline choices distort visual and quantitative assessments of attribution methods.
  • To advocate for more careful visualization and evaluation practices in interpretability research.

Proposed method

  • Re-evaluating Spearman rank correlation between integrated gradients of trained and randomly initialized networks, accounting for shared zero attributions on black pixels.
  • Introducing a modified correlation metric, spearman_nz, which excludes zero-attribution pixels to eliminate spurious correlation.
  • Preserving the sign of integrated gradients in visualizations to reveal parameter sensitivity, rather than using absolute values.
  • Analyzing the sum of integrated gradient scores across all pixels to track changes in model prediction difference from baseline.
  • Using a black image as baseline, which causes all black pixels to receive zero attribution, a key factor in the original flawed analysis.
  • Empirically measuring correlation trends as network layers are randomized in cascade, using 50 MNIST images for averaging.

Experimental results

Research questions

  • RQ1Why did Adebayo et al. (2018) observe high Spearman correlation between integrated gradients of trained and randomly initialized networks?
  • RQ2How does normalization by absolute values affect the interpretation of attribution method sensitivity?
  • RQ3To what extent do shared zero attributions on black pixels in MNIST images distort correlation metrics?
  • RQ4How does the sign of integrated gradient values change as network parameters are randomized?
  • RQ5What impact do baseline selection and normalization have on the visual fidelity of attribution maps?

Key findings

  • The high Spearman correlation reported by Adebayo et al. (2018) is largely an artifact of normalizing attributions by absolute values, which inflates correlation due to shared zero attributions on black MNIST pixels.
  • When zero-attributed pixels are excluded using the spearman_nz metric, the correlation between integrated gradients of trained and randomly initialized networks drops to approximately 0.424, indicating no meaningful similarity.
  • The sign of integrated gradient values is highly sensitive to network parameters, as shown by visualizations where pixel attributions flip from positive to negative during randomization.
  • Visualizations that preserve the sign of attributions reveal that the original network highlights entire strokes, while randomized networks produce disjointed, non-coherent patterns.
  • The sum of integrated gradient scores across all pixels decreases significantly as network parameters are randomized, approaching zero, indicating loss of prediction difference from baseline.
  • Without absolute value normalization, the Spearman correlation between explanations from trained and randomized networks drops to 0.0, confirming that normalization is central to the misleading result.

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.