arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2006.03677cs.CVcs.LGeess.IV
收藏

视觉Transformers:基于标记的计算机视觉图像表示与处理

Visual Transformers: Token-based Image Representation and Processing for Computer Vision

Facebook Reality Labs(Facebook现实实验室);Facebook AI(Facebook人工智能);UC Berkeley(加州大学伯克利分校)

Bichen Wu, Chenfeng Xu, Xiaoliang Dai, Alvin Wan, Peizhao Zhang, Zhicheng Yan, Masayoshi Tomizuka, Joseph Gonzalez, Kurt Keutzer, Peter Vajda

摘要:

计算机视觉通过(a)将图像表示为均匀排列的像素阵列和(b)卷积高度局部化的特征而取得了显著的成功。然而,卷积平等地对待所有图像像素,无论其重要性如何;显式地对所有图像中的所有概念进行建模,无论其内容如何;并且难以将空间上遥远的概念联系起来。在这项工作中,我们通过(a)将图像表示为语义视觉令牌和(b)运行Transformers来密集地建模令牌关系来挑战这种范式。重要的是,我们的Visual Transformer在语义标记空间中运行,根据上下文明智地处理不同的图像部分。这与像素空间Transformers形成鲜明对比,后者需要更多数量级的计算。使用先进的训练配方,我们的VT显著优于卷积对手,将ImageNet top-1上的ResNet准确度提高了4.6到7个点,同时使用更少的FLOP和参数。对于LIP和COCO-stuff上的语义分割,基于VT的特征金字塔网络(FPN)实现了0.35点的mIoU,同时将FPN模块的FLOP降低了6.5倍。

英文摘要:

Computer vision has achieved remarkable success by (a) representing images as uniformly-arranged pixel arrays and (b) convolving highly-localized features. However, convolutions treat all image pixels equally regardless of importance; explicitly model all concepts across all images, regardless of content; and struggle to relate spatially-distant concepts. In this work, we challenge this paradigm by (a) representing images as semantic visual tokens and (b) running transformers to densely model token relationships. Critically, our Visual Transformer operates in a semantic token space, judiciously attending to different image parts based on context. This is in sharp contrast to pixel-space transformers that require orders-of-magnitude more compute. Using an advanced training recipe, our VTs significantly outperform their convolutional counterparts, raising ResNet accuracy on ImageNet top-1 by 4.6 to 7 points while using fewer FLOPs and parameters. For semantic segmentation on LIP and COCO-stuff, VT-based feature pyramid networks (FPN) achieve 0.35 points higher mIoU while reducing the FPN module's FLOPs by 6.5x.

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

↑