Visformer: The Vision-friendly Transformer
Zhengsu Chen, Lingxi Xie, Jianwei Niu, Xuefeng Liu, Longhui Wei, Qi Tian
Abstract
The past few years have witnessed the rapid development of applying the Transformer module to vision problems. While some researchers have demonstrated that Transformerbased models enjoy a favorable ability of fitting data, there are still growing number of evidences showing that these models suffer over-fitting especially when the training data is limited. This paper offers an empirical study by performing step-bystep operations to gradually transit a Transformer-based model to a convolution-based model. The results we obtain during the transition process deliver useful messages for improving visual recognition. Based on these observations, we propose a new architecture named Visformer, which is abbreviated from the 'Vision-friendly Transformer'. With the same computational complexity, Visformer outperforms both the Transformer-based and convolution-based models in terms of ImageNet classification and object detection performance, and the advantage becomes more significant when the model complexity is lower or the training set is smaller. The code is available at https://github. com/danczs/Visformer .
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
62 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- MPViT: Multi-Path Vision Transformer for Dense Prediction cites CutMix: Regularization Strategy to Train Strong Classifiers With Localizable Features
- MPViT: Multi-Path Vision Transformer for Dense Prediction cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- MPViT: Multi-Path Vision Transformer for Dense Prediction cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
- MPViT: Multi-Path Vision Transformer for Dense Prediction cites Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions
- MPViT: Multi-Path Vision Transformer for Dense Prediction cites Training data-efficient image transformers & distillation through attention
- Swin Transformer: Hierarchical Vision Transformer using Shifted Windows cites CutMix: Regularization Strategy to Train Strong Classifiers With Localizable Features
- Swin Transformer: Hierarchical Vision Transformer using Shifted Windows cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Swin Transformer: Hierarchical Vision Transformer using Shifted Windows cites Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions
- Swin Transformer: Hierarchical Vision Transformer using Shifted Windows cites Training data-efficient image transformers & distillation through attention
- Nested Hierarchical Transformer: Towards Accurate, Data-Efficient and Interpretable Visual Understanding cites CutMix: Regularization Strategy to Train Strong Classifiers With Localizable Features
- Nested Hierarchical Transformer: Towards Accurate, Data-Efficient and Interpretable Visual Understanding cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Nested Hierarchical Transformer: Towards Accurate, Data-Efficient and Interpretable Visual Understanding cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
- Nested Hierarchical Transformer: Towards Accurate, Data-Efficient and Interpretable Visual Understanding cites Training data-efficient image transformers & distillation through attention
- CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windows cites CutMix: Regularization Strategy to Train Strong Classifiers With Localizable Features
- CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windows cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windows cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
- CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windows cites Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions
- CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windows cites Training data-efficient image transformers & distillation through attention
- Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions cites CutMix: Regularization Strategy to Train Strong Classifiers With Localizable Features
- Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions cites Training data-efficient image transformers & distillation through attention
- Training data-efficient image transformers & distillation through attention cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- RegionViT: Regional-to-Local Attention for Vision Transformers cites CutMix: Regularization Strategy to Train Strong Classifiers With Localizable Features
- RegionViT: Regional-to-Local Attention for Vision Transformers cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- RegionViT: Regional-to-Local Attention for Vision Transformers cites Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions
- RegionViT: Regional-to-Local Attention for Vision Transformers cites Training data-efficient image transformers & distillation through attention
- Early Convolutions Help Transformers See Better cites CutMix: Regularization Strategy to Train Strong Classifiers With Localizable Features
- Early Convolutions Help Transformers See Better cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Early Convolutions Help Transformers See Better cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
- Early Convolutions Help Transformers See Better cites Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions
- Early Convolutions Help Transformers See Better cites Training data-efficient image transformers & distillation through attention
Cited by top-tier papers62
- CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped WindowsXiaoyi Dong, Jianmin Bao, Dongdong Chen, Weiming Zhang et al.CVPR 2022 · 1,207 citations
- Early Convolutions Help Transformers See BetterTete Xiao, Mannat Singh, Eric Mintun, Trevor Darrell et al.NeurIPS 2021 · 974 citations
- MPViT: Multi-Path Vision Transformer for Dense PredictionYoungwan Lee, Jonghee Kim, Jeffrey Willette, Sung Ju HwangCVPR 2022 · 339 citations
- RegionViT: Regional-to-Local Attention for Vision TransformersChun-Fu Chen, Rameswar Panda, Quanfu FanICLR 2022 · 246 citations
- Nested Hierarchical Transformer: Towards Accurate, Data-Efficient and Interpretable Visual UnderstandingZizhao Zhang, Han Zhang, Long Zhao, Ting Chen et al.AAAI 2022 · 216 citations
Builds on30
- Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu et al.ICCV 2021 · 31,683 citations
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
- Training data-efficient image transformers & distillation through attentionHugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa et al.ICML 2021 · 8,974 citations
- CutMix: Regularization Strategy to Train Strong Classifiers With Localizable FeaturesSangdoo Yun, Dongyoon Han, Sanghyuk Chun, Seong Joon Oh et al.ICCV 2019 · 5,843 citations
- Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without ConvolutionsWenhai Wang, Enze Xie, Xiang Li, Deng-Ping Fan et al.ICCV 2021 · 4,909 citations
Related papers
- MSG-Transformer: Exchanging Local Spatial Information by Manipulating Messenger TokensJiemin Fang, Lingxi Xie, Xinggang Wang, Xiaopeng Zhang et al.CVPR 2022 · 73 citations
- Rethinking Spatial Dimensions of Vision TransformersByeongho Heo, Sangdoo Yun, Dongyoon Han, Sanghyuk Chun et al.ICCV 2021 · 733 citations
- Mobile-Former: Bridging MobileNet and TransformerYinpeng Chen, Xiyang Dai, Dongdong Chen, Mengchen Liu et al.CVPR 2022 · 600 citations
- Scalable Vision Transformers with Hierarchical PoolingZizheng Pan, Bohan Zhuang, Jing Liu, Haoyu He et al.ICCV 2021 · 154 citations
- Training Object Detectors from Scratch: An Empirical Study in the Era of Vision TransformerWeixiang Hong, Jiangwei Lao, Wang Ren, Jian Wang et al.CVPR 2022 · 14 citations
