How to augment your ViTs? Consistency loss and StyleAug, a random style transfer augmentation

12/16/2021
by   Akash Umakantha, et al.
16

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.

READ FULL TEXT

page 3

page 4

page 9

page 13

page 14

page 15

research
09/03/2019

STaDA: Style Transfer as Data Augmentation

The success of training deep Convolutional Neural Networks (CNNs) heavil...
research
06/18/2021

How to train your ViT? Data, Augmentation, and Regularization in Vision Transformers

Vision Transformers (ViT) have been shown to attain highly competitive p...
research
11/23/2021

Using mixup as regularization and tuning hyper-parameters for ResNets

While novel computer vision architectures are gaining traction, the impa...
research
04/28/2020

Deflating Dataset Bias Using Synthetic Data Augmentation

Deep Learning has seen an unprecedented increase in vision applications ...
research
11/29/2022

RGB no more: Minimally-decoded JPEG Vision Transformers

Most neural networks for computer vision are designed to infer using RGB...
research
02/08/2022

Equivariance versus Augmentation for Spherical Images

We analyze the role of rotational equivariance in convolutional neural n...
research
07/09/2020

StyPath: Style-Transfer Data Augmentation For Robust Histology Image Classification

The classification of Antibody Mediated Rejection (AMR) in kidney transp...

Please sign up or login with your details

Forgot password? Click here to reset