paper-with-me

홈 › Papers

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

2021-09-24 · Findings (EMNLP) 2021 11 · 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.

📄 PDF Abstract BibTeX arXiv:2110.03742

Code (0)

등록된 구현이 없습니다.

Tasks

Mixture-of-ExpertsSentence

Similar Papers 제목 키워드 기반

On Expert Estimation in Hierarchical Mixture of Experts: Beyond Softmax Gating Functions

2024-10-03 · Huy Nguyen, Xing Han, Carl William Harris, Suchi Saria 외

With the growing prominence of the Mixture of Experts (MoE) architecture in developing large-scale foundation models, we investigate the Hierarchical Mixture of Experts (HMoE), a specialized variant of MoE that excels in…

image-classificationImage ClassificationMixture-of-Experts

MoDE: A Mixture-of-Experts Model with Mutual Distillation among the Experts

2024-01-31 · Zhitian Xie, Yinger Zhang, Chenyi Zhuang, Qitao Shi 외

The application of mixture-of-experts (MoE) is gaining popularity due to its ability to improve model's performance. In an MoE structure, the gate layer plays a significant role in distinguishing and routing input featur…

Mixture-of-Experts

Beyond Routing: Characterising Expert Tuning and Representation in Vision Mixture-of-Experts

2026-05-20 · Gene Tangtartharakul, Katherine R. Storrs arxiv

Mixture-of-Experts (MoE) models are often interpreted by analysing which categories are routed to which experts. However, routing alone does not reveal what each expert actually encodes. We train sparsely-gated convoluti…

Orchestrate Latent Expertise: Advancing Online Continual Learning with Multi-Level Supervision and Reverse Self-Distillation

2024-03-30 · CVPR 2024 1 · HongWei Yan, Liyuan Wang, Kaisheng Ma, Yi Zhong

To accommodate real-world dynamics, artificial intelligence systems need to cope with sequentially arriving content in an online manner. Beyond regular Continual Learning (CL) attempting to address catastrophic forgettin…

Continual LearningKnowledge Distillation

MoEBERT: from BERT to Mixture-of-Experts via Importance-Guided Adaptation

2022-01-16 · ACL ARR January 2022 1 · Anonymous

Pre-trained language models have demonstrated superior performance in various natural language processing tasks. However, these models usually contain hundreds of millions of parameters, which limits their practicality b…

Knowledge DistillationMixture-of-ExpertsNatural Language UnderstandingQuestion Answering