Feature salience -- not task-informativeness -- drives machine learning model explanations
Benedict Clark, Marta Oliveira, Rick Wilming, Stefan Haufe
TL;DR
This study questions the common claim that feature attributions reveal what models have learned by showing that explanations are largely driven by test-time image salience rather than task informativeness. Using two controlled image-manipulation variants (watermarks and lightness) across confounded, balanced, and baseline training settings, the authors demonstrate that attribution methods consistently assign high importance to salient test-time features (RIW and RIL), often independent of the model's learned causal structure. Inverted colour encoding and SVD analyses further indicate that attribution maps track raw intensity and edge-like structures rather than genuine predictive features. The findings urge reevaluating prior conclusions about XAI effectiveness for detecting shortcut learning and call for integrating causal inference and robust benchmarks when interpreting feature attributions. Practically, the work cautions against using attribution maps for model debugging or data diagnostics without considering low-level image salience and distribution shifts.
Abstract
Explainable AI (XAI) promises to provide insight into machine learning models' decision processes, where one goal is to identify failures such as shortcut learning. This promise relies on the field's assumption that input features marked as important by an XAI must contain information about the target variable. However, it is unclear whether informativeness is indeed the main driver of importance attribution in practice, or if other data properties such as statistical suppression, novelty at test-time, or high feature salience substantially contribute. To clarify this, we trained deep learning models on three variants of a binary image classification task, in which translucent watermarks are either absent, act as class-dependent confounds, or represent class-independent noise. Results for five popular attribution methods show substantially elevated relative importance in watermarked areas (RIW) for all models regardless of the training setting ($R^2 \geq .45$). By contrast, whether the presence of watermarks is class-dependent or not only has a marginal effect on RIW ($R^2 \leq .03$), despite a clear impact impact on model performance and generalisation ability. XAI methods show similar behaviour to model-agnostic edge detection filters and attribute substantially less importance to watermarks when bright image intensities are encoded by smaller instead of larger feature values. These results indicate that importance attribution is most strongly driven by the salience of image structures at test time rather than statistical associations learned by machine learning models. Previous studies demonstrating successful XAI application should be reevaluated with respect to a possibly spurious concurrency of feature salience and informativeness, and workflows using feature attribution methods as building blocks should be scrutinised.
