Do Vision Transformers See Like Convolutional Neural Networks?
Maithra Raghu, Thomas Unterthiner, Simon Kornblith, Chiyuan Zhang, Alexey Dosovitskiy
摘要
Convolutional neural networks (CNNs) have so far been the de-facto model for visual data. Recent work has shown that (Vision) Transformer models (ViT) can achieve comparable or even superior performance on image classification tasks. This raises a central question: how are Vision Transformers solving these tasks? Are they acting like convolutional networks, or learning entirely different visual representations? Analyzing the internal representation structure of ViTs and CNNs on image classification benchmarks, we find striking differences between the two architectures, such as ViT having more uniform representations across all layers. We explore how these differences arise, finding crucial roles played by self-attention, which enables early aggregation of global information, and ViT residual connections, which strongly propagate features from lower to higher layers. We study the ramifications for spatial localization, demonstrating ViTs successfully preserve input spatial information, with noticeable effects from different classification methods. Finally, we study the effect of (pretraining) dataset scale on intermediate features and transfer learning, and conclude with a discussion on connections to new architectures such as the MLP-Mixer.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 233 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Self-Supervised Pre-Training of Swin Transformers for 3D Medical Image Analysis 引用了 Emerging Properties in Self-Supervised Vision Transformers
- Self-Supervised Pre-Training of Swin Transformers for 3D Medical Image Analysis 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Self-Supervised Pre-Training of Swin Transformers for 3D Medical Image Analysis 引用了 An Empirical Study of Training Self-Supervised Vision Transformers
- MLP-Mixer: An all-MLP Architecture for Vision 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Emerging Properties in Self-Supervised Vision Transformers 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- U-KAN Makes Strong Backbone for Medical Image Segmentation and Generation 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Scaling Up Your Kernels to 31×31: Revisiting Large Kernel Design in CNNs 引用了 MLP-Mixer: An all-MLP Architecture for Vision
- Scaling Up Your Kernels to 31×31: Revisiting Large Kernel Design in CNNs 引用了 Emerging Properties in Self-Supervised Vision Transformers
- Scaling Up Your Kernels to 31×31: Revisiting Large Kernel Design in CNNs 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Scaling Up Your Kernels to 31×31: Revisiting Large Kernel Design in CNNs 引用了 MetaFormer is Actually What You Need for Vision
- MetaFormer is Actually What You Need for Vision 引用了 MLP-Mixer: An all-MLP Architecture for Vision
- MetaFormer is Actually What You Need for Vision 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- MetaFormer is Actually What You Need for Vision 引用了 How Do Vision Transformers Work?
- How Do Vision Transformers Work? 引用了 MetaFormer is Actually What You Need for Vision
- MetaFormer is Actually What You Need for Vision 引用了 Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNet
- How Do Vision Transformers Work? 引用了 MLP-Mixer: An all-MLP Architecture for Vision
- How Do Vision Transformers Work? 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- An Empirical Study of Training Self-Supervised Vision Transformers 引用了 Emerging Properties in Self-Supervised Vision Transformers
- An Empirical Study of Training Self-Supervised Vision Transformers 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNet 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
引用它的顶会 Paper233
- Scaling Up Your Kernels to 31×31: Revisiting Large Kernel Design in CNNsXiaohan Ding, Xiangyu Zhang, Jungong Han, Guiguang DingCVPR 2022 · 1,298 次引用
- MetaFormer is Actually What You Need for VisionWeihao Yu, Mi Luo, Pan Zhou, Chenyang Si 等CVPR 2022 · 1,114 次引用
- Self-Supervised Pre-Training of Swin Transformers for 3D Medical Image AnalysisYucheng Tang, Dong Yang, Wenqi Li, Holger R. Roth 等CVPR 2022 · 736 次引用
- How Do Vision Transformers Work?Namuk Park, Songkuk KimICLR 2022 · 653 次引用
- U-KAN Makes Strong Backbone for Medical Image Segmentation and GenerationChenxin Li, Xinyu Liu, Wuyang Li, Cheng Wang 等AAAI 2025 · 452 次引用
它引用的 Paper16
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn 等ICLR 2021 · 21,477 次引用
- Emerging Properties in Self-Supervised Vision TransformersMathilde Caron, Hugo Touvron, Ishan Misra, Hervé Jégou 等ICCV 2021 · 8,921 次引用
- MLP-Mixer: An all-MLP Architecture for VisionIlya O. Tolstikhin, Neil Houlsby, Alexander Kolesnikov, Lucas Beyer 等NeurIPS 2021 · 3,862 次引用
- Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetLi Yuan, Yunpeng Chen, Tao Wang, Weihao Yu 等ICCV 2021 · 2,462 次引用
- An Empirical Study of Training Self-Supervised Vision TransformersXinlei Chen, Saining Xie, Kaiming HeICCV 2021 · 2,340 次引用
相关 Paper
- Vision Transformers provably learn spatial structureSamy Jelassi, Michael E. Sander, Yuanzhi LiNeurIPS 2022 · 115 次引用
- Understanding Robustness of Transformers for Image ClassificationSrinadh Bhojanapalli, Ayan Chakrabarti, Daniel Glasner, Daliang Li 等ICCV 2021 · 501 次引用
- RegionViT: Regional-to-Local Attention for Vision TransformersChun-Fu Chen, Rameswar Panda, Quanfu FanICLR 2022 · 246 次引用
- Are Transformers more robust than CNNs?Yutong Bai, Jieru Mei, Alan L. Yuille, Cihang XieNeurIPS 2021 · 365 次引用
- CvT: Introducing Convolutions to Vision TransformersHaiping Wu, Bin Xiao, Noel Codella, Mengchen Liu 等ICCV 2021 · 2,397 次引用
