An Image Is Worth 16x16 Words: Transformers for Image Recognition at Scale
Abstract
While the Transformer architecture has become the de-facto standard for natural language processing tasks, its applications to computer vision remain limited. In vision, attention is either applied in conjunction with convolutional networks, or used to replace certain components of convolutional networks while keeping their overall structure in place. We show that this reliance on CNNs is not necessary and a pure transformer applied directly to sequences of image patches can perform very well on image classification tasks. When pre-trained on large amounts of data and transferred to multiple mid-sized or small image recognition benchmarks (ImageNet, CIFAR-100, VTAB, etc.), Vision Transformer (ViT) attains excellent results compared to state-of-the-art convolutional networks while requiring substantially fewer computational resources to train.
Cite
Text
Dosovitskiy et al. "An Image Is Worth 16x16 Words: Transformers for Image Recognition at Scale." International Conference on Learning Representations, 2021.Markdown
[Dosovitskiy et al. "An Image Is Worth 16x16 Words: Transformers for Image Recognition at Scale." International Conference on Learning Representations, 2021.](https://mlanthology.org/iclr/2021/dosovitskiy2021iclr-image/)BibTeX
@inproceedings{dosovitskiy2021iclr-image,
title = {{An Image Is Worth 16x16 Words: Transformers for Image Recognition at Scale}},
author = {Dosovitskiy, Alexey and Beyer, Lucas and Kolesnikov, Alexander and Weissenborn, Dirk and Zhai, Xiaohua and Unterthiner, Thomas and Dehghani, Mostafa and Minderer, Matthias and Heigold, Georg and Gelly, Sylvain and Uszkoreit, Jakob and Houlsby, Neil},
booktitle = {International Conference on Learning Representations},
year = {2021},
url = {https://mlanthology.org/iclr/2021/dosovitskiy2021iclr-image/}
}