Better Understanding Differences in Attribution Methods via Systematic Evaluations

Sukrut Rao, Moritz Böhle, Bernt Schiele · DOI

TL;DR

This paper introduces three novel evaluation frameworks—DiFull, ML-Att, and AggAtt—to systematically measure the faithfulness, fairness, and dataset-wide visual quality of neural network attribution methods. The authors reveal that apparent performance gaps between popular explanation methods often vanish when compared fairly at the same network layer, and demonstrate that a simple Gaussian smoothing step can drastically improve pixel-level explanations.

What Problem Does This Paper Address?

Post-hoc attribution methods (such as Grad-CAM or Integrated Gradients) try to explain "black-box" deep neural networks by highlighting which image pixels most heavily influenced a model's decision. However, evaluating these explanations is notoriously difficult because we lack a "ground truth" map of what the network actually utilized.

Current evaluation metrics often compare apples to oranges—for instance, evaluating a gradient-based method at the raw input layer while evaluating an activation-based method at the final convolutional layer. Furthermore, qualitative evaluations typically rely on cherry-picked visual examples that fail to represent dataset-wide behavior. This paper tackles these inconsistencies by establishing rigorous, standardized baselines for model explainability.

Methods

To clean up the evaluation landscape, the authors propose three core frameworks:

  1. DiFull (Disconnecting Inputs Fully): Instead of just placing images in a grid, DiFull architecturally disconnects the subimages by using separate classification heads and zeroing out overlapping receptive fields. This creates an absolute ground truth: a feature in subimage A cannot possibly influence the logit for subimage B.
  2. ML-Att (Multi-Layer Attribution): A framework designed to evaluate all attribution methods at identical network depths (input, intermediate, and final layers) to ensure a fair, level playing field.
  3. AggAtt (Aggregate Attribution): A qualitative visualization technique that sorts attribution maps across an entire dataset into percentile bins and averages them, giving a holistic view of best- and worst-case performance instead of single-sample anecdotes.
Overview of the DiFull, ML-Att, and AggAtt evaluation frameworks

Additionally, they introduce S-IntGrad and S-IxG, which apply a simple post-processing Gaussian smoothing kernel to clean up the notoriously noisy pixel-level gradients of standard backpropagation methods.

Comparison of evaluation settings: GridPG vs. DiFull vs. DiPart

Datasets

The evaluation frameworks were tested using synthetic $2 \times 2$ and $3 \times 3$ image grids constructed from the validation sets of:

  • ImageNet
  • CIFAR-10

These grids were evaluated across seven distinct convolutional neural network (CNN) architectures, including VGG11/19, ResNet18/152, ResNeXt, Wide ResNet, and GoogLeNet.

Key Insights and Ideas

  • The Layer Leveler: When compared at the exact same network layer using ML-Att, the performance differences between many structurally diverse attribution methods completely disappear. For example, final-layer Integrated Gradients performs just as well as Grad-CAM.
  • Grad-CAM’s Faithfulness Flaw: Under the strict DiFull setting, activation-based methods like Grad-CAM fail a basic architectural sanity check. If a class is repeated elsewhere in an image grid, Grad-CAM falsely attributes importance to regions that are completely disconnected from the active classification head.
  • The BatchNorm Roadblock: While Gaussian smoothing works wonders for VGG networks, it fails on architectures with Batch Normalization (like ResNet). BatchNorm randomizes the signs of input contributions, meaning spatial smoothing cancels out positive and negative gradients rather than cleaning up noise.

Key Results

  • Perfect Localization for Gradients on DiFull: Backpropagation-based methods (IntGrad, IxG) achieve near-perfect localization on DiFull across all layers because their gradients naturally drop to zero in architecturally disconnected regions.
  • Smoothing Beats Final-Layer Methods: Applying Gaussian smoothing (S-IntGrad) with a large kernel size on VGG19's input layer allows it to quantitatively and qualitatively outperform final-layer Grad-CAM, despite explaining the entire network rather than just the classification head.
Effects of smoothing attributions for IntGrad and IxG across different architectures
  • LRP Sensitivity: Layer-wise Relevance Propagation (LRP) delivers strong localization across all layers but is highly sensitive to hyperparameter tuning ($\gamma$) and lacks implementation invariance, meaning functionally identical models can yield completely different explanations.

Limitations and Future Work

While DiFull acts as an excellent coarse sanity check by guaranteeing what cannot influence the model, it cannot verify the correctness of attributions within the valid target region.

Additionally, this study strictly focuses on CNNs. The authors note that extending these systematic evaluation frameworks to modern Vision Transformers (ViTs) is a crucial next step. Another promising direction is developing backpropagation rules that better integrate negative contributions to more accurately reflect complex model computations.

Summary updated

BibTeX
@article{rao2024better,
  author = {Sukrut Rao and Moritz Böhle and Bernt Schiele},
  title = {{Better Understanding Differences in Attribution Methods via Systematic Evaluations}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2024},
  doi = {10.1109/tpami.2024.3353528},
}
Figure