ViT — An Image is worth 16x16 words: Transformers for Image Recognition at scale

paper review

Author

Oren Bochman

Published

Friday, December 20, 2024

Keywords

convolutional neural networks, vision transformers, image classification, object detection, semantic segmentation

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.

(Dosovitskiy et al. 2020)

Dosovitskiy, Alexey, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, et al. 2020. “An Image Is Worth 16x16 Words: Transformers for Image Recognition at Scale.” CoRR abs/2010.11929. https://arxiv.org/abs/2010.11929.

See also

Citation

BibTeX citation:
@online{bochman2024,
  author = {Bochman, Oren},
  title = {ViT -\/-\/- {An} {Image} Is Worth 16x16 Words: {Transformers}
    for {Image} {Recognition} at Scale},
  date = {2024-12-20},
  url = {https://orenbochman.github.io/reviews/2020/ViT/},
  langid = {en}
}
For attribution, please cite this work as:
Bochman, Oren. 2024. “ViT --- An Image Is Worth 16x16 Words: Transformers for Image Recognition at Scale.” December 20, 2024. https://orenbochman.github.io/reviews/2020/ViT/.