mlsanityData to 7 Oct 2026

Understanding Gaussian Attention Bias of Vision Transformers Using Effective Receptive Fields

arXiv 2305.04722 ↗First posted 8 May 2023cs.CVcited by 4

Not on the map. Why?

Abstract (arXiv)

Vision transformers (ViTs) that model an image as a sequence of partitioned patches have shown notable performance in diverse vision tasks. Because partitioning patches eliminates the image structure, to reflect the order of patches, ViTs utilize an explicit component called positional embedding. However, we claim that the use of positional embedding does not simply guarantee the order-awareness of ViT. To support this claim, we analyze the actual behavior of ViTs using an effective receptive field. We demonstrate that during training, ViT acquires an understanding of patch order from the positional embedding that is trained to be a specific pattern. Based on this observation, we propose explicitly adding a Gaussian attention bias that guides the positional embedding to have the corresponding pattern from the beginning of training. We evaluated the influence of Gaussian attention bias on the performance of ViTs in several image classification, object detection, and semantic segmentation experiments. The results showed that proposed method not only facilitates ViTs to understand images but also boosts their performance on various datasets, including ImageNet, COCO 2017, and ADE20K.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 33 of its 41 references that are in the map. First posted on arXiv 8 May 2023.

Builds on

33 of 41 references.

References · 33

  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. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  6. 2020End-to-End Object Detection with Transformerscited by 7,384
  7. 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,690
  8. 2016Layer Normalizationcited by 5,579
  9. 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
  10. 2021SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformerscited by 2,923
  11. 2016Aggregated Residual Transformations for Deep Neural Networkscited by 2,540
  12. 2021BEiT: BERT Pre-Training of Image Transformerscited by 2,360
21 more
  1. 2020Rethinking Semantic Segmentation from a Sequence-to-Sequence Perspective with Transformerscited by 1,368
  2. 2021Swin Transformer V2: Scaling Up Capacity and Resolutioncited by 1,215
  3. 2018Self-Attention with Relative Position Representationscited by 1,112
  4. 2016Semantic Understanding of Scenes through the ADE20K Datasetcited by 1,063
  5. 2017Grad-CAM++: Improved Visual Explanations for Deep Convolutional Networkscited by 936
  6. 2021Going deeper with Image Transformerscited by 759
  7. 2021Do Vision Transformers See Like Convolutional Neural Networks?cited by 671
  8. 2017Understanding the Effective Receptive Field in Deep Convolutional Neural Networkscited by 549
  9. 2021LeViT: a Vision Transformer in ConvNet's Clothing for Faster Inferencecited by 475
  10. 2022DeiT III: Revenge of the ViTcited by 417
  11. 2021Bottleneck Transformers for Visual Recognitioncited by 364
  12. 2016From Softmax to Sparsemax: A Sparse Model of Attention and Multi-Label Classificationcited by 337
  13. 2021XCiT: Cross-Covariance Image Transformerscited by 335
  14. 2020Exploring Self-attention for Image Recognitioncited by 313
  15. 2019On the Relationship between Self-Attention and Convolutional Layerscited by 299
  16. 2018Music Transformercited by 207
  17. 2021Rethinking and Improving Relative Position Encoding for Vision Transformercited by 206
  18. 2021Self-Attention Between Datapoints: Going Beyond Individual Input-Output Pairs in Deep Learningcited by 112
  19. 2021LambdaNetworks: Modeling Long-Range Interactions Without Attentioncited by 107
  20. 2018On Controllable Sparse Alternatives to Softmaxcited by 26
  21. 2021Dead Pixel Test Using Effective Receptive Fieldcited by 18

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 1; 2024: 0; 2025: 1; 2026: 2.

4 papers.