arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2010.03019cs.CVcs.LG
收藏

用于图像识别的全局自注意网络

Global Self-Attention Networks for Image Recognition

Google Research(谷歌研究院);Google(谷歌)

Zhuoran Shen, Irwan Bello, Raviteja Vemulapalli, Xuhui Jia, Ching-Hui Chen

摘要:

最近,计算机视觉领域的一系列工作已经在使用自注意的各种图像和视频理解任务上显示出有希望的结果。然而,由于自我注意的二次计算和记忆复杂性,这些工作要么只将注意力应用于深度网络后期的低分辨率特征图,要么将每层中的注意力感受野限制在一个小的局部区域。为了克服这些限制,这项工作引入了一个新的全局自注意模块,称为GSA模块,它足够有效,可以作为深度网络的骨干组件。该模块由两个并行层组成:内容关注层,仅基于其内容关注像素;位置关注层,基于其空间位置关注像素。该模块的输出是两个层的输出之和。基于提出的GSA模块,我们引入了新的独立的基于全局注意力的深度网络,该网络使用GSA模块而不是卷积来模拟像素交互。由于所提出的GSA模块的全局范围,GSA网络具有在整个网络中对长距离像素交互进行建模的能力。我们的实验结果表明,GSA网络在CIFAR-100和ImageNet数据集上的性能明显优于相应的基于卷积的网络,同时使用更少的参数和计算。所提出的GSA网络在ImageNet数据集上的表现也优于各种现有的基于注意力的网络。

英文摘要:

Recently, a series of works in computer vision have shown promising results on various image and video understanding tasks using self-attention. However, due to the quadratic computational and memory complexities of self-attention, these works either apply attention only to low-resolution feature maps in later stages of a deep network or restrict the receptive field of attention in each layer to a small local region. To overcome these limitations, this work introduces a new global self-attention module, referred to as the GSA module, which is efficient enough to serve as the backbone component of a deep network. This module consists of two parallel layers: a content attention layer that attends to pixels based only on their content and a positional attention layer that attends to pixels based on their spatial locations. The output of this module is the sum of the outputs of the two layers. Based on the proposed GSA module, we introduce new standalone global attention-based deep networks that use GSA modules instead of convolutions to model pixel interactions. Due to the global extent of the proposed GSA module, a GSA network has the ability to model long-range pixel interactions throughout the network. Our experimental results show that GSA networks outperform the corresponding convolution-based networks significantly on the CIFAR-100 and ImageNet datasets while using less parameters and computations. The proposed GSA networks also outperform various existing attention-based networks on the ImageNet dataset.

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

↑