mlsanityData to 7 Oct 2026

Interpret Vision Transformers as ConvNets with Dynamic Convolutions

arXiv 2309.10713 ↗First posted 19 Sep 2023cs.CVcited by 2

Not on the map. Why?

Abstract (arXiv)

There has been a debate about the superiority between vision Transformers and ConvNets, serving as the backbone of computer vision models. Although they are usually considered as two completely different architectures, in this paper, we interpret vision Transformers as ConvNets with dynamic convolutions, which enables us to characterize existing Transformers and dynamic ConvNets in a unified framework and compare their design choices side by side. In addition, our interpretation can also guide the network design as researchers now can consider vision Transformers from the design space of ConvNets and vice versa. We demonstrate such potential through two specific studies. First, we inspect the role of softmax in vision Transformers as the activation function and find it can be replaced by commonly used ConvNets modules, such as ReLU and Layer Normalization, which results in a faster convergence rate and better performance. Second, following the design of depth-wise convolution, we create a corresponding depth-wise vision Transformer that is more efficient with comparable performance. The potential of the proposed unified interpretation is not limited to the given examples and we hope it can inspire the community and give rise to more advanced network architectures.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 33 of its 40 references that are in the map. First posted on arXiv 19 Sep 2023.

Builds on

33 of 40 references.

References · 33

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  4. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
  5. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  6. 2020End-to-End Object Detection with Transformerscited by 7,384
  7. 2016Layer Normalizationcited by 5,579
  8. 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
  9. 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 4,993
  10. 2017Squeeze-and-Excitation Networkscited by 4,763
  11. 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
  12. 2022A ConvNet for the 2020scited by 3,545
21 more
  1. 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,875
  2. 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,261
  3. 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,960
  4. 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
  5. 2020Rethinking Semantic Segmentation from a Sequence-to-Sequence Perspective with Transformerscited by 1,368
  6. 2017Random Erasing Data Augmentationcited by 1,235
  7. 2016Deep Networks with Stochastic Depthcited by 973
  8. 2020Designing Network Design Spacescited by 954
  9. 2021CvT: Introducing Convolutions to Vision Transformerscited by 946
  10. 2019Dynamic Convolution: Attention over Convolution Kernelscited by 355
  11. 2016Dynamic Filter Networkscited by 318
  12. 2019On the Relationship between Self-Attention and Convolutional Layerscited by 299
  13. 2021Incorporating Convolution Designs into Visual Transformerscited by 248
  14. 2019Pay Less Attention with Lightweight and Dynamic Convolutionscited by 211
  15. 2022Scaling Up Your Kernels to 31x31: Revisiting Large Kernel Design in CNNscited by 155
  16. 2018Gather-Excite: Exploiting Feature Context in Convolutional Neural Networkscited by 138
  17. 2021Involution: Inverting the Inherence of Convolution for Visual Recognitioncited by 99
  18. 2021On the Integration of Self-Attention and Convolutioncited by 74
  19. 2021On the Connection between Local Attention and Dynamic Depth-wise Convolutioncited by 61
  20. 2021Are Pre-trained Convolutions Better than Pre-trained Transformers?cited by 27
  21. 2019Convolution, attention and structure embeddingcited by 15

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 0; 2026: 1.

2 papers.