Understanding Gaussian Attention Bias of Vision Transformers Using Effective Receptive Fields
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
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2020End-to-End Object Detection with Transformerscited by 7,384
- 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,690
- 2016Layer Normalizationcited by 5,579
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2021SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformerscited by 2,923
- 2016Aggregated Residual Transformations for Deep Neural Networkscited by 2,540
- 2021BEiT: BERT Pre-Training of Image Transformerscited by 2,360
21 more
- 2020Rethinking Semantic Segmentation from a Sequence-to-Sequence Perspective with Transformerscited by 1,368
- 2021Swin Transformer V2: Scaling Up Capacity and Resolutioncited by 1,215
- 2018Self-Attention with Relative Position Representationscited by 1,112
- 2016Semantic Understanding of Scenes through the ADE20K Datasetcited by 1,063
- 2017Grad-CAM++: Improved Visual Explanations for Deep Convolutional Networkscited by 936
- 2021Going deeper with Image Transformerscited by 759
- 2021Do Vision Transformers See Like Convolutional Neural Networks?cited by 671
- 2017Understanding the Effective Receptive Field in Deep Convolutional Neural Networkscited by 549
- 2021LeViT: a Vision Transformer in ConvNet's Clothing for Faster Inferencecited by 475
- 2022DeiT III: Revenge of the ViTcited by 417
- 2021Bottleneck Transformers for Visual Recognitioncited by 364
- 2016From Softmax to Sparsemax: A Sparse Model of Attention and Multi-Label Classificationcited by 337
- 2021XCiT: Cross-Covariance Image Transformerscited by 335
- 2020Exploring Self-attention for Image Recognitioncited by 313
- 2019On the Relationship between Self-Attention and Convolutional Layerscited by 299
- 2018Music Transformercited by 207
- 2021Rethinking and Improving Relative Position Encoding for Vision Transformercited by 206
- 2021Self-Attention Between Datapoints: Going Beyond Individual Input-Output Pairs in Deep Learningcited by 112
- 2021LambdaNetworks: Modeling Long-Range Interactions Without Attentioncited by 107
- 2018On Controllable Sparse Alternatives to Softmaxcited by 26
- 2021Dead Pixel Test Using Effective Receptive Fieldcited by 18
Built on by
Citing papers per year: 2023: 1; 2024: 0; 2025: 1; 2026: 2.
4 papers.
- 2023Dilated Convolution with Learnable Spacings: beyond bilinear interpolationcited by 4
- 2025GeoAggregator: An Efficient Transformer Model for Geo-Spatial Tabular Datacited by 2
- 2026Component-Based Out-of-Distribution Detectioncited by 0
- 2026The Missing Temporal Link: Temporal Context Routing for Script-Driven Audio-Video Generationcited by 0
- 2026The Missing Temporal Link: Temporal Context Routing for Script-Driven Audio-Video Generation2 Sep 2026
- 2026Component-Based Out-of-Distribution Detection23 Apr 2026
- 2025GeoAggregator: An Efficient Transformer Model for Geo-Spatial Tabular Data20 Feb 2025
- 2023Dilated Convolution with Learnable Spacings: beyond bilinear interpolation1 Jun 2023