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

调度操作中的开销诊断:跨架构观测站

Diagnosing Overhead in Dispatch Operations: Cross-architecture Observatory

DeepSeek-V2-Lite MLA;DeepSeek-MoE-16B MHA;Qwen3-30B GQA;Nemotron-30B Mamba-2;Qwen3.5-35B GDN

Bole Ma, Jan Eitzinger, Harald Koestler, Gerhard Wellein

AI总结:

该研究通过测试四个缓解方案的假设,发现扩展进程(EP)规模变化对专家最大/均值token比率的影响最多为5%,并且mock-token基准在路由Gini系数和批大小缩放趋势上存在高估。研究发现五种架构在相同矩阵中形成两个稳定的带状分布,这些带状分布而非EP度或mock数据配置是AlltoAll-aware互连和调度设计的正确工作负载输入。

摘要:

AlltoAll调度是MoE专家并行性的主要瓶颈,互连社区对此做出了四种缓解方案:预测样本放置、自适应专家重新布局、分层收集和EP-aware拓扑。这四种方案都基于两个关于工作负载的假设。第一个假设是路由不平衡可以通过系统层纠正。第二个假设是评估它们的mock-token基准忠实代表生产路由。我们引入DODOCO来测试这两个假设。我们对五个MoE检查点进行仪器化,涵盖五个序列混合器设计(DeepSeek-V2-Lite MLA,DeepSeek-MoE-16B MHA,Qwen3-30B GQA,Nemotron-30B Mamba-2,Qwen3.5-35B GDN)在5x6的数据条件下网格以及匹配的EP扫描(4到32个rank在H100s上);两个假设都失败。扩展EP在每个架构的可测量范围内将每专家最大/均值token比率改变最多5%:straggler是模型路由决策的固有属性,而不是其专家落在rank上的方式。mock tokens高估路由Gini系数高达2.35倍,并制造了一个批次大小缩放趋势,一旦真实文本取代随机ID,该趋势就消失。从相同矩阵中出现第三种模式,意外的是,五种架构分裂成两个稳定的带状分布。MHA和Mamba-2(数据容错)在wikitext上降至Gini 0.105和0,150。MLA和GDN(持续集中)在所有真实文本条件下保持在0.24以上,并在mock中达到0.29到0.38。GQA是中间情况。这些带状分布,而不是EP度或mock数据配置,是AlltoAll-aware互连和调度设计的正确工作负载输入。

英文摘要:

AlltoAll dispatch is the dominant bottleneck of MoE expert parallelism, and the interconnect community has responded with four families of mitigations: predictive sample placement, adaptive expert relayout, hierarchical collectives, and EP-aware topology. All four rest on two assumptions about the workload: that routing imbalance is correctable by the system layer, and that the mock-token benchmarks evaluating them faithfully represent production routing. We introduce DODOCO to test both, instrumenting five open MoE checkpoints that span today's sequence-mixer designs (MHA, MLA, GQA, Gated DeltaNet and Mamba-2 SSM) under a factorial grid of six data conditions and a matched expert-parallelism scan on H100 clusters. Both assumptions fail. Scaling EP leaves per-expert load concentration essentially unchanged: the straggler is intrinsic to the routing decision the model makes, not to how its experts land on ranks. Mock tokens overestimate routing imbalance by up to a factor of 2.35, and the error is a level offset rather than a trend: it stays flat across a $32\times$ batch-size sweep. Skewing the synthetic distribution toward realism (Zipf) widens the gap instead of closing it. A third pattern organizes the results: the architectures separate into a data-resilient band (MHA, Mamba-2), whose routing approaches uniform on real text, and a persistently concentrated band (MLA, GDN), with GQA intermediate. These bands, not the EP degree or the mock-data profile, are the right workload input to AlltoAll-aware interconnect and dispatch design.

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

↑