Local-to-Global Self-Attention in Vision Transformers
Not on the map. Why?
Abstract (arXiv)
Transformers have demonstrated great potential in computer vision tasks. To avoid dense computations of self-attentions in high-resolution visual data, some recent Transformer models adopt a hierarchical design, where self-attentions are only computed within local windows. This design significantly improves the efficiency but lacks global feature reasoning in early stages. In this work, we design a multi-path structure of the Transformer, which enables local-to-global reasoning at multiple granularities in each stage. The proposed framework is computationally efficient and highly effective. With a marginal increasement in computational overhead, our model achieves notable improvements in both image classification and semantic segmentation. Code is available at https://github.com/ljpadam/LG-Transformer
Key facts. Cited by 13 papers in the map (data through 7 Oct 2026). Builds on 51 of its 57 references that are in the map. First posted on arXiv 10 Jul 2021.
Builds on
51 of 57 references.
References · 51
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2020End-to-End Object Detection with Transformerscited by 7,384
- 2016Densely Connected Convolutional Networkscited by 6,691
- 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,415
38 more
- 2015Rethinking the Inception Architecture for Computer Visioncited by 5,451
- 2016Feature Pyramid Networks for Object Detectioncited by 5,021
- 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,773
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2014Going Deeper with Convolutionscited by 4,231
- 2017MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applicationscited by 3,827
- 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,410
- 2016DeepLab: Semantic Image Segmentation with Deep Convolutional Nets, Atrous Convolution, and Fully Connected CRFscited by 3,239
- 2018Encoder-Decoder with Atrous Separable Convolution for Semantic Image Segmentationcited by 3,210
- 2016Pyramid Scene Parsing Networkcited by 2,472
- 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,960
- 2016Inception-v4, Inception-ResNet and the Impact of Residual Connections on Learningcited by 1,509
- 2020Rethinking Semantic Segmentation from a Sequence-to-Sequence Perspective with Transformerscited by 1,368
- 2019Deep High-Resolution Representation Learning for Human Pose Estimationcited by 1,339
- 2018Unified Perceptual Parsing for Scene Understandingcited by 1,265
- 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,096
- 2016Semantic Understanding of Scenes through the ADE20K Datasetcited by 1,063
- 2018Dual Attention Network for Scene Segmentationcited by 1,001
- 2020Designing Network Design Spacescited by 954
- 2021CvT: Introducing Convolutions to Vision Transformerscited by 946
- 2016Stacked Hourglass Networks for Human Pose Estimationcited by 913
- 2020Pre-Trained Image Processing Transformercited by 891
- 2021CrossViT: Cross-Attention Multi-Scale Vision Transformer for Image Classificationcited by 806
- 2019VideoBERT: A Joint Model for Video and Language Representation Learningcited by 702
- 2019Segmentation Transformer: Object-Contextual Representations for Semantic Segmentationcited by 573
- 2019Text Summarization with Pretrained Encoderscited by 553
- 2021Conditional Positional Encodings for Vision Transformerscited by 402
- 2019Attention Augmented Convolutional Networkscited by 363
- 2020MaX-DeepLab: End-to-End Panoptic Segmentation with Mask Transformerscited by 355
- 2020Learning Texture Transformer Network for Image Super-Resolutioncited by 346
- 2020Visual Transformers: Token-based Image Representation and Processing for Computer Visioncited by 333
- 2019NAS-FPN: Learning Scalable Feature Pyramid Architecture for Object Detectioncited by 289
- 2021LocalViT: Analyzing Locality in Vision Transformerscited by 228
- 2021Co-Scale Conv-Attentional Image Transformerscited by 224
- 2020Disentangled Non-Local Neural Networkscited by 132
- 2016A Unified Multi-scale Deep Convolutional Neural Network for Fast Object Detectioncited by 83
- 2017Residual Conv-Deconv Grid Network for Semantic Segmentationcited by 57
- 2019Adaptive Context Network for Scene Parsingcited by 51
50 most cited of 51 All 51 (JSON)
Built on by
Citing papers per year: 2021: 3; 2022: 7; 2023: 1; 2024: 0; 2025: 2.
13 papers.
Sort:
By area:
- 2022MixFormer: Mixing Features across Windows and Dimensionscited by 43
- 2021Pale Transformer: A General Vision Transformer Backbone with Pale-Shaped Attentioncited by 36
- 2022When Shift Operation Meets Vision Transformer: An Extremely Simple Alternative to Attention Mechanismcited by 30
- 2022Bridging the Gap Between Vision Transformers and Convolutional Neural Networks on Small Datasetscited by 28
- 2021ELSA: Enhanced Local Self-Attention for Vision Transformercited by 18
- 2021NomMer: Nominate Synergistic Context in Vision Transformer for Visual Recognitioncited by 12
- 2022Swinv2-Imagen: Hierarchical Vision Transformer Diffusion Models for Text-to-Image Generationcited by 7
- 2022Vision Transformers: From Semantic Segmentation to Dense Predictioncited by 6
- 2023Vision Backbone Enhancement via Multi-Stage Cross-Scale Attentioncited by 3
- 2022Improving Semantic Segmentation in Transformers using Hierarchical Inter-Level Attentioncited by 2
- 2025GasTwinFormer: A Hybrid Vision Transformer for Livestock Methane Emission Segmentation and Dietary Classification in Optical Gas Imagingcited by 1
- 2025Multi-label Classification with Panoptic Context Aggregation Networkscited by 1
- 2025Multi-label Classification with Panoptic Context Aggregation Networks29 Dec 2025
- 2025GasTwinFormer: A Hybrid Vision Transformer for Livestock Methane Emission Segmentation and Dietary Classification in Optical Gas Imaging20 Aug 2025
- 2023Vision Backbone Enhancement via Multi-Stage Cross-Scale Attention10 Aug 2023
- 2022Token Transformer: Can class token help window-based transformer build better long-range interactions?11 Nov 2022
- 2022Swinv2-Imagen: Hierarchical Vision Transformer Diffusion Models for Text-to-Image Generation18 Oct 2022
- 2022Bridging the Gap Between Vision Transformers and Convolutional Neural Networks on Small Datasets12 Oct 2022
- 2022Vision Transformers: From Semantic Segmentation to Dense Prediction19 Jul 2022
- 2022Improving Semantic Segmentation in Transformers using Hierarchical Inter-Level Attention5 Jul 2022
- 2022MixFormer: Mixing Features across Windows and Dimensions6 Apr 2022
- 2022When Shift Operation Meets Vision Transformer: An Extremely Simple Alternative to Attention Mechanism26 Jan 2022
- 2021Pale Transformer: A General Vision Transformer Backbone with Pale-Shaped Attention28 Dec 2021
- 2021ELSA: Enhanced Local Self-Attention for Vision Transformer23 Dec 2021
1 more
- 2022MixFormer: Mixing Features across Windows and Dimensionscited by 43
- 2021Pale Transformer: A General Vision Transformer Backbone with Pale-Shaped Attentioncited by 36
- 2022When Shift Operation Meets Vision Transformer: An Extremely Simple Alternative to Attention Mechanismcited by 30
- 2022Bridging the Gap Between Vision Transformers and Convolutional Neural Networks on Small Datasetscited by 28
- 2021ELSA: Enhanced Local Self-Attention for Vision Transformercited by 18
- 2021NomMer: Nominate Synergistic Context in Vision Transformer for Visual Recognitioncited by 12
- 2022Vision Transformers: From Semantic Segmentation to Dense Predictioncited by 6
- 2023Vision Backbone Enhancement via Multi-Stage Cross-Scale Attentioncited by 3
- 2022Improving Semantic Segmentation in Transformers using Hierarchical Inter-Level Attentioncited by 2
- 2025GasTwinFormer: A Hybrid Vision Transformer for Livestock Methane Emission Segmentation and Dietary Classification in Optical Gas Imagingcited by 1
- 2025Multi-label Classification with Panoptic Context Aggregation Networkscited by 1
- 2022Token Transformer: Can class token help window-based transformer build better long-range interactions?cited by 0
- 2025Multi-label Classification with Panoptic Context Aggregation Networks29 Dec 2025
- 2025GasTwinFormer: A Hybrid Vision Transformer for Livestock Methane Emission Segmentation and Dietary Classification in Optical Gas Imaging20 Aug 2025
- 2023Vision Backbone Enhancement via Multi-Stage Cross-Scale Attention10 Aug 2023
- 2022Token Transformer: Can class token help window-based transformer build better long-range interactions?11 Nov 2022
- 2022Bridging the Gap Between Vision Transformers and Convolutional Neural Networks on Small Datasets12 Oct 2022
- 2022Vision Transformers: From Semantic Segmentation to Dense Prediction19 Jul 2022
- 2022Improving Semantic Segmentation in Transformers using Hierarchical Inter-Level Attention5 Jul 2022
- 2022MixFormer: Mixing Features across Windows and Dimensions6 Apr 2022
- 2022When Shift Operation Meets Vision Transformer: An Extremely Simple Alternative to Attention Mechanism26 Jan 2022
- 2021Pale Transformer: A General Vision Transformer Backbone with Pale-Shaped Attention28 Dec 2021
- 2021ELSA: Enhanced Local Self-Attention for Vision Transformer23 Dec 2021
- 2021NomMer: Nominate Synergistic Context in Vision Transformer for Visual Recognition25 Nov 2021