mlsanityData to 7 Oct 2026

On the Connection between Local Attention and Dynamic Depth-wise Convolution

arXiv 2106.04263 ↗First posted 8 Jun 2021cs.CVcited by 61

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

  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. 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
  7. 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,415
  8. 2016Layer Normalizationcited by 5,579
  9. 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
  10. 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,773
  11. 2017Squeeze-and-Excitation Networkscited by 4,763
  12. 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
38 more
  1. 2017MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applicationscited by 3,827
  2. 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,875
  3. 2016Aggregated Residual Transformations for Deep Neural Networkscited by 2,540
  4. 2016Xception: Deep Learning with Depthwise Separable Convolutionscited by 2,320
  5. 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,261
  6. 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,960
  7. 2021MLP-Mixer: An all-MLP Architecture for Visioncited by 1,441
  8. 2019Deep High-Resolution Representation Learning for Visual Recognitioncited by 1,417
  9. 2019Deep High-Resolution Representation Learning for Human Pose Estimationcited by 1,339
  10. 2018Unified Perceptual Parsing for Scene Understandingcited by 1,265
  11. 2017Random Erasing Data Augmentationcited by 1,235
  12. 2017ShuffleNet: An Extremely Efficient Convolutional Neural Network for Mobile Devicescited by 1,194
  13. 2018ShuffleNet V2: Practical Guidelines for Efficient CNN Architecture Designcited by 1,132
  14. 2021EfficientNetV2: Smaller Models and Faster Trainingcited by 1,127
  15. 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,096
  16. 2021Transformers in Vision: A Surveycited by 1,009
  17. 2016Deep Networks with Stochastic Depthcited by 973
  18. 2021CvT: Introducing Convolutions to Vision Transformerscited by 946
  19. 2020Pre-Trained Image Processing Transformercited by 891
  20. 2018CCNet: Criss-Cross Attention for Semantic Segmentationcited by 717
  21. 2021Transformer in Transformercited by 632
  22. 2019Stand-Alone Self-Attention in Vision Modelscited by 542
  23. 2021ConViT: Improving Vision Transformers with Soft Convolutional Inductive Biasescited by 484
  24. 2020Hopfield Networks is All You Needcited by 461
  25. 2019Cascade R-CNN: High Quality Object Detection and Instance Segmentationcited by 428
  26. 2021Pay Attention to MLPscited by 367
  27. 2021Rethinking Spatial Dimensions of Vision Transformerscited by 361
  28. 2021ResMLP: Feedforward networks for image classification with data-efficient trainingcited by 338
  29. 2020Are we done with ImageNet?cited by 329
  30. 2016Dynamic Filter Networkscited by 318
  31. 2020Exploring Self-attention for Image Recognitioncited by 313
  32. 2019On the Relationship between Self-Attention and Convolutional Layerscited by 299
  33. 2021DeepViT: Towards Deeper Vision Transformercited by 288
  34. 2021Incorporating Convolution Designs into Visual Transformerscited by 248
  35. 2021Co-Scale Conv-Attentional Image Transformerscited by 224
  36. 2021Scaling Local Self-Attention for Parameter Efficient Visual Backbonescited by 220
  37. 2019Pay Less Attention with Lightweight and Dynamic Convolutionscited by 211
  38. 2019Local Relation Networks for Image Recognitioncited by 210

50 most cited of 61 All 61 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 1; 2022: 19; 2023: 17; 2024: 13; 2025: 7; 2026: 4.

61 papers.

Sort:

By area:

  1. 2024VMamba: Visual State Space Modelcited by 955
  2. 2022InternImage: Exploring Large-Scale Vision Foundation Models with Deformable Convolutionscited by 479
  3. 2022EfficientFormer: Vision Transformers at MobileNet Speedcited by 240
  4. 2022More ConvNets in the 2020s: Scaling up Kernels Beyond 51x51 using Sparsitycited by 142
  5. 2022MetaFormer Baselines for Visioncited by 131
  6. 2023Transformer-Based Visual Segmentation: A Surveycited by 124
  7. 2023Dual Aggregation Transformer for Image Super-Resolutioncited by 124
  8. 2022Rethinking Vision Transformers for MobileNet Size and Speedcited by 121
  9. 2024Demystify Mamba in Vision: A Linear Attention Perspectivecited by 101
  10. 2023InceptionNeXt: When Inception Meets ConvNeXtcited by 84
  11. 2022You Only Need 90K Parameters to Adapt Light: A Light Weight Transformer for Image Enhancement and Exposure Correctioncited by 81
  12. 2022Conv2Former: A Simple Transformer-Style ConvNet for Visual Recognitioncited by 81
38 more
  1. 2022LargeKernel3D: Scaling up Kernels in 3D Sparse CNNscited by 71
  2. 2024Efficient Deformable ConvNets: Rethinking Dynamic and Sparse Operator for Vision Applicationscited by 49
  3. 2023Implicit Temporal Modeling with Learnable Alignment for Video Recognitioncited by 44
  4. 2023Transformers in Speech Processing: A Surveycited by 38
  5. 2023DilateFormer: Multi-Scale Dilated Transformer for Visual Recognitioncited by 34
  6. 2024Frequency-Adaptive Dilated Convolution for Semantic Segmentationcited by 34
  7. 2023KBNet: Kernel Basis Network for Image Restorationcited by 33
  8. 2022Transforming medical imaging with Transformers? A comparative review of key properties, current progresses, and future perspectivescited by 32
  9. 2022Reversible Column Networkscited by 32
  10. 2024ConvTimeNet: A Deep Hierarchical Fully Convolutional Model for Multivariate Time Series Analysiscited by 26
  11. 2023DAT++: Spatially Dynamic Vision Transformer with Deformable Attentioncited by 21
  12. 2023TransXNet: Learning Both Global and Local Dynamics with a Dual Dynamic Token Mixer for Visual Recognitioncited by 21
  13. 2022An Efficient Spatio-Temporal Pyramid Transformer for Action Detectioncited by 16
  14. 2022Understanding the Covariance Structure of Convolutional Filterscited by 16
  15. 2023Frequency Disentangled Features in Neural Image Compressioncited by 14
  16. 2023SPANet: Frequency-balancing Token Mixer using Spectral Pooling Aggregation Modulationcited by 14
  17. 2023DLGSANet: Lightweight Dynamic Local and Global Self-Attention Networks for Image Super-Resolutioncited by 13
  18. 2024HIRI-ViT: Scaling Vision Transformer with High Resolution Inputscited by 12
  19. 2024How Do Humans Write Code? Large Models Do It the Same Way Toocited by 11
  20. 2022FsaNet: Frequency Self-attention for Semantic Segmentationcited by 10
  21. 2025DeblurDiff: Real-World Image Deblurring with Generative Diffusion Modelscited by 8
  22. 2022Demystify Transformers & Convolutions in Modern Image Deep Networkscited by 7
  23. 2024Partial Large Kernel CNNs for Efficient Super-Resolutioncited by 7
  24. 2022Rethinking Attention Mechanism in Time Series Classificationcited by 5
  25. 2023Factorization Vision Transformer: Modeling Long Range Dependency with Local Window Costcited by 5
  26. 2025Emulating Self-attention with Convolution for Efficient Image Super-Resolutioncited by 5
  27. 2021What Makes for Hierarchical Vision Transformer?cited by 4
  28. 2024Enhancing Efficiency in Vision Transformer Networks: Design Techniques and Insightscited by 4
  29. 2025Adaptive Dual-domain Learning for Underwater Image Enhancementcited by 4
  30. 2022A Close Look at Spatial Modeling: From Attention to Convolutioncited by 3
  31. 2024Multi-step Temporal Modeling for UAV Trackingcited by 3
  32. 20223D Shuffle-Mixer: An Efficient Context-Aware Vision Learner of Transformer-MLP Paradigm for Dense Prediction in Medical Volumecited by 2
  33. 2023Interpret Vision Transformers as ConvNets with Dynamic Convolutionscited by 2
  34. 2024MALT: Multi-scale Action Learning Transformer for Online Action Detectioncited by 2
  35. 2024big.LITTLE Vision Transformer for Efficient Visual Recognitioncited by 2
  36. 2025Alias-Free ViT: Fractional Shift Invariance via Linear Attentioncited by 2
  37. 2022DMFormer: Closing the Gap Between CNN and Vision Transformerscited by 1
  38. 2025Unifying Convolution and Attention via Convolutional Nearest Neighborscited by 1

50 most cited of 61 All 61 (JSON)