mlsanityData to 7 Oct 2026

Depth-Wise Convolutions in Vision Transformers for Efficient Training on Small Datasets

arXiv 2407.19394 ↗First posted 28 Jul 2024cs.CVcited by 14

Not on the map. Why?

Abstract (arXiv)

The Vision Transformer (ViT) leverages the Transformer's encoder to capture global information by dividing images into patches and achieves superior performance across various computer vision tasks. However, the self-attention mechanism of ViT captures the global context from the outset, overlooking the inherent relationships between neighboring pixels in images or videos. Transformers mainly focus on global information while ignoring the fine-grained local details. Consequently, ViT lacks inductive bias during image or video dataset training. In contrast, convolutional neural networks (CNNs), with their reliance on local filters, possess an inherent inductive bias, making them more efficient and quicker to converge than ViT with less data. In this paper, we present a lightweight Depth-Wise Convolution module as a shortcut in ViT models, bypassing entire Transformer blocks to ensure the models capture both local and global information with minimal overhead. Additionally, we introduce two architecture variants, allowing the Depth-Wise Convolution modules to be applied to multiple Transformer blocks for parameter savings, and incorporating independent parallel Depth-Wise Convolution modules with different kernels to enhance the acquisition of local information. The proposed approach significantly boosts the performance of ViT models on image classification, object detection, and instance segmentation by a large margin, especially on small datasets, as evaluated on CIFAR-10, CIFAR-100, Tiny-ImageNet and ImageNet for image classification, and COCO for object detection and instance segmentation. The source code can be accessed at https://github.com/ZTX-100/Efficient_ViT_with_DW.

Key facts. Cited by 14 papers in the map (data through 7 Oct 2026). Builds on 48 of its 59 references that are in the map. First posted on arXiv 28 Jul 2024.

Builds on

48 of 59 references.

References · 48

  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. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
  7. 2017Mask R-CNNcited by 7,259
  8. 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
  9. 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,690
  10. 2016Layer Normalizationcited by 5,579
  11. 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
  12. 2017Squeeze-and-Excitation Networkscited by 4,763
36 more
  1. 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
  2. 2017MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applicationscited by 3,827
  3. 2016Gaussian Error Linear Units (GELUs)cited by 3,431
  4. 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,875
  5. 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,960
  6. 2017Cascade R-CNN: Delving into High Quality Object Detectioncited by 1,275
  7. 2017Random Erasing Data Augmentationcited by 1,235
  8. 2021CvT: Introducing Convolutions to Vision Transformerscited by 946
  9. 2021Going deeper with Image Transformerscited by 759
  10. 2018AutoAugment: Learning Augmentation Policies from Datacited by 728
  11. 2021Twins: Revisiting the Design of Spatial Attention in Vision Transformerscited by 565
  12. 2021How to train your ViT? Data, Augmentation, and Regularization in Vision Transformerscited by 562
  13. 2021Conditional Positional Encodings for Vision Transformerscited by 402
  14. 2021ResNet strikes back: An improved training procedure in timmcited by 365
  15. 2021Bottleneck Transformers for Visual Recognitioncited by 364
  16. 2021Rethinking Spatial Dimensions of Vision Transformerscited by 361
  17. 2021CMT: Convolutional Neural Networks Meet Vision Transformerscited by 310
  18. 2021Mobile-Former: Bridging MobileNet and Transformercited by 234
  19. 2021LocalViT: Analyzing Locality in Vision Transformerscited by 228
  20. 2021ViTAE: Vision Transformer Advanced by Exploring Intrinsic Inductive Biascited by 216
  21. 2023BiFormer: Vision Transformer with Bi-Level Routing Attentioncited by 150
  22. 2021Visformer: The Vision-friendly Transformercited by 137
  23. 2022ViTAEv2: Vision Transformer Advanced by Exploring Inductive Bias for Image Recognition and Beyondcited by 117
  24. 2021Shuffle Transformer: Rethinking Spatial Shuffle for Vision Transformercited by 115
  25. 2020Talking-Heads Attentioncited by 57
  26. 2021MSG-Transformer: Exchanging Local Spatial Information by Manipulating Messenger Tokenscited by 46
  27. 2022MixFormer: Mixing Features across Windows and Dimensionscited by 43
  28. 2022Bridging the Gap Between Vision Transformers and Convolutional Neural Networks on Small Datasetscited by 28
  29. 2021PSViT: Better Vision Transformer via Token Pooling and Attention Sharingcited by 21
  30. 2022Accumulated Trivial Attention Matters in Vision Transformers on Small Datasetscited by 15
  31. 2021Audio-Visual Transformer Based Crowd Countingcited by 12
  32. 2021Miti-DETR: Object Detection based on Transformers with Mitigatory Self-Attention Convergencecited by 12
  33. 2022Aggregating Global Features into Local Vision Transformercited by 10
  34. 2024SuperLoRA: Parameter-Efficient Unified Adaptation of Multi-Layer Attention Modulescited by 10
  35. 2023DiT: Efficient Vision Transformers with Dynamic Token Routingcited by 3
  36. 2022DMFormer: Closing the Gap Between CNN and Vision Transformerscited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 8; 2026: 5.

14 papers.

Sort:

By area: