arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.09175cs.LGcs.AImath.STstat.MLstat.TH
收藏

混合专家变换器的泛化与缩放规律

Generalization and Scaling Laws for Mixture-of-Experts Transformers

Univ Lyon, Lyon 2, LIRIS UMR 5205(里昂大学,里昂第二大学,LIRIS UMR 5205)

Mansour Zoubeirou a Mayaki

AI总结:

本文研究了混合专家变换器的泛化和缩放规律,通过分离输入容量与路由组合学,推导出覆盖数界,并结合标准ERM分析得出泛化界,揭示了在适当考虑活跃参数时,近似与估计的权衡。

摘要:

我们开发了一种混合专家(MoE)变换器的泛化和缩放理论,清晰地分离了输入的主动容量与路由组合学。通过在固定路由模式下进行条件和跨模式联合上界,我们推导出一个sup-norm覆盖数界,其度量熵随主动参数预算缩放,并引入MoE特定的路由开销。结合标准ERM分析平方损失,我们得出在d维流形数据模型和C^β目标下的泛化界,表明在适当考虑主动参数时,近似和估计的权衡与密集网络相似。我们进一步证明了MoE架构的构造近似定理,表明在近似构造下,误差可通过缩放主动容量或增加专家数量减少,取决于主导瓶颈。从这些结果中,我们推导出模型大小、数据大小和计算最优权衡的神经缩放定律。总体而言,我们的结果为MoE缩放的推理提供了透明的统计参考点,澄清了哪些行为由最坏情况理论认证,哪些必须由数据依赖的路由结构或优化动态产生。

英文摘要:

We develop a theory of generalization and scaling for Mixture-of-Experts (MoE) Transformers that cleanly separates \emph{active} per-input capacity from routing combinatorics. By conditioning on fixed routing patterns and union-bounding across them, we derive a sup-norm covering-number bound whose metric entropy scales with the active parameter budget and incurs a MoE-specific routing overhead. Combined with a standard ERM analysis for squared loss, this yields a generalization bound under a $d$-dimensional manifold data model and $C^β$ targets, showing that approximation and estimation trade off as in dense networks once active parameters are accounted for appropriately. We further prove a constructive approximation theorem for MoE architectures, showing that, under the approximation construction, error can decrease either by scaling active capacity or by increasing the number of experts, depending on the dominant bottleneck. From these results we derive neural scaling laws for model size, data size, and compute-optimal tradeoffs. Overall, our results provide a transparent statistical reference point for reasoning about MoE scaling, clarifying which behaviors are certified by worst-case theory and which must arise from data-dependent routing structure or optimization dynamics.

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

↑