Rethinking Positive Aggregation and Propagation of Gradients in Gradient-based Saliency Methods

Ashkan Khakzar, Soroosh Baselizadeh, Nassir NavabarXiv 2020

Abstract

Saliency methods are widely used to explain deep neural network predictions by highlighting influential input regions. However, many popular techniques, such as Grad-CAM++ and Guided Backpropagation, rely on positive filtering of gradients. This paper reveals that such "positive" biases often lead to visually appealing but unfaithful explanations. Through class-sensitivity and cascading parameter randomization tests, we demonstrate that these methods frequently act as sophisticated edge detectors, recovering object silhouettes regardless of the model's weights or the target class.

Introduction

Deep learning models are often criticized as "black boxes." To demystify their decision-making, researchers employ saliency (or attribution) methods to generate heatmaps that visualize the importance of input features. Ideally, these maps should be faithful to the model's internal logic: if a model predicts a "Golden Retriever," the map should highlight the dog; if the target class is changed to a "Tennis Ball," the map should shift accordingly.

However, a growing body of evidence suggests that visual interpretability does not equate to faithfulness. Some methods produce sharp, human-interpretable maps that look like object silhouettes, yet these maps may not reflect the model's actual reasoning. This paper investigates whether these methods are truly explaining the model or are merely performing advanced image processing through biased gradient handling.

Methodology: The Role of Positive Filtering

The authors identify two primary architectural choices that compromise the faithfulness of saliency maps:

  1. Positive Aggregation: Techniques like Grad-CAM++ and FullGrad often apply a ReLU function or take absolute values when combining gradients across channels or layers. The authors hypothesize that by focusing solely on positive contributions, these methods "recover" the object's shape (the silhouette) regardless of the specific output class.
  2. Positive Propagation: Methods such as Guided Backpropagation and Layer-wise Relevance Propagation (LRP) modify the standard backpropagation rule to allow only positive gradient signals to flow backward through the network.

Evaluation Metrics

To evaluate these methods, the authors employ two rigorous "sanity checks":

  • Class-sensitivity: Measures how much the saliency map changes when explaining different classes. This is quantified using Spearman HOG correlation; a high correlation indicates low sensitivity.
  • Cascading Parameter Randomization: Tests if the saliency map changes as the network's weights are randomized layer-by-layer. A faithful method should show decreasing correlation with the original map as more weights are destroyed.

Results and Discussion

Visual Analysis of the "Silhouette Trap"

Visual inspections reveal that methods biased toward positive gradients tend to produce similar maps regardless of the target class. As shown in Figure 1, while Grad-CAM exhibits clear shifts in focus between different classes (e.g., focusing on the dog vs. the person), variants like Grad-CAM++ and GradMid produce nearly identical "silhouettes" of the primary object across all classes.

Figure 1: Comparison of saliency maps across different classes. While Grad-CAM shows sensitivity to the target class, methods using positive aggregation (e.g., Grad-CAM++, GradMid) tend to highlight the same object silhouette regardless of the class being explained.

Quantitative Evidence of Model-Blindness

The most striking evidence comes from the cascading randomization test. A faithful explanation should degrade as the model's learned parameters are removed. However, as shown in Figure 6, propagation-based methods like Guided Backpropagation and RectGrad maintain a near-perfect HOG correlation (~1.0) with the original map even as weights are randomized from the top layers down to the early convolutional layers. This confirms that these "explanations" are largely independent of the trained model's weights and are instead driven by the input image's structure.

Figure 6: Spearman HOG correlation during cascading parameter randomization. Guided Backpropagation and RectGrad show near-perfect correlation (close to 1.0) even as weights are randomized, indicating they are "model-blind" compared to raw Gradients.

The Pointing Game

In the Restricted Pointing Game, Grad-CAM's accuracy dropped significantly (from 74.1% to 48.9%) when forced to distinguish between multiple classes in an image. In contrast, biased methods like Grad-CAM_Pos barely changed (60.4% to 58.1%), confirming they point to the same object regardless of the target class.

Conclusion

The "interpretability" of many popular saliency methods is often a mirage created by positive gradient filtering. By performing a form of image processing that extracts silhouettes, these methods satisfy human visual expectations while failing to faithfully represent the model's internal state. While "cleaner" methods like raw Gradients are visually noisier, they remain more theoretically sound. Future research must bridge this gap, developing methods that are both visually sharp and rigorously faithful to the underlying neural network.

Summary updated

BibTeX
@misc{khakzar2020rethinking,
  author = {Ashkan Khakzar and Soroosh Baselizadeh and Nassir Navab},
  title = {{Rethinking Positive Aggregation and Propagation of Gradients in Gradient-based Saliency Methods}},
  year = {2020},
  eprint = {2012.00362},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2012.00362},
}
Figure