一张图片等价于 16x16 个词:用于大规模图像识别的 Transformer

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

阿列克谢·多索维茨基 Alexey Dosovitskiy · Google · 2020-10-22 · arXiv:2010.11929 ↗ · 被引 65359

打开互动全文版(逐段中英对照 + 图/公式 + 论文问答)→

摘要 · Abstract

虽然 Transformer 架构已成为自然语言处理任务的事实标准,但其在计算机视觉中的应用仍然有限。在视觉领域,注意力机制要么与卷积网络结合使用,要么用于替换卷积网络的某些组件,同时保留其整体结构。我们表明,这种对 CNN 的依赖并非必要,直接将纯 Transformer 应用于图像块序列可以在图像分类任务上表现非常出色。当在大量数据上预训练并迁移到多个中、小规模图像识别基准(ImageNet、CIFAR-100、VTAB 等)时,Vision Transformer(ViT)相比最先进的卷积网络取得了优异的结果,同时训练所需计算资源大幅减少。

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.

核心贡献 · Key contributions

局限 · Limitations

论文章节 · Sections(共 15)

阅读逐段中英对照全文 →