Understanding Robustness of Transformers for Image Classification
Not on the map. Why?
Abstract (arXiv)
Deep Convolutional Neural Networks (CNNs) have long been the architecture of choice for computer vision tasks. Recently, Transformer-based architectures like Vision Transformer (ViT) have matched or even surpassed ResNets for image classification. However, details of the Transformer architecture -- such as the use of non-overlapping patches -- lead one to wonder whether these networks are as robust. In this paper, we perform an extensive study of a variety of different measures of robustness of ViT models and compare the findings to ResNet baselines. We investigate robustness to input perturbations as well as robustness to model perturbations. We find that when pre-trained with a sufficient amount of data, ViT models are at least as robust as the ResNet counterparts on a broad range of perturbations. We also find that Transformers are robust to the removal of almost any single layer, and that while activations from later layers are highly correlated with each other, they nevertheless play an important role in classification.
Key facts. Cited by 250 papers in the map (data through 7 Oct 2026). Builds on 46 of its 55 references that are in the map. First posted on arXiv 26 Mar 2021.
Builds on
46 of 55 references.
References · 46
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
- 2014Explaining and Harnessing Adversarial Examplescited by 7,287
- 2016Densely Connected Convolutional Networkscited by 6,691
- 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,415
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
34 more
- 2013Intriguing properties of neural networkscited by 5,114
- 2017Squeeze-and-Excitation Networkscited by 4,763
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2014Going Deeper with Convolutionscited by 4,231
- 2017MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applicationscited by 3,827
- 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,857
- 2017Non-local Neural Networkscited by 2,290
- 2019ViLBERT: Pretraining Task-Agnostic Visiolinguistic Representations for Vision-and-Language Taskscited by 2,219
- 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,842
- 2019LXMERT: Learning Cross-Modality Encoder Representations from Transformerscited by 1,548
- 2018ImageNet-trained CNNs are biased towards texture; increasing shape bias improves accuracy and robustnesscited by 1,430
- 2015Show, Attend and Tell: Neural Image Caption Generation with Visual Attentioncited by 1,421
- 2019Natural Adversarial Examplescited by 1,401
- 2018Relational inductive biases, deep learning, and graph networkscited by 1,341
- 2021Transformers in Vision: A Surveycited by 1,009
- 2017Revisiting Unreasonable Effectiveness of Data in Deep Learning Eracited by 916
- 2020Object-Centric Learning with Slot Attentioncited by 865
- 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 844
- 2019Are Sixteen Heads Really Better than One?cited by 803
- 2019Big Transfer (BiT): General Visual Representation Learningcited by 766
- 2019VideoBERT: A Joint Model for Video and Language Representation Learningcited by 702
- 2019Stand-Alone Self-Attention in Vision Modelscited by 542
- 2021Attention is Not All You Need: Pure Attention Loses Rank Doubly Exponentially with Depthcited by 411
- 2020Exploring Self-attention for Image Recognitioncited by 313
- 2019On the Relationship between Self-Attention and Convolutional Layerscited by 299
- 2020Pretrained Transformers Improve Out-of-Distribution Robustnesscited by 293
- 201912-in-1: Multi-Task Vision and Language Representation Learningcited by 278
- 2019UNITER: UNiversal Image-TExt Representation Learningcited by 225
- 2016Highway and Residual Networks learn Unrolled Iterative Estimationcited by 52
- 2019Improving Transformer Models by Reordering their Sublayerscited by 52
- 2014Deformable Part Models are Convolutional Neural Networkscited by 35
- 2019Are Adversarial Robustness and Common Perturbation Robustness Independent Attributes ?cited by 25
- 2020Pay Attention when Requiredcited by 8
- 2020Adversarial and Natural Perturbations for General Robustnesscited by 2
Built on by
Citing papers per year: 2021: 29; 2022: 66; 2023: 63; 2024: 49; 2025: 28; 2026: 15.
250 papers.
Sort:
By area:
- 2021MLP-Mixer: An all-MLP Architecture for Visioncited by 1,441
- 2021Do Vision Transformers See Like Convolutional Neural Networks?cited by 671
- 2021Intriguing Properties of Vision Transformerscited by 446
- 2022How Do Vision Transformers Work?cited by 305
- 2021DAFormer: Improving Network Architectures and Training Strategies for Domain-Adaptive Semantic Segmentationcited by 299
- 2021Exploring the Limits of Out-of-Distribution Detectioncited by 283
- 2022Transformers in Medical Imaging: A Surveycited by 245
- 2021Localizing Objects with Self-Supervised Transformers and no Labelscited by 227
- 2021Vision Transformers are Robust Learnerscited by 208
- 2021Are Transformers More Robust Than CNNs?cited by 187
- 2021Polyp-PVT: Polyp Segmentation with Pyramid Vision Transformerscited by 159
- 2022FlexiViT: One Model for All Patch Sizescited by 151
38 more
- 2024The Remarkable Robustness of LLMs: Stages of Inference?cited by 138
- 2021Towards Robust Vision Transformercited by 137
- 2022The Lazy Neuron Phenomenon: On Emergence of Activation Sparsity in Transformerscited by 121
- 20223D Common Corruptions and Data Augmentationcited by 120
- 2022ViTAEv2: Vision Transformer Advanced by Exploring Inductive Bias for Image Recognition and Beyondcited by 117
- 2021Rethinking Architecture Design for Tackling Data Heterogeneity in Federated Learningcited by 111
- 2021Panoptic SegFormer: Delving Deeper into Panoptic Segmentation with Transformerscited by 109
- 20223D UX-Net: A Large Kernel Volumetric ConvNet Modernizing Hierarchical Transformer for Medical Image Segmentationcited by 94
- 2022Vision Transformers provably learn spatial structurecited by 92
- 2022InvPT: Inverted Pyramid Multi-task Transformer for Dense Scene Understandingcited by 89
- 2023MedViT: A Robust Vision Transformer for Generalized Medical Image Classificationcited by 89
- 2022Self-Supervised Learning for Videos: A Surveycited by 85
- 2023A Comprehensive Study on Robustness of Image Classification Models: Benchmarking and Rethinkingcited by 85
- 2022Human alignment of neural network representationscited by 74
- 2021On Improving Adversarial Transferability of Vision Transformerscited by 70
- 2022Coarse-to-Fine Sparse Transformer for Hyperspectral Image Reconstructioncited by 67
- 2022Degradation-Aware Unfolding Half-Shuffle Transformer for Spectral Compressive Imagingcited by 66
- 2022A Light Recipe to Train Robust Vision Transformerscited by 64
- 2021Are we ready for a new paradigm shift? A Survey on Visual Deep MLPcited by 63
- 2022Video Transformers: A Surveycited by 63
- 2022Flow-Guided Transformer for Video Inpaintingcited by 59
- 2021Adversarial Robustness Comparison of Vision Transformer and MLP-Mixer to CNNscited by 57
- 2022A Comprehensive Study of Image Classification Model Sensitivity to Foregrounds, Backgrounds, and Visual Attributescited by 56
- 2022Assaying Out-Of-Distribution Generalization in Transfer Learningcited by 53
- 2024Transformer Layers as Painterscited by 50
- 2022ViewFool: Evaluating the Robustness of Visual Recognition to Adversarial Viewpointscited by 48
- 2022Patch-Fool: Are Vision Transformers Always Robust Against Adversarial Perturbations?cited by 47
- 2021OOD-CV: A Benchmark for Robustness to Out-of-Distribution Shifts of Individual Nuisances in Natural Imagescited by 46
- 2021Reveal of Vision Transformers Robustness against Adversarial Attackscited by 43
- 2023Transferable Adversarial Attacks on Vision Transformers with Token Gradient Regularizationcited by 42
- 2021Understanding and Improving Robustness of Vision Transformers through Patch-based Negative Augmentationcited by 40
- 2021PRIME: A few primitives can boost robustness to common corruptionscited by 40
- 2021Are Vision Transformers Robust to Patch Perturbations?cited by 39
- 2023What Makes Pre-Trained Visual Representations Successful for Robust Manipulation?cited by 38
- 2023Understanding the Robustness of 3D Object Detection with Bird's-Eye-View Representations in Autonomous Drivingcited by 37
- 2022Are Vision Transformers Robust to Spurious Correlations?cited by 36
- 2022FedTP: Federated Learning by Transformer Personalizationcited by 36
- 2021Discrete Representations Strengthen Vision Transformer Robustnesscited by 34
50 most cited of 250 All 250 (JSON)
- 2026Later Is Better: Token Reduction for ViTs Under Distribution Shift6 Oct 2026
- 2026Printability-Constrained Adversarial Decals for Near-Nadir Aerial Perception: Measured Ink Gamuts, Nested Realism Constraints, and a Physical-World Bound27 Sep 2026
- 2026Image-Scale Robustness and Visual Recognition Performance: A Cross-Architecture Analysis5 Sep 2026
- 2026Preprocessing Failure and Adversarial Detection in Depthwise-Separable Edge Vision Systems3 Sep 2026
- 2026Revisiting Shape and Texture Reliance with Category-Separability-Calibrated Suppression13 Jul 2026
- 2026Adversarial Decoys: Misdirecting Attention-Based Defenses in ViT8 Jul 2026
- 2026Robust Onion: Peeling Open Vocab Object Detectors Under Noise25 Jun 2026
- 2026Positional Encodings Anchor Spatial Structure in Vision Transformers: A Geometric Perspective on Robustness28 May 2026
- 2026Anatomy of a failure: When, how, and why deep vision fails in scientific domains5 May 2026
- 2026Robustness of Vision Foundation Models to Common Perturbations16 Apr 2026
- 2026Fluently Lying: Adversarial Robustness Can Be Substrate-Dependent1 Apr 2026
- 2026Fusion Complexity Inversion: Why Simpler Cross View Modules Outperform SSMs and Cross View Attention Transformers for Pasture Biomass Regression8 Mar 2026
38 more
- 2026VLM-RobustBench: A Comprehensive Benchmark for Robustness of Vision-Language Models6 Mar 2026
- 2026When Does Margin Clamping Affect Training Variance? Dataset-Dependent Effects in Contrastive Forward-Forward Learning1 Mar 2026
- 2026DA-Cal: Towards Cross-Domain Calibration in Semantic Segmentation24 Feb 2026
- 2025DeepCQ: General-Purpose Deep-Surrogate Framework for Lossy Compression Quality Prediction24 Dec 2025
- 2025KLO-Net: A Dynamic K-NN Attention U-Net with CSP Encoder for Efficient Prostate Gland Segmentation from MRI15 Dec 2025
- 2025Balanced Learning for Domain Adaptive Semantic Segmentation7 Dec 2025
- 2025Parameter Reduction Improves Vision Transformers: A Comparative Study of Sharing and Width Reduction30 Nov 2025
- 2025Vision Language Models are Confused Tourists21 Nov 2025
- 2025Temporal-Guided Visual Foundation Models for Event-Based Vision9 Nov 2025
- 2025A Comparative Study of Vision Transformers and CNNs for Few-Shot Rigid Transformation and Fundamental Matrix Estimation6 Oct 2025
- 2025PVTAdpNet: Polyp Segmentation using Pyramid vision transformer with a novel Adapter block28 Sep 2025
- 2025VisMoDAl: Visual Analytics for Evaluating and Improving Corruption Robustness of Vision-Language Models18 Sep 2025
- 2025An Investigation of Visual Foundation Models Robustness22 Aug 2025
- 2025A Guide to Robust Generalization: The Impact of Architecture, Pre-training, and Optimization Strategy12 Aug 2025
- 2025Hybrid(Transformer+CNN)-based Polyp Segmentation8 Aug 2025
- 2025Your Attention Matters: to Improve Model Robustness to Noise and Spurious Correlations28 Jul 2025
- 2025Breaking the Illusion of Security via Interpretation: Interpretable Vision Transformer Systems under Attack18 Jul 2025
- 2025Are Vision Transformer Representations Semantically Meaningful? A Case Study in Medical Imaging2 Jul 2025
- 2025A Novel Active Learning Approach to Label One Million Unknown Malware Variants30 Jun 2025
- 2025All is Not Lost: LLM Recovery without Checkpoints18 Jun 2025
- 2025Attacking Attention of Foundation Models Disrupts Downstream Tasks3 Jun 2025
- 2025Preventing Adversarial AI Attacks Against Autonomous Situational Awareness: A Maritime Case Study27 May 2025
- 2025TESSER: Transfer-Enhancing Adversarial Attacks from Vision Transformers via Spectral and Semantic Regularization26 May 2025
- 2025Adversarially Pretrained Transformers May Be Universally Robust In-Context Learners20 May 2025
- 2025Benchmarking the Spatial Robustness of DNNs via Natural and Adversarial Localized Corruptions2 Apr 2025
- 2025Model Hemorrhage and the Robustness Limits of Large Language Models31 Mar 2025
- 2025Improving Adversarial Transferability on Vision Transformers via Forward Propagation Refinement19 Mar 2025
- 2025COARSE: Collaborative Pseudo-Labeling with Coarse Real Labels for Off-Road Semantic Segmentation5 Mar 2025
- 2025SkipPipe: Partial and Reordered Pipelining Framework for Training LLMs in Heterogeneous Networks27 Feb 2025
- 2025Language learning shapes visual category-selectivity in deep neural networks23 Feb 2025
- 2025Vision Transformer Neural Architecture Search for Out-of-Distribution Generalization: Benchmark and Insights7 Jan 2025
- 2024Towards Unsupervised Domain Bridging via Image Degradation in Semantic Segmentation13 Dec 2024
- 2024Towards counterfactual fairness through auxiliary variables6 Dec 2024
- 2024Can't Slow me Down: Learning Robust and Hardware-Adaptive Object Detectors against Latency Attacks for Edge Devices3 Dec 2024
- 2024Audio Description Generation in the Era of LLMs and VLMs: A Review of Transferable Generative AI Technologies11 Oct 2024
- 2024MM-R3: On (In-)Consistency of Vision-Language Models (VLMs)7 Oct 2024
- 2024PEANuT: Parameter-Efficient Adaptation with Weight-aware Neural Tweakers2 Oct 2024
- 2024SATA: Spatial Autocorrelation Token Analysis for Enhancing the Robustness of Vision Transformers30 Sep 2024
50 newest of 250 All 250 (JSON)
- 2023MIMIR: Masked Image Modeling for Mutual Information-based Adversarial Robustnesscited by 12
- 2026VLM-RobustBench: A Comprehensive Benchmark for Robustness of Vision-Language Modelscited by 12
- 2023Adventures of Trustworthy Vision-Language Models: A Surveycited by 10
- 2024Malicious Path Manipulations via Exploitation of Representation Vulnerabilities of Vision-Language Navigation Systemscited by 10
- 2024MM-R3: On (In-)Consistency of Vision-Language Models (VLMs)cited by 10
- 2023Understanding the Vulnerability of CLIP to Image Compressioncited by 3
- 2025Vision Language Models are Confused Touristscited by 2
- 2025VisMoDAl: Visual Analytics for Evaluating and Improving Corruption Robustness of Vision-Language Modelscited by 1
- 2026VLM-RobustBench: A Comprehensive Benchmark for Robustness of Vision-Language Models6 Mar 2026
- 2025Vision Language Models are Confused Tourists21 Nov 2025
- 2025VisMoDAl: Visual Analytics for Evaluating and Improving Corruption Robustness of Vision-Language Models18 Sep 2025
- 2024MM-R3: On (In-)Consistency of Vision-Language Models (VLMs)7 Oct 2024
- 2024Malicious Path Manipulations via Exploitation of Representation Vulnerabilities of Vision-Language Navigation Systems10 Jul 2024
- 2023MIMIR: Masked Image Modeling for Mutual Information-based Adversarial Robustness8 Dec 2023
- 2023Adventures of Trustworthy Vision-Language Models: A Survey7 Dec 2023
- 2023Understanding the Vulnerability of CLIP to Image Compression23 Nov 2023
- 2021MLP-Mixer: An all-MLP Architecture for Visioncited by 1,441
- 2021Do Vision Transformers See Like Convolutional Neural Networks?cited by 671
- 2021Intriguing Properties of Vision Transformerscited by 446
- 2022How Do Vision Transformers Work?cited by 305
- 2021DAFormer: Improving Network Architectures and Training Strategies for Domain-Adaptive Semantic Segmentationcited by 299
- 2021Exploring the Limits of Out-of-Distribution Detectioncited by 283
- 2022Transformers in Medical Imaging: A Surveycited by 245
- 2021Localizing Objects with Self-Supervised Transformers and no Labelscited by 227
- 2021Vision Transformers are Robust Learnerscited by 208
- 2021Are Transformers More Robust Than CNNs?cited by 187
- 2021Polyp-PVT: Polyp Segmentation with Pyramid Vision Transformerscited by 159
- 2022FlexiViT: One Model for All Patch Sizescited by 151
12 most cited of 238 All 238 (JSON)
- 2026Printability-Constrained Adversarial Decals for Near-Nadir Aerial Perception: Measured Ink Gamuts, Nested Realism Constraints, and a Physical-World Bound27 Sep 2026
- 2026Image-Scale Robustness and Visual Recognition Performance: A Cross-Architecture Analysis5 Sep 2026
- 2026Preprocessing Failure and Adversarial Detection in Depthwise-Separable Edge Vision Systems3 Sep 2026
- 2026Revisiting Shape and Texture Reliance with Category-Separability-Calibrated Suppression13 Jul 2026
- 2026Adversarial Decoys: Misdirecting Attention-Based Defenses in ViT8 Jul 2026
- 2026Robust Onion: Peeling Open Vocab Object Detectors Under Noise25 Jun 2026
- 2026Positional Encodings Anchor Spatial Structure in Vision Transformers: A Geometric Perspective on Robustness28 May 2026
- 2026Anatomy of a failure: When, how, and why deep vision fails in scientific domains5 May 2026
- 2026Robustness of Vision Foundation Models to Common Perturbations16 Apr 2026
- 2026Fluently Lying: Adversarial Robustness Can Be Substrate-Dependent1 Apr 2026
- 2026Fusion Complexity Inversion: Why Simpler Cross View Modules Outperform SSMs and Cross View Attention Transformers for Pasture Biomass Regression8 Mar 2026
- 2026When Does Margin Clamping Affect Training Variance? Dataset-Dependent Effects in Contrastive Forward-Forward Learning1 Mar 2026
12 newest of 238 All 238 (JSON)