Depth-Wise Convolutions in Vision Transformers for Efficient Training on Small Datasets
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
- 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
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
- 2017Mask R-CNNcited by 7,259
- 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
- 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,690
- 2016Layer Normalizationcited by 5,579
- 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
- 2017Squeeze-and-Excitation Networkscited by 4,763
36 more
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2017MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applicationscited by 3,827
- 2016Gaussian Error Linear Units (GELUs)cited by 3,431
- 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,875
- 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,960
- 2017Cascade R-CNN: Delving into High Quality Object Detectioncited by 1,275
- 2017Random Erasing Data Augmentationcited by 1,235
- 2021CvT: Introducing Convolutions to Vision Transformerscited by 946
- 2021Going deeper with Image Transformerscited by 759
- 2018AutoAugment: Learning Augmentation Policies from Datacited by 728
- 2021Twins: Revisiting the Design of Spatial Attention in Vision Transformerscited by 565
- 2021How to train your ViT? Data, Augmentation, and Regularization in Vision Transformerscited by 562
- 2021Conditional Positional Encodings for Vision Transformerscited by 402
- 2021ResNet strikes back: An improved training procedure in timmcited by 365
- 2021Bottleneck Transformers for Visual Recognitioncited by 364
- 2021Rethinking Spatial Dimensions of Vision Transformerscited by 361
- 2021CMT: Convolutional Neural Networks Meet Vision Transformerscited by 310
- 2021Mobile-Former: Bridging MobileNet and Transformercited by 234
- 2021LocalViT: Analyzing Locality in Vision Transformerscited by 228
- 2021ViTAE: Vision Transformer Advanced by Exploring Intrinsic Inductive Biascited by 216
- 2023BiFormer: Vision Transformer with Bi-Level Routing Attentioncited by 150
- 2021Visformer: The Vision-friendly Transformercited by 137
- 2022ViTAEv2: Vision Transformer Advanced by Exploring Inductive Bias for Image Recognition and Beyondcited by 117
- 2021Shuffle Transformer: Rethinking Spatial Shuffle for Vision Transformercited by 115
- 2020Talking-Heads Attentioncited by 57
- 2021MSG-Transformer: Exchanging Local Spatial Information by Manipulating Messenger Tokenscited by 46
- 2022MixFormer: Mixing Features across Windows and Dimensionscited by 43
- 2022Bridging the Gap Between Vision Transformers and Convolutional Neural Networks on Small Datasetscited by 28
- 2021PSViT: Better Vision Transformer via Token Pooling and Attention Sharingcited by 21
- 2022Accumulated Trivial Attention Matters in Vision Transformers on Small Datasetscited by 15
- 2021Audio-Visual Transformer Based Crowd Countingcited by 12
- 2021Miti-DETR: Object Detection based on Transformers with Mitigatory Self-Attention Convergencecited by 12
- 2022Aggregating Global Features into Local Vision Transformercited by 10
- 2024SuperLoRA: Parameter-Efficient Unified Adaptation of Multi-Layer Attention Modulescited by 10
- 2023DiT: Efficient Vision Transformers with Dynamic Token Routingcited by 3
- 2022DMFormer: Closing the Gap Between CNN and Vision Transformerscited by 1
Built on by
Citing papers per year: 2024: 1; 2025: 8; 2026: 5.
14 papers.
Sort:
By area:
- 2025A Survey on Mamba Architecture for Vision Applicationscited by 8
- 2025PF3Det: A Prompted Foundation Feature Assisted Visual LiDAR 3D Detectorcited by 4
- 2025Alias-Free ViT: Fractional Shift Invariance via Linear Attentioncited by 2
- 2024Beyond Isolated Heads: Multi-Overlapped-Head Self-Attention for Vision Transformerscited by 1
- 2025Powerful Design of Small Vision Transformer on CIFAR10cited by 1
- 2025A Lightweight Convolution and Vision Transformer integrated model with Multi-scale Self-attention Mechanismcited by 1
- 2025Tracking Moose using Aerial Object Detectioncited by 0
- 2025Rethinking Vision Transformer Depth via Structural Reparameterizationcited by 0
- 2025TCLeaf-Net: a transformer-convolution framework with global-local attention for robust in-field lesion-level plant leaf disease detectioncited by 0
- 2026Motivation is Something You Needcited by 0
- 2026HAViT: Historical Attention Vision Transformercited by 0
- 2026UtVAA: Ultra-tiny Vision Transformer with Affix Attention for Mobile Image Classificationcited by 0
2 more
- 2026Convolution for Large Language Modelscited by 0
- 2026Geometric 2D Scene Graph Generationcited by 0
- 2026Geometric 2D Scene Graph Generation24 Jul 2026
- 2026Convolution for Large Language Models20 Jul 2026
- 2026UtVAA: Ultra-tiny Vision Transformer with Affix Attention for Mobile Image Classification2 Jun 2026
- 2026HAViT: Historical Attention Vision Transformer19 Mar 2026
- 2026Motivation is Something You Need24 Feb 2026
- 2025TCLeaf-Net: a transformer-convolution framework with global-local attention for robust in-field lesion-level plant leaf disease detection13 Dec 2025
- 2025Rethinking Vision Transformer Depth via Structural Reparameterization24 Nov 2025
- 2025Alias-Free ViT: Fractional Shift Invariance via Linear Attention26 Oct 2025
- 2025A Lightweight Convolution and Vision Transformer integrated model with Multi-scale Self-attention Mechanism23 Aug 2025
- 2025Tracking Moose using Aerial Object Detection28 Jul 2025
- 2025PF3Det: A Prompted Foundation Feature Assisted Visual LiDAR 3D Detector4 Apr 2025
- 2025A Survey on Mamba Architecture for Vision Applications11 Feb 2025
2 more
- 2025A Survey on Mamba Architecture for Vision Applicationscited by 8
- 2025A Survey on Mamba Architecture for Vision Applications11 Feb 2025
- 2025PF3Det: A Prompted Foundation Feature Assisted Visual LiDAR 3D Detectorcited by 4
- 2025Alias-Free ViT: Fractional Shift Invariance via Linear Attentioncited by 2
- 2024Beyond Isolated Heads: Multi-Overlapped-Head Self-Attention for Vision Transformerscited by 1
- 2025Powerful Design of Small Vision Transformer on CIFAR10cited by 1
- 2025A Lightweight Convolution and Vision Transformer integrated model with Multi-scale Self-attention Mechanismcited by 1
- 2025Tracking Moose using Aerial Object Detectioncited by 0
- 2025TCLeaf-Net: a transformer-convolution framework with global-local attention for robust in-field lesion-level plant leaf disease detectioncited by 0
- 2026Motivation is Something You Needcited by 0
- 2026HAViT: Historical Attention Vision Transformercited by 0
- 2026UtVAA: Ultra-tiny Vision Transformer with Affix Attention for Mobile Image Classificationcited by 0
- 2026Convolution for Large Language Modelscited by 0
- 2026Geometric 2D Scene Graph Generationcited by 0
- 2026Geometric 2D Scene Graph Generation24 Jul 2026
- 2026Convolution for Large Language Models20 Jul 2026
- 2026UtVAA: Ultra-tiny Vision Transformer with Affix Attention for Mobile Image Classification2 Jun 2026
- 2026HAViT: Historical Attention Vision Transformer19 Mar 2026
- 2026Motivation is Something You Need24 Feb 2026
- 2025TCLeaf-Net: a transformer-convolution framework with global-local attention for robust in-field lesion-level plant leaf disease detection13 Dec 2025
- 2025Alias-Free ViT: Fractional Shift Invariance via Linear Attention26 Oct 2025
- 2025A Lightweight Convolution and Vision Transformer integrated model with Multi-scale Self-attention Mechanism23 Aug 2025
- 2025Tracking Moose using Aerial Object Detection28 Jul 2025
- 2025PF3Det: A Prompted Foundation Feature Assisted Visual LiDAR 3D Detector4 Apr 2025
- 2025Powerful Design of Small Vision Transformer on CIFAR107 Jan 2025
- 2024Beyond Isolated Heads: Multi-Overlapped-Head Self-Attention for Vision Transformers18 Oct 2024