Refiner: Refining Self-attention for Vision Transformers

By Daquan Zhou, Yujun Shi, Bingyi Kang, Weihao Yu, Zihang Jiang, Yuan Li, Xiaojie Jin, Qibin Hou, Jiashi Feng. 2021

69 citations recorded by the source corpus.

Vision Transformers (ViTs) have shown competitive accuracy in image classification tasks compared with CNNs. Yet, they generally require much more data for model pre-training. Most of recent works thus are dedicated to designing more complex architectures or training methods to address the data-efficiency issue of ViTs. However, few of them explore improving the self-attention mechanism, a key factor distinguishing ViTs from CNNs. Different from existing works, we introduce a conceptually simple scheme, called refiner, to directly refine the self-attention maps of ViTs. Specifically, refiner explores attention expansion that projects the multi-head attention maps to a higher-dimensional space to promote their diversity. Further, refiner applies convolutions to augment local patterns of the attention maps, which we show is equivalent to a distributed local attention features are aggregated locally with learnable kernels and then globally aggregated with self-attention. Extensive experiments demonstrate that refiner works surprisingly well. Significantly, it enables ViTs to achieve 86% top-1 classification accuracy on ImageNet with only 81M parameters.

Subfields: Computer Vision and Pattern Recognition, Electrical and Electronic Engineering, Model Architectures

How researchers see this paper

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

In Computer Vision and Pattern Recognition

  1. Dacheng Tao
  2. Jiashi Feng
  3. Jianfeng Gao
  4. Luc Van Gool
  5. Shuicheng Yan
  6. Jianwei Yang
  7. Lu Yuan
  8. Ming-Hsuan Yang

In Electrical and Electronic Engineering

  1. Jianfeng Gao
  2. Jianwei Yang
  3. Lu Yuan
  4. Shuicheng Yan
  5. Jiashi Feng
  6. Xiyang Dai
  7. Dongdong Chen
  8. Dacheng Tao

In Model Architectures

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

Citations in the corpus