Scaling Vision with Sparse Mixture of Experts
Carlos Riquelme, Joan Puigcerver, Basil Mustafa, Maxim Neumann, Rodolphe Jenatton, André Susano Pinto, Daniel Keysers, Neil Houlsby
摘要
Sparsely-gated Mixture of Experts networks (MoEs) have demonstrated excellent scalability in Natural Language Processing. In Computer Vision, however, almost all performant networks are"dense", that is, every input is processed by every parameter. We present a Vision MoE (V-MoE), a sparse version of the Vision Transformer, that is scalable and competitive with the largest dense networks. When applied to image recognition, V-MoE matches the performance of state-of-the-art networks, while requiring as little as half of the compute at inference time. Further, we propose an extension to the routing algorithm that can prioritize subsets of each input across the entire batch, leading to adaptive per-image compute. This allows V-MoE to trade-off performance and compute smoothly at test-time. Finally, we demonstrate the potential of V-MoE to scale vision models, and train a 15B parameter model that attains 90.35% on ImageNet.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 312 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- HorNet: Efficient High-Order Spatial Interactions with Recursive Gated Convolutions 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- HorNet: Efficient High-Order Spatial Interactions with Recursive Gated Convolutions 引用了 RandAugment: Practical Automated Data Augmentation with a Reduced Search Space
- HorNet: Efficient High-Order Spatial Interactions with Recursive Gated Convolutions 引用了 Training data-efficient image transformers & distillation through attention
- HorNet: Efficient High-Order Spatial Interactions with Recursive Gated Convolutions 引用了 Swin Transformer V2: Scaling Up Capacity and Resolution
- ViViT: A Video Vision Transformer 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- ViViT: A Video Vision Transformer 引用了 RandAugment: Practical Automated Data Augmentation with a Reduced Search Space
- ViViT: A Video Vision Transformer 引用了 Language Models are Few-Shot Learners
- ViViT: A Video Vision Transformer 引用了 Training data-efficient image transformers & distillation through attention
- VATT: Transformers for Multimodal Self-Supervised Learning from Raw Video, Audio and Text 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- VATT: Transformers for Multimodal Self-Supervised Learning from Raw Video, Audio and Text 引用了 Language Models are Few-Shot Learners
- VATT: Transformers for Multimodal Self-Supervised Learning from Raw Video, Audio and Text 引用了 Training data-efficient image transformers & distillation through attention
- An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale 引用了 Language Models are Few-Shot Learners
- Scaling Vision Transformers to 22 Billion Parameters 引用了 ViViT: A Video Vision Transformer
- Scaling Vision Transformers to 22 Billion Parameters 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Training data-efficient image transformers & distillation through attention 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- SimMIM: a Simple Framework for Masked Image Modeling 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- SimMIM: a Simple Framework for Masked Image Modeling 引用了 RandAugment: Practical Automated Data Augmentation with a Reduced Search Space
- SimMIM: a Simple Framework for Masked Image Modeling 引用了 Language Models are Few-Shot Learners
- SimMIM: a Simple Framework for Masked Image Modeling 引用了 Training data-efficient image transformers & distillation through attention
- SimMIM: a Simple Framework for Masked Image Modeling 引用了 Swin Transformer V2: Scaling Up Capacity and Resolution
- Swin Transformer V2: Scaling Up Capacity and Resolution 引用了 SimMIM: a Simple Framework for Masked Image Modeling
- Swin Transformer V2: Scaling Up Capacity and Resolution 引用了 ViViT: A Video Vision Transformer
- Swin Transformer V2: Scaling Up Capacity and Resolution 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Swin Transformer V2: Scaling Up Capacity and Resolution 引用了 Language Models are Few-Shot Learners
- Swin Transformer V2: Scaling Up Capacity and Resolution 引用了 Training data-efficient image transformers & distillation through attention
引用它的顶会 Paper312
- Swin Transformer V2: Scaling Up Capacity and ResolutionZe Liu, Han Hu, Yutong Lin, Zhuliang Yao 等CVPR 2022 · 2,138 次引用
- SimMIM: a Simple Framework for Masked Image ModelingZhenda Xie, Zheng Zhang, Yue Cao, Yutong Lin 等CVPR 2022 · 1,129 次引用
- Scaling Vision Transformers to 22 Billion ParametersMostafa Dehghani, Josip Djolonga, Basil Mustafa, Piotr Padlewski 等ICML 2023 · 848 次引用
- VATT: Transformers for Multimodal Self-Supervised Learning from Raw Video, Audio and TextHassan Akbari, Liangzhe Yuan, Rui Qian, Wei-Hong Chuang 等NeurIPS 2021 · 782 次引用
- HorNet: Efficient High-Order Spatial Interactions with Recursive Gated ConvolutionsYongming Rao, Wenliang Zhao, Yansong Tang, Jie Zhou 等NeurIPS 2022 · 422 次引用
它引用的 Paper13
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn 等ICLR 2021 · 21,477 次引用
- Training data-efficient image transformers & distillation through attentionHugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa 等ICML 2021 · 8,974 次引用
- RandAugment: Practical Automated Data Augmentation with a Reduced Search SpaceEkin Dogus Cubuk, Barret Zoph, Jonathon Shlens, Quoc LeNeurIPS 2020 · 4,453 次引用
- ViViT: A Video Vision TransformerAnurag Arnab, Mostafa Dehghani, Georg Heigold, Chen Sun 等ICCV 2021 · 2,947 次引用
相关 Paper
- From Sparse to Soft Mixtures of ExpertsJoan Puigcerver, Carlos Riquelme Ruiz, Basil Mustafa, Neil HoulsbyICLR 2024 · 264 次引用
- A Provably Effective Method for Pruning Experts in Fine-tuned Sparse Mixture-of-ExpertsMohammed Nowaz Rabbani Chowdhury, Meng Wang, Kaoutar El Maghraoui, Naigang Wang 等ICML 2024 · 18 次引用
- Mixture of Nested Experts: Adaptive Processing of Visual TokensGagan Jain, Nidhi Hegde, Aditya Kusupati, Arsha Nagrani 等NeurIPS 2024 · 29 次引用
- XMoE: Sparse Models with Fine-grained and Adaptive Expert SelectionYuanhang Yang, Shiyi Qi, Wenchao Gu, Chaozheng Wang 等ACL Findings 2024 · 10 次引用
- MoEC: Mixture of Expert ClustersYuan Xie, Shaohan Huang, Tianyu Chen, Furu WeiAAAI 2023 · 27 次引用
