Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale

About

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.

Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, Jakob Uszkoreit, Neil Houlsby• 2020

Related benchmarks

TaskDatasetResultRank
Image ClassificationCIFAR-100 (test)
Accuracy94.55
3518
Image ClassificationCIFAR-10 (test)
Accuracy98.74
3381
Semantic segmentationADE20K (val)
mIoU49.9
2731
Object DetectionCOCO 2017 (val)
AP36.9
2454
Image ClassificationImageNet-1K 1.0 (val)
Top-1 Accuracy88.55
1866
Image ClassificationImageNet-1k (val)
Top-1 Accuracy88.5
1453
Person Re-IdentificationMarket1501 (test)
Rank-1 Accuracy94.3
1264
Image ClassificationImageNet (val)
Top-1 Acc83.1
1206
ClassificationImageNet-1K 1.0 (val)
Top-1 Accuracy (%)88.55
1155
Instance SegmentationCOCO 2017 (val)--
1144
Showing 10 of 883 rows
...

Other info

Code

Follow for update