Harder Tasks Need More Experts: Dynamic Routing in MoE Models
Quzhe Huang, Zhenwei An, Nan Zhuang, Mingxu Tao, Chen Zhang, Yang Jin,, Kun Xu, Kun Xu, Liwei Chen, Songfang Huang, Yansong Feng

TL;DR
This paper presents a dynamic expert selection framework for Mixture of Experts models that adjusts the number of active experts based on input difficulty, improving efficiency and performance over fixed routing methods.
Contribution
The paper introduces a novel dynamic expert routing method that activates experts based on confidence, optimizing resource use and enhancing model performance.
Findings
Achieves 0.7% performance improvement over Top-2 routing.
Activates less than 90% of parameters while maintaining accuracy.
Allocates more experts to complex reasoning tasks like BBH.
Abstract
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%…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSemantic Web and Ontologies · Service-Oriented Architecture and Web Services
MethodsMixture of Experts
