Lune

EMNLP Findings2021

Beyond Distillation: Task-level Mixture-of-Experts for Efficient Inference

Sneha Kudugunta, Yanping Huang, Ankur Bapna, Maxim Krikun, Dmitry Lepikhin, Minh-Thang Luong, Orhan Firat

摘要

Sparse Mixture-of-Experts (MoE) has been a successful approach for scaling multilingual translation models to billions of parameters without a proportional increase in training computation. However, MoE models are prohibitively large and practitioners often resort to methods such as distillation for serving. In this work, we investigate routing strategies at different granularity (token, sentence, task) in MoE models to bypass distillation. Experiments on WMT and a web-scale dataset suggest that task-level routing (task-MoE) enables us to extract smaller, ready-to-deploy sub-networks from large sparse models.

On WMT, our task-MoE with 32 experts (533M parameters) outperforms the best performing token-level MoE model (token-MoE) by +1.0 BLEU on average across 30 language pairs. The peak inference throughput is also improved by a factor of 1.9x when we route by tasks instead of tokens. While distilling a token-MoE to a smaller dense model preserves only 32% of the BLEU gains, our sub-network task-MoE, by design, preserves all the gains with the same inference cost as the distilled student model. Finally, when scaling up to 200 language pairs, our 128-expert task-MoE (13B parameters) performs competitively with a token-level counterpart, while improving the peak inference throughput by a factor of 2.6x.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Pushing Mixture of Experts to the Limit: Extremely Parameter Efficient MoE for Instruction Tuning 引用了 Language Models are Few-Shot Learners
  • Pushing Mixture of Experts to the Limit: Extremely Parameter Efficient MoE for Instruction Tuning 引用了 BASE Layers: Simplifying Training of Large, Sparse Models
  • Pushing Mixture of Experts to the Limit: Extremely Parameter Efficient MoE for Instruction Tuning 引用了 GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
  • Flex-MoE: Modeling Arbitrary Modality Combination via the Flexible Mixture-of-Experts 引用了 GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
  • MatFormer: Nested Transformer for Elastic Inference 引用了 Language Models are Few-Shot Learners
  • MatFormer: Nested Transformer for Elastic Inference 引用了 Confident Adaptive Language Modeling
  • GLaM: Efficient Scaling of Language Models with Mixture-of-Experts 引用了 GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
  • BASE Layers: Simplifying Training of Large, Sparse Models 引用了 Language Models are Few-Shot Learners
  • GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding 引用了 Depth-Adaptive Transformer
  • GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding 引用了 Language Models are Few-Shot Learners
  • Confident Adaptive Language Modeling 引用了 Deep Encoder, Shallow Decoder: Reevaluating Non-autoregressive Machine Translation
  • Confident Adaptive Language Modeling 引用了 Depth-Adaptive Transformer
  • Confident Adaptive Language Modeling 引用了 GLaM: Efficient Scaling of Language Models with Mixture-of-Experts
  • Confident Adaptive Language Modeling 引用了 Language Models are Few-Shot Learners
  • Confident Adaptive Language Modeling 引用了 GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper44

  1. GLaM: Efficient Scaling of Language Models with Mixture-of-ExpertsNan Du, Yanping Huang, Andrew M. Dai, Simon Tong 等ICML 2022 · 1,173 次引用
  2. Confident Adaptive Language ModelingTal Schuster, Adam Fisch, Jai Gupta, Mostafa Dehghani 等NeurIPS 2022 · 394 次引用
  3. Pushing Mixture of Experts to the Limit: Extremely Parameter Efficient MoE for Instruction TuningTed Zadouri, Ahmet Üstün, Arash Ahmadian, Beyza Ermis 等ICLR 2024 · 169 次引用
  4. Flex-MoE: Modeling Arbitrary Modality Combination via the Flexible Mixture-of-ExpertsSukwon Yun, Inyoung Choi, Jie Peng, Yangfan Wu 等NeurIPS 2024 · 98 次引用
  5. MatFormer: Nested Transformer for Elastic InferenceDevvrit, Sneha Kudugunta, Aditya Kusupati, Tim Dettmers 等NeurIPS 2024 · 97 次引用

它引用的 Paper7

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
  2. GShard: Scaling Giant Models with Conditional Computation and Automatic ShardingDmitry Lepikhin, HyoukJoong Lee, Yuanzhong Xu, Dehao Chen 等ICLR 2021 · 1,954 次引用
  3. BASE Layers: Simplifying Training of Large, Sparse ModelsMike Lewis, Shruti Bhosale, Tim Dettmers, Naman Goyal 等ICML 2021 · 382 次引用
  4. Depth-Adaptive TransformerMaha Elbayad, Jiatao Gu, Edouard Grave, Michael AuliICLR 2020 · 264 次引用
  5. Deep Encoder, Shallow Decoder: Reevaluating Non-autoregressive Machine TranslationJungo Kasai, Nikolaos Pappas, Hao Peng, James Cross 等ICLR 2021 · 154 次引用

相关 Paper

  1. Multilingual Routing in Mixture-of-ExpertsLucas Bandarkar, Chenyuan Yang, Mohsen Fayyaz, Junlin Hu 等ICLR 2026 · 34 次引用
  2. StableMoE: Stable Routing Strategy for Mixture of ExpertsDamai Dai, Li Dong, Shuming Ma, Bo Zheng 等ACL 2022
  3. XMoE: Sparse Models with Fine-grained and Adaptive Expert SelectionYuanhang Yang, Shiyi Qi, Wenchao Gu, Chaozheng Wang 等ACL Findings 2024 · 10 次引用
  4. Gating Dropout: Communication-efficient Regularization for Sparsely Activated TransformersRui Liu, Young Jin Kim, Alexandre Muzio, Hany HassanICML 2022 · 31 次引用
  5. Towards Being Parameter-Efficient: A Stratified Sparsely Activated Transformer with Dynamic CapacityHaoran Xu, Maha Elbayad, Kenton Murray, Jean Maillard 等EMNLP Findings 2023 · 4 次引用
黄昏的海面,两侧是细线勾勒的悬崖