研究看点:Elastic MoE突破推理时扩展瓶颈:单模型支持2–3倍专家数弹性激活,兼顾高低算力场景
Mixture-of-Experts (MoE) models typically fix the number of activated experts at both training and inference. However, real-world deployments often face heterogeneous hardware, fluctuating workloads, and diverse quality-latency requirements, while training separate models for each scenario is costly. Considering that MoE models already operate with sparse activation, adjusting the number of activated experts offers a natural path to serving diverse budgets with a single model. Yet, we find that activating more experts () at inference does not yield the expected gains. Instead, performance degrades rapidly after only a slight increase, a phenomenon we term the . Further investigation reveals that this degradation stems from a lack of learned collaboration among experts. To address this, we introduce , a novel training framework that enables MoE models to elastically vary the number of activated experts at inference. By simultaneously training experts to collaborate in diverse combinations and encouraging the router to make high-quality selections, EMoE ensures robust performance across inference budgets. Extensive experiments across four MoE architectures (7B–21B) and nine benchmarks show that EMoE significantly expands the effective scaling range to 2-3 the training-time , while also achieving higher peak performance.

生成讲解博客的中文版本

生成AI智能校验的中文版本