Vicinity Vision Transformer
Not on the map. Why?
Abstract (arXiv)
Vision transformers have shown great success on numerous computer vision tasks. However, its central component, softmax attention, prohibits vision transformers from scaling up to high-resolution images, due to both the computational complexity and memory footprint being quadratic. Although linear attention was introduced in natural language processing (NLP) tasks to mitigate a similar issue, directly applying existing linear attention to vision transformers may not lead to satisfactory results. We investigate this problem and find that computer vision tasks focus more on local information compared with NLP tasks. Based on this observation, we present a Vicinity Attention that introduces a locality bias to vision transformers with linear complexity. Specifically, for each image patch, we adjust its attention weight based on its 2D Manhattan distance measured by its neighbouring patches. In this case, the neighbouring patches will receive stronger attention than far-away patches. Moreover, since our Vicinity Attention requires the token length to be much larger than the feature dimension to show its efficiency advantages, we further propose a new Vicinity Vision Transformer (VVT) structure to reduce the feature dimension without degenerating the accuracy. We perform extensive experiments on the CIFAR100, ImageNet1K, and ADE20K datasets to validate the effectiveness of our method. Our method has a slower growth rate of GFlops than previous transformer-based and convolution-based networks when the input resolution increases. In particular, our approach achieves state-of-the-art image classification accuracy with 50% fewer parameters than previous methods.
Key facts. Cited by 22 papers in the map (data through 7 Oct 2026). Builds on 65 of its 74 references that are in the map. First posted on arXiv 21 Jun 2022.
Builds on
65 of 74 references.
References · 65
- 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
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,339
- 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,690
- 2016Feature Pyramid Networks for Object Detectioncited by 5,021
- 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 4,993
38 more
- 2017Squeeze-and-Excitation Networkscited by 4,763
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,410
- 2020Longformer: The Long-Document Transformercited by 3,362
- 2016Aggregated Residual Transformations for Deep Neural Networkscited by 2,540
- 2017Non-local Neural Networkscited by 2,290
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
- 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,960
- 2021Vision Transformers for Dense Predictioncited by 1,789
- 2020Reformer: The Efficient Transformercited by 1,658
- 2020Rethinking Attention with Performerscited by 1,584
- 2019Generating Long Sequences with Sparse Transformerscited by 1,523
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
- 2018Unified Perceptual Parsing for Scene Understandingcited by 1,265
- 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,096
- 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 994
- 2020Designing Network Design Spacescited by 954
- 2021CvT: Introducing Convolutions to Vision Transformerscited by 946
- 2020Efficient Transformers: A Surveycited by 784
- 2021PVT v2: Improved Baselines with Pyramid Vision Transformercited by 749
- 2019Panoptic Feature Pyramid Networkscited by 644
- 2021Transformer in Transformercited by 632
- 2021CoAtNet: Marrying Convolution and Attention for All Data Sizescited by 566
- 2021Twins: Revisiting the Design of Spatial Attention in Vision Transformerscited by 565
- 2019Stand-Alone Self-Attention in Vision Modelscited by 542
- 2021Nystr"omformer: A Nystr"om-Based Algorithm for Approximating Self-Attentioncited by 468
- 2018Efficient Attention: Attention with Linear Complexitiescited by 366
- 2021Bottleneck Transformers for Visual Recognitioncited by 364
- 2021Random Feature Attentioncited by 350
- 2021XCiT: Cross-Covariance Image Transformerscited by 335
- 2019GCNet: Non-local Networks Meet Squeeze-Excitation Networks and Beyondcited by 331
- 2020Exploring Self-attention for Image Recognitioncited by 313
- 2019Revealing the Dark Secrets of BERTcited by 300
- 2022Vision Transformer with Deformable Attentioncited by 293
- 2021Focal Self-attention for Local-Global Interactions in Vision Transformerscited by 286
- 2022Neighborhood Attention Transformercited by 235
- 2021Scaling Local Self-Attention for Parameter Efficient Visual Backbonescited by 220
- 2022cosFormer: Rethinking Softmax in Attentioncited by 212
50 most cited of 65 All 65 (JSON)
Built on by
Citing papers per year: 2022: 4; 2023: 5; 2024: 5; 2025: 4; 2026: 4.
22 papers.
Sort:
- 2023Hierarchically Gated Recurrent Neural Network for Sequence Modelingcited by 100
- 2022The Devil in Linear Transformercited by 98
- 2024Vision-RWKV: Efficient and Scalable Visual Perception with RWKV-Like Architecturescited by 97
- 2024Lightning Attention-2: A Free Lunch for Handling Unlimited Sequence Lengths in Large Language Modelscited by 57
- 2024Bridging the Divide: Reconsidering Softmax and Linear Attentioncited by 48
- 2022Neural Architecture Search on Efficient Transformers and Beyondcited by 17
- 2023Fine-grained Audible Video Descriptioncited by 17
- 2023Linearized Relative Positional Encodingcited by 17
- 2024CO2: Efficient Distributed Training with Full Communication-Computation Overlapcited by 17
- 2025LSNet: See Large, Focus Smallcited by 15
- 2025ViT3: Unlocking Test-Time Training in Visioncited by 15
- 2022Deep Laparoscopic Stereo Matching with Transformerscited by 9
10 more
- 2024You Only Scan Once: Efficient Multi-dimension Sequential Modeling with LightNetcited by 9
- 2023Exploring Transformer Extrapolationcited by 8
- 2022Linear Video Transformer with Feature Fixationcited by 6
- 2026ZeroS: Zero-Sum Linear Attention for Efficient Transformerscited by 4
- 2023All-pairs Consistency Learning for Weakly Supervised Semantic Segmentationcited by 3
- 2026Dissecting Outlier Dynamics in LLM NVFP4 Pretrainingcited by 2
- 2025Polyline Path Masked Attention for Vision Transformercited by 1
- 2025On the Use of Hierarchical Vision Foundation Models for Low-Cost Human Mesh Recovery and Pose Estimationcited by 0
- 2026Spatial Priors via Space Filling Curves for Small and Limited Data Vision Transformerscited by 0
- 2026VisionHOPE: Visual Backbones as Self-Modifying Learning Systemscited by 0
- 2026VisionHOPE: Visual Backbones as Self-Modifying Learning Systems27 Sep 2026
- 2026Spatial Priors via Space Filling Curves for Small and Limited Data Vision Transformers8 Jun 2026
- 2026ZeroS: Zero-Sum Linear Attention for Efficient Transformers5 Feb 2026
- 2026Dissecting Outlier Dynamics in LLM NVFP4 Pretraining2 Feb 2026
- 2025ViT3: Unlocking Test-Time Training in Vision1 Dec 2025
- 2025On the Use of Hierarchical Vision Foundation Models for Low-Cost Human Mesh Recovery and Pose Estimation14 Oct 2025
- 2025Polyline Path Masked Attention for Vision Transformer19 Jun 2025
- 2025LSNet: See Large, Focus Small29 Mar 2025
- 2024Bridging the Divide: Reconsidering Softmax and Linear Attention9 Dec 2024
- 2024You Only Scan Once: Efficient Multi-dimension Sequential Modeling with LightNet31 May 2024
- 2024Vision-RWKV: Efficient and Scalable Visual Perception with RWKV-Like Architectures4 Mar 2024
- 2024CO2: Efficient Distributed Training with Full Communication-Computation Overlap29 Jan 2024
10 more
- 2024Lightning Attention-2: A Free Lunch for Handling Unlimited Sequence Lengths in Large Language Models9 Jan 2024
- 2023Hierarchically Gated Recurrent Neural Network for Sequence Modeling8 Nov 2023
- 2023All-pairs Consistency Learning for Weakly Supervised Semantic Segmentation8 Aug 2023
- 2023Exploring Transformer Extrapolation19 Jul 2023
- 2023Linearized Relative Positional Encoding18 Jul 2023
- 2023Fine-grained Audible Video Description27 Mar 2023
- 2022The Devil in Linear Transformer19 Oct 2022
- 2022Linear Video Transformer with Feature Fixation15 Oct 2022
- 2022Neural Architecture Search on Efficient Transformers and Beyond28 Jul 2022
- 2022Deep Laparoscopic Stereo Matching with Transformers25 Jul 2022
- 2023Hierarchically Gated Recurrent Neural Network for Sequence Modelingcited by 100
- 2022The Devil in Linear Transformercited by 98
- 2024Vision-RWKV: Efficient and Scalable Visual Perception with RWKV-Like Architecturescited by 97
- 2024Lightning Attention-2: A Free Lunch for Handling Unlimited Sequence Lengths in Large Language Modelscited by 57
- 2024Bridging the Divide: Reconsidering Softmax and Linear Attentioncited by 48
- 2022Neural Architecture Search on Efficient Transformers and Beyondcited by 17
- 2023Fine-grained Audible Video Descriptioncited by 17
- 2023Linearized Relative Positional Encodingcited by 17
- 2024CO2: Efficient Distributed Training with Full Communication-Computation Overlapcited by 17
- 2025LSNet: See Large, Focus Smallcited by 15
- 2025ViT3: Unlocking Test-Time Training in Visioncited by 15
- 2022Deep Laparoscopic Stereo Matching with Transformerscited by 9
12 most cited of 22 All 22 (JSON)
- 2026VisionHOPE: Visual Backbones as Self-Modifying Learning Systems27 Sep 2026
- 2026Spatial Priors via Space Filling Curves for Small and Limited Data Vision Transformers8 Jun 2026
- 2026ZeroS: Zero-Sum Linear Attention for Efficient Transformers5 Feb 2026
- 2026Dissecting Outlier Dynamics in LLM NVFP4 Pretraining2 Feb 2026
- 2025ViT3: Unlocking Test-Time Training in Vision1 Dec 2025
- 2025On the Use of Hierarchical Vision Foundation Models for Low-Cost Human Mesh Recovery and Pose Estimation14 Oct 2025
- 2025Polyline Path Masked Attention for Vision Transformer19 Jun 2025
- 2025LSNet: See Large, Focus Small29 Mar 2025
- 2024Bridging the Divide: Reconsidering Softmax and Linear Attention9 Dec 2024
- 2024You Only Scan Once: Efficient Multi-dimension Sequential Modeling with LightNet31 May 2024
- 2024Vision-RWKV: Efficient and Scalable Visual Perception with RWKV-Like Architectures4 Mar 2024
- 2024CO2: Efficient Distributed Training with Full Communication-Computation Overlap29 Jan 2024
12 newest of 22 All 22 (JSON)