TL;DR
We regularly use attribution methods (like Grad-CAM or SHAP) to see which pixels are "important" to a vision model's decision, yet the field has never explicitly agreed on what "importance" actually means. By rigorously defining input importance and testing 15 popular methods in a tightly controlled sandbox, the authors show that existing attributions fail to reliably capture true feature contributions. Worse yet, how much you can trust a heatmap depends heavily on how your model learned to solve the task—something you rarely know in advance.
What Problem Does This Paper Address?
For over a decade, researchers have generated colorful heatmaps to explain black-box image classifiers. The catch? Almost no attribution method explicitly defines the mathematical quantity it is trying to recover.
Without a ground-truth definition of "importance," evaluating these methods becomes circular. Standard evaluation protocols usually delete or insert pixels based on the heatmap and measure how fast the model’s confidence drops. Not only does this conflate defining importance with evaluating the heatmap, it also pushes modified images out-of-distribution (OOD)—meaning a drop in confidence might just be the model freaking out over weird, unnatural pixel artifacts rather than missing information.
Methods
The authors break this circularity by completely decoupling the definition of importance from the evaluation of attribution methods. Viewing an image as a composition of non-overlapping pixel subsets, they propose two distinct, measurable definitions of a subset's contribution to a predicted class:
- Contextual contribution: How much the model's output changes when you remove only that subset from the full image.
- Individual contribution: How close the model's output is to its original prediction when only that subset is present in isolation.
To compute these without triggering OOD artifacts, the authors introduce strict validity checks applied to every sample-model pair. When "removing" a feature, they replace it with background random noise, and then resample both the background noise and replacement patch 10 times each. If jittering that noise meaningfully alters the model's output, that sample-model pair is thrown out. Only when a model is verifiably invariant to the replacement noise do they establish ground-truth importance and test whether attribution methods find it.
Datasets
To ensure sample-model pairs pass these strict validity checks, the authors introduce a synthetic benchmark called The Squares Problem.
- Each $224 \times 224$ image features a black background with light random noise and up to three $20 \times 20$ colored squares placed within designated $60 \times 60$ regions (60,000 training and 10,000 test images per setting).
- Each square's color correlates with the true class label according to tunable probabilities, and squares are randomly omitted 10% of the time during training so that "missing" squares remain in-distribution.
Key Insights and Ideas
- Models attend to pure noise: Even in this dead-simple setup where background noise has zero correlation with the label, over 75% of trained models had test samples where tweaking the background noise non-negligibly changed the output. You cannot assume a model ignores uninformative backgrounds!
- "Most important" isn't singular: Across all models, there are images where Square A is the top contextual contributor, while Square B is the top individual contributor. Yet, when the two definitions disagree, existing attributions fail equally against both—suggesting they don't implicitly target either definition.
- Sensitivity $\neq$ Importance: Gradient and perturbation methods largely measure local sensitivity (how much a tiny nudge changes the output). When a model fixates on a single dominant shortcut feature (focal models), sensitivity and importance happen to align. When a model weighs multiple features (diverse models), a feature can contribute heavily without being locally sensitive—causing current attributions to stumble.
Key Results
The authors trained 80 models (ResNet-18, ResNet-50, VGG-16, and ViT-B/16 across 4 probability settings and 5 seeds) and ran 1,200 evaluations across 15 attribution methods (including Saliency, Integrated Gradients, Grad-CAM, RISE, LIME, and SHAP). Even after heavily relaxing the grading criteria in the methods' favor—testing only samples where contextual and individual importance agreed, ignoring heatmaps that peaked in the empty background, and averaging scores over buffered square regions—attributions struggled:
- The Focal vs. Diverse Gap: Raw success rates drop sharply when moving from focal models (where one square dominates >65% of the time) to diverse models. On ViT-B/16, for instance, Saliency succeeds 78% of the time on focal models, but drops to 57% on diverse models.
- Poor overall reliability: Across diverse models, no tested method performed consistently well, yielding a lackluster average raw success rate of 49.48% ($\pm$14.41%) in a simplified 3-choice pointing game. Follow-up checks confirmed these errors were rarely due to "close ties" between two squares.
Limitations and Future Work
- Overly generous grading: Because the authors wanted to uncover what attributions might capture rather than just bash them, they filtered out blatant background misfires and used lenient spatial pooling. Building stricter benchmarks on this platform is an immediate next step.
- Synthetic-only scope: This framework cannot establish ground-truth importance on messy, real-world datasets like ImageNet where OOD-free feature removal isn't verifiable. Instead, it acts as a "minimum viable test": if an explanation method fails on three colored squares, we shouldn't trust it in the wild. Future work will require rethinking attribution from the ground up, moving beyond local sensitivity toward explicitly defined importance.
Summary updated