[Paper Review] Towards better understanding of gradient-based attribution methods for Deep Neural Networks
The paper analyzes four gradient-based attribution methods (Gradient*Input, epsilon-LRP, Integrated Gradients, DeepLIFT) and shows theoretical connections, proposes a unified framework, and introduces Sensitivity-n to evaluate attribution quality across datasets and architectures.
Understanding the flow of information in Deep Neural Networks (DNNs) is a challenging problem that has gain increasing attention over the last few years. While several methods have been proposed to explain network predictions, there have been only a few attempts to compare them from a theoretical perspective. What is more, no exhaustive empirical comparison has been performed in the past. In this work, we analyze four gradient-based attribution methods and formally prove conditions of equivalence and approximation between them. By reformulating two of these methods, we construct a unified framework which enables a direct comparison, as well as an easier implementation. Finally, we propose a novel evaluation metric, called Sensitivity-n and test the gradient-based attribution methods alongside with a simple perturbation-based attribution method on several datasets in the domains of image and text classification, using various network architectures.
Motivation & Objective
- Motivate the need for principled, comparable explanations of DNN predictions across architectures and tasks.
- Formally relate and unify gradient-based attribution methods to enable direct comparison and implementation.
- Introduce Sensitivity-n to quantify how attribution sums relate to output changes under feature subsets.
- Empirically compare methods on image and text datasets to reveal theoretical and practical insights.
Proposed method
- Reformulate epsilon-LRP and DeepLIFT as backpropagation with modified gradient functions to create a unified gradient-based framework.
- Prove equivalence results: epsilon-LRP corresponds to Gradient*Input under ReLU activations, and DeepLIFT (Rescale) aligns with Gradient*Input under biasless networks with certain nonlinearities.
- Show how Integrated Gradients and DeepLIFT relate via average vs. local gradients, and discuss implications for multiplicative interactions.
- Define and employ Sensitivity-n to assess how well attribution sums match the output change when removing feature subsets.
- Provide practical guidance for implementing these methods in modern graph-based frameworks (e.g., TensorFlow) without custom layers.
Experimental results
Research questions
- RQ1Under what conditions are gradient-based attribution methods equivalent or approximations of one another?
- RQ2Can a unified framework facilitate direct comparison and simpler implementation of attribution methods?
- RQ3How can we quantitatively evaluate attribution methods beyond qualitative heatmaps?
- RQ4What are the limitations of gradient-based attributions for nonlinear or multiplicative interactions (e.g., LSTMs)?
Key findings
- epsilon-LRP and DeepLIFT can be reformulated as backpropagation with modified gradients, enabling a unified framework.”
- epsilon-LRP is equivalent to Gradient*Input for ReLU activations, and to DeepLIFT (with zero baseline) for biasless networks with nonlinearities that cross origin.
- Integrated Gradients and DeepLIFT are often closely related and DeepLIFT can approximate Integrated Gradients well in practice, though multiplicative interactions can cause divergence.
- Occlusion-1 remains a strong local attribution method satisfying Sensitivity-1, while Gradient-based methods capture global nonlinear effects better.
- All methods yield signed attributions; inputs may contain negative evidence, and linear models make all methods equivalent (Sensitivity-n holds for all n).
- The proposed Sensitivity-n metric enables systematic comparison of how attribution sums relate to output changes across feature subsets.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.