Lune

ACL2024顶会

Harder Task Needs More Experts: Dynamic Routing in MoE Models

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 .

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Advancing Expert Specialization for Better MoE 引用了 GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
  • Advancing Expert Specialization for Better MoE 引用了 Mixture-of-Experts with Expert Choice Routing
  • UMoE: Unifying Attention and FFN with Shared Experts 引用了 Mixture-of-Experts with Expert Choice Routing
  • GLaM: Efficient Scaling of Language Models with Mixture-of-Experts 引用了 GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
  • SonicMoE: Accelerating MoE with IO and Tile-aware Optimizations 引用了 PIQA: Reasoning about Physical Commonsense in Natural Language
  • SonicMoE: Accelerating MoE with IO and Tile-aware Optimizations 引用了 GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
  • SonicMoE: Accelerating MoE with IO and Tile-aware Optimizations 引用了 Mixture-of-Experts with Expert Choice Routing
  • Mixture-of-Experts with Expert Choice Routing 引用了 GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
  • ViTE: Virtual Graph Trajectory Expert Router for Pedestrian Trajectory Prediction 引用了 Mixture-of-Experts with Expert Choice Routing
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper24

  1. Advancing Expert Specialization for Better MoEHongcan Guo, Haolang Lu, Guoshun Nan, Bolun Chu 等NeurIPS 2025 · 48 次引用
  2. SonicMoE: Accelerating MoE with IO and Tile-aware OptimizationsWentao Guo, Mayank Mishra, Xinle Cheng, Ion Stoica 等ICLR 2026 · 22 次引用
  3. UMoE: Unifying Attention and FFN with Shared ExpertsYuanhang Yang, Chaozheng Wang, Jing LiNeurIPS 2025 · 4 次引用
  4. From Holistic to Localized: Local Enhanced Adapters for Efficient Visual Instruction Fine-TuningPengkun Jiao, Bin Zhu, Jingjing Chen, Chong-Wah Ngo 等ICCV 2025 · 4 次引用
  5. ViTE: Virtual Graph Trajectory Expert Router for Pedestrian Trajectory PredictionRuochen Li, Zhanxing Zhu, Tanqiu Qiao, Hubert P. H. ShumAAAI 2026 · 4 次引用

它引用的 Paper13

  1. PIQA: Reasoning about Physical Commonsense in Natural LanguageYonatan Bisk, Rowan Zellers, Ronan Le Bras, Jianfeng Gao 等AAAI 2020 · 2,916 次引用
  2. GShard: Scaling Giant Models with Conditional Computation and Automatic ShardingDmitry Lepikhin, HyoukJoong Lee, Yuanzhong Xu, Dehao Chen 等ICLR 2021 · 1,954 次引用
  3. GLaM: Efficient Scaling of Language Models with Mixture-of-ExpertsNan Du, Yanping Huang, Andrew M. Dai, Simon Tong 等ICML 2022 · 1,173 次引用
  4. Mixture-of-Experts with Expert Choice RoutingYanqi Zhou, Tao Lei, Hanxiao Liu, Nan Du 等NeurIPS 2022 · 933 次引用
  5. BERT Loses Patience: Fast and Robust Inference with Early ExitWangchunshu Zhou, Canwen Xu, Tao Ge, Julian J. McAuley 等NeurIPS 2020 · 473 次引用

相关 Paper

  1. Dynamic Mixture of Experts: An Auto-Tuning Approach for Efficient Transformer ModelsYongxin Guo, Zhenglin Cheng, Xiaoying Tang, Zhaopeng Tu 等ICLR 2025
  2. TC-MoE: Augmenting Mixture of Experts with Ternary Expert ChoiceShen Yan, Xingyan Bin, Sijun Zhang, Yisen Wang 等ICLR 2025
  3. HMoE: Heterogeneous Mixture of Experts for Language ModelingAn Wang, Xingwu Sun, Ruobing Xie, Shuaipeng Li 等EMNLP 2025 · 2 次引用
  4. XMoE: Sparse Models with Fine-grained and Adaptive Expert SelectionYuanhang Yang, Shiyi Qi, Wenchao Gu, Chaozheng Wang 等ACL Findings 2024 · 10 次引用
  5. Exploiting Activation Sparsity with Dense to Dynamic-k Mixture-of-Experts ConversionFilip Szatkowski, Bartosz Wójcik, Mikolaj Piórczynski, Simone ScardapaneNeurIPS 2024 · 19 次引用
黄昏的海面,两侧是细线勾勒的悬崖