Depth-Wise Convolutions in Vision Transformers for efficient training on small datasets
Neurocomputing · 2025-02 · 617 · 128998
DOI: 10.1016/j.neucom.2024.128998 ↗Kurz gefasst
Fachartikel in der Zeitschrift Neurocomputing, 2025-02. Verfasst von Tianxiao Zhang und 3 weiteren Autor:innen. Die Arbeit wurde bisher 56-mal zitiert (Crossref) und nennt 59 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0). Gefördert von: Natural Sciences and Engineering Research Council of Canada.
Abstract (Originalsprache)
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.
Förderung
- Natural Sciences and Engineering Research Council of Canada
Zitieren
APA
Zhang, T., Xu, W., Luo, B., & Wang, G. (2025). Depth-Wise Convolutions in Vision Transformers for efficient training on small datasets. Neurocomputing, 617, 128998. https://doi.org/10.1016/j.neucom.2024.128998
Vancouver
Zhang T, Xu W, Luo B, Wang G. Depth-Wise Convolutions in Vision Transformers for efficient training on small datasets. Neurocomputing. 2025;617:128998. doi:10.1016/j.neucom.2024.128998
BibTeX
@article{Zhang2025,
author = {Zhang, Tianxiao and Xu, Wenju and Luo, Bo and Wang, Guanghui},
title = {Depth-Wise Convolutions in Vision Transformers for efficient training on small datasets},
journal = {Neurocomputing},
year = {2025},
volume = {617},
pages = {128998},
doi = {10.1016/j.neucom.2024.128998}
}
EUVIMED