Lune

NeurIPS2021Top-tier venue

Scaling Vision with Sparse Mixture of Experts

Carlos Riquelme, Joan Puigcerver, Basil Mustafa, Maxim Neumann, Rodolphe Jenatton, André Susano Pinto, Daniel Keysers, Neil Houlsby

Abstract

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.

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.

312 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • HorNet: Efficient High-Order Spatial Interactions with Recursive Gated Convolutions cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • HorNet: Efficient High-Order Spatial Interactions with Recursive Gated Convolutions cites RandAugment: Practical Automated Data Augmentation with a Reduced Search Space
  • HorNet: Efficient High-Order Spatial Interactions with Recursive Gated Convolutions cites Training data-efficient image transformers & distillation through attention
  • HorNet: Efficient High-Order Spatial Interactions with Recursive Gated Convolutions cites Swin Transformer V2: Scaling Up Capacity and Resolution
  • ViViT: A Video Vision Transformer cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • ViViT: A Video Vision Transformer cites RandAugment: Practical Automated Data Augmentation with a Reduced Search Space
  • ViViT: A Video Vision Transformer cites Language Models are Few-Shot Learners
  • ViViT: A Video Vision Transformer cites Training data-efficient image transformers & distillation through attention
  • VATT: Transformers for Multimodal Self-Supervised Learning from Raw Video, Audio and Text cites 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 cites Language Models are Few-Shot Learners
  • VATT: Transformers for Multimodal Self-Supervised Learning from Raw Video, Audio and Text cites Training data-efficient image transformers & distillation through attention
  • An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale cites Language Models are Few-Shot Learners
  • Scaling Vision Transformers to 22 Billion Parameters cites ViViT: A Video Vision Transformer
  • Scaling Vision Transformers to 22 Billion Parameters cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Training data-efficient image transformers & distillation through attention cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • SimMIM: a Simple Framework for Masked Image Modeling cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • SimMIM: a Simple Framework for Masked Image Modeling cites RandAugment: Practical Automated Data Augmentation with a Reduced Search Space
  • SimMIM: a Simple Framework for Masked Image Modeling cites Language Models are Few-Shot Learners
  • SimMIM: a Simple Framework for Masked Image Modeling cites Training data-efficient image transformers & distillation through attention
  • SimMIM: a Simple Framework for Masked Image Modeling cites Swin Transformer V2: Scaling Up Capacity and Resolution
  • Swin Transformer V2: Scaling Up Capacity and Resolution cites SimMIM: a Simple Framework for Masked Image Modeling
  • Swin Transformer V2: Scaling Up Capacity and Resolution cites ViViT: A Video Vision Transformer
  • Swin Transformer V2: Scaling Up Capacity and Resolution cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Swin Transformer V2: Scaling Up Capacity and Resolution cites Language Models are Few-Shot Learners
  • Swin Transformer V2: Scaling Up Capacity and Resolution cites Training data-efficient image transformers & distillation through attention
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers312

  1. Swin Transformer V2: Scaling Up Capacity and ResolutionZe Liu, Han Hu, Yutong Lin, Zhuliang Yao et al.CVPR 2022 · 2,138 citations
  2. SimMIM: a Simple Framework for Masked Image ModelingZhenda Xie, Zheng Zhang, Yue Cao, Yutong Lin et al.CVPR 2022 · 1,129 citations
  3. Scaling Vision Transformers to 22 Billion ParametersMostafa Dehghani, Josip Djolonga, Basil Mustafa, Piotr Padlewski et al.ICML 2023 · 848 citations
  4. VATT: Transformers for Multimodal Self-Supervised Learning from Raw Video, Audio and TextHassan Akbari, Liangzhe Yuan, Rui Qian, Wei-Hong Chuang et al.NeurIPS 2021 · 782 citations
  5. HorNet: Efficient High-Order Spatial Interactions with Recursive Gated ConvolutionsYongming Rao, Wenliang Zhao, Yansong Tang, Jie Zhou et al.NeurIPS 2022 · 422 citations

Builds on13

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
  2. 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
  3. Training data-efficient image transformers & distillation through attentionHugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa et al.ICML 2021 · 8,974 citations
  4. RandAugment: Practical Automated Data Augmentation with a Reduced Search SpaceEkin Dogus Cubuk, Barret Zoph, Jonathon Shlens, Quoc LeNeurIPS 2020 · 4,453 citations
  5. ViViT: A Video Vision TransformerAnurag Arnab, Mostafa Dehghani, Georg Heigold, Chen Sun et al.ICCV 2021 · 2,947 citations

Related papers

  1. From Sparse to Soft Mixtures of ExpertsJoan Puigcerver, Carlos Riquelme Ruiz, Basil Mustafa, Neil HoulsbyICLR 2024 · 264 citations
  2. A Provably Effective Method for Pruning Experts in Fine-tuned Sparse Mixture-of-ExpertsMohammed Nowaz Rabbani Chowdhury, Meng Wang, Kaoutar El Maghraoui, Naigang Wang et al.ICML 2024 · 18 citations
  3. Mixture of Nested Experts: Adaptive Processing of Visual TokensGagan Jain, Nidhi Hegde, Aditya Kusupati, Arsha Nagrani et al.NeurIPS 2024 · 29 citations
  4. XMoE: Sparse Models with Fine-grained and Adaptive Expert SelectionYuanhang Yang, Shiyi Qi, Wenchao Gu, Chaozheng Wang et al.ACL Findings 2024 · 10 citations
  5. MoEC: Mixture of Expert ClustersYuan Xie, Shaohan Huang, Tianyu Chen, Furu WeiAAAI 2023 · 27 citations
Dusk over the sea between two cliffs drawn in fine vertical lines