mlsanityData to 7 Oct 2026

Improved Robustness of Vision Transformer via PreLayerNorm in Patch Embedding

arXiv 2111.08413 ↗First posted 16 Nov 2021cs.CVcited by 4

Not on the map. Why?

Abstract (arXiv)

Vision transformers (ViTs) have recently demonstrated state-of-the-art performance in a variety of vision tasks, replacing convolutional neural networks (CNNs). Meanwhile, since ViT has a different architecture than CNN, it may behave differently. To investigate the reliability of ViT, this paper studies the behavior and robustness of ViT. We compared the robustness of CNN and ViT by assuming various image corruptions that may appear in practical vision tasks. We confirmed that for most image transformations, ViT showed robustness comparable to CNN or more improved. However, for contrast enhancement, severe performance degradations were consistently observed in ViT. From a detailed analysis, we identified a potential problem: positional embedding in ViT's patch embedding could work improperly when the color scale changes. Here we claim the use of PreLayerNorm, a modified patch embedding structure to ensure scale-invariant behavior of ViT. ViT with PreLayerNorm showed improved robustness in various corruptions including contrast-varying environments.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 30 of its 43 references that are in the map. First posted on arXiv 16 Nov 2021.

Builds on

30 of 43 references.

References · 30

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  4. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  5. 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
  6. 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,690
  7. 2016Layer Normalizationcited by 5,579
  8. 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
  9. 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 4,993
  10. 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
  11. 2016Wide Residual Networkscited by 3,057
  12. 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,875
18 more
  1. 2016Aggregated Residual Transformations for Deep Neural Networkscited by 2,540
  2. 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,261
  3. 2019Do ImageNet Classifiers Generalize to ImageNet?cited by 1,507
  4. 2018Unified Perceptual Parsing for Scene Understandingcited by 1,265
  5. 2021EfficientNetV2: Smaller Models and Faster Trainingcited by 1,127
  6. 2016Semantic Understanding of Scenes through the ADE20K Datasetcited by 1,063
  7. 2017Grad-CAM++: Improved Visual Explanations for Deep Convolutional Networkscited by 936
  8. 2019AugMix: A Simple Data Processing Method to Improve Robustness and Uncertaintycited by 897
  9. 2019On the Convergence of Adam and Beyondcited by 834
  10. 2021How to train your ViT? Data, Augmentation, and Regularization in Vision Transformerscited by 562
  11. 2021Intriguing Properties of Vision Transformerscited by 446
  12. 2019Making Convolutional Networks Shift-Invariant Againcited by 390
  13. 2019A Fourier Perspective on Model Robustness in Computer Visioncited by 288
  14. 2021Vision Transformers are Robust Learnerscited by 208
  15. 2018Why do deep convolutional networks generalize so poorly to small image transformations?cited by 198
  16. 2019Adversarial Examples Are a Natural Consequence of Test Error in Noisecited by 114
  17. 2019MASTER: Multi-Aspect Non-local Network for Scene Text Recognitioncited by 65
  18. 2021Action Transformer: A Self-Attention Model for Short-Time Pose-Based Human Action Recognitioncited by 24

Built on by

Cited by year

Citing papers per year: 2023: 1; 2024: 3.

4 papers.