Understanding and Improving Robustness of Vision Transformers through Patch-based Negative Augmentation
Not on the map. Why?
Abstract (arXiv)
We investigate the robustness of vision transformers (ViTs) through the lens of their special patch-based architectural structure, i.e., they process an image as a sequence of image patches. We find that ViTs are surprisingly insensitive to patch-based transformations, even when the transformation largely destroys the original semantics and makes the image unrecognizable by humans. This indicates that ViTs heavily use features that survived such transformations but are generally not indicative of the semantic class to humans. Further investigations show that these features are useful but non-robust, as ViTs trained on them can achieve high in-distribution accuracy, but break down under distribution shifts. From this understanding, we ask: can training the model to rely less on these features improve ViT robustness and out-of-distribution performance? We use the images transformed with our patch-based operations as negatively augmented views and offer losses to regularize the training away from using non-robust features. This is a complementary view to existing research that mostly focuses on augmenting inputs with semantic-preserving transformations to enforce models' invariance. We show that patch-based negative augmentation consistently improves robustness of ViTs across a wide set of ImageNet based robustness benchmarks. Furthermore, we find our patch-based negative augmentation are complementary to traditional (positive) data augmentation, and together boost the performance further.
Key facts. Cited by 40 papers in the map (data through 14 Oct 2026). Builds on 34 of its 48 references that are in the map. First posted on arXiv 15 Oct 2021.
Builds on
34 of 48 references.
References · 34
- 2017Attention Is All You Needcited by 60,361
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,498
- 2018Representation Learning with Contrastive Predictive Codingcited by 7,777
- 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,513
- 2013Intriguing properties of neural networkscited by 5,155
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
- 2014Going Deeper with Convolutionscited by 4,241
- 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,877
22 more
- 2020Supervised Contrastive Learningcited by 2,829
- 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,269
- 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,850
- 2018Unsupervised Feature Learning via Non-Parametric Instance-level Discriminationcited by 1,845
- 2019Theoretically Principled Trade-off between Robustness and Accuracycited by 1,517
- 2018ImageNet-trained CNNs are biased towards texture; increasing shape bias improves accuracy and robustnesscited by 1,432
- 2019Natural Adversarial Examplescited by 1,408
- 2020Big Self-Supervised Models are Strong Semi-Supervised Learnerscited by 1,380
- 2019Contrastive Multiview Codingcited by 1,301
- 2018Learning deep representations by mutual information estimation and maximizationcited by 1,273
- 2021Scaling Vision Transformerscited by 999
- 2019AugMix: A Simple Data Processing Method to Improve Robustness and Uncertaintycited by 901
- 2021How to train your ViT? Data, Augmentation, and Regularization in Vision Transformerscited by 569
- 2021Intriguing Properties of Vision Transformerscited by 446
- 2020Noise or Signal: The Role of Image Backgrounds in Object Recognitioncited by 343
- 2019Approximating CNNs with Bag-of-local-Features models works surprisingly well on ImageNetcited by 260
- 2021Understanding Robustness of Transformers for Image Classificationcited by 249
- 2018Adversarial Logit Pairingcited by 224
- 2021Vision Transformers are Robust Learnerscited by 207
- 2020Removing Spurious Features can Hurt Accuracy and Affect Groups Disproportionatelycited by 52
- 2021Negative Data Augmentationcited by 46
- 2013Some Improvements on Deep Convolutional Neural Network Based Image Classificationcited by 34
Built on by
Citing papers per year: 2021: 1; 2022: 8; 2023: 9; 2024: 11; 2025: 6; 2026: 5.
40 papers.
Sort:
By area:
- 2022When and why vision-language models behave like bags-of-words, and what to do about it?cited by 610
- 2022Sparse Mixture-of-Experts are Domain Generalizable Learnerscited by 85
- 2023Contrasting Intra-Modal and Ranking Cross-Modal Hard Negatives to Enhance Visio-Linguistic Compositional Understandingcited by 41
- 2021Are Vision Transformers Robust to Patch Perturbations?cited by 39
- 2022Visualizing and Understanding Patch Interactions in Vision Transformercited by 26
- 2024Understanding Video Transformers via Universal Concept Discoverycited by 23
- 2022You Only Cut Once: Boosting Data Augmentation with a Single Cutcited by 22
- 2022Nuisances via Negativa: Adjusting for Spurious Correlations via Data Augmentationcited by 18
- 2023Domain-Specificity Inducing Transformers for Source-Free Domain Adaptationcited by 16
- 2023USAGE: A Unified Seed Area Generation Paradigm for Weakly Supervised Semantic Segmentationcited by 14
- 2022Spuriosity Rankings: Sorting Data to Measure and Mitigate Biasescited by 13
- 2023Improving Adversarial Robustness of Masked Autoencoders via Test-time Frequency-domain Promptingcited by 12
28 more
- 2024Benchmarking the Robustness of Temporal Action Detection Models Against Temporal Corruptionscited by 12
- 2024Malicious Path Manipulations via Exploitation of Representation Vulnerabilities of Vision-Language Navigation Systemscited by 11
- 2024Intriguing Equivalence Structures of the Embedding Space of Vision Transformerscited by 8
- 2023Augmenting Medical Imaging: A Comprehensive Catalogue of 65 Techniques for Enhanced Data Analysiscited by 7
- 2024GenFormer -- Generated Images are All You Need to Improve Robustness of Transformers on Small Datasetscited by 6
- 2022Vision Checklist: Towards Testable Error Analysis of Image Models to Help System Designers Interrogate Model Capabilitiescited by 4
- 2022Understanding Adversarial Robustness of Vision Transformers via Cauchy Problemcited by 4
- 2023RBFormer: Improve Adversarial Robustness of Transformer by Robust Biascited by 3
- 2024Fully Attentional Networks with Self-emerging Token Labelingcited by 3
- 2025REOrdering Patches Improves Vision Modelscited by 3
- 2025DUAL: Dynamic Uncertainty-Aware Learningcited by 3
- 2026SDCD: Structure-Disrupted Contrastive Decoding for Mitigating Hallucinations in Large Vision-Language Modelscited by 3
- 2023Hint-Aug: Drawing Hints from Foundation Vision Transformers Towards Boosted Few-Shot Parameter-Efficient Tuningcited by 2
- 2023Random Position Adversarial Patch for Vision Transformerscited by 2
- 2024Intriguing Differences Between Zero-Shot and Systematic Evaluations of Vision-Language Transformer Modelscited by 2
- 2024SATA: Spatial Autocorrelation Token Analysis for Enhancing the Robustness of Vision Transformerscited by 2
- 2025MAA: Meticulous Adversarial Attack against Vision-Language Pre-trained Modelscited by 2
- 2025Bridging Distribution Shift and AI Safety: Conceptual and Methodological Synergiescited by 2
- 2024Semantic-Syntactic Discrepancy in Images (SSDI): Learning Meaning and Order of Features from Natural Imagescited by 1
- 2024Label Augmentation for Neural Networks Robustnesscited by 1
- 2025Uniformity First: Uniformity-aware Test-time Adaptation of Vision-language Models against Image Corruptioncited by 1
- 2023Improving Robustness via Tilted Exponential Layer: A Communication-Theoretic Perspectivecited by 0
- 2024Approximate Nullspace Augmented Finetuning for Robust Vision Transformerscited by 0
- 2025Understanding Sensitivity of Differential Attention through the Lens of Adversarial Robustnesscited by 0
- 2026Margin and Consistency Supervision for Calibrated and Robust Vision Modelscited by 0
- 2026Why Training-Free Token Reduction Collapses: The Inherent Instability of Pairwise Scoring Signalscited by 0
- 2026Robustness Emerges Early in Training Dynamics, but Is Not Preservedcited by 0
- 2026Suppress and Diversify: Refining Robust Pathways for Corruption Robustnesscited by 0
- 2026Suppress and Diversify: Refining Robust Pathways for Corruption Robustness7 Aug 2026
- 2026Robustness Emerges Early in Training Dynamics, but Is Not Preserved5 Aug 2026
- 2026Why Training-Free Token Reduction Collapses: The Inherent Instability of Pairwise Scoring Signals17 Apr 2026
- 2026Margin and Consistency Supervision for Calibrated and Robust Vision Models6 Mar 2026
- 2026SDCD: Structure-Disrupted Contrastive Decoding for Mitigating Hallucinations in Large Vision-Language Models7 Jan 2026
- 2025Understanding Sensitivity of Differential Attention through the Lens of Adversarial Robustness1 Oct 2025
- 2025REOrdering Patches Improves Vision Models29 May 2025
- 2025Bridging Distribution Shift and AI Safety: Conceptual and Methodological Synergies28 May 2025
- 2025DUAL: Dynamic Uncertainty-Aware Learning21 May 2025
- 2025Uniformity First: Uniformity-aware Test-time Adaptation of Vision-language Models against Image Corruption19 May 2025
- 2025MAA: Meticulous Adversarial Attack against Vision-Language Pre-trained Models12 Feb 2025
- 2024SATA: Spatial Autocorrelation Token Analysis for Enhancing the Robustness of Vision Transformers30 Sep 2024
28 more
- 2024GenFormer -- Generated Images are All You Need to Improve Robustness of Transformers on Small Datasets26 Aug 2024
- 2024Label Augmentation for Neural Networks Robustness4 Aug 2024
- 2024Malicious Path Manipulations via Exploitation of Representation Vulnerabilities of Vision-Language Navigation Systems10 Jul 2024
- 2024Benchmarking the Robustness of Temporal Action Detection Models Against Temporal Corruptions29 Mar 2024
- 2024Approximate Nullspace Augmented Finetuning for Robust Vision Transformers15 Mar 2024
- 2024Intriguing Differences Between Zero-Shot and Systematic Evaluations of Vision-Language Transformer Models13 Feb 2024
- 2024Semantic-Syntactic Discrepancy in Images (SSDI): Learning Meaning and Order of Features from Natural Images31 Jan 2024
- 2024Intriguing Equivalence Structures of the Embedding Space of Vision Transformers28 Jan 2024
- 2024Understanding Video Transformers via Universal Concept Discovery19 Jan 2024
- 2024Fully Attentional Networks with Self-emerging Token Labeling8 Jan 2024
- 2023Improving Robustness via Tilted Exponential Layer: A Communication-Theoretic Perspective2 Nov 2023
- 2023RBFormer: Improve Adversarial Robustness of Transformer by Robust Bias23 Sep 2023
- 2023Domain-Specificity Inducing Transformers for Source-Free Domain Adaptation27 Aug 2023
- 2023Improving Adversarial Robustness of Masked Autoencoders via Test-time Frequency-domain Prompting20 Aug 2023
- 2023Random Position Adversarial Patch for Vision Transformers9 Jul 2023
- 2023Contrasting Intra-Modal and Ranking Cross-Modal Hard Negatives to Enhance Visio-Linguistic Compositional Understanding15 Jun 2023
- 2023Hint-Aug: Drawing Hints from Foundation Vision Transformers Towards Boosted Few-Shot Parameter-Efficient Tuning25 Apr 2023
- 2023USAGE: A Unified Seed Area Generation Paradigm for Weakly Supervised Semantic Segmentation14 Mar 2023
- 2023Augmenting Medical Imaging: A Comprehensive Catalogue of 65 Techniques for Enhanced Data Analysis2 Mar 2023
- 2022Spuriosity Rankings: Sorting Data to Measure and Mitigate Biases5 Dec 2022
- 2022When and why vision-language models behave like bags-of-words, and what to do about it?4 Oct 2022
- 2022Nuisances via Negativa: Adjusting for Spurious Correlations via Data Augmentation4 Oct 2022
- 2022Understanding Adversarial Robustness of Vision Transformers via Cauchy Problem1 Aug 2022
- 2022Sparse Mixture-of-Experts are Domain Generalizable Learners8 Jun 2022
- 2022Visualizing and Understanding Patch Interactions in Vision Transformer11 Mar 2022
- 2022You Only Cut Once: Boosting Data Augmentation with a Single Cut28 Jan 2022
- 2022Vision Checklist: Towards Testable Error Analysis of Image Models to Help System Designers Interrogate Model Capabilities27 Jan 2022
- 2021Are Vision Transformers Robust to Patch Perturbations?20 Nov 2021
- 2022When and why vision-language models behave like bags-of-words, and what to do about it?cited by 610
- 2023Contrasting Intra-Modal and Ranking Cross-Modal Hard Negatives to Enhance Visio-Linguistic Compositional Understandingcited by 41
- 2024Malicious Path Manipulations via Exploitation of Representation Vulnerabilities of Vision-Language Navigation Systemscited by 11
- 2026SDCD: Structure-Disrupted Contrastive Decoding for Mitigating Hallucinations in Large Vision-Language Modelscited by 3
- 2025MAA: Meticulous Adversarial Attack against Vision-Language Pre-trained Modelscited by 2
- 2025Uniformity First: Uniformity-aware Test-time Adaptation of Vision-language Models against Image Corruptioncited by 1
- 2026SDCD: Structure-Disrupted Contrastive Decoding for Mitigating Hallucinations in Large Vision-Language Models7 Jan 2026
- 2025Uniformity First: Uniformity-aware Test-time Adaptation of Vision-language Models against Image Corruption19 May 2025
- 2025MAA: Meticulous Adversarial Attack against Vision-Language Pre-trained Models12 Feb 2025
- 2024Malicious Path Manipulations via Exploitation of Representation Vulnerabilities of Vision-Language Navigation Systems10 Jul 2024
- 2023Contrasting Intra-Modal and Ranking Cross-Modal Hard Negatives to Enhance Visio-Linguistic Compositional Understanding15 Jun 2023
- 2022When and why vision-language models behave like bags-of-words, and what to do about it?4 Oct 2022
- 2022Sparse Mixture-of-Experts are Domain Generalizable Learnerscited by 85
- 2021Are Vision Transformers Robust to Patch Perturbations?cited by 39
- 2022Visualizing and Understanding Patch Interactions in Vision Transformercited by 26
- 2022You Only Cut Once: Boosting Data Augmentation with a Single Cutcited by 22
- 2022Nuisances via Negativa: Adjusting for Spurious Correlations via Data Augmentationcited by 18
- 2023Domain-Specificity Inducing Transformers for Source-Free Domain Adaptationcited by 16
- 2023USAGE: A Unified Seed Area Generation Paradigm for Weakly Supervised Semantic Segmentationcited by 14
- 2022Spuriosity Rankings: Sorting Data to Measure and Mitigate Biasescited by 13
- 2023Improving Adversarial Robustness of Masked Autoencoders via Test-time Frequency-domain Promptingcited by 12
- 2024Benchmarking the Robustness of Temporal Action Detection Models Against Temporal Corruptionscited by 12
- 2024Intriguing Equivalence Structures of the Embedding Space of Vision Transformerscited by 8
- 2023Augmenting Medical Imaging: A Comprehensive Catalogue of 65 Techniques for Enhanced Data Analysiscited by 7
- 2024GenFormer -- Generated Images are All You Need to Improve Robustness of Transformers on Small Datasetscited by 6
12 most cited of 31 All 31 (JSON)
- 2026Suppress and Diversify: Refining Robust Pathways for Corruption Robustness7 Aug 2026
- 2026Robustness Emerges Early in Training Dynamics, but Is Not Preserved5 Aug 2026
- 2026Margin and Consistency Supervision for Calibrated and Robust Vision Models6 Mar 2026
- 2025Understanding Sensitivity of Differential Attention through the Lens of Adversarial Robustness1 Oct 2025
- 2025REOrdering Patches Improves Vision Models29 May 2025
- 2025Bridging Distribution Shift and AI Safety: Conceptual and Methodological Synergies28 May 2025
- 2025DUAL: Dynamic Uncertainty-Aware Learning21 May 2025
- 2024SATA: Spatial Autocorrelation Token Analysis for Enhancing the Robustness of Vision Transformers30 Sep 2024
- 2024GenFormer -- Generated Images are All You Need to Improve Robustness of Transformers on Small Datasets26 Aug 2024
- 2024Label Augmentation for Neural Networks Robustness4 Aug 2024
- 2024Benchmarking the Robustness of Temporal Action Detection Models Against Temporal Corruptions29 Mar 2024
- 2024Approximate Nullspace Augmented Finetuning for Robust Vision Transformers15 Mar 2024
12 newest of 31 All 31 (JSON)