Exposing Image Classifier Shortcuts with Counterfactual Frequency (CoF) Tables
Not on the map. Why?
Abstract (arXiv)
The rise of deep learning in image classification has brought unprecedented accuracy but also highlighted a key issue: the use of 'shortcuts' by models. Such shortcuts are easy-to-learn patterns from the training data that fail to generalise to new data. Examples include the use of a copyright watermark to recognise horses, snowy background to recognise huskies, or ink markings to detect malignant skin lesions. The explainable AI (XAI) community has suggested using instance-level explanations to detect shortcuts without external data, but this requires the examination of many explanations to confirm the presence of such shortcuts, making it a labour-intensive process. To address these challenges, we introduce Counterfactual Frequency (CoF) tables, a novel approach that aggregates instance-based explanations into global insights, and exposes shortcuts. The aggregation implies the need for some semantic concepts to be used in the explanations, which we solve by labelling the segments of an image. We demonstrate the utility of CoF tables across several datasets, revealing the shortcuts learned from them.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 19 of its 28 references that are in the map. First posted on arXiv 24 May 2024.
Builds on
19 of 28 references.
References · 19
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
- 2023Segment Anythingcited by 8,234
- 2020End-to-End Object Detection with Transformerscited by 7,414
- 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,733
- 2017A Unified Approach to Interpreting Model Predictionscited by 6,555
- 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,070
- 2013Deep Inside Convolutional Networks: Visualising Image Classification Models and Saliency Mapscited by 2,371
- 2020Shortcut Learning in Deep Neural Networkscited by 1,969
- 2018ImageNet-trained CNNs are biased towards texture; increasing shape bias improves accuracy and robustnesscited by 1,432
- 2018Sanity Checks for Saliency Mapscited by 1,156
- 2020Underspecification Presents Challenges for Credibility in Modern Machine Learningcited by 496
7 more
- 2017Interpretation of Neural Networks is Fragilecited by 444
- 2019Unmasking Clever Hans Predictors and Assessing What Machines Really Learncited by 365
- 2017The (Un)reliability of saliency methodscited by 333
- 2020Learning from Failure: Training Debiased Classifier from Biased Classifiercited by 133
- 2022A Whac-A-Mole Dilemma: Shortcuts Come in Multiples Where Mitigating One Amplifies Otherscited by 85
- 2019Exploratory Not Explanatory: Counterfactual Analysis of Saliency Maps for Deep Reinforcement Learningcited by 60
- 2019Global Aggregations of Local Explanations for Black Box modelscited by 30
Built on by
Citing papers per year: 2024: 1; 2025: 2.
3 papers.
Similar, not cited
Close in wording, no citation either way
- 2023Text-to-Image Models for Counterfactual Explanations: a Black-Box Approach
- 2022Diffusion Models for Counterfactual Explanations
- 2025From Visual Explanations to Counterfactual Explanations with Latent Diffusion
- 2026Concept-based Visual Counterfactual Explanations with Diffusion Models
- 2025CE-FAM: Concept-Based Explanation via Fusion of Activation Maps
- 2026Towards Fast and Disentangled Counterfactuals for Visual Foundation Models
- 2023Diffusion-based Visual Counterfactual Explanations -- Towards Systematic Quantitative Evaluation
- 2024Explaining in Diffusion: Explaining a Classifier Through Hierarchical Semantics with Text-to-Image Diffusion Models