On the Connection between Local Attention and Dynamic Depth-wise Convolution
Not on the map. Why?
Abstract (arXiv)
Vision Transformer (ViT) attains state-of-the-art performance in visual recognition, and the variant, Local Vision Transformer, makes further improvements. The major component in Local Vision Transformer, local attention, performs the attention separately over small local windows. We rephrase local attention as a channel-wise locally-connected layer and analyze it from two network regularization manners, sparse connectivity and weight sharing, as well as weight computation. Sparse connectivity: there is no connection across channels, and each position is connected to the positions within a small local window. Weight sharing: the connection weights for one position are shared across channels or within each group of channels. Dynamic weight: the connection weights are dynamically predicted according to each image instance. We point out that local attention resembles depth-wise convolution and its dynamic version in sparse connectivity. The main difference lies in weight sharing - depth-wise convolution shares connection weights (kernel weights) across spatial positions. We empirically observe that the models based on depth-wise convolution and the dynamic variant with lower computation complexity perform on-par with or sometimes slightly better than Swin Transformer, an instance of Local Vision Transformer, for ImageNet classification, COCO object detection and ADE semantic segmentation. These observations suggest that Local Vision Transformer takes advantage of two regularization forms and dynamic weight to increase the network capacity. Code is available at https://github.com/Atten4Vis/DemystifyLocalViT.
Key facts. Cited by 61 papers in the map (data through 7 Oct 2026). Builds on 61 of its 81 references that are in the map. First posted on arXiv 8 Jun 2021.
Builds on
61 of 81 references.
References · 61
- 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
- 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
- 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,415
- 2016Layer Normalizationcited by 5,579
- 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
- 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,773
- 2017Squeeze-and-Excitation Networkscited by 4,763
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
38 more
- 2017MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applicationscited by 3,827
- 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,875
- 2016Aggregated Residual Transformations for Deep Neural Networkscited by 2,540
- 2016Xception: Deep Learning with Depthwise Separable Convolutionscited by 2,320
- 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,261
- 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,960
- 2021MLP-Mixer: An all-MLP Architecture for Visioncited by 1,441
- 2019Deep High-Resolution Representation Learning for Visual Recognitioncited by 1,417
- 2019Deep High-Resolution Representation Learning for Human Pose Estimationcited by 1,339
- 2018Unified Perceptual Parsing for Scene Understandingcited by 1,265
- 2017Random Erasing Data Augmentationcited by 1,235
- 2017ShuffleNet: An Extremely Efficient Convolutional Neural Network for Mobile Devicescited by 1,194
- 2018ShuffleNet V2: Practical Guidelines for Efficient CNN Architecture Designcited by 1,132
- 2021EfficientNetV2: Smaller Models and Faster Trainingcited by 1,127
- 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,096
- 2021Transformers in Vision: A Surveycited by 1,009
- 2016Deep Networks with Stochastic Depthcited by 973
- 2021CvT: Introducing Convolutions to Vision Transformerscited by 946
- 2020Pre-Trained Image Processing Transformercited by 891
- 2018CCNet: Criss-Cross Attention for Semantic Segmentationcited by 717
- 2021Transformer in Transformercited by 632
- 2019Stand-Alone Self-Attention in Vision Modelscited by 542
- 2021ConViT: Improving Vision Transformers with Soft Convolutional Inductive Biasescited by 484
- 2020Hopfield Networks is All You Needcited by 461
- 2019Cascade R-CNN: High Quality Object Detection and Instance Segmentationcited by 428
- 2021Pay Attention to MLPscited by 367
- 2021Rethinking Spatial Dimensions of Vision Transformerscited by 361
- 2021ResMLP: Feedforward networks for image classification with data-efficient trainingcited by 338
- 2020Are we done with ImageNet?cited by 329
- 2016Dynamic Filter Networkscited by 318
- 2020Exploring Self-attention for Image Recognitioncited by 313
- 2019On the Relationship between Self-Attention and Convolutional Layerscited by 299
- 2021DeepViT: Towards Deeper Vision Transformercited by 288
- 2021Incorporating Convolution Designs into Visual Transformerscited by 248
- 2021Co-Scale Conv-Attentional Image Transformerscited by 224
- 2021Scaling Local Self-Attention for Parameter Efficient Visual Backbonescited by 220
- 2019Pay Less Attention with Lightweight and Dynamic Convolutionscited by 211
- 2019Local Relation Networks for Image Recognitioncited by 210
50 most cited of 61 All 61 (JSON)
Built on by
Citing papers per year: 2021: 1; 2022: 19; 2023: 17; 2024: 13; 2025: 7; 2026: 4.
61 papers.
Sort:
By area:
- 2024VMamba: Visual State Space Modelcited by 955
- 2022InternImage: Exploring Large-Scale Vision Foundation Models with Deformable Convolutionscited by 479
- 2022EfficientFormer: Vision Transformers at MobileNet Speedcited by 240
- 2022More ConvNets in the 2020s: Scaling up Kernels Beyond 51x51 using Sparsitycited by 142
- 2022MetaFormer Baselines for Visioncited by 131
- 2023Transformer-Based Visual Segmentation: A Surveycited by 124
- 2023Dual Aggregation Transformer for Image Super-Resolutioncited by 124
- 2022Rethinking Vision Transformers for MobileNet Size and Speedcited by 121
- 2024Demystify Mamba in Vision: A Linear Attention Perspectivecited by 101
- 2023InceptionNeXt: When Inception Meets ConvNeXtcited by 84
- 2022You Only Need 90K Parameters to Adapt Light: A Light Weight Transformer for Image Enhancement and Exposure Correctioncited by 81
- 2022Conv2Former: A Simple Transformer-Style ConvNet for Visual Recognitioncited by 81
38 more
- 2022LargeKernel3D: Scaling up Kernels in 3D Sparse CNNscited by 71
- 2024Efficient Deformable ConvNets: Rethinking Dynamic and Sparse Operator for Vision Applicationscited by 49
- 2023Implicit Temporal Modeling with Learnable Alignment for Video Recognitioncited by 44
- 2023Transformers in Speech Processing: A Surveycited by 38
- 2023DilateFormer: Multi-Scale Dilated Transformer for Visual Recognitioncited by 34
- 2024Frequency-Adaptive Dilated Convolution for Semantic Segmentationcited by 34
- 2023KBNet: Kernel Basis Network for Image Restorationcited by 33
- 2022Transforming medical imaging with Transformers? A comparative review of key properties, current progresses, and future perspectivescited by 32
- 2022Reversible Column Networkscited by 32
- 2024ConvTimeNet: A Deep Hierarchical Fully Convolutional Model for Multivariate Time Series Analysiscited by 26
- 2023DAT++: Spatially Dynamic Vision Transformer with Deformable Attentioncited by 21
- 2023TransXNet: Learning Both Global and Local Dynamics with a Dual Dynamic Token Mixer for Visual Recognitioncited by 21
- 2022An Efficient Spatio-Temporal Pyramid Transformer for Action Detectioncited by 16
- 2022Understanding the Covariance Structure of Convolutional Filterscited by 16
- 2023Frequency Disentangled Features in Neural Image Compressioncited by 14
- 2023SPANet: Frequency-balancing Token Mixer using Spectral Pooling Aggregation Modulationcited by 14
- 2023DLGSANet: Lightweight Dynamic Local and Global Self-Attention Networks for Image Super-Resolutioncited by 13
- 2024HIRI-ViT: Scaling Vision Transformer with High Resolution Inputscited by 12
- 2024How Do Humans Write Code? Large Models Do It the Same Way Toocited by 11
- 2022FsaNet: Frequency Self-attention for Semantic Segmentationcited by 10
- 2025DeblurDiff: Real-World Image Deblurring with Generative Diffusion Modelscited by 8
- 2022Demystify Transformers & Convolutions in Modern Image Deep Networkscited by 7
- 2024Partial Large Kernel CNNs for Efficient Super-Resolutioncited by 7
- 2022Rethinking Attention Mechanism in Time Series Classificationcited by 5
- 2023Factorization Vision Transformer: Modeling Long Range Dependency with Local Window Costcited by 5
- 2025Emulating Self-attention with Convolution for Efficient Image Super-Resolutioncited by 5
- 2021What Makes for Hierarchical Vision Transformer?cited by 4
- 2024Enhancing Efficiency in Vision Transformer Networks: Design Techniques and Insightscited by 4
- 2025Adaptive Dual-domain Learning for Underwater Image Enhancementcited by 4
- 2022A Close Look at Spatial Modeling: From Attention to Convolutioncited by 3
- 2024Multi-step Temporal Modeling for UAV Trackingcited by 3
- 20223D Shuffle-Mixer: An Efficient Context-Aware Vision Learner of Transformer-MLP Paradigm for Dense Prediction in Medical Volumecited by 2
- 2023Interpret Vision Transformers as ConvNets with Dynamic Convolutionscited by 2
- 2024MALT: Multi-scale Action Learning Transformer for Online Action Detectioncited by 2
- 2024big.LITTLE Vision Transformer for Efficient Visual Recognitioncited by 2
- 2025Alias-Free ViT: Fractional Shift Invariance via Linear Attentioncited by 2
- 2022DMFormer: Closing the Gap Between CNN and Vision Transformerscited by 1
- 2025Unifying Convolution and Attention via Convolutional Nearest Neighborscited by 1
50 most cited of 61 All 61 (JSON)
- 2026Accelerating Vision Foundation Models with Drop-in Depthwise Convolution21 May 2026
- 2026Linear-Time Global Visual Modeling without Explicit Attention3 May 2026
- 2026Partial Ring Scan: Revisiting Scan Order in Vision State Space Models4 Feb 2026
- 2026How to Build Robust, Scalable Models for GSV-Based Indicators in Neighborhood Research10 Jan 2026
- 2025Unifying Convolution and Attention via Convolutional Nearest Neighbors18 Nov 2025
- 2025Alias-Free ViT: Fractional Shift Invariance via Linear Attention26 Oct 2025
- 2025IONext: Unlocking the Next Era of Inertial Odometry23 Jul 2025
- 2025Adaptive Dual-domain Learning for Underwater Image Enhancement27 Apr 2025
- 2025Constrained Gaussian Process Motion Planning via Stein Variational Newton Inference7 Apr 2025
- 2025Emulating Self-attention with Convolution for Efficient Image Super-Resolution9 Mar 2025
- 2025DeblurDiff: Real-World Image Deblurring with Generative Diffusion Models6 Feb 2025
- 2024big.LITTLE Vision Transformer for Efficient Visual Recognition14 Oct 2024
38 more
- 2024Unifying Dimensions: A Linear Adaptive Approach to Lightweight Image Super-Resolution26 Sep 2024
- 2024MALT: Multi-scale Action Learning Transformer for Online Action Detection31 May 2024
- 2024Demystify Mamba in Vision: A Linear Attention Perspective26 May 2024
- 2024Partial Large Kernel CNNs for Efficient Super-Resolution18 Apr 2024
- 2024Enhancing Efficiency in Vision Transformer Networks: Design Techniques and Insights28 Mar 2024
- 2024HIRI-ViT: Scaling Vision Transformer with High Resolution Inputs18 Mar 2024
- 2024Frequency-Adaptive Dilated Convolution for Semantic Segmentation8 Mar 2024
- 2024Multi-step Temporal Modeling for UAV Tracking7 Mar 2024
- 2024ConvTimeNet: A Deep Hierarchical Fully Convolutional Model for Multivariate Time Series Analysis3 Mar 2024
- 2024How Do Humans Write Code? Large Models Do It the Same Way Too24 Feb 2024
- 2024VMamba: Visual State Space Model18 Jan 2024
- 2024Efficient Deformable ConvNets: Rethinking Dynamic and Sparse Operator for Vision Applications11 Jan 2024
- 2023Factorization Vision Transformer: Modeling Long Range Dependency with Local Window Cost14 Dec 2023
- 2023TransXNet: Learning Both Global and Local Dynamics with a Dual Dynamic Token Mixer for Visual Recognition30 Oct 2023
- 2023Interpret Vision Transformers as ConvNets with Dynamic Convolutions19 Sep 2023
- 2023DAT++: Spatially Dynamic Vision Transformer with Deformable Attention4 Sep 2023
- 2023SPANet: Frequency-balancing Token Mixer using Spectral Pooling Aggregation Modulation22 Aug 2023
- 2023SCSC: Spatial Cross-scale Convolution Module to Strengthen both CNNs and Transformers14 Aug 2023
- 2023Dual Aggregation Transformer for Image Super-Resolution7 Aug 2023
- 2023Frequency Disentangled Features in Neural Image Compression4 Aug 2023
- 2023Recent Advances of Local Mechanisms in Computer Vision: A Survey and Outlook of Recent Work2 Jun 2023
- 2023Implicit Temporal Modeling with Learnable Alignment for Video Recognition20 Apr 2023
- 2023Transformer-Based Visual Segmentation: A Survey19 Apr 2023
- 2023InceptionNeXt: When Inception Meets ConvNeXt29 Mar 2023
- 2023Transformers in Speech Processing: A Survey21 Mar 2023
- 2023KBNet: Kernel Basis Network for Image Restoration6 Mar 2023
- 2023DilateFormer: Multi-Scale Dilated Transformer for Visual Recognition3 Feb 2023
- 2023DLGSANet: Lightweight Dynamic Local and Global Self-Attention Networks for Image Super-Resolution5 Jan 2023
- 2023Adaptively Clustering Neighbor Elements for Image-Text Generation5 Jan 2023
- 2022A Close Look at Spatial Modeling: From Attention to Convolution23 Dec 2022
- 2022Reversible Column Networks22 Dec 2022
- 2022Rethinking Vision Transformers for MobileNet Size and Speed15 Dec 2022
- 2022FsaNet: Frequency Self-attention for Semantic Segmentation28 Nov 2022
- 2022Conv2Former: A Simple Transformer-Style ConvNet for Visual Recognition22 Nov 2022
- 2022Demystify Transformers & Convolutions in Modern Image Deep Networks10 Nov 2022
- 2022InternImage: Exploring Large-Scale Vision Foundation Models with Deformable Convolutions10 Nov 2022
- 2022MetaFormer Baselines for Vision24 Oct 2022
- 2022Understanding the Covariance Structure of Convolutional Filters7 Oct 2022
50 newest of 61 All 61 (JSON)
- 2024Demystify Mamba in Vision: A Linear Attention Perspectivecited by 101
- 2024Demystify Mamba in Vision: A Linear Attention Perspective26 May 2024
- 2024VMamba: Visual State Space Modelcited by 955
- 2022InternImage: Exploring Large-Scale Vision Foundation Models with Deformable Convolutionscited by 479
- 2022EfficientFormer: Vision Transformers at MobileNet Speedcited by 240
- 2022More ConvNets in the 2020s: Scaling up Kernels Beyond 51x51 using Sparsitycited by 142
- 2022MetaFormer Baselines for Visioncited by 131
- 2023Transformer-Based Visual Segmentation: A Surveycited by 124
- 2023Dual Aggregation Transformer for Image Super-Resolutioncited by 124
- 2022Rethinking Vision Transformers for MobileNet Size and Speedcited by 121
- 2023InceptionNeXt: When Inception Meets ConvNeXtcited by 84
- 2022You Only Need 90K Parameters to Adapt Light: A Light Weight Transformer for Image Enhancement and Exposure Correctioncited by 81
- 2022Conv2Former: A Simple Transformer-Style ConvNet for Visual Recognitioncited by 81
- 2022LargeKernel3D: Scaling up Kernels in 3D Sparse CNNscited by 71
12 most cited of 58 All 58 (JSON)
- 2026Accelerating Vision Foundation Models with Drop-in Depthwise Convolution21 May 2026
- 2026Linear-Time Global Visual Modeling without Explicit Attention3 May 2026
- 2026Partial Ring Scan: Revisiting Scan Order in Vision State Space Models4 Feb 2026
- 2026How to Build Robust, Scalable Models for GSV-Based Indicators in Neighborhood Research10 Jan 2026
- 2025Unifying Convolution and Attention via Convolutional Nearest Neighbors18 Nov 2025
- 2025Alias-Free ViT: Fractional Shift Invariance via Linear Attention26 Oct 2025
- 2025IONext: Unlocking the Next Era of Inertial Odometry23 Jul 2025
- 2025Adaptive Dual-domain Learning for Underwater Image Enhancement27 Apr 2025
- 2025Constrained Gaussian Process Motion Planning via Stein Variational Newton Inference7 Apr 2025
- 2025Emulating Self-attention with Convolution for Efficient Image Super-Resolution9 Mar 2025
- 2024big.LITTLE Vision Transformer for Efficient Visual Recognition14 Oct 2024
- 2024Unifying Dimensions: A Linear Adaptive Approach to Lightweight Image Super-Resolution26 Sep 2024
12 newest of 58 All 58 (JSON)