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

用于高效专家混合推理的通信感知放置与剪枝

Communication-Aware Placement and Pruning for Efficient Mixture-of-Experts Inference

Sun Yat-sen University(中山大学)

Xiao Shi, Yingying Sun, Jiangsu Du, Zhiguang Chen, Yutong Lu

AI总结:

针对专家混合模型规模扩大后通信影响分布式推理性能的问题,提出CAP框架,通过协同激活驱动的专家放置、通信-计算权衡调整和通信感知专家剪枝,为不同硬件配置选择高效策略,提升推理吞吐量并保持模型精度。

摘要:

随着专家混合(MoE)模型扩展到数百个专家,放置和剪枝决策越来越多地决定通信量,影响跨GPU和节点的分布式推理性能。我们提出了CAP(通信感知分配和剪枝),这是一个通过专家放置和剪枝,综合考虑计算、通信和准确性以实现高效MoE推理的框架。它由三个组件组成:(1)协同激活驱动的专家放置,将频繁协同激活的专家分组以减少设备间和节点间通信;(2)通信-计算权衡调整,生成具有不同计算负载和通信量的放置;(3)通信感知专家剪枝,选择性地移除路由目的地以减少通信,同时精度下降有限。通过组合这些组件,CAP为不同硬件配置选择高效的操作策略。在我们的单节点和多节点实验中,它在vLLM中比DeepSeek EPLB和顺序放置实现了1.23倍至1.86倍的吞吐量提升,并且在有损加速下以相同目标加速比保持了更好的模型精度。

英文摘要:

As MoE models scale to hundreds of experts, placement and pruning decisions increasingly dictate communication volume, affecting the performance of distributed inference across GPUs and nodes. We propose CAP (Communication-Aware Assignment and Pruning), a framework that considers computation, communication and accuracy together for efficient MoE inference through expert placement and pruning. It consists of three components: (1) Co-activation driven expert placement, which groups frequently co-activated experts to reduce inter-device and inter-node communication; (2) Communicationcomputation trade-off adjustment, which generates placements with different computational load and communication volume; and (3) Communication-aware expert pruning, which selectively removes routing destinations to reduce communication with limited accuracy degradation. By combining these components, CAP selects an efficient operating strategy for different hardware configurations. Across our single-node and multi-node experiments, it achieves 1.23x - 1.86 x throughput improvement over DeepSeek EPLB and sequential placement in vLLM, and preserves better model accuracy at the same target speedup under lossy acceleration.

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

↑