MobileViT: Light-weight, General-purpose, and Mobile-friendly Vision Transformer
Sachin Mehta, Mohammad Rastegari
摘要
Light-weight convolutional neural networks (CNNs) are the de-facto for mobile vision tasks. Their spatial inductive biases allow them to learn representations with fewer parameters across different vision tasks. However, these networks are spatially local. To learn global representations, self-attention-based vision trans-formers (ViTs) have been adopted. Unlike CNNs, ViTs are heavy-weight. In this paper, we ask the following question: is it possible to combine the strengths of CNNs and ViTs to build a light-weight and low latency network for mobile vision tasks? Towards this end, we introduce MobileViT, a light-weight and general-purpose vision transformer for mobile devices. MobileViT presents a different perspective for the global processing of information with transformers, i.e., transformers as convolutions. Our results show that MobileViT significantly outperforms CNN- and ViT-based networks across different tasks and datasets. On the ImageNet-1k dataset, MobileViT achieves top-1 accuracy of 78.4% with about 6 million parameters, which is 3.2% and 6.2% more accurate than MobileNetv3 (CNN-based) and DeIT (ViT-based) for a similar number of parameters. On the MS-COCO object detection task, MobileViT is 5.7% more accurate than MobileNetv3 for a similar number of parameters. Our source code is open-source and available at: https://github.com/apple/ml-cvnets
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 169 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- GhostNetV2: Enhance Cheap Operation with Long-Range Attention 引用了 Searching for MobileNetV3
- GhostNetV2: Enhance Cheap Operation with Long-Range Attention 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- GhostNetV2: Enhance Cheap Operation with Long-Range Attention 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
- FLatten Transformer: Vision Transformer using Focused Linear Attention 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- FLatten Transformer: Vision Transformer using Focused Linear Attention 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
- FLatten Transformer: Vision Transformer using Focused Linear Attention 引用了 Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions
- FLatten Transformer: Vision Transformer using Focused Linear Attention 引用了 Training data-efficient image transformers & distillation through attention
- Swin Transformer: Hierarchical Vision Transformer using Shifted Windows 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Swin Transformer: Hierarchical Vision Transformer using Shifted Windows 引用了 Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions
- Swin Transformer: Hierarchical Vision Transformer using Shifted Windows 引用了 Training data-efficient image transformers & distillation through attention
- Rep ViT: Revisiting Mobile CNN From ViT Perspective 引用了 Searching for MobileNetV3
- Rep ViT: Revisiting Mobile CNN From ViT Perspective 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Rep ViT: Revisiting Mobile CNN From ViT Perspective 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
- Rep ViT: Revisiting Mobile CNN From ViT Perspective 引用了 Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions
- Rep ViT: Revisiting Mobile CNN From ViT Perspective 引用了 Training data-efficient image transformers & distillation through attention
- Rep ViT: Revisiting Mobile CNN From ViT Perspective 引用了 EfficientFormer: Vision Transformers at MobileNet Speed
- Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions 引用了 Training data-efficient image transformers & distillation through attention
- 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 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
- EfficientFormer: Vision Transformers at MobileNet Speed 引用了 Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions
- EfficientFormer: Vision Transformers at MobileNet Speed 引用了 Training data-efficient image transformers & distillation through attention
- Fast Vision Transformers with HiLo Attention 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
- Fast Vision Transformers with HiLo Attention 引用了 Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions
- Fast Vision Transformers with HiLo Attention 引用了 Training data-efficient image transformers & distillation through attention
引用它的顶会 Paper169
- EfficientFormer: Vision Transformers at MobileNet SpeedYanyu Li, Geng Yuan, Yang Wen, Ju Hu 等NeurIPS 2022 · 742 次引用
- GhostNetV2: Enhance Cheap Operation with Long-Range AttentionYehui Tang, Kai Han, Jianyuan Guo, Chang Xu 等NeurIPS 2022 · 634 次引用
- Rep ViT: Revisiting Mobile CNN From ViT PerspectiveAo Wang, Hui Chen, Zijia Lin, Jungong Han 等CVPR 2024 · 500 次引用
- FLatten Transformer: Vision Transformer using Focused Linear AttentionDongchen Han, Xuran Pan, Yizeng Han, Shiji Song 等ICCV 2023 · 358 次引用
- Fast Vision Transformers with HiLo AttentionZizheng Pan, Jianfei Cai, Bohan ZhuangNeurIPS 2022 · 321 次引用
它引用的 Paper24
- Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu 等ICCV 2021 · 31,683 次引用
- 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 次引用
- Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without ConvolutionsWenhai Wang, Enze Xie, Xiang Li, Deng-Ping Fan 等ICCV 2021 · 4,909 次引用
相关 Paper
- Iformer: Integrating ConvNet and Transformer for Mobile ApplicationChuanyang ZhengICLR 2025
- Mobile-Former: Bridging MobileNet and TransformerYinpeng Chen, Xiyang Dai, Dongdong Chen, Mengchen Liu 等CVPR 2022 · 600 次引用
- Rethinking Vision Transformers for MobileNet Size and SpeedYanyu Li, Ju Hu, Yang Wen, Georgios Evangelidis 等ICCV 2023 · 300 次引用
- FastViT: A Fast Hybrid Vision Transformer using Structural ReparameterizationPavan Kumar Anasosalu Vasu, James Gabriel, Jeff Zhu, Oncel Tuzel 等ICCV 2023 · 341 次引用
- Do Vision Transformers See Like Convolutional Neural Networks?Maithra Raghu, Thomas Unterthiner, Simon Kornblith, Chiyuan Zhang 等NeurIPS 2021 · 1,553 次引用
