TL;DR
Explainable AI (XAI) feature attribution methods are widely trusted to show what a machine learning model has learned, such as identifying when a model relies on a "shortcut" feature like a watermark. This paper reveals a critical flaw in that assumption: popular XAI methods highlight salient image structures (like sharp edges or high contrast) at test time regardless of whether the model actually used them or even saw them during training. Effectively, these tools often behave more like simple, model-independent edge detectors than true windows into a model's inner logic.
What Problem Does This Paper Address?
When deep learning models learn "shortcuts"—such as classifying a medical image based on a hospital text token rather than actual pathology—researchers rely on XAI feature attribution methods (like Integrated Gradients, SHAP, or Layer-wise Relevance Propagation) to catch these failures. The foundational assumption of the XAI field is that if an attribution method marks an input feature as important, that feature must contain task-informative data that the model is actively leveraging.
The authors challenge this assumption. They investigate whether importance attribution in practice is truly driven by task-informativeness, or if it is dominated by other data properties like statistical suppression, novelty at test-time, or simply high feature salience (e.g., sharp edges and bright intensities). If XAI tools highlight visually striking features regardless of the model's internal logic, they risk giving the right explanations for the wrong reasons, undermining their utility for model debugging and safety auditing.
Methods
The authors designed a rigorous, controlled framework to isolate the drivers of XAI explanations. They trained Convolutional Neural Networks (CNNs) on binary classification tasks under three distinct training regimes:
- Confounded setting: The manipulated feature (e.g., a watermark) is highly correlated with the class label, making it genuinely task-informative.
- Balanced setting: The feature is distributed equally across classes, making it non-informative but potentially useful as a "suppressor" to denoise other features.
- No-watermark/Baseline setting: The feature is completely absent during training, making it a pure outlier when introduced at test time.
At test time, they evaluated five popular feature attribution methods: Deconvolution, Integrated Gradients, Gradient SHAP, LRP-$\epsilon$, and LRP-$\alpha\beta$.
They compared these XAI methods against model-independent baselines, including a standard 2D Laplace edge-detection filter and the raw input images. To quantify the results, they measured the Relative Importance on Watermark (RIW) and Relative Importance on Lightness (RIL), using Linear Mixed Models (LMM) to calculate the exact percentage of variance explained ($R^2$) by either the presence of the feature or the model's training history.
Datasets
The paper evaluates these methods across two controlled image manipulation studies:
- Watermark Study: Built using 9,600 cat and dog images from Kaggle. The authors superimposed a static, translucent watermark ("Quality in Artificial Intelligence, QAI LABS") at fixed or variable positions according to the three experimental training settings.
- Lightness Study: Built using 30,000 images of animals and vehicles from the Microsoft COCO dataset. Instead of a local watermark, they globally manipulated the lightness channel of the images using left- and right-skewed Beta distributions.
Key Insights and Ideas
- The Illusion of Model Insight: Landmark papers in XAI history have shown attribution methods successfully highlighting watermarks, attributing this to the method's ability to catch shortcut learning. This paper shows that these methods highlight the watermark even if the model was trained on data with no watermarks at all.
- XAI as Edge Detectors: Most popular attribution methods produce maps that qualitatively and quantitatively match simple, model-agnostic edge filters (like the Laplace filter). They naturally default to highlighting high-contrast boundaries.
- Intensity Bias: By running an experiment with inverted color encodings (where dark pixels are represented by higher numerical values), the authors found that methods like Gradient SHAP and LRP-$\epsilon$ completely reversed their attribution behavior. This proves they are heavily biased by raw pixel intensities rather than the abstract statistical associations learned by the network.
Key Results
- Watermark Presence Dominates: The mere presence of a watermark in a test image explained 45% to 67% of the variance in RIW scores across all XAI methods.
- Model Training Negligible: Whether the watermark was actually informative during training (confounded), non-informative (balanced), or entirely unseen (no-watermark) explained at most 3% of the variance in XAI attribution.
- Models trained completely without watermarks still attributed twice as much importance to watermarked areas (RIW $\approx$ 2) as the rest of the image when evaluated on watermarked test images, closely mirroring the behavior of a raw Laplace filter.
Limitations and Future Work
- Feature Scope: The authors only controlled specific isolated features (local watermarks and global lightness) rather than the entire semantic content of the image (e.g., the actual foreground objects like cats or dogs).
- Architecture & Hyperparameters: The study focused on standard CNN architectures and default XAI parameter configurations. Future work could explore if specific hyperparameter tuning or alternative architectures (like Vision Transformers) mitigate these salience biases.
- A Call for Better Benchmarks: The findings highlight a critical need for new XAI benchmarks where ground-truth informative features are normalized against local and global image statistics so they blend subtly into the background, forcing XAI evaluation to measure true model-dependence rather than visual salience.
Summary updated