MoE 强化学习训练-推理不一致的逐位精确诊断研究
Beyond Routing Flips: Asymmetric Silencing, Phase Bifurcation, and Bitwise-Exact Diagnosis of MoE Reinforcement Learning
做 MoE + RL 训练的人可以看,这篇把 routing 翻转和 PPO clipping 的交互拆得很细,还给出能直接用的整数参考实现,在 Qwen3-30B-A3B 这类大 MoE 上几乎必现的 95.8% 翻转能压到零。想复现 GRPO 稳定性的团队值得对照自己的日志看看。
arXiv 论文《Beyond Routing Flips》用逐位精确的参考方法,在 OLMoE-1B-7B、DeepSeek-V2-Lite、Qwen3-30B-A3B-Base 三个 MoE 模型上量化训练-推理不一致问题。row-scaled Ozaki 整数参考将三个模型的 BF16 routing 翻转率从 40.4%、59.7%、95.8% 降到 0.000%,并在 RTX 4090、A100、H100 和 4.87M 在线 RL token 上保持零偏差,全层整数 KV 缓存把 A100 解码速度提升 14.16 倍。
论文用 15 次 GRPO 运行回答三个此前未解问题:不一致有多少能在路由重放下存活、BF16 上游偏差如何在固定权重下与 PPO clipping 交互、以及更大的不匹配为何在线上呈非单调作用。研究发现 PPO clipping 导致不对称沉默效应,对高熵正优势信号的抑制约为负优势信号的 2 倍(-3.17% vs -1.66%),routing 翻转沿深度级联 14.7 倍但只能解释约 70% 的沉默,剩余约 30% 在零翻转下依然存在。
结论部分还发现 warm AdamW 曲率将第 50 步参数位移压低 4.6-14.5 倍,而在线 rollout 中原生日志运行在 3/3 种子上过度锐化、10 倍噪声裁剪在 3/3 种子上阻止锐化,形成正交的相位二分,预注册交互检验为 null(+0.20 pp,90% CI [-5.60, +6.00])。
Beyond Routing Flips: Asymmetric Silencing, Phase Bifurcation, and Bitwise-Exact Diagnosis of MoE Reinforcement Learning
Prior work links train-inference mismatch to RL instability and MoE routing flips, yet leaves open how much mismatch survives routing replay, how upstream BF16 divergence interacts with PPO clipping at fixed weights, and why larger mismatch acts non-monotonically online. Using a bitwise-exact reference across three MoE families (16-48 layers) and 15 GRPO runs, we quantitatively resolve all three questions. Our row-scaled Ozaki integer reference reduces BF16 routing flips from 40.4% on OLMoE-1B-7B (16L), 59.7% on DeepSeek-V2-Lite (26L), and 95.8% on Qwen3-30B-A3B-Base (48L) to 0.000% ($|Δ\mathrm{ppl}| \le 0.04\%$), with zero divergence across RTX 4090, A100, H100, and 4.87M online RL tokens; full-layer integer KV caching speeds its A100 decoder $14.16\times$ (223.5 to 15.6 s, 0/788.6M BF16 diffs). When mismatch enters clipped GRPO ratios, PPO clipping--not ratio reweighting alone--induces asymmetric silencing that suppresses high-entropy positive-advantage signal ~2:1 over negative signal (-3.17% vs. -1.66%, driven by 3,427 unclipped $A<0, r>1.2$ tokens; 100/100 batches). Routing flips cascade $14.7\times$ across depth yet explain ~70% of silencing, leaving a ~30% zero-flip floor beyond single-step routing replay; paradoxically, low-entropy tokens flip routes more (48.3% vs. 42.1%) with 0.00% silencing, and silencing peaks at prefill position 0 (1.09%) rather than sequence tails. Finally, warm AdamW curvature damps step-50 parameter shifts $4.6$--$14.5\times$ below cold-start probes, and online rollouts decouple local clipping from endpoints: native logged runs over-sharpen in 3/3 seeds (exploratory -2.58 pp, 74.5% of the net drop on solidly solvable items), while $10\times$ heavier noisy clipping blocks sharpening in 3/3 seeds, producing an orthogonal phase bifurcation and a null preregistered interaction (+0.20 pp, 90% CI [-5.60, +6.00]).
本条情报归属 AITOP「论文」核心追踪栏目。涉及核心实体与技术议题包括:MoE、GRPO、PPO clipping、DeepSeek-V2-Lite,读者可通过下方标签进入对应专题页查阅历史脉络与关联对比。
信源核验说明:本文原始信息发布自一手权威信源「arXiv: DeepSeek」(Tier-1 一手发布),具备高确定性参考价值。