mlsanityData to 7 Oct 2026

What Makes for Hierarchical Vision Transformer?

arXiv 2107.02174 ↗First posted 5 Jul 2021cs.CV cs.AI cs.LGcited by 4

Not on the map. Why?

Abstract (arXiv)

Recent studies indicate that hierarchical Vision Transformer with a macro architecture of interleaved non-overlapped window-based self-attention & shifted-window operation is able to achieve state-of-the-art performance in various visual recognition tasks, and challenges the ubiquitous convolutional neural networks (CNNs) using densely slid kernels. Most follow-up works attempt to replace the shifted-window operation with other kinds of cross-window communication paradigms, while treating self-attention as the de-facto standard for window-based information aggregation. In this manuscript, we question whether self-attention is the only choice for hierarchical Vision Transformer to attain strong performance, and the effects of different kinds of cross-window communication. To this end, we replace self-attention layers with embarrassingly simple linear mapping layers, and the resulting proof-of-concept architecture termed as LinMapper can achieve very strong performance in ImageNet-1k image recognition. Moreover, we find that LinMapper is able to better leverage the pre-trained representations from image recognition and demonstrates excellent transfer learning properties on downstream dense prediction tasks such as object detection and instance segmentation. We also experiment with other alternatives to self-attention for content aggregation inside each non-overlapped window under different cross-window communication approaches, which all give similar competitive results. Our study reveals that the macro architecture of Swin model families, other than specific aggregation layers or specific means of cross-window communication, may be more responsible for its strong performance and is the real challenger to the ubiquitous CNN's dense sliding window paradigm. Code and models will be publicly available to facilitate future research.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 39 of its 51 references that are in the map. First posted on arXiv 5 Jul 2021.

Builds on

39 of 51 references.

References · 39

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  4. 2014Microsoft COCO: Common Objects in Contextcited by 17,498
  5. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
  6. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  7. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
  8. 2017Mask R-CNNcited by 7,259
  9. 2016Layer Normalizationcited by 5,579
  10. 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
  11. 2017MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applicationscited by 3,827
  12. 2016Gaussian Error Linear Units (GELUs)cited by 3,431
27 more
  1. 2016Wide Residual Networkscited by 3,057
  2. 2017Non-local Neural Networkscited by 2,290
  3. 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,960
  4. 2021MLP-Mixer: An all-MLP Architecture for Visioncited by 1,441
  5. 2019MMDetection: Open MMLab Detection Toolbox and Benchmarkcited by 1,379
  6. 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,096
  7. 2021Multiscale Vision Transformerscited by 896
  8. 2019Are Sixteen Heads Really Better than One?cited by 803
  9. 2018CCNet: Criss-Cross Attention for Semantic Segmentationcited by 717
  10. 2021Transformer in Transformercited by 632
  11. 2021CoAtNet: Marrying Convolution and Attention for All Data Sizescited by 566
  12. 2021Pay Attention to MLPscited by 367
  13. 2021Rethinking Spatial Dimensions of Vision Transformerscited by 361
  14. 2021ResMLP: Feedforward networks for image classification with data-efficient trainingcited by 338
  15. 2020Axial-DeepLab: Stand-Alone Axial-Attention for Panoptic Segmentationcited by 326
  16. 2021Global Filter Networks for Image Classificationcited by 257
  17. 2021Co-Scale Conv-Attentional Image Transformerscited by 224
  18. 2021Scaling Local Self-Attention for Parameter Efficient Visual Backbonescited by 220
  19. 2021VOLO: Vision Outlooker for Visual Recognitioncited by 164
  20. 2021Shuffle Transformer: Rethinking Spatial Shuffle for Vision Transformercited by 115
  21. 2021Beyond Self-attention: External Attention using Two Linear Layers for Visual Taskscited by 109
  22. 2021S2-MLP: Spatial-Shift MLP Architecture for Visioncited by 83
  23. 2021Do You Even Need Attention? A Stack of Feed-Forward Layers Does Surprisingly Well on ImageNetcited by 61
  24. 2021On the Connection between Local Attention and Dynamic Depth-wise Convolutioncited by 61
  25. 2021MSG-Transformer: Exchanging Local Spatial Information by Manipulating Messenger Tokenscited by 46
  26. 2021Container: Context Aggregation Networkcited by 37
  27. 2021Multi-head or Single-head? An Empirical Comparison for Transformer Trainingcited by 15

Built on by

Cited by year

Citing papers per year: 2021: 3; 2022: 0; 2023: 0; 2024: 1.

4 papers.