How to augment your ViTs? Consistency loss and StyleAug, a random style transfer augmentation
Not on the map. Why?
Abstract (arXiv)
The Vision Transformer (ViT) architecture has recently achieved competitive performance across a variety of computer vision tasks. One of the motivations behind ViTs is weaker inductive biases, when compared to convolutional neural networks (CNNs). However this also makes ViTs more difficult to train. They require very large training datasets, heavy regularization, and strong data augmentations. The data augmentation strategies used to train ViTs have largely been inherited from CNN training, despite the significant differences between the two architectures. In this work, we empirical evaluated how different data augmentation strategies performed on CNN (e.g., ResNet) versus ViT architectures for image classification. We introduced a style transfer data augmentation, termed StyleAug, which worked best for training ViTs, while RandAugment and Augmix typically worked best for training CNNs. We also found that, in addition to a classification loss, using a consistency loss between multiple augmentations of the same image was especially helpful when training ViTs.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 20 of its 31 references that are in the map. First posted on arXiv 16 Dec 2021.
Builds on
20 of 31 references.
References · 20
- 2017Attention Is All You Needcited by 60,361
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,968
- 2015You Only Look Once: Unified, Real-Time Object Detectioncited by 4,852
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
- 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,877
- 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,269
- 2017Arbitrary Style Transfer in Real-time with Adaptive Instance Normalizationcited by 2,010
- 2018ImageNet-trained CNNs are biased towards texture; increasing shape bias improves accuracy and robustnesscited by 1,432
- 2019AugMix: A Simple Data Processing Method to Improve Robustness and Uncertaintycited by 901
- 2017Remote Sensing Image Scene Classification: Benchmark and State of the Artcited by 797
- 2019Big Transfer (BiT): General Visual Representation Learningcited by 769
8 more
- 2021How to train your ViT? Data, Augmentation, and Regularization in Vision Transformerscited by 569
- 2021Intriguing Properties of Vision Transformerscited by 446
- 2021When Vision Transformers Outperform ResNets without Pre-training or Strong Data Augmentationscited by 260
- 2020Robust and Generalizable Visual Representation Learning via Random Convolutionscited by 142
- 2021Are Convolutional Neural Networks or Transformers more like human vision?cited by 109
- 2018Style Augmentation: Data Augmentation via Style Randomizationcited by 79
- 2020Emergent Properties of Foveated Perceptual Systemscited by 24
- 2017Towards Metamerism via Foveated Style Transfercited by 9
Built on by
Not cited yet.