arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.17680cs.LGcs.CL
收藏

$\infty$-MoE:将专家混合模型扩展到无限专家

$\infty$-MoE: Generalizing Mixture of Experts to Infinite Experts

The University of Tokyo(东京大学)

Shota Takashiro, Takeshi Kojima, Shohei Taniguchi, Yusuke Iwasawa, Yutaka Matsuo

AI总结:

$\infty$-MoE通过在连续空间中选择参数部分,实现无限专家的高效训练,提升模型准确率和灵活性。

摘要:

混合专家(MoE)为每个token选择少量前馈网络(FFN),在计算成本和性能之间实现有效的权衡。在传统MoE中,每个专家被视为完全独立,并且专家在离散空间中进行组合。因此,当专家数量增加时,有效训练每个专家变得困难。为了在增加专家数量的同时稳定训练,我们提出了$\infty$-MoE,该方法根据为每个token采样的连续值选择大型FFN的参数部分。通过在连续空间中考虑专家,这种方法允许有无限数量的专家,同时保持计算效率。实验表明,基于GPT-2 Small的$\infty$-MoE模型,具有129M个活跃参数和186M总参数,性能与具有350M参数的密集GPT-2 Medium相当。在推理时调整采样专家的数量允许在准确性和速度之间灵活权衡,相对于传统MoE,准确率可提高高达2.5%。

英文摘要:

The Mixture of Experts (MoE) selects a few feed-forward networks (FFNs) per token, achieving an effective trade-off between computational cost and performance. In conventional MoE, each expert is treated as entirely independent, and experts are combined in a discrete space. As a result, when the number of experts increases, it becomes difficult to train each expert effectively. To stabilize training while increasing the number of experts, we propose $\infty$-MoE that selects a portion of the parameters of large FFNs based on continuous values sampled for each token. By considering experts in a continuous space, this approach allows for an infinite number of experts while maintaining computational efficiency. Experiments show that a GPT-2 Small-based $\infty$-MoE model, with 129M active and 186M total parameters, achieves comparable performance to a dense GPT-2 Medium with 350M parameters. Adjusting the number of sampled experts at inference time allows for a flexible trade-off between accuracy and speed, with an improvement of up to 2.5\% in accuracy over conventional MoE.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑