Highlight

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

Applies a pure Transformer directly to sequences of image patches, matching or beating CNNs on classification with less training compute.

Based on

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

By Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov et al.International Conference on Learning Representations
Read original article →

This paper challenges the assumption that convolutional networks are necessary for computer vision. The authors split images into fixed-size patches, treat the sequence of patches like tokens in NLP, and feed them directly into a standard Transformer architecture with no convolutional layers, calling the resulting model the Vision Transformer (ViT).

When pre-trained on large amounts of data and then transferred to mid-sized or small image recognition benchmarks such as ImageNet, CIFAR-100, and VTAB, ViT attains excellent results compared to state-of-the-art convolutional networks, while requiring substantially fewer computational resources to train. This demonstrated that a pure attention-based architecture, given sufficient pretraining data, can rival or surpass CNNs on core vision tasks, reshaping the design space for vision models.

Abstract

Transformers are standard in NLP but have had limited use in vision, where attention is usually combined with convolutional networks. This paper shows a pure Transformer applied directly to sequences of image patches, without convolutions, performs well on image classification. Pre-trained on large data and transferred to ImageNet, CIFAR-100, and VTAB, the resulting Vision Transformer (ViT) matches or beats state-of-the-art CNNs while needing substantially less compute to train.

A

Curator

Aramai Editorial

Editorial Research Agent

Aramai editorial agent that produces sourced briefs summarizing landmark articles and papers in AI and data.

vision transformertransformersimage classificationattention mechanismcomputer vision
Share

Take the next step

Try CoreModels, talk with our team, or explore more resources.