mlsanityData to 14 Oct 2026

Configuring Data Augmentations to Reduce Variance Shift in Positional Embedding of Vision Transformers

arXiv 2405.14115 ↗First posted 23 May 2024cs.CV cs.AI cs.LGcited by 2

Not on the map. Why?

Abstract (arXiv)

Vision transformers (ViTs) have demonstrated remarkable performance in a variety of vision tasks. Despite their promising capabilities, training a ViT requires a large amount of diverse data. Several studies empirically found that using rich data augmentations, such as Mixup, Cutmix, and random erasing, is critical to the successful training of ViTs. Now, the use of rich data augmentations has become a standard practice in the current state. However, we report a vulnerability to this practice: Certain data augmentations such as Mixup cause a variance shift in the positional embedding of ViT, which has been a hidden factor that degrades the performance of ViT during the test phase. We claim that achieving a stable effect from positional embedding requires a specific condition on the image, which is often broken for the current data augmentation methods. We provide a detailed analysis of this problem as well as the correct configuration for these data augmentations to remove the side effects of variance shift. Experiments showed that adopting our guidelines improves the performance of ViTs compared with the current configuration of data augmentations.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 41 of its 46 references that are in the map. First posted on arXiv 23 May 2024.

Builds on

41 of 46 references.

References · 41

  1. 2017Attention Is All You Needcited by 60,361
  2. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  4. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,364
  5. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
  6. 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,403
  7. 2016Layer Normalizationcited by 5,669
  8. 2015Rethinking the Inception Architecture for Computer Visioncited by 5,475
  9. 2017mixup: Beyond Empirical Risk Minimizationcited by 5,183
  10. 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 5,045
  11. 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
  12. 2016The Cityscapes Dataset for Semantic Urban Scene Understandingcited by 4,444
29 more
  1. 2014Going Deeper with Convolutionscited by 4,241
  2. 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,884
  3. 2021BEiT: BERT Pre-Training of Image Transformerscited by 2,375
  4. 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,269
  5. 2017Improved Regularization of Convolutional Neural Networks with Cutoutcited by 1,628
  6. 2018Unified Perceptual Parsing for Scene Understandingcited by 1,271
  7. 2017Random Erasing Data Augmentationcited by 1,239
  8. 2021Swin Transformer V2: Scaling Up Capacity and Resolutioncited by 1,228
  9. 2016Deep Networks with Stochastic Depthcited by 979
  10. 2021CrossViT: Cross-Attention Multi-Scale Vision Transformer for Image Classificationcited by 806
  11. 2021Going deeper with Image Transformerscited by 764
  12. 2022EVA: Exploring the Limits of Masked Visual Representation Learning at Scalecited by 691
  13. 2021Transformer in Transformercited by 633
  14. 2021ImageNet-21K Pretraining for the Massescited by 613
  15. 2021How to train your ViT? Data, Augmentation, and Regularization in Vision Transformerscited by 569
  16. 2021ConViT: Improving Vision Transformers with Soft Convolutional Inductive Biasescited by 484
  17. 2022MaxViT: Multi-Axis Vision Transformercited by 476
  18. 2022DeiT III: Revenge of the ViTcited by 419
  19. 2021Rethinking Spatial Dimensions of Vision Transformerscited by 361
  20. 2021XCiT: Cross-Covariance Image Transformerscited by 338
  21. 2022Scaling Language-Image Pre-training via Maskingcited by 317
  22. 2022BEiT v2: Masked Image Modeling with Vector-Quantized Visual Tokenizerscited by 303
  23. 2020Puzzle Mix: Exploiting Saliency and Local Statistics for Optimal Mixupcited by 261
  24. 2021LoveDA: A Remote Sensing Land-Cover Dataset for Domain Adaptive Semantic Segmentationcited by 261
  25. 2020SaliencyMix: A Saliency Guided Data Augmentation Strategy for Better Regularizationcited by 149
  26. 2021All Tokens Matter: Token Labeling for Training Better Vision Transformerscited by 144
  27. 2020SnapMix: Semantically Proportional Mixing for Augmenting Fine-grained Datacited by 56
  28. 2021Improved Robustness of Vision Transformer via PreLayerNorm in Patch Embeddingcited by 4
  29. 2024Scale Equalization for Multi-Level Feature Fusioncited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 1.

2 papers.