How to Train Your ViT? Data, Augmentation, and Regularization in Vision Transformers

Abstract

Vision Transformers (ViT) have been shown to attain highly competitive performance for a wide range of vision applications, such as image classification, object detection and semantic image segmentation. In comparison to convolutional neural networks, the Vision Transformer's weaker inductive bias is generally found to cause an increased reliance on model regularization or data augmentation (``AugReg'' for short) when training on smaller training datasets. We conduct a systematic empirical study in order to better understand the interplay between the amount of training data, AugReg, model size and compute budget. As one result of this study we find that the combination of increased compute and AugReg can yield models with the same performance as models trained on an order of magnitude more training data: we train ViT models of various sizes on the public ImageNet-21k dataset which either match or outperform their counterparts trained on the larger, but not publicly available JFT-300M dataset.

Cite

Text

Steiner et al. "How to Train Your ViT? Data, Augmentation, and Regularization in Vision Transformers." Transactions on Machine Learning Research, 2022.

Markdown

[Steiner et al. "How to Train Your ViT? Data, Augmentation, and Regularization in Vision Transformers." Transactions on Machine Learning Research, 2022.](https://mlanthology.org/tmlr/2022/steiner2022tmlr-train/)

BibTeX

@article{steiner2022tmlr-train,
  title     = {{How to Train Your ViT? Data, Augmentation, and Regularization in Vision Transformers}},
  author    = {Steiner, Andreas Peter and Kolesnikov, Alexander and Zhai, Xiaohua and Wightman, Ross and Uszkoreit, Jakob and Beyer, Lucas},
  journal   = {Transactions on Machine Learning Research},
  year      = {2022},
  url       = {https://mlanthology.org/tmlr/2022/steiner2022tmlr-train/}
}