CvT: Introducing Convolutions to Vision Transformers
Open accessThe DOI matches its Crossref record; 31 of the 31 references it cites were found in a registry or an index.
Abstract
We present in this paper a new architecture, named Convolutional vision Transformer (CvT), that improves Vision Transformer (ViT) in performance and efficiency by introducing convolutions into ViT to yield the best of both de-signs. This is accomplished through two primary modifications: a hierarchy of Transformers containing a new convolutional token embedding, and a convolutional Transformer block leveraging a convolutional projection. These changes introduce desirable properties of convolutional neural networks (CNNs) to the ViT architecture (i.e. shift, scale, and distortion invariance) while maintaining the merits of Transformers (i.e. dynamic attention, global context, and better generalization). We validate CvT by conducting extensive experiments, showing that this approach achieves state-of-the-art performance over other Vision Transformers and ResNets on ImageNet-1k, with fewer parameters and lower FLOPs. In addition, performance gains are maintained when pretrained on larger datasets (e.g. ImageNet-22k) and fine-tuned to downstream tasks. Pretrained on ImageNet-22k, our CvT-W24 obtains a top-1 accuracy of 87.7% on the ImageNet-1k val set. Finally, our results show that the positional encoding, a crucial component in existing Vision Transformers, can be safely re-moved in our model, simplifying the design for higher resolution vision tasks. Code will be released at https://github.com/microsoft/CvT.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Deep Residual Learning for Image Recognition
He, K., Zhang, X., Ren, S., & Sun, J. (2016) · 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr.2016.90 · Cited by 235,474
BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
Devlin, J., Chang, M.-W., Lee, K., & Toutanova, K. (2018) · arXiv · doi:10.48550/arxiv.1810.04805 · Cited by 73,173
ImageNet: A large-scale hierarchical image database
Deng, J., Dong, W., Socher, R., Li, L.-J., Li, K., & Fei-Fei, L. (2009) · 2009 IEEE Conference on Computer Vision and Pattern Recognition · doi:10.1109/cvpr.2009.5206848 · Cited by 65,333
BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
Devlin, J., Chang, M.-W., Lee, K., & Toutanova, K. (2019) · Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers) · doi:10.18653/v1/n19-1423 · Cited by 54,325
Xception: Deep Learning with Depthwise Separable Convolutions
Chollet, F. (2017) · 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr.2017.195 · Cited by 20,380 · cited 3×
“…where x q/k/vi is the token input for Q/K/V matrices at layer i , x i is the unperturbed token prior to the Convolu-tional Projection, Conv2d is a depth-wise separable convolution [5] implemented by: Depth-wise Conv2d → BatchNorm2d → Point-wise Conv2d , and s refers to the convolution kernel size.”
BackgroundMethodInfluentialMobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applications
Howard, A. G., Zhu, M., Chen, B., Kalenichenko, D., Wang, W., Weyand, T., Andreetto, M., & Adam, H. (2017) · arXiv · doi:10.48550/arxiv.1704.04861 · Cited by 19,015 · cited 1×
“Instead, we split the standard s × s convolution into a depth-wise separable convolution [16].”
MethodEnd-to-End Object Detection with Transformers
Carion, N., Massa, F., Synnaeve, G., Usunier, N., Kirillov, A., & Zagoruyko, S. (2020) · arXiv · doi:10.48550/arxiv.2005.12872 · Cited by 18,253 · cited 1×
“…as a viable alternative to the convolutional neural networks (CNNs) in visual recognition tasks, such as classification [11, 30], object detection [3, 45, 43, 8, 28], segmentation [33, 36], image enhancement [4, 40], image generation [24], video processing [42, 44] and 3D point cloud processing…”
BackgroundEfficientNet: Rethinking Model Scaling for Convolutional Neural Networks
Tan, M., & Le, Q. V. (2019) · arXiv · doi:10.48550/arxiv.1905.11946 · Cited by 17,072 · cited 1×
“ResNets [14], EfficientNet [28]) on image classification when the data is large enough (i.”
BackgroundDecoupled Weight Decay Regularization
Loshchilov, I., & Hutter, F. (2017) · arXiv · doi:10.48550/arxiv.1711.05101 · Cited by 12,522
Wang, X., Girshick, R., Gupta, A., & He, K. (2018) · 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition · doi:10.1109/cvpr.2018.00813 · Cited by 11,596
Cited by
Items 101–138 of 138
Yao, T., Li, Y., Pan, Y., Wang, Y., Zhang, X.-P., & Mei, T. (2023) · IEEE Transactions on Pattern Analysis and Machine Intelligence · doi:10.1109/tpami.2023.3268446 · Cited by 174
“Network Res Params GFLOPs Top-1 Top-5 Network Res Params GFLOPs Top-1 Top-5 Small Base CvT-13 [49] 384 20.”
BackgroundVision Transformers for Image Classification: A Comparative Survey
Wang, Y., Deng, Y., Zheng, Y., Chattopadhyay, P., & Wang, L. (2025) · Technologies · doi:10.3390/technologies13010032 · Cited by 174
“The Convolutional Vision Transformer (CvT) [49] serves as a representative model that integrates CNNs and transformers.”
InfluentialVision Permutator: A Permutable MLP-Like Architecture for Visual Recognition
Hou, Q., Jiang, Z., Yuan, L., Cheng, M.-M., Yan, S., & Feng, J. (2023) · IEEE Transactions on Pattern Analysis and Machine Intelligence · doi:10.1109/tpami.2022.3145427 · Cited by 170
“Since then, a great number of transformer-based classification models appear, aiming at advancing the original vision transformer by either introducing locality [9], [25], [26], [27], [28], [29], or scaling the depth [8], [30], or tailoring powerful optimization strategies [7].”
BackgroundSelf-citationF 2 Trans: High-Frequency Fine-Grained Transformer for Face Forgery Detection
Miao, C., Tan, Z., Chu, Q., Liu, H., Hu, H., & Yu, N. (2023) · IEEE Transactions on Information Forensics and Security · doi:10.1109/tifs.2022.3233774 · Cited by 172
SPViT: Enabling Faster Vision Transformers via Latency-Aware Soft Token Pruning
Kong, Z., Dong, P., Ma, X., Meng, X., Niu, W., Sun, M., Shen, X., Yuan, G., Ren, B., Tang, H., et al. (2022) · Lecture Notes in Computer Science · doi:10.1007/978-3-031-20083-0_37 · Cited by 169
“We compare our method with several representative methods including DynamicViT [69], IA-RED2 [64], RegNetY [67], CrossViT [7], VTP [112], ATS [28], CvT [85], PVT [83], T2T-ViT [104], UP-DeiT [95], PS-ViT [78], Evo-ViT [89], TNT [34], HVT [65], Swin [49], CoaT [88], CPVT [18], EViT [46], UVC [97], MD-DeiT [39],and S2Vi…”
MethodScribFormer: Transformer Makes CNN Work Better for Scribble-Based Medical Image Segmentation
Li, Z., Zheng, Y., Shan, D., Yang, S., Li, Q., Wang, B., Zhang, Y., Hong, Q., & Shen, D. (2024) · IEEE Transactions on Medical Imaging · doi:10.1109/tmi.2024.3363190 · Cited by 169
“Hybrid combinations of CNN and ViT architectures have been developed [13], [14], [15], [16] to take advantage of their respective strengths.”
BackgroundSwinTextSpotter: Scene Text Spotting via Better Synergy between Text Detection and Text Recognition
Huang, M., Liu, Y., Peng, Z., Liu, C., Lin, D., Zhu, S., Yuan, N., Ding, K., & Jin, L. (2022) · 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr52688.2022.00455 · Cited by 167
“To achieve such receptive field, as illustrated in Figure 3, we incorporate two dilated convolution layers [63], one vanilla convolution layers and one residual structure into the original Swin-Transformer, which also introduce the properties of CNN to Transformer [59].”
MethodLite Vision Transformer with Enhanced Self-Attention
Yang, C., Wang, Y., Zhang, J., Zhang, H., Wei, Z., Lin, Z., & Yuille, A. (2022) · 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr52688.2022.01169 · Cited by 164
“2 CvT-13 [57] 81 .”
BackgroundMethodInfluentialThe Fully Convolutional Transformer for Medical Image Segmentation
Tragakis, A., Kaul, C., Murray-Smith, R., & Husmeier, D. (2023) · 2023 IEEE/CVF Winter Conference on Applications of Computer Vision (WACV) · doi:10.1109/wacv56688.2023.00365 · Cited by 164
“Recently proposed architectures such as ViT [7] have surpassed the performance of CNNs on benchmark imaging tasks, and many recent improvements to ViT such as CvT [31], CCT [8] and Swin Transformer [21] have shown how transformers do not need to be bulky, data hungry models, and can even work with small amounts of dat…”
BackgroundMethodInfluentialReview of Lightweight Deep Convolutional Neural Networks
Chen, F., Li, S., Han, J., Ren, F., & Yang, Z. (2024) · Archives of Computational Methods in Engineering · doi:10.1007/s11831-023-10032-z · Cited by 164
Low-Light Image Enhancement via Structure Modeling and Guidance
Xu, X., Wang, R., & Lu, J. (2023) · 2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr52729.2023.00954 · Cited by 163
“The transformer blocks are proven to have extraordinary ability in the long-range modeling [4, 25, 52, 53, 65, 66], and the CNN blocks are capable of extracting short-range characteristics.”
BackgroundLightweight transformer image feature extraction network
Zheng, W., Lu, S., Yang, Y., Yin, Z., & Yin, L. (2024) · PeerJ Computer Science · doi:10.7717/peerj-cs.1755 · Cited by 162
“From the perspective of introducing convolutional induction bias, there are also many efficient improvements, such as ViTAE ( Xu et al., 2021 ), ConViT ( d’Ascoli et al., 2021 ), PiT ( Heo et al., 2021 ), CvT ( Wu et al., 2021 ).”
Improving chest X-ray report generation by leveraging warm starting
Nicolson, A., Dowling, J., & Koopman, B. (2023) · Artificial Intelligence in Medicine · doi:10.1016/j.artmed.2023.102633 · Cited by 161
Su, Y., Liu, Q., Xie, W., & Hu, P. (2022) · Computer Methods and Programs in Biomedicine · doi:10.1016/j.cmpb.2022.106903 · Cited by 160
FormerLeaf: An efficient vision transformer for Cassava Leaf Disease detection
Thai, H.-T., Le, K.-H., & Nguyen, N. L.-T. (2023) · Computers and Electronics in Agriculture · doi:10.1016/j.compag.2022.107518 · Cited by 160
Real-Time Object Detection Network in UAV-Vision Based on CNN and Transformer
Ye, T., Qin, W., Zhao, Z., Gao, X., Deng, X., & Ouyang, Y. (2023) · IEEE Transactions on Instrumentation and Measurement · doi:10.1109/tim.2023.3241825 · Cited by 160
“…the input image directly, and it is difficult to extract the detailed information in the images and 2) the computation burden and memory of MHSA in transformer grow quadratically with the growth of the spatial dimension, resulting in significant training and inference overhead [26], [34], [37].”
BackgroundZhang, Z., Zhang, H., Zhao, L., Chen, T., Arik, S. Ö., & Pfister, T. (2022) · Proceedings of the AAAI Conference on Artificial Intelligence · doi:10.1609/aaai.v36i3.20252 · Cited by 159
“Note that the resulting design shares some similarities with recent works that combine transformer and convolutional networks (Wu et al. 2021; Yuan et al. 2021; Bello 2021) as specialized hybrid structures.”
BackgroundHSNet: A hybrid semantic network for polyp segmentation
Zhang, W., Fu, C., Zheng, Y., Zhang, F., Zhao, Y., & Sham, C.-W. (2022) · Computers in Biology and Medicine · doi:10.1016/j.compbiomed.2022.106173 · Cited by 159
Bayoudh, K. (2024) · Information Fusion · doi:10.1016/j.inffus.2023.102217 · Cited by 159
All Tokens Matter: Token Labeling for Training Better Vision Transformers
Jiang, Z., Hou, Q., Yuan, L., Zhou, D., Shi, Y., Jin, X., Wang, A., & Feng, J. (2021) · arXiv · doi:10.48550/arxiv.2104.10858 · Cited by 158
“CvT [39] proposes a convolutional token embedding layer for patch embedding as well as a convolutional projection for self-attention layer to extract local information.”
BackgroundSelf-citationViTCoD: Vision Transformer Acceleration via Dedicated Algorithm and Accelerator Co-Design
You, H., Sun, Z., Shi, H., Yu, Z., Zhao, Y., Zhang, Y., Li, C., Li, B., & Lin, Y. (2023) · 2023 IEEE International Symposium on High-Performance Computer Architecture (HPCA) · doi:10.1109/hpca56546.2023.10071027 · Cited by 138
HeatViT: Hardware-Efficient Adaptive Token Pruning for Vision Transformers
Dong, P., Sun, M., Lu, A., Xie, Y., Liu, K., Kong, Z., Meng, X., Li, Z., Lin, X., Fang, Z., et al. (2023) · 2023 IEEE International Symposium on High-Performance Computer Architecture (HPCA) · doi:10.1109/hpca56546.2023.10071047 · Cited by 128
HRFormer: High-Resolution Transformer for Dense Prediction
Yuan, Y., Fu, R., Huang, L., Lin, W., Zhang, C., Chen, X., & Wang, J. (2021) · arXiv · doi:10.48550/arxiv.2110.09408 · Cited by 178
“They have shown that increasing the spatial resolution of the representations output by the Vision Transformer is important for semantic segmen- tation.”
BackgroundMethodInfluentialNeural Architecture Search for Transformers: A Survey
Chitty-Venkata, K. T., Emani, M., Vishwanath, V., & Somani, A. K. (2022) · IEEE Access · doi:10.1109/access.2022.3212767 · Cited by 118
Dynamic YOLO for small underwater object detection
Chen, J., & Er, M. J. (2024) · Artificial Intelligence Review · doi:10.1007/s10462-024-10788-1 · Cited by 110
“This limitation has prompted researchers to reintroduce convolution modules into the framework (Wu et al. 2021).”
Spatio-temporal segments attention for skeleton-based action recognition
Qiu, H., Hou, B., Ren, B., & Zhang, X. (2023) · Neurocomputing · doi:10.1016/j.neucom.2022.10.084 · Cited by 86
Transformers for Vision: A Survey on Innovative Methods for Computer Vision
Palanisamy, B., Hassija, V., Chatterjee, A., Mandal, A., Chakraborty, D., Pandey, A., Chalapathi, G. S. S., & Kumar, D. (2025) · IEEE Access · doi:10.1109/access.2025.3571735 · Cited by 83
“The Convolutional Vision Transformer (CvT) [15] is a hybrid Vision Transformer that integrates convolutional layers into the standard ViT framework to improve efficiency, feature extraction, and inductive biases.”
IA-RED$^2$: Interpretability-Aware Redundancy Reduction for Vision Transformers
Pan, B., Panda, R., Jiang, Y., Wang, Z., Feris, R., & Oliva, A. (2021) · arXiv · doi:10.48550/arxiv.2106.12620 · Cited by 70
DeepFake-Adapter: Dual-Level Adapter for DeepFake Detection
Shao, R., Wu, T., Nie, L., & Liu, Z. (2025) · International Journal of Computer Vision · doi:10.1007/s11263-024-02274-6 · Cited by 48
“Inspired by recent works (Yuan et al., 2021; Wu et al., 2021) that integrate convolutional operations of CNNs into a ViT, we introduce the convolution-based head part of LSA.”
Vision Transformers with Patch Diversification
Gong, C., Wang, D., Li, M., Chandra, V., & Liu, Q. (2021) · arXiv · doi:10.48550/arxiv.2104.12753 · Cited by 41
“3 Main Results on ImageNet We compare with recent advances of vision transformers, including transformer and CNN hybrids (Jiang et al., 2021; Wu et al., 2021), SWIN transformer (Liu et al.”
BackgroundMethodInfluentialGalaxy morphology classification based on Convolutional vision Transformer (CvT)
Cao, J., Xu, T., Deng, Y., Deng, L., Yang, M., Liu, Z., & Zhou, W. (2024) · Astronomy & Astrophysics · doi:10.1051/0004-6361/202348544 · Cited by 32
Soft Error Reliability Analysis of Vision Transformers
Xue, X., Liu, C., Wang, Y., Yang, B., Luo, T., Zhang, L., Li, H., & Li, X. (2023) · IEEE Transactions on Very Large Scale Integration (VLSI) Systems · doi:10.1109/tvlsi.2023.3317138 · Cited by 35
“Motivated by the success of ViT [1], numerous variants have been proposed to improve ViTs from different angles such as novel training strategies [2], [3], effective self-attention mechanisms [4], [5], and combining with classical neural network layers [6], [7], [8].”
MethodSelf-citationMRFTrans: Multimodal representation fusion transformer for monocular 3D semantic scene completion
Xu, R., Zhang, J., Sun, J., Wang, C., Wu, Y., Xu, S., Meng, W., & Zhang, X. (2024) · Information Fusion · doi:10.1016/j.inffus.2024.102493 · Cited by 24
TFormer: A Transmission-Friendly ViT Model for IoT Devices
Lu, Z., Ding, C., Juefei-Xu, F., Boddeti, V. N., Wang, S., & Yang, Y. (2023) · IEEE Transactions on Parallel and Distributed Systems · doi:10.1109/tpds.2022.3222765 · Cited by 24
“[33] introduced convolution in the standard transformer to improve the performance of the”
Vision Transformers: From Semantic Segmentation to Dense Prediction
Zhang, L., Lu, J., Zheng, S., Zhao, X., Zhu, X., Fu, Y., Xiang, T., Feng, J., & Torr, P. H. S. (2024) · International Journal of Computer Vision · doi:10.1007/s11263-024-02173-w · Cited by 23
Self-citationSchmitt-Koopmann, F. M., Huang, E. M., Hutter, H.-P., & Darvishy, A. (2025) · Proceedings of the 2025 CHI Conference on Human Factors in Computing Systems · doi:10.1145/3706598.3713084 · Cited by 14
“Additionally, users have the option to mark a figure as decorative.”
Wang, P., Zheng, W., Chen, T., & Wang, Z. (2022) · arXiv · doi:10.48550/arxiv.2203.05962 · Cited by 80
“Conventional approaches to addressing this problem include incorporating convolutional layers (Wu et al., 2021; Jiang et al., 2021b) and enforcing patch diversity regularizations (Gong et al.”
BackgroundFine-Grained Fault Sensitivity Analysis of Vision Transformers Under Soft Errors
He, J., Liu, Y., Xu, C., Liao, X., & Yang, Y. (2025) · Electronics · doi:10.3390/electronics14122418 · Cited by 4
Metadata
- Authors
- Wu, H., Xiao, B., Codella, N., Liu, M., Dai, X., Yuan, L., & Zhang, L.
- Venue
- 2021 IEEE/CVF International Conference on Computer Vision (ICCV)
- Publisher
- IEEE
- Published
- 2021-10
- Pages
- 22-31
- OpenAlex
- W3204076343
- Cited by
- 2,444
- References
- 31
- FWCI
- 147.45
- Type
- conference paper
- Language
- en
- Open access
- green
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.