Lune

NeurIPS2022顶会

Mixture-of-Experts with Expert Choice Routing

Yanqi Zhou, Tao Lei, Hanxiao Liu, Nan Du, Yanping Huang, Vincent Y. Zhao, Andrew M. Dai, Zhifeng Chen, Quoc V. Le, James Laudon

摘要

Sparsely-activated Mixture-of-experts (MoE) models allow the number of parameters to greatly increase while keeping the amount of computation for a given token or a given sample unchanged. However, a poor expert routing strategy can cause certain experts to be under-trained, leading to an expert being under or over-specialized. Prior work allocates a fixed number of experts to each token using a top-k function regardless of the relative importance of different tokens. To address this, we propose a heterogeneous mixture-of-experts employing an expert choice method. Instead of letting tokens select the top-k experts, we have experts selecting the top-k tokens. As a result, each token can be routed to a variable number of experts and each expert can have a fixed bucket size. We systematically study pre-training speedups using the same computational resources of the Switch Transformer top-1 and GShard top-2 gating of prior work and find that our method improves training convergence time by more than 2×. For the same computational cost, our method demonstrates higher performance in fine-tuning 11 selected tasks in the GLUE and SuperGLUE benchmarks. For a smaller activation cost, our method outperforms the T5 dense model in 7 out of the 11 tasks.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 251 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • On the Representation Collapse of Sparse Mixture of Experts 引用了 Hash Layers For Large Sparse Models
  • On the Representation Collapse of Sparse Mixture of Experts 引用了 BASE Layers: Simplifying Training of Large, Sparse Models
  • On the Representation Collapse of Sparse Mixture of Experts 引用了 GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
  • Hash Layers For Large Sparse Models 引用了 BASE Layers: Simplifying Training of Large, Sparse Models
  • Hash Layers For Large Sparse Models 引用了 GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
  • From Sparse to Soft Mixtures of Experts 引用了 Hash Layers For Large Sparse Models
  • From Sparse to Soft Mixtures of Experts 引用了 BASE Layers: Simplifying Training of Large, Sparse Models
  • From Sparse to Soft Mixtures of Experts 引用了 GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
  • Confident Adaptive Language Modeling 引用了 GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
  • Accelerating Distributed MoE Training and Inference with Lina 引用了 On the Representation Collapse of Sparse Mixture of Experts
  • Accelerating Distributed MoE Training and Inference with Lina 引用了 BASE Layers: Simplifying Training of Large, Sparse Models
  • Accelerating Distributed MoE Training and Inference with Lina 引用了 GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper251

  1. Confident Adaptive Language ModelingTal Schuster, Adam Fisch, Jai Gupta, Mostafa Dehghani 等NeurIPS 2022 · 394 次引用
  2. From Sparse to Soft Mixtures of ExpertsJoan Puigcerver, Carlos Riquelme Ruiz, Basil Mustafa, Neil HoulsbyICLR 2024 · 264 次引用
  3. Perpetual Humanoid Control for Real-time Simulated AvatarsZhengyi Luo, Jinkun Cao, Alexander Winkler, Kris Kitani 等ICCV 2023 · 256 次引用
  4. On the Representation Collapse of Sparse Mixture of ExpertsZewen Chi, Li Dong, Shaohan Huang, Damai Dai 等NeurIPS 2022 · 223 次引用
  5. Accelerating Distributed MoE Training and Inference with LinaJiamin Li, Yimin Jiang, Yibo Zhu, Cong Wang 等USENIX ATC 2023 · 191 次引用

它引用的 Paper6

  1. GShard: Scaling Giant Models with Conditional Computation and Automatic ShardingDmitry Lepikhin, HyoukJoong Lee, Yuanzhong Xu, Dehao Chen 等ICLR 2021 · 1,954 次引用
  2. CoAtNet: Marrying Convolution and Attention for All Data SizesZihang Dai, Hanxiao Liu, Quoc V. Le, Mingxing TanNeurIPS 2021 · 1,747 次引用
  3. BASE Layers: Simplifying Training of Large, Sparse ModelsMike Lewis, Shruti Bhosale, Tim Dettmers, Naman Goyal 等ICML 2021 · 382 次引用
  4. Hash Layers For Large Sparse ModelsStephen Roller, Sainbayar Sukhbaatar, Arthur Szlam, Jason WestonNeurIPS 2021 · 316 次引用
  5. Scalable Transfer Learning with Expert ModelsJoan Puigcerver, Carlos Riquelme Ruiz, Basil Mustafa, Cédric Renggli 等ICLR 2021 · 70 次引用

相关 Paper

  1. Mixture of Tokens: Continuous MoE through Cross-Example AggregationSzymon Antoniak, Michal Krutul, Maciej Pióro, Jakub Krajewski 等NeurIPS 2024 · 6 次引用
  2. Dynamic Mixture of Experts: An Auto-Tuning Approach for Efficient Transformer ModelsYongxin Guo, Zhenglin Cheng, Xiaoying Tang, Zhaopeng Tu 等ICLR 2025
  3. On the Benefits of Learning to Route in Mixture-of-Experts ModelsNishanth Dikkala, Nikhil Ghosh, Raghu Meka, Rina Panigrahy 等EMNLP 2023 · 9 次引用
  4. XMoE: Sparse Models with Fine-grained and Adaptive Expert SelectionYuanhang Yang, Shiyi Qi, Wenchao Gu, Chaozheng Wang 等ACL Findings 2024 · 10 次引用
  5. ReMoE: Fully Differentiable Mixture-of-Experts with ReLU RoutingZiteng Wang, Jun Zhu, Jianfei ChenICLR 2025
黄昏的海面,两侧是细线勾勒的悬崖