arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.09721cs.DC
收藏

揭示注意力-前馈网络解耦在现代MoE模型和硬件系统中的挑战

Revealing the Challenges of Attention-FFN Disaggregation for Modern MoE Models and Hardware Systems

Baidu Inc.(百度公司)

Guowei Liu, Hongming Li, Yaning Guo, Yongxi Lyu, Mo Zhou, Yi Liu, Zhaogeng Li, Yanpeng Wang

AI总结:

本文研究了注意力-前馈网络解耦在大规模MoE模型和硬件系统中的性能限制,揭示了其在特定条件下优于传统专家并行方法的适用场景。

摘要:

在部署大规模MoE模型时,专家激活的内存容量和带宽构成了挑战。尽管注意力-前馈网络解耦(AFD)作为一种潜在架构,旨在解耦计算和内存资源,但其与标准大规模专家并行(EP)相比的性能边界仍缺乏深入研究。本文通过扩展屋顶线模型到通信层面,对AFD进行了系统分析,关联了互连带宽、算术强度和硬件FLOPS利用率(HFU)。我们的分析揭示了标准集群中的死区:增加FFN实例数量无法提高HFU,因为计算负载受到扩展带宽的限制,导致操作符活跃时间相对于固定的延迟预算缩小。我们进一步表明,AFD的离散节点级扩展所带来的不平衡惩罚比EP的连续批量调整更高。然而,在特定条件下,这些限制会减弱:具有充足互连带宽的Superpod类硬件和具有粗粒度专家和较低稀疏度的模型更可能从AFD中受益。这些发现将AFD定位为特定硬件-模型组合的有前景方法,而非通用解决方案。

英文摘要:

Deploying large-scale MoE models presents challenges in memory capacity and bandwidth for expert activation. While Attention-FFN Disaggregation (AFD) has emerged as a potential architecture to decouple compute and memory resources, its performance boundaries compared to standard large-scale Expert Parallelism (EP) remain underexplored. In this paper, we conduct a systematic analysis of AFD by extending the roofline model to the communication level, correlating interconnect bandwidth, arithmetic intensity, and Hardware FLOPS Utilization (HFU). Our analysis reveals a dead zone on standard clusters: increasing FFN instance count fails to improve HFU as computational workload is capped by scale-out bandwidth, causing operator active time to shrink relative to the fixed latency budget. We further show that AFD's discrete node-level scaling incurs higher imbalance penalties than EP's continuous batch adjustment. Nevertheless, these limitations diminish under specific conditions: Superpod-class hardware with abundant interconnect bandwidth and models with coarse-grained experts and lower sparsity are more likely to benefit from AFD. These findings position AFD as a promising approach for specific hardware-model combinations rather than a universal solution.

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

↑