How to train your ViT? Data, Augmentation, and Regularization in Vision Transformers
Andreas Steiner Alexander Kolesnikov Xiaohua Zhai Ross Wightman Uszkoreit Lucas Beyer Google Research Brain Team Zürich Equal technical contribution, independent researcher
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.11 1 We release more than 50 000 ViT models trained under diverse settings on various datasets. We believe this to be a treasure trove for model analysis. Available at https://github.com/google-research/vision_transformer and https://github.com/rwightman/pytorch-image-models. The code for full reproduction of model training is available at https://github.com/google-research/big_vision. 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 da
原文 arXiv:2106.10270;中英对照 + 大白话阅读 https://aha.fim.ai/paper/2106.10270v2