Lune

ACL2023Top-tier venue

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

Yeskendir Koishekenov, Alexandre Berard, Vassilina Nikoulina

Abstract

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.

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.

14 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

  • Multimodal Contrastive Learning with LIMoE: the Language-Image Mixture of Experts cites Scaling Vision with Sparse Mixture of Experts
  • Multimodal Contrastive Learning with LIMoE: the Language-Image Mixture of Experts cites GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
  • Merge, Then Compress: Demystify Efficient SMoE with Hints from Its Routing Policy cites GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
  • A Provably Effective Method for Pruning Experts in Fine-tuned Sparse Mixture-of-Experts cites GLaM: Efficient Scaling of Language Models with Mixture-of-Experts
  • REAP the Experts: Why Pruning Prevails for One-Shot MoE compression cites GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
  • REAP the Experts: Why Pruning Prevails for One-Shot MoE compression cites Not All Experts are Equal: Efficient Expert Pruning and Skipping for Mixture-of-Experts Large Language Models
  • Scaling Vision with Sparse Mixture of Experts cites GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
  • GLaM: Efficient Scaling of Language Models with Mixture-of-Experts cites GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
  • Scaling Beyond the GPU Memory Limit for Large Mixture-of-Experts Model Training cites Scaling Vision with Sparse Mixture of Experts
  • Scaling Beyond the GPU Memory Limit for Large Mixture-of-Experts Model Training cites 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 cites GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers14

  1. Merge, Then Compress: Demystify Efficient SMoE with Hints from Its Routing PolicyPingzhi Li, Zhenyu Zhang, Prateek Yadav, Yi-Lin Sung et al.ICLR 2024 · 97 citations
  2. REAP the Experts: Why Pruning Prevails for One-Shot MoE compressionMike Lasby, Ivan Lazarevich, Nish Sinnadurai, Sean Lie et al.ICLR 2026 · 47 citations
  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 et al.ICML 2024 · 18 citations
  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 et al.ACL 2024 · 16 citations
  5. Scaling Beyond the GPU Memory Limit for Large Mixture-of-Experts Model TrainingYechan Kim, Hwijoon Lim, Dongsu HanICML 2024 · 10 citations

Builds on9

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

Related papers

  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 et al.EMNLP 2024 · 1 citation
  3. Lego-MT: Learning Detachable Models for Massively Multilingual Machine TranslationFei Yuan, Yinquan Lu, Wenhao Zhu, Lingpeng Kong et al.ACL Findings 2023 · 4 citations
  4. Gradient-based Gradual Pruning for Language-Specific Multilingual Neural Machine TranslationDan He, Minh-Quang Pham, Thanh-Le Ha, Marco TurchiEMNLP 2023 · 2 citations
  5. Exploring Intrinsic Language-specific Subspaces in Fine-tuning Multilingual Neural Machine TranslationZhe Cao, Zhi Qu, Hidetaka Kamigaito, Taro WatanabeEMNLP 2024 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines