EchoMoE通过激活压缩降低MoE专家并行通信量58%
Communicate the Change: Efficient Expert Parallelism via Activation Compression
EchoMoE提出一种轻量架构改造,用早期层隐藏状态作参考、只同步传输压缩后的差值,从而减少MoE推理中专家并行的通信量。该方法在18个基准上平均性能损失控制在3.8个百分点以内,节点间通信量降低58%、吞吐提升22.6%,在带宽受限的以太网环境下推理吞吐最高提升2.38倍。作者同时开源了适配预训练MoE模型的实现及vLLM推理集成。
论文提出用激活压缩减少MoE专家并行的通信量,并给出吞吐提升与精度损失数据,可供关注大模型推理部署的读者参考。
arXiv:2611.22215v1 Announce Type: new Abstract: Scaling has driven the success of large language models (LLM), with sparse mixture-of-experts (MoE) architectures enabling greater parameter capacity without a proportional increase in computation. At large scales, MoE models rely on expert parallelism to distribute experts across devices. Each MoE layer requires two synchronous collective communication steps during inference: dispatching hidden states to the activated experts and combining the resulting expert outputs. As compute throughput has outpaced interconnect bandwidth, these synchronous collectives have become a major bottleneck to MoE scaling and efficiency. We address this challenge with EchoMoE, a lightweight architecture modification that retrofits existing MoE models, requiring approximately 8,500x fewer training tokens than full pretraining. Motivated by the observation that transformer blocks update the residual stream incrementally, we use a hidden state from an earlier layer as a reference and communicate only the compressed difference between it and the current state, rather than communicating each hidden state in full. EchoMoE periodically refreshes these reference states and transmits only the compressed differences synchronously, reducing the traffic on latency-critical paths without significant computational overhead. EchoMoE reduces inter-node communication volume by 58% and improves throughput by 22.6%, while preserving average performance within 3.8 percentage points across 18 benchmarks. EchoMoE further improves inference throughput by up to 2.38x over bandwidth-constrained Ethernet, paving the way for wide-area distributed inference. EchoMoE also tolerates quantization of the communicated representations without measurable quality loss. We release an efficient implementation for applying EchoMoE to pretrained MoE models, together with an inference integration for vLLM.
来源:arXiv (AI + Vision + Imaging) · arxiv.org