Are Vision Transformers Robust to Spurious Correlations?
Not on the map. Why?
Abstract (arXiv)
Deep neural networks may be susceptible to learning spurious correlations that hold on average but not in atypical test samples. As with the recent emergence of vision transformer (ViT) models, it remains underexplored how spurious correlations are manifested in such architectures. In this paper, we systematically investigate the robustness of vision transformers to spurious correlations on three challenging benchmark datasets and compare their performance with popular CNNs. Our study reveals that when pre-trained on a sufficiently large dataset, ViT models are more robust to spurious correlations than CNNs. Key to their success is the ability to generalize better from the examples where spurious correlations do not hold. Further, we perform extensive ablations and experiments to understand the role of the self-attention mechanism in providing robustness under spuriously correlated environments. We hope that our work will inspire future research on further understanding the robustness of ViT models.
Key facts. Cited by 36 papers in the map (data through 14 Oct 2026). Builds on 49 of its 64 references that are in the map. First posted on arXiv 17 Mar 2022.
Builds on
49 of 64 references.
References · 49
- 2017Attention Is All You Needcited by 60,361
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,498
- 2017mixup: Beyond Empirical Risk Minimizationcited by 5,183
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
- 2014Deep Learning Face Attributes in the Wildcited by 3,693
- 2022A ConvNet for the 2020scited by 3,579
37 more
- 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,884
- 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,877
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,811
- 2013Visualizing and Understanding Convolutional Networkscited by 2,290
- 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,269
- 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,962
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,850
- 2018ImageNet-trained CNNs are biased towards texture; increasing shape bias improves accuracy and robustnesscited by 1,432
- 2019Natural Adversarial Examplescited by 1,408
- 2020Energy-based Out-of-distribution Detectioncited by 1,299
- 2019Distributionally Robust Neural Networks for Group Shifts: On the Importance of Regularization for Worst-Case Generalizationcited by 1,247
- 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,101
- 2021Scaling Vision Transformerscited by 999
- 2019Right for the Wrong Reasons: Diagnosing Syntactic Heuristics in Natural Language Inferencecited by 876
- 2020Quantifying Attention Flow in Transformerscited by 775
- 2019Big Transfer (BiT): General Visual Representation Learningcited by 769
- 2021Going deeper with Image Transformerscited by 764
- 2018Recognition in Terra Incognitacited by 658
- 2021How to train your ViT? Data, Augmentation, and Regularization in Vision Transformerscited by 569
- 2021Intriguing Properties of Vision Transformerscited by 446
- 2019Using Pre-Training Can Improve Model Robustness and Uncertaintycited by 373
- 2020An Investigation of Why Overparameterization Exacerbates Spurious Correlationscited by 310
- 2022How Do Vision Transformers Work?cited by 307
- 2021Understanding Robustness of Transformers for Image Classificationcited by 249
- 2020Revisiting Few-sample BERT Fine-tuningcited by 238
- 2021Vision Transformers are Robust Learnerscited by 207
- 2021Are Transformers More Robust Than CNNs?cited by 187
- 2016Grad-CAM: Why did you say that?cited by 161
- 2021Towards Robust Vision Transformercited by 137
- 2020An Empirical Study on Robustness to Spurious Correlations using Pre-trained Language Modelscited by 134
- 2021Self-supervised Learning is More Robust to Dataset Imbalancecited by 123
- 2019Unlearn Dataset Bias in Natural Language Inference by Fitting the Residualcited by 119
- 2021Delving Deep into the Generalization of Vision Transformers under Distribution Shiftscited by 85
- 2020Model Patching: Closing the Subgroup Performance Gap with Data Augmentationcited by 83
- 2021The Evolution of Out-of-Distribution Robustness Throughout Fine-Tuningcited by 75
- 2021On the Impact of Spurious Correlation for Out-of-distribution Detectioncited by 68
- 2021Go Wider Instead of Deepercited by 57
Built on by
Citing papers per year: 2022: 4; 2023: 6; 2024: 14; 2025: 10; 2026: 2.
36 papers.
Sort:
By area:
- 2022On Feature Learning in the Presence of Spurious Correlationscited by 145
- 2024ARGS: Alignment as Reward-Guided Searchcited by 103
- 2024Process Reward Model with Q-Value Rankingscited by 80
- 2023Spawrious: A Benchmark for Fine Control of Spurious Correlation Biasescited by 41
- 2024MM-SpuBench: Towards Better Understanding of Spurious Biases in Multimodal LLMscited by 33
- 2022ModelDiff: A Framework for Comparing Learning Algorithmscited by 30
- 2022How Robust is Unsupervised Representation Learning to Distribution Shift?cited by 24
- 2022How to Fine-Tune Vision Models with SGDcited by 23
- 2023Distributionally Robust Post-hoc Classifiers under Prior Shiftscited by 16
- 2024Transformers Learn Low Sensitivity Functions: Investigations and Implicationscited by 14
- 2023FD-Align: Feature Discrimination Alignment for Fine-tuning Pre-Trained Models in Few-Shot Learningcited by 12
- 2024Controllable Prompt Tuning For Balancing Group Distributional Robustnesscited by 10
24 more
- 2024Seeking Consistent Flat Minima for Better Domain Generalization via Refining Loss Landscapescited by 10
- 2024On the Learnability of Out-of-distribution Detectioncited by 8
- 2023Fairness-aware Vision Transformer via Debiased Self-Attentioncited by 6
- 2024Benchmarking Spurious Bias in Few-Shot Image Classifierscited by 6
- 2024Mask of truth: model sensitivity to unexpected regions of medical imagescited by 6
- 2025Efficient Unsupervised Shortcut Learning Detection and Mitigation in Transformerscited by 6
- 2024Learning Generalizable Models via Disentangling Spurious and Enhancing Potential Correlationscited by 5
- 2024SLIM: Spuriousness Mitigation with Minimal Human Annotationscited by 5
- 2025Sparse Model Inversion: Efficient Inversion of Vision Transformers for Data-Free Applicationscited by 4
- 2023Identifying and Disentangling Spurious Features in Pretrained Image Representationscited by 3
- 2025The Devil is in the Spurious Correlations: Boosting Moment Retrieval with Dynamic Learningcited by 3
- 2025SCENIR: Visual Semantic Clarity through Unsupervised Scene Graph Retrievalcited by 2
- 2025Moment Alignment: Unifying Gradient and Hessian Matching for Domain Generalizationcited by 2
- 2023Depth-Relative Self Attention for Monocular Depth Estimationcited by 1
- 2025Single-weight Model Editing for Post-hoc Spurious Correlation Neutralizationcited by 1
- 2025Spurious Privacy Leakage in Neural Networkscited by 1
- 2026SCL-GNN: Towards Generalizable Graph Neural Networks via Spurious Correlation Learningcited by 1
- 2024Long-Term Prediction Accuracy Improvement of Data-Driven Medium-Range Global Weather Forecastcited by 0
- 2024A Survey on Cell Nuclei Instance Segmentation and Classification: Leveraging Context and Attentioncited by 0
- 2024The Pragmatic Frames of Spurious Correlations in Machine Learning: Interpreting How and Why They Mattercited by 0
- 2025Out-of-distribution data supervision towards biomedical semantic segmentationcited by 0
- 2025Token-Based Detection of Spurious Correlations in Vision Transformerscited by 0
- 2025IGAff: Benchmarking Adversarial Iterative and Genetic Affine Algorithms on Deep Neural Networkscited by 0
- 2026Deep Attention Reweighting: Post-Hoc Attention-Based Feature Aggregation in CNNs for Disentangling Core and Spurious Features under Spurious Correlationscited by 0
- 2026Deep Attention Reweighting: Post-Hoc Attention-Based Feature Aggregation in CNNs for Disentangling Core and Spurious Features under Spurious Correlations20 May 2026
- 2026SCL-GNN: Towards Generalizable Graph Neural Networks via Spurious Correlation Learning9 Mar 2026
- 2025Sparse Model Inversion: Efficient Inversion of Vision Transformers for Data-Free Applications31 Oct 2025
- 2025IGAff: Benchmarking Adversarial Iterative and Genetic Affine Algorithms on Deep Neural Networks8 Sep 2025
- 2025Token-Based Detection of Spurious Correlations in Vision Transformers4 Sep 2025
- 2025Out-of-distribution data supervision towards biomedical semantic segmentation16 Jul 2025
- 2025Moment Alignment: Unifying Gradient and Hessian Matching for Domain Generalization9 Jun 2025
- 2025Spurious Privacy Leakage in Neural Networks26 May 2025
- 2025SCENIR: Visual Semantic Clarity through Unsupervised Scene Graph Retrieval21 May 2025
- 2025Single-weight Model Editing for Post-hoc Spurious Correlation Neutralization24 Jan 2025
- 2025The Devil is in the Spurious Correlations: Boosting Moment Retrieval with Dynamic Learning13 Jan 2025
- 2025Efficient Unsupervised Shortcut Learning Detection and Mitigation in Transformers1 Jan 2025
24 more
- 2024Seeking Consistent Flat Minima for Better Domain Generalization via Refining Loss Landscapes18 Dec 2024
- 2024Mask of truth: model sensitivity to unexpected regions of medical images5 Dec 2024
- 2024The Pragmatic Frames of Spurious Correlations in Machine Learning: Interpreting How and Why They Matter7 Nov 2024
- 2024Process Reward Model with Q-Value Rankings15 Oct 2024
- 2024Benchmarking Spurious Bias in Few-Shot Image Classifiers4 Sep 2024
- 2024A Survey on Cell Nuclei Instance Segmentation and Classification: Leveraging Context and Attention26 Jul 2024
- 2024SLIM: Spuriousness Mitigation with Minimal Human Annotations8 Jul 2024
- 2024Long-Term Prediction Accuracy Improvement of Data-Driven Medium-Range Global Weather Forecast26 Jun 2024
- 2024MM-SpuBench: Towards Better Understanding of Spurious Biases in Multimodal LLMs24 Jun 2024
- 2024On the Learnability of Out-of-distribution Detection7 Apr 2024
- 2024Transformers Learn Low Sensitivity Functions: Investigations and Implications11 Mar 2024
- 2024Controllable Prompt Tuning For Balancing Group Distributional Robustness5 Mar 2024
- 2024ARGS: Alignment as Reward-Guided Search23 Jan 2024
- 2024Learning Generalizable Models via Disentangling Spurious and Enhancing Potential Correlations11 Jan 2024
- 2023FD-Align: Feature Discrimination Alignment for Fine-tuning Pre-Trained Models in Few-Shot Learning23 Oct 2023
- 2023Distributionally Robust Post-hoc Classifiers under Prior Shifts16 Sep 2023
- 2023Identifying and Disentangling Spurious Features in Pretrained Image Representations22 Jun 2023
- 2023Depth-Relative Self Attention for Monocular Depth Estimation25 Apr 2023
- 2023Spawrious: A Benchmark for Fine Control of Spurious Correlation Biases9 Mar 2023
- 2023Fairness-aware Vision Transformer via Debiased Self-Attention31 Jan 2023
- 2022ModelDiff: A Framework for Comparing Learning Algorithms22 Nov 2022
- 2022How to Fine-Tune Vision Models with SGD17 Nov 2022
- 2022On Feature Learning in the Presence of Spurious Correlations20 Oct 2022
- 2022How Robust is Unsupervised Representation Learning to Distribution Shift?17 Jun 2022
- 2024ARGS: Alignment as Reward-Guided Searchcited by 103
- 2024ARGS: Alignment as Reward-Guided Search23 Jan 2024
- 2024Process Reward Model with Q-Value Rankingscited by 80
- 2024Process Reward Model with Q-Value Rankings15 Oct 2024
- 2022On Feature Learning in the Presence of Spurious Correlationscited by 145
- 2023Spawrious: A Benchmark for Fine Control of Spurious Correlation Biasescited by 41
- 2022ModelDiff: A Framework for Comparing Learning Algorithmscited by 30
- 2022How Robust is Unsupervised Representation Learning to Distribution Shift?cited by 24
- 2022How to Fine-Tune Vision Models with SGDcited by 23
- 2023Distributionally Robust Post-hoc Classifiers under Prior Shiftscited by 16
- 2024Transformers Learn Low Sensitivity Functions: Investigations and Implicationscited by 14
- 2023FD-Align: Feature Discrimination Alignment for Fine-tuning Pre-Trained Models in Few-Shot Learningcited by 12
- 2024Controllable Prompt Tuning For Balancing Group Distributional Robustnesscited by 10
- 2024Seeking Consistent Flat Minima for Better Domain Generalization via Refining Loss Landscapescited by 10
- 2024On the Learnability of Out-of-distribution Detectioncited by 8
- 2023Fairness-aware Vision Transformer via Debiased Self-Attentioncited by 6
12 most cited of 33 All 33 (JSON)
- 2026Deep Attention Reweighting: Post-Hoc Attention-Based Feature Aggregation in CNNs for Disentangling Core and Spurious Features under Spurious Correlations20 May 2026
- 2026SCL-GNN: Towards Generalizable Graph Neural Networks via Spurious Correlation Learning9 Mar 2026
- 2025Sparse Model Inversion: Efficient Inversion of Vision Transformers for Data-Free Applications31 Oct 2025
- 2025IGAff: Benchmarking Adversarial Iterative and Genetic Affine Algorithms on Deep Neural Networks8 Sep 2025
- 2025Token-Based Detection of Spurious Correlations in Vision Transformers4 Sep 2025
- 2025Out-of-distribution data supervision towards biomedical semantic segmentation16 Jul 2025
- 2025Moment Alignment: Unifying Gradient and Hessian Matching for Domain Generalization9 Jun 2025
- 2025Spurious Privacy Leakage in Neural Networks26 May 2025
- 2025SCENIR: Visual Semantic Clarity through Unsupervised Scene Graph Retrieval21 May 2025
- 2025Single-weight Model Editing for Post-hoc Spurious Correlation Neutralization24 Jan 2025
- 2025The Devil is in the Spurious Correlations: Boosting Moment Retrieval with Dynamic Learning13 Jan 2025
- 2025Efficient Unsupervised Shortcut Learning Detection and Mitigation in Transformers1 Jan 2025
12 newest of 33 All 33 (JSON)