Scaling Local Self-Attention for Parameter Efficient Visual Backbones

By Ashish Vaswani, Prajit Ramachandran, A. Srinivas, Niki Parmar, Blake A. Hechtman, Jonathon Shlens. 2021

476 citations recorded by the source corpus.

Self-attention has the promise of improving computer vision systems due to parameter-independent scaling of receptive fields and content-dependent interactions, in contrast to parameter-dependent scaling and content-independent interactions of convolutions. Self-attention models have recently been shown to have encouraging improvements on accuracy-parameter trade-offs compared to baseline convolutional models such as ResNet-50. In this work, we develop self-attention models that can outperform not just the canonical baseline models, but even the high-performing convolutional models. We propose two extensions to self-attention that, in conjunction with a more efficient implementation of self-attention, improve the speed, memory usage, and accuracy of these models. We leverage these improvements to develop a new self-attention model family, HaloNets, which reach state-of-the-art accuracies on the parameter-limited setting of the ImageNet classification benchmark. In preliminary transfer learning experiments, we find that HaloNet models outperform much larger models and have better inference performance. On harder tasks such as object detection and instance segmentation, our simple local self-attention and convolutional hybrids show improvements over very strong baselines. These results mark another step in demonstrating the efficacy of self-attention models on settings traditionally dominated by convolutions. 1

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Radiology, Nuclear Medicine and Imaging, Model Architectures, Efficiency & Compression

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Jianfeng Gao
  2. Dacheng Tao
  3. Quoc V. Le
  4. Jiashi Feng
  5. Mohit Bansal
  6. Luc Van Gool
  7. Trevor Darrell
  8. Yoshua Bengio

In Computer Vision and Pattern Recognition

  1. Luc Van Gool
  2. Dacheng Tao
  3. Ming-Hsuan Yang
  4. Xiaogang Wang
  5. Yi Yang
  6. Trevor Darrell
  7. Jitendra Malik
  8. Alan L. Yuille

In Radiology, Nuclear Medicine and Imaging

  1. Luc Van Gool
  2. Lucas Beyer
  3. Lu Yuan
  4. Jiashi Feng
  5. Dacheng Tao
  6. Yi Yang
  7. Neil Houlsby
  8. Xiaohua Zhai

In Model Architectures

  1. Jianfeng Gao
  2. Jianwei Yang
  3. Lu Yuan
  4. Quoc V. Le
  5. Jiashi Feng
  6. Shuicheng Yan
  7. Dacheng Tao
  8. Xinchao Wang

In Efficiency & Compression

  1. Jiashi Feng
  2. Shuicheng Yan
  3. Jianfeng Gao
  4. Lu Yuan
  5. Xinchao Wang
  6. Qibin Hou
  7. Herv'e J'egou
  8. Hugo Touvron

Citations in the corpus