arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2202.10108cs.CV
收藏

ViTAEv2:通过探索用于图像识别及其他领域的电感偏置而改进的视觉Transformer

ViTAEv2: Vision Transformer Advanced by Exploring Inductive Bias for Image Recognition and Beyond

The University of Sydney(悉尼大学);JD Explore Academy(京东探索研究院)

Qiming Zhang, Yufei Xu, Jing Zhang, Dacheng Tao

摘要:

视觉Transformer由于其使用自我注意力机制来建模长距离依赖的强大能力而在各种计算机视觉任务中显示出巨大的潜力。然而,他们把一个图像作为一个1D序列的视觉令牌,缺乏内在的感应偏差(IB)在建模局部视觉结构和处理规模的变化,这是相反的学习隐式从大规模的训练数据与较长的训练时间表。在本文中,我们提出了一个视觉Transformer先进的探索内在IB从卷积,即,ViTAE从技术上讲,ViTAE有几个空间金字塔缩减模块,可以使用具有不同膨胀率的多个卷积来下采样并将输入图像嵌入到具有丰富多尺度上下文的令牌中。通过这种方式,它获得了内在的尺度不变性IB,并且可以学习各种尺度下对象的鲁棒特征表示。此外,在每个Transformer层中,ViTAE都有一个与多头自注意模块并行的卷积块,其特征被融合并馈入前馈网络。因此,它具有内在的局部性IB,并且能够协作地学习局部特征和全局依赖性。所提出的两种细胞以各向同性和多级方式堆叠,以形成两族ViTAE模型,即,普通的ViTAE和ViTAEv 2 ImageNet数据集上的实验以及MS COCO,ADE 20 K和AP 10 K数据集上的下游任务验证了我们的模型优于基线Transformer模型和并发工作。此外,我们将ViTAE模型扩展到644 M参数,并获得了最先进的分类性能,即,在ImageNet验证集上的Top-1分类准确率为88.5%,在ImageNet真实验证集上的Top-1准确率为91.2%,而无需使用额外的私有数据。

英文摘要:

Vision transformers have shown great potential in various computer vision tasks owing to their strong capability to model long-range dependency using the self-attention mechanism. Nevertheless, they treat an image as a 1D sequence of visual tokens, lacking an intrinsic inductive bias (IB) in modeling local visual structures and dealing with scale variance, which is instead learned implicitly from large-scale training data with longer training schedules. In this paper, we propose a Vision Transformer Advanced by Exploring intrinsic IB from convolutions, i.e., ViTAE. Technically, ViTAE has several spatial pyramid reduction modules to downsample and embed the input image into tokens with rich multi-scale context using multiple convolutions with different dilation rates. In this way, it acquires an intrinsic scale invariance IB and can learn robust feature representation for objects at various scales. Moreover, in each transformer layer, ViTAE has a convolution block 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. The proposed two kinds of cells are stacked in both isotropic and multi-stage manners to formulate two families of ViTAE models, i.e., the vanilla ViTAE and ViTAEv2. Experiments on the ImageNet dataset as well as downstream tasks on the MS COCO, ADE20K, and AP10K datasets validate the superiority of our models over the baseline transformer models and concurrent works. Besides, we scale up our ViTAE model to 644M parameters and obtain the state-of-the-art classification performance, i.e., 88.5% Top-1 classification accuracy on ImageNet validation set and the best 91.2% Top-1 accuracy on ImageNet real validation set, without using extra private data.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑