mlsanityData to 14 Oct 2026

Understanding and Improving Robustness of Vision Transformers through Patch-based Negative Augmentation

arXiv 2110.07858 ↗First posted 15 Oct 2021cs.LG cs.CVcited by 40

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

  1. 2017Attention Is All You Needcited by 60,361
  2. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  3. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  5. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
  6. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,498
  7. 2018Representation Learning with Contrastive Predictive Codingcited by 7,777
  8. 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,513
  9. 2013Intriguing properties of neural networkscited by 5,155
  10. 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
  11. 2014Going Deeper with Convolutionscited by 4,241
  12. 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,877
22 more
  1. 2020Supervised Contrastive Learningcited by 2,829
  2. 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,269
  3. 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,850
  4. 2018Unsupervised Feature Learning via Non-Parametric Instance-level Discriminationcited by 1,845
  5. 2019Theoretically Principled Trade-off between Robustness and Accuracycited by 1,517
  6. 2018ImageNet-trained CNNs are biased towards texture; increasing shape bias improves accuracy and robustnesscited by 1,432
  7. 2019Natural Adversarial Examplescited by 1,408
  8. 2020Big Self-Supervised Models are Strong Semi-Supervised Learnerscited by 1,380
  9. 2019Contrastive Multiview Codingcited by 1,301
  10. 2018Learning deep representations by mutual information estimation and maximizationcited by 1,273
  11. 2021Scaling Vision Transformerscited by 999
  12. 2019AugMix: A Simple Data Processing Method to Improve Robustness and Uncertaintycited by 901
  13. 2021How to train your ViT? Data, Augmentation, and Regularization in Vision Transformerscited by 569
  14. 2021Intriguing Properties of Vision Transformerscited by 446
  15. 2020Noise or Signal: The Role of Image Backgrounds in Object Recognitioncited by 343
  16. 2019Approximating CNNs with Bag-of-local-Features models works surprisingly well on ImageNetcited by 260
  17. 2021Understanding Robustness of Transformers for Image Classificationcited by 249
  18. 2018Adversarial Logit Pairingcited by 224
  19. 2021Vision Transformers are Robust Learnerscited by 207
  20. 2020Removing Spurious Features can Hurt Accuracy and Affect Groups Disproportionatelycited by 52
  21. 2021Negative Data Augmentationcited by 46
  22. 2013Some Improvements on Deep Convolutional Neural Network Based Image Classificationcited by 34

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2021: 1; 2022: 8; 2023: 9; 2024: 11; 2025: 6; 2026: 5.

40 papers.

Sort:

By area:

  1. 2022When and why vision-language models behave like bags-of-words, and what to do about it?cited by 610
  2. 2022Sparse Mixture-of-Experts are Domain Generalizable Learnerscited by 85
  3. 2023Contrasting Intra-Modal and Ranking Cross-Modal Hard Negatives to Enhance Visio-Linguistic Compositional Understandingcited by 41
  4. 2021Are Vision Transformers Robust to Patch Perturbations?cited by 39
  5. 2022Visualizing and Understanding Patch Interactions in Vision Transformercited by 26
  6. 2024Understanding Video Transformers via Universal Concept Discoverycited by 23
  7. 2022You Only Cut Once: Boosting Data Augmentation with a Single Cutcited by 22
  8. 2022Nuisances via Negativa: Adjusting for Spurious Correlations via Data Augmentationcited by 18
  9. 2023Domain-Specificity Inducing Transformers for Source-Free Domain Adaptationcited by 16
  10. 2023USAGE: A Unified Seed Area Generation Paradigm for Weakly Supervised Semantic Segmentationcited by 14
  11. 2022Spuriosity Rankings: Sorting Data to Measure and Mitigate Biasescited by 13
  12. 2023Improving Adversarial Robustness of Masked Autoencoders via Test-time Frequency-domain Promptingcited by 12
28 more
  1. 2024Benchmarking the Robustness of Temporal Action Detection Models Against Temporal Corruptionscited by 12
  2. 2024Malicious Path Manipulations via Exploitation of Representation Vulnerabilities of Vision-Language Navigation Systemscited by 11
  3. 2024Intriguing Equivalence Structures of the Embedding Space of Vision Transformerscited by 8
  4. 2023Augmenting Medical Imaging: A Comprehensive Catalogue of 65 Techniques for Enhanced Data Analysiscited by 7
  5. 2024GenFormer -- Generated Images are All You Need to Improve Robustness of Transformers on Small Datasetscited by 6
  6. 2022Vision Checklist: Towards Testable Error Analysis of Image Models to Help System Designers Interrogate Model Capabilitiescited by 4
  7. 2022Understanding Adversarial Robustness of Vision Transformers via Cauchy Problemcited by 4
  8. 2023RBFormer: Improve Adversarial Robustness of Transformer by Robust Biascited by 3
  9. 2024Fully Attentional Networks with Self-emerging Token Labelingcited by 3
  10. 2025REOrdering Patches Improves Vision Modelscited by 3
  11. 2025DUAL: Dynamic Uncertainty-Aware Learningcited by 3
  12. 2026SDCD: Structure-Disrupted Contrastive Decoding for Mitigating Hallucinations in Large Vision-Language Modelscited by 3
  13. 2023Hint-Aug: Drawing Hints from Foundation Vision Transformers Towards Boosted Few-Shot Parameter-Efficient Tuningcited by 2
  14. 2023Random Position Adversarial Patch for Vision Transformerscited by 2
  15. 2024Intriguing Differences Between Zero-Shot and Systematic Evaluations of Vision-Language Transformer Modelscited by 2
  16. 2024SATA: Spatial Autocorrelation Token Analysis for Enhancing the Robustness of Vision Transformerscited by 2
  17. 2025MAA: Meticulous Adversarial Attack against Vision-Language Pre-trained Modelscited by 2
  18. 2025Bridging Distribution Shift and AI Safety: Conceptual and Methodological Synergiescited by 2
  19. 2024Semantic-Syntactic Discrepancy in Images (SSDI): Learning Meaning and Order of Features from Natural Imagescited by 1
  20. 2024Label Augmentation for Neural Networks Robustnesscited by 1
  21. 2025Uniformity First: Uniformity-aware Test-time Adaptation of Vision-language Models against Image Corruptioncited by 1
  22. 2023Improving Robustness via Tilted Exponential Layer: A Communication-Theoretic Perspectivecited by 0
  23. 2024Approximate Nullspace Augmented Finetuning for Robust Vision Transformerscited by 0
  24. 2025Understanding Sensitivity of Differential Attention through the Lens of Adversarial Robustnesscited by 0
  25. 2026Margin and Consistency Supervision for Calibrated and Robust Vision Modelscited by 0
  26. 2026Why Training-Free Token Reduction Collapses: The Inherent Instability of Pairwise Scoring Signalscited by 0
  27. 2026Robustness Emerges Early in Training Dynamics, but Is Not Preservedcited by 0
  28. 2026Suppress and Diversify: Refining Robust Pathways for Corruption Robustnesscited by 0