Abstract
Motivated by distinct, though related, criteria, a growing number of attribution methods have been developed to interpret deep learning. While each relies on the interpretability of the concept of "importance" and our ability to visualize patterns, explanations produced by the methods often differ. In this work, we expand the foundations of human-understandable concepts with which attributions can be interpreted beyond "importance" and its visualization; we incorporate the logical concepts of necessity and sufficiency, and the concept of proportionality. We define metrics to represent these concepts as quantitative aspects of an attribution. We evaluate our measures on a collection of methods explaining convolutional neural networks (CNN) for image classification. We conclude that some attribution methods are more appropriate for interpretation in terms of necessity while others are in terms of sufficiency, while no method is always the most appropriate in terms of both.
Introduction: The Attribution "Zoo"
Deep learning models are notoriously opaque. To peek inside the "black box," researchers use attribution methods to highlight which pixels in an image were most important for a prediction. However, the field faces a "zoo" of methods—such as Saliency Maps, GradCAM, and Integrated Gradients—that often produce wildly different visualizations for the same input.
This inconsistency leaves practitioners wondering which explanation to trust. Current evaluation metrics are often biased toward specific algorithms. This paper argues that we lack a grounded, logical way to categorize what "importance" actually means, making it difficult to choose the right tool for debugging or auditing models.
Methodology: Necessity, Sufficiency, and Proportionality
The authors propose a formal framework to evaluate attribution methods based on two main logical axes:
- Logical Order:
- Necessity (N-Ord): If we remove these pixels, does the model's confidence vanish? (e.g., "I need my keys to start the car.")
- Sufficiency (S-Ord): If we show the model only these pixels, is it enough to make the prediction? (e.g., "Seeing the steering wheel is enough to know I'm in a car.")
- Proportionality: This measures if the magnitude of the attribution score actually reflects the magnitude of the change in the model's output. They introduce Total Proportionality for Necessity (TPN) and Sufficiency (TPS) to quantify this.
The researchers evaluated these criteria using the ImageNet dataset and a VGG16 architecture, testing seven popular attribution methods: Saliency Maps (SM), Integrated Gradients (IG), SmoothGrad (SG), DeepLIFT, GradCAM, Layer-wise Relevance Propagation (LRP), and Guided Backpropagation (GB).
Key Insights and Results
The study reveals that necessity and sufficiency are often mutually exclusive. A method that excels at identifying necessary features is often mediocre at finding sufficient ones.
- Necessity Winners: DeepLIFT and Integrated Gradients showed the best performance in Necessity Ordering (N-Ord).
- Sufficiency Winners: GradCAM and Guided Backpropagation performed best in Sufficiency Ordering (S-Ord). GradCAM is particularly effective at highlighting a region that, on its own, allows the model to make a correct prediction, though it fails at proportionality due to its upsampling process.
- The Proportionality Gap: Methods like IG and DeepLIFT ensure total attribution equals total change in output, but this only guarantees proportionality for the entire set of features, not for smaller subsets. Many popular methods only marginally outperform a random attribution baseline on certain proportionality metrics.
Practical Implications
This framework provides a roadmap for model debugging. For instance, if an engineer is debugging a "Stop Sign" detector, a necessary feature might be the pole (without which the model fails), while a sufficient feature might be the red octagon. Knowing which property a method highlights helps decide how to fix the model.
Conclusion
There is no "silver bullet" in the attribution zoo. The choice of method should be dictated by the specific interpretability goal—whether one needs to identify necessary components for a failure or sufficient components for a success. Future work will look to extend these criteria to account for complex feature interactions and non-image data types like NLP.
Summary updated