arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2604.04230cs.LGcs.AIcs.MA
收藏

专家路由的三个阶段:混合专家训练中负载平衡如何演变

Three Phases of Expert Routing: How Load Balance Evolves During Mixture-of-Experts Training

OPIT – Open Institute of Technology(OPIT – 开放理工学院);Cohorte AI

Charafeddine Mouzouni

AI总结:

研究通过跟踪混合专家模型训练过程中的负载平衡变化,揭示了负载平衡与质量之间的权衡关系,发现训练过程中负载平衡经历了 surge、stabilization 和 relaxation 三个阶段。

摘要:

我们模型混合专家(MoE)令牌路由为一个 congestion 游戏,单个有效参数 congestion 系数 gamma_eff,量化平衡-质量权衡。跟踪两个开源 MoE 模型 OLMoE-1B-7B(20 个检查点, surge 区域密集采样)和 OpenMoE-8B(6 个检查点)的 gamma_eff 跨训练检查点,揭示了三个阶段轨迹: surge 阶段,路由学习平衡负载(gamma_eff:14 到 36-39,在 step 30K-40K 区域峰值), stabilization 阶段,专家在稳定平衡下专业化(B_0:2.4 到 2.3, steps 100K-400K), relaxation 阶段,路由在专家差异化时权衡平衡与质量(gamma_eff:27 到 9, steps 400K-1.2M)。非单调轨迹,对收敛模型的 post-hoc 分析不可见,揭示早期 MoE 训练优先平衡,后期优先质量。理论框架诚实于其限制:单类型均衡退化为温度缩放 softmax(held-out L1:MFG = 0.199 vs. softmax = 0.200)。游戏不是更好的预测器;它揭示了温度的意义,以及关键的温度如何演变。我们补充动态以有效 congestion 分解,多类型扩展通过所有 16 层的 token 聚类(均值:30%),范围诊断(K/M, epsilon_l),以及四独立质量估计器的鲁棒性验证(r >= 0.89)。所有置信区间均来自 50 独立文本批次的 bootstrap 重采样。

英文摘要:

We model Mixture-of-Experts (MoE) token routing as a congestion game with a single effective parameter, the congestion coefficient gamma_eff, that quantifies the balance-quality tradeoff. Tracking gamma_eff across training checkpoints of two open-source MoE models, OLMoE-1B-7B (20 checkpoints, with dense sampling in the surge region) and OpenMoE-8B (6 checkpoints), reveals a three-phase trajectory: a surge phase where the router learns to balance load (gamma_eff: 14 to 36-39, peaking in the step 30K-40K region), a stabilization phase where experts specialize under steady balance (B_0: 2.4 to 2.3, steps 100K-400K), and a relaxation phase where the router trades balance for quality as experts differentiate (gamma_eff: 27 to 9, steps 400K-1.2M). This non-monotone trajectory, invisible to post-hoc analysis of converged models, reveals that early MoE training prioritizes balance while late training prioritizes quality. The theoretical framework is honest about its limits: the single-type equilibrium reduces to temperature-scaled softmax (held-out L1: MFG = 0.199 vs. softmax = 0.200). The game is not a better predictor; it reveals what the temperature means and, critically, how that temperature evolves. We complement the dynamics with an effective congestion decomposition, a multi-type extension that improves load prediction via token clustering on all 16 layers (mean: 30%), scope diagnostics (K/M, epsilon_l), and robustness verification across four independent quality estimators (r >= 0.89). All confidence intervals are from bootstrap resampling over 50 independent text batches.

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

↑