ResT: An Efficient Transformer for Visual Recognition

By Qing-Long Zhang, Yubing Yang. 2021

304 citations recorded by the source corpus.

This paper presents an efficient multi-scale vision Transformer, called ResT, that capably served as a general-purpose backbone for image recognition. Unlike existing Transformer methods, which employ standard Transformer blocks to tackle raw images with a fixed resolution, our ResT have several advantages: (1) A memory-efficient multi-head self-attention is built, which compresses the memory by a simple depth-wise convolution, and projects the interaction across the attention-heads dimension while keeping the diversity ability of multi-heads; (2) Position encoding is constructed as spatial attention, which is more flexible and can tackle with input images of arbitrary size without interpolation or fine-tune; (3) Instead of the straightforward tokenization at the beginning of each stage, we design the patch embedding as a stack of overlapping convolution operation with stride on the 2D-reshaped token map. We comprehensively validate ResT on image classification and downstream tasks. Experimental results show that the proposed ResT can outperform the recently state-of-the-art backbones by a large margin, demonstrating the potential of ResT as strong backbones. The code and models will be made publicly available at https://github.com/wofmanaf/ResT.

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

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. Fahad Shahbaz Khan
  2. Luc Van Gool
  3. Ming-Hsuan Yang
  4. Dacheng Tao
  5. Salman Hameed Khan
  6. Yi Yang
  7. Bernt Schiele
  8. Xiaogang Wang

In Electrical and Electronic Engineering

  1. Mubarak Shah
  2. Munawar Hayat
  3. Deng Cai
  4. Fahad Shahbaz Khan
  5. Xiaofei He
  6. Sijie Li
  7. Muzammal Naseer
  8. Wei David Liu

Citations in the corpus