Abstract
Saliency Map, the gradient of the score function with respect to the input, is the most basic technique for interpreting deep neural network decisions. However, saliency maps are often visually noisy. Although several hypotheses were proposed to account for this phenomenon, there are few works that provide rigorous analyses of noisy saliency maps. In this paper, we first propose a new hypothesis that noise may occur in saliency maps when irrelevant features pass through ReLU activation functions. Then, we propose Rectified Gradient, a method that alleviates this problem through layer-wise thresholding during backpropagation. Experiments with neural networks trained on CIFAR-10 and ImageNet showed effectiveness of our method and its superiority to other attribution methods.
Introduction: The Problem of Noisy Explanations
Saliency maps are fundamental tools in AI interpretability, designed to highlight pixels that influence a deep neural network's (DNN) classification decision. Despite their utility, these maps are frequently plagued by visual noise, appearing as grainy overlays rather than clear explanations. Previous theories attributed this to "gradient saturation" or "discontinuous gradients," but these remained largely unproven.
The core issue identified by the authors is untruthfulness. A faithful saliency map should only highlight features relevant to the class. However, standard methods often highlight irrelevant background noise. To demonstrate this, the researchers trained models on images containing a fixed patch of random noise. Despite the noise being irrelevant to the task, standard saliency maps consistently highlighted these patches, indicating a fundamental flaw in gradient propagation.
The Noise Hypothesis: ReLU as a Leaky Gatekeeper
The authors propose that noise arises because irrelevant features successfully pass through ReLU activation functions. During the forward pass, any background pixel with a positive value activates the ReLU "gate." In the backward pass, the gradient follows this same path. Because gradients are computed via the chain rule (successive multiplication), these irrelevant signals "snowball" as they move toward the input layer, resulting in significant noise in the final map.
Proposed Method: Rectified Gradient (RectGrad)
To address this, the authors introduce Rectified Gradient (RectGrad). This method applies layer-wise thresholding during backpropagation to prune irrelevant signals.
Mechanism
- Importance Score Calculation: For each unit, an importance score is defined as the product of its activation and its gradient ($Activation \times Gradient$).
- Thresholding: Gradients are set to zero for units whose importance scores fall below a specific percentile ($q$) within their layer.
- Refinements: The method includes a "Padding Trick" to eliminate border artifacts and a "Proportional Redistribution Rule" (PRR) to maintain smoothness during pooling operations.
Experimental Results
The researchers validated RectGrad using CIFAR-10 and ImageNet (Inception V4).
- Visual Clarity: Qualitatively, RectGrad produces significantly cleaner maps. For instance, in butterfly images, it highlights wing patterns while suppressing background noise.
- Quantitative Performance: Using ROAR (Remove and Retrain) and KAR (Keep and Retrain) metrics, RectGrad outperformed baselines like Integrated Gradients and DeepLIFT. This confirms that the pixels identified by RectGrad are truly the most influential for model accuracy.
- Class Sensitivity: Unlike simple edge detectors, RectGrad remains sensitive to the model's predicted class, changing its output if an adversarial attack alters the prediction.
Conclusion
RectGrad provides a rigorous solution to the noise problem in saliency maps by identifying and pruning irrelevant feature signals. By shifting the focus from raw gradients to a multiplicative "importance score," it offers a more faithful and visually interpretable window into the decision-making processes of deep neural networks.
Summary updated