paper-with-me

홈 › Papers

Harder Tasks Need More Experts: Dynamic Routing in MoE Models

2024-03-12 · Quzhe Huang, Zhenwei An, Nan Zhuang, Mingxu Tao, Chen Zhang, Yang Jin, Kun Xu, Liwei Chen, Songfang Huang, Yansong Feng

In this paper, we introduce a novel dynamic expert selection framework for Mixture of Experts (MoE) models, aiming to enhance computational efficiency and model performance by adjusting the number of activated experts based on input difficulty. Unlike traditional MoE approaches that rely on fixed Top-K routing, which activates a predetermined number of experts regardless of the input's complexity, our method dynamically selects experts based on the confidence level in expert selection for each input. This allows for a more efficient utilization of computational resources, activating more experts for complex tasks requiring advanced reasoning and fewer for simpler tasks. Through extensive evaluations, our dynamic routing method demonstrates substantial improvements over conventional Top-2 routing across various benchmarks, achieving an average improvement of 0.7% with less than 90% activated parameters. Further analysis shows our model dispatches more experts to tasks requiring complex reasoning skills, like BBH, confirming its ability to dynamically allocate computational resources in alignment with the input's complexity. Our findings also highlight a variation in the number of experts needed across different layers of the transformer model, offering insights into the potential for designing heterogeneous MoE frameworks. The code and models are available at https://github.com/ZhenweiAn/Dynamic_MoE.

📄 PDF Abstract BibTeX arXiv:2403.07652

Code (1)

zhenweian/dynamic_moe 공식 구현 pytorch

Tasks

Computational EfficiencyMixture-of-Experts

Methods 이 논문이 사용한 방법론

MoE 설명 없음

Similar Papers 제목 키워드 기반

Ada-K Routing: Boosting the Efficiency of MoE-based LLMs

2024-10-14 · Tongtian Yue, Longteng Guo, Jie Cheng, Xuange Gao 외

In the era of Large Language Models (LLMs), Mixture-of-Experts (MoE) architectures offer a promising approach to managing computational costs while scaling up model parameters. Conventional MoE-based LLMs typically emplo…

Computational EfficiencyMixture-of-Experts

TAME: Task Agnostic Continual Learning using Multiple Experts

2022-10-08 · Haoran Zhu, Maryam Majzoubi, Arihant Jain, Anna Choromanska

The goal of lifelong learning is to continuously learn from non-stationary distributions, where the non-stationarity is typically imposed by a sequence of distinct tasks. Prior works have mostly considered idealistic set…

Continual LearningLifelong learning

THOR-MoE: Hierarchical Task-Guided and Context-Responsive Routing for Neural Machine Translation

2025-05-20 · Yunlong Liang, Fandong Meng, Jie zhou

The sparse Mixture-of-Experts (MoE) has achieved significant progress for neural machine translation (NMT). However, there exist two limitations in current MoE solutions which may lead to sub-optimal performance: 1) they…

Machine TranslationMixture-of-ExpertsNMTTranslation

Phrase Detectives Corpus 1.0 Crowdsourced Anaphoric Coreference.

2016-05-01 · LREC 2016 5 · Jon Chamberlain, Massimo Poesio, Udo Kruschwitz

Natural Language Engineering tasks require large and complex annotated datasets to build more advanced models of language. Corpora are typically annotated by several experts to create a gold standard; however, there are …

text annotation

Neural Inhibition Improves Dynamic Routing and Mixture of Experts

2025-07-03 · Will Y. Zou, Jennifer Y. Zhang arxiv

To be effective, efficient, and diverse, deep learning models need to dynamically choose its architecture based on signals from a population of neurons. We hypothesize dynamic routing models can be improved with neural i…