SOTAVerified

ViTAE: Vision Transformer Advanced by Exploring Intrinsic Inductive Bias

2021-06-07NeurIPS 2021Code Available1· sign in to hype

Yufei Xu, Qiming Zhang, Jing Zhang, DaCheng Tao

Code Available — Be the first to reproduce this paper.

Reproduce

Code

Abstract

Transformers have shown great potential in various computer vision tasks owing to their strong capability in modeling long-range dependency using the self-attention mechanism. Nevertheless, vision transformers treat an image as 1D sequence of visual tokens, lacking an intrinsic inductive bias (IB) in modeling local visual structures and dealing with scale variance. Alternatively, they require large-scale training data and longer training schedules to learn the IB implicitly. In this paper, we propose a novel Vision Transformer Advanced by Exploring intrinsic IB from convolutions, ie, ViTAE. Technically, ViTAE has several spatial pyramid reduction modules to downsample and embed the input image into tokens with rich multi-scale context by using multiple convolutions with different dilation rates. In this way, it acquires an intrinsic scale invariance IB and is able to learn robust feature representation for objects at various scales. Moreover, in each transformer layer, ViTAE has a convolution block in parallel to the multi-head self-attention module, whose features are fused and fed into the feed-forward network. Consequently, it has the intrinsic locality IB and is able to learn local features and global dependencies collaboratively. Experiments on ImageNet as well as downstream tasks prove the superiority of ViTAE over the baseline transformer and concurrent works. Source code and pretrained models will be available at GitHub.

Tasks

Benchmark Results

DatasetModelMetricClaimedVerifiedStatus
ImageNetViTAE-T-StageTop 1 Accuracy76.8Unverified
ImageNetViTAE-B-StageTop 1 Accuracy83.6Unverified
ImageNetViTAE-S-StageTop 1 Accuracy82.2Unverified
ImageNetViTAE-13MTop 1 Accuracy81Unverified
ImageNetViTAE-6MTop 1 Accuracy77.9Unverified
ImageNetViTAE-TTop 1 Accuracy75.3Unverified

Reproductions