Token-Based Detection of Spurious Correlations in Vision Transformers
Not on the map. Why?
Abstract (arXiv)
Due to their powerful feature association capabilities, neural network-based computer vision models have the ability to detect and exploit unintended patterns within the data, potentially leading to correct predictions based on incorrect or unintended but statistically relevant signals. These clues may vary from simple color aberrations to small pieces of text within the image. In situations where these unintended signals align with the predictive task, models can mistakenly link these features with the task and rely on them for making predictions. This phenomenon is referred to as spurious correlations, where patterns appear to be associated with the task but are actually coincidental. As a result, detection and mitigation of spurious correlations have become crucial tasks for building trustworthy, reliable, and generalizable machine learning models. In this work, we present a token-based diagnostic pipeline that applies leave-one-out token removal to detect spurious correlations in vision transformers. The proposed approach quantifies a model's reliance on non-core visual cues through complementary measures that capture both aggregate and localized spurious effects at the token level. Using both supervised and self-supervised trained models, we present large-scale experiments on the ImageNet dataset demonstrating the ability of the proposed method to identify spurious correlations. We also find that, even if the same architecture is used, the training methodology has a substantial impact on the model's reliance on spurious correlations. Furthermore, we show that for certain ImageNet classes, many images exhibit strong reliance on non-core visual cues across multiple models, and we discuss common sources of such signals (e.g., watermarks and background artifacts). Lastly, we present a case study investigating spurious signals in invasive breast mass classification.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 65 of its 68 references that are in the map. First posted on arXiv 4 Sep 2025.
Builds on
65 of 68 references.
References · 65
- 2017Attention Is All You Needcited by 60,361
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,498
- 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,403
- 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,968
- 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,733
- 2017A Unified Approach to Interpreting Model Predictionscited by 6,555
- 2015Rethinking the Inception Architecture for Computer Visioncited by 5,475
- 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,070
- 2014Deep Learning Face Attributes in the Wildcited by 3,693
- 2017Axiomatic Attribution for Deep Networkscited by 3,384
38 more
- 2015Domain-Adversarial Training of Neural Networkscited by 3,044
- 2013Visualizing and Understanding Convolutional Networkscited by 2,290
- 2020Shortcut Learning in Deep Neural Networkscited by 1,969
- 2019Invariant Risk Minimizationcited by 1,854
- 2017Adversarial Discriminative Domain Adaptationcited by 1,311
- 2019Distributionally Robust Neural Networks for Group Shifts: On the Importance of Regularization for Worst-Case Generalizationcited by 1,247
- 2018Sanity Checks for Saliency Mapscited by 1,156
- 2022Token Merging: Your ViT But Fastercited by 1,021
- 2019Right for the Wrong Reasons: Diagnosing Syntactic Heuristics in Natural Language Inferencecited by 876
- 2023Vision Transformers Need Registerscited by 871
- 2021DynamicViT: Efficient Vision Transformers with Dynamic Token Sparsificationcited by 864
- 2018RISE: Randomized Input Sampling for Explanation of Black-box Modelscited by 838
- 2020Quantifying Attention Flow in Transformerscited by 775
- 2021Generalizing to Unseen Domains: A Survey on Domain Generalizationcited by 766
- 2021Domain Generalization: A Surveycited by 764
- 2017Interpretable Explanations of Black Boxes by Meaningful Perturbationcited by 612
- 2021Just Train Twice: Improving Group Robustness without Training Group Informationcited by 523
- 2022Last Layer Re-Training is Sufficient for Robustness to Spurious Correlationscited by 381
- 2019Unmasking Clever Hans Predictors and Assessing What Machines Really Learncited by 365
- 2019The many Shapley values for model explanationcited by 344
- 2017The (Un)reliability of saliency methodscited by 333
- 2020Are we done with ImageNet?cited by 333
- 2017Real Time Image Saliency for Black Box Classifierscited by 246
- 2016Understanding Neural Networks through Representation Erasurecited by 224
- 2020Explaining by Removing: A Unified Framework for Model Explanationcited by 218
- 2019Hidden Stratification Causes Clinically Meaningful Failures in Machine Learning for Medical Imagingcited by 216
- 2021Adaptive Token Sampling For Efficient Vision Transformerscited by 183
- 2014Object Detectors Emerge in Deep Scene CNNscited by 179
- 2017Visualizing Deep Neural Network Decisions: Prediction Difference Analysiscited by 166
- 2021IA-RED2: Interpretability-Aware Redundancy Reduction for Vision Transformerscited by 127
- 2021Salient ImageNet: How to discover spurious features in Deep Learning?cited by 114
- 2021Large-scale Unsupervised Semantic Segmentationcited by 101
- 2019CXPlain: Causal Explanations for Model Interpretation under Uncertaintycited by 98
- 2024ContextCite: Attributing Model Generation to Contextcited by 98
- 2020Shapley explainability on the data manifoldcited by 88
- 2022Shortcut Learning of Large Language Models in Natural Language Understandingcited by 85
- 2022VinDr-Mammo: A large-scale benchmark dataset for computer-aided diagnosis in full-field digital mammographycited by 84
- 2022Learning to Merge Tokens in Vision Transformerscited by 65
50 most cited of 65 All 65 (JSON)
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2024Spuriousness-Aware Meta-Learning for Learning Robust Classifiers
- 2025SpurLens: Automatic Detection of Spurious Cues in Multimodal LLMs
- 2025Superclass-Guided Representation Disentanglement for Spurious Correlation Mitigation
- 2024MM-SpuBench: Towards Better Understanding of Spurious Biases in Multimodal LLMs
- 2024RaVL: Discovering and Mitigating Spurious Correlations in Fine-Tuned Vision-Language Models
- 2025Escaping the SpuriVerse: Can Large Vision-Language Models Generalize Beyond Seen Spurious Correlations?
- 2025Debiased Prompt Tuning in Vision-Language Model without Annotations
- 2026Why Training-Free Token Reduction Collapses: The Inherent Instability of Pairwise Scoring Signals