Global Self-Attention Networks for Image Recognition
Shen Zhuoran, Irwan Bello, Raviteja Vemulapalli, Xuhui Jia, Ching-Hui Chen Google Research Google Seattle, WA 98103, United States Equal contribution.Ching-Hui is now at Waymo.
Abstract
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 th
原文 arXiv:2010.03019;中英对照 + 大白话阅读 https://aha.fim.ai/paper/2010.03019v2