Rethinking Spatial Dimensions of Vision Transformers
Byeongho Heo, Sangdoo Yun, Dongyoon Han, Sanghyuk Chun, Junsuk Choe, Seong Joon Oh
摘要
Vision Transformer (ViT) extends the application range of transformers from language processing to computer vision tasks as being an alternative architecture against the existing convolutional neural networks (CNN). Since the transformer-based architecture has been innovative for computer vision modeling, the design convention towards an effective architecture has been less studied yet. From the successful design principles of CNN, we investigate the role of spatial dimension conversion and its effectiveness on transformer-based architecture. We particularly attend to the dimension reduction principle of CNNs; as the depth increases, a conventional CNN increases channel dimension and decreases spatial dimensions. We empirically show that such a spatial dimension reduction is beneficial to a transformer architecture as well, and propose a novel Pooling-based Vision Transformer (PiT) upon the original ViT model. We show that PiT achieves the improved model capability and generalization performance against ViT. Throughout the extensive experiments, we further show PiT outperforms the baseline on several tasks such as image classification, object detection, and robustness evaluation. Source codes and ImageNet models are available at https://github.com/naver-ai/pit .
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 142 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Uformer: A General U-Shaped Transformer for Image Restoration 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Uformer: A General U-Shaped Transformer for Image Restoration 引用了 CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windows
- LeViT: a Vision Transformer in ConvNet's Clothing for Faster Inference 引用了 Searching for MobileNetV3
- LeViT: a Vision Transformer in ConvNet's Clothing for Faster Inference 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- LeViT: a Vision Transformer in ConvNet's Clothing for Faster Inference 引用了 Training data-efficient image transformers & distillation through attention
- CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windows 引用了 CutMix: Regularization Strategy to Train Strong Classifiers With Localizable Features
- CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windows 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windows 引用了 Training data-efficient image transformers & distillation through attention
- CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windows 引用了 Deformable DETR: Deformable Transformers for End-to-End Object Detection
- Training data-efficient image transformers & distillation through attention 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- EfficientFormer: Vision Transformers at MobileNet Speed 引用了 Searching for MobileNetV3
- EfficientFormer: Vision Transformers at MobileNet Speed 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- EfficientFormer: Vision Transformers at MobileNet Speed 引用了 LeViT: a Vision Transformer in ConvNet's Clothing for Faster Inference
- EfficientFormer: Vision Transformers at MobileNet Speed 引用了 Training data-efficient image transformers & distillation through attention
- EfficientFormer: Vision Transformers at MobileNet Speed 引用了 MobileViT: Light-weight, General-purpose, and Mobile-friendly Vision Transformer
- EfficientFormer: Vision Transformers at MobileNet Speed 引用了 Deformable DETR: Deformable Transformers for End-to-End Object Detection
- MobileViT: Light-weight, General-purpose, and Mobile-friendly Vision Transformer 引用了 Searching for MobileNetV3
- MobileViT: Light-weight, General-purpose, and Mobile-friendly Vision Transformer 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- MobileViT: Light-weight, General-purpose, and Mobile-friendly Vision Transformer 引用了 LeViT: a Vision Transformer in ConvNet's Clothing for Faster Inference
- MobileViT: Light-weight, General-purpose, and Mobile-friendly Vision Transformer 引用了 Training data-efficient image transformers & distillation through attention
引用它的顶会 Paper142
- MobileViT: Light-weight, General-purpose, and Mobile-friendly Vision TransformerSachin Mehta, Mohammad RastegariICLR 2022 · 2,162 次引用
- Uformer: A General U-Shaped Transformer for Image RestorationZhendong Wang, Xiaodong Cun, Jianmin Bao, Wengang Zhou 等CVPR 2022 · 1,970 次引用
- CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped WindowsXiaoyi Dong, Jianmin Bao, Dongdong Chen, Weiming Zhang 等CVPR 2022 · 1,207 次引用
- LeViT: a Vision Transformer in ConvNet's Clothing for Faster InferenceBenjamin Graham, Alaaeldin El-Nouby, Hugo Touvron, Pierre Stock 等ICCV 2021 · 1,009 次引用
- EfficientFormer: Vision Transformers at MobileNet SpeedYanyu Li, Geng Yuan, Yang Wen, Ju Hu 等NeurIPS 2022 · 742 次引用
它引用的 Paper13
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn 等ICLR 2021 · 21,477 次引用
- Searching for MobileNetV3Andrew Howard, Ruoming Pang, Hartwig Adam, Quoc V. Le 等ICCV 2019 · 9,163 次引用
- Training data-efficient image transformers & distillation through attentionHugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa 等ICML 2021 · 8,974 次引用
- Deformable DETR: Deformable Transformers for End-to-End Object DetectionXizhou Zhu, Weijie Su, Lewei Lu, Bin Li 等ICLR 2021 · 7,353 次引用
- CutMix: Regularization Strategy to Train Strong Classifiers With Localizable FeaturesSangdoo Yun, Dongyoon Han, Sanghyuk Chun, Seong Joon Oh 等ICCV 2019 · 5,843 次引用
相关 Paper
- Scalable Vision Transformers with Hierarchical PoolingZizheng Pan, Bohan Zhuang, Jing Liu, Haoyu He 等ICCV 2021 · 154 次引用
- RegionViT: Regional-to-Local Attention for Vision TransformersChun-Fu Chen, Rameswar Panda, Quanfu FanICLR 2022 · 246 次引用
- ViTAE: Vision Transformer Advanced by Exploring Intrinsic Inductive BiasYufei Xu, Qiming Zhang, Jing Zhang, Dacheng TaoNeurIPS 2021 · 429 次引用
- Understanding Robustness of Transformers for Image ClassificationSrinadh Bhojanapalli, Ayan Chakrabarti, Daniel Glasner, Daliang Li 等ICCV 2021 · 501 次引用
- CvT: Introducing Convolutions to Vision TransformersHaiping Wu, Bin Xiao, Noel Codella, Mengchen Liu 等ICCV 2021 · 2,397 次引用
