Lune

ACL2023顶会

Memory-efficient NLLB-200: Language-specific Expert Pruning of a Massively Multilingual Machine Translation Model

Yeskendir Koishekenov, Alexandre Berard, Vassilina Nikoulina

摘要

The recently released NLLB-200 is a set of multilingual Neural Machine Translation models that cover 202 languages. The largest model is based on a Mixture of Experts architecture and achieves SoTA results across many language pairs. It contains 54.5B parameters and requires at least four 32GB GPUs just for inference. In this work, we propose a pruning method that enables the removal of up to 80% of experts without further finetuning and with a negligible loss in translation quality, which makes it feasible to run the model on a single 32GB GPU. Further analysis suggests that our pruning metrics can identify language-specific experts. 8 12 layers with 128 experts each = 1536 experts 9 We always use beam search with a beam size of 4.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Multimodal Contrastive Learning with LIMoE: the Language-Image Mixture of Experts 引用了 Scaling Vision with Sparse Mixture of Experts
  • Multimodal Contrastive Learning with LIMoE: the Language-Image Mixture of Experts 引用了 GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
  • Merge, Then Compress: Demystify Efficient SMoE with Hints from Its Routing Policy 引用了 GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
  • A Provably Effective Method for Pruning Experts in Fine-tuned Sparse Mixture-of-Experts 引用了 GLaM: Efficient Scaling of Language Models with Mixture-of-Experts
  • REAP the Experts: Why Pruning Prevails for One-Shot MoE compression 引用了 GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
  • REAP the Experts: Why Pruning Prevails for One-Shot MoE compression 引用了 Not All Experts are Equal: Efficient Expert Pruning and Skipping for Mixture-of-Experts Large Language Models
  • Scaling Vision with Sparse Mixture of Experts 引用了 GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
  • GLaM: Efficient Scaling of Language Models with Mixture-of-Experts 引用了 GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
  • Scaling Beyond the GPU Memory Limit for Large Mixture-of-Experts Model Training 引用了 Scaling Vision with Sparse Mixture of Experts
  • Scaling Beyond the GPU Memory Limit for Large Mixture-of-Experts Model Training 引用了 GLaM: Efficient Scaling of Language Models with Mixture-of-Experts
  • Not All Experts are Equal: Efficient Expert Pruning and Skipping for Mixture-of-Experts Large Language Models 引用了 GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper14

  1. Merge, Then Compress: Demystify Efficient SMoE with Hints from Its Routing PolicyPingzhi Li, Zhenyu Zhang, Prateek Yadav, Yi-Lin Sung 等ICLR 2024 · 97 次引用
  2. REAP the Experts: Why Pruning Prevails for One-Shot MoE compressionMike Lasby, Ivan Lazarevich, Nish Sinnadurai, Sean Lie 等ICLR 2026 · 47 次引用
  3. 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 次引用
  4. Not All Experts are Equal: Efficient Expert Pruning and Skipping for Mixture-of-Experts Large Language ModelsXudong Lu, Qi Liu, Yuhui Xu, Aojun Zhou 等ACL 2024 · 16 次引用
  5. Scaling Beyond the GPU Memory Limit for Large Mixture-of-Experts Model TrainingYechan Kim, Hwijoon Lim, Dongsu HanICML 2024 · 10 次引用

它引用的 Paper9

  1. GShard: Scaling Giant Models with Conditional Computation and Automatic ShardingDmitry Lepikhin, HyoukJoong Lee, Yuanzhong Xu, Dehao Chen 等ICLR 2021 · 1,954 次引用
  2. Scaling Vision with Sparse Mixture of ExpertsCarlos Riquelme, Joan Puigcerver, Basil Mustafa, Maxim Neumann 等NeurIPS 2021 · 1,213 次引用
  3. GLaM: Efficient Scaling of Language Models with Mixture-of-ExpertsNan Du, Yanping Huang, Andrew M. Dai, Simon Tong 等ICML 2022 · 1,173 次引用
  4. Unsupervised Cross-lingual Representation Learning at ScaleAlexis Conneau, Kartikay Khandelwal, Naman Goyal, Vishrav Chaudhary 等ACL 2020 · 539 次引用
  5. Multimodal Contrastive Learning with LIMoE: the Language-Image Mixture of ExpertsBasil Mustafa, Carlos Riquelme, Joan Puigcerver, Rodolphe Jenatton 等NeurIPS 2022 · 359 次引用

相关 Paper

  1. More Parameters? No Thanks!Zeeshan Khan, Kartheek Akella, Vinay P. Namboodiri, C. V. JawaharACL Findings 2021
  2. Unraveling Babel: Exploring Multilingual Activation Patterns of LLMs and Their ApplicationsWeize Liu, Yinlong Xu, Hongxia Xu, Jintai Chen 等EMNLP 2024 · 1 次引用
  3. Lego-MT: Learning Detachable Models for Massively Multilingual Machine TranslationFei Yuan, Yinquan Lu, Wenhao Zhu, Lingpeng Kong 等ACL Findings 2023 · 4 次引用
  4. Gradient-based Gradual Pruning for Language-Specific Multilingual Neural Machine TranslationDan He, Minh-Quang Pham, Thanh-Le Ha, Marco TurchiEMNLP 2023 · 2 次引用
  5. Exploring Intrinsic Language-specific Subspaces in Fine-tuning Multilingual Neural Machine TranslationZhe Cao, Zhi Qu, Hidetaka Kamigaito, Taro WatanabeEMNLP 2024 · 1 次引用
黄昏的海面,两侧是细线勾勒的悬崖