arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.10152cs.AIcs.LG
收藏

SpecMoE:通过自辅助推测解码实现快速高效的专家混合推理

SpecMoE: A Fast and Efficient Mixture-of-Experts Inference via Self-Assisted Speculative Decoding

KAIST(韩国科学技术院);UNIST(蔚山科学技术院)

Jehyeon Bang, Eunyeong Cho, Ranggi Hwang, Jinha Chung, Minsoo Rhu

AI总结:

本文提出SpecMoE,一种基于自辅助推测解码算法的高效MoE推理系统,显著提升推理吞吐量并减少内存和互连带宽需求。

摘要:

混合专家(MoE)架构通过选择性激活参数来缓解大语言模型(LLMs)日益增长的计算成本,但其高内存需求和次优参数效率对高效部署构成重大挑战。尽管文献中已提出CPU卸载的MoE推理系统,但它们在大批次大小时效率有限。本文提出SpecMoE,一种基于自辅助推测解码算法的内存高效MoE推理系统。SpecMoE展示了在不需额外模型训练或微调的情况下,将推测解码应用于MoE推理的有效性。我们的系统通过提高推理吞吐量达4.30倍,同时显著降低内存受限系统中内存和互连的带宽需求。

英文摘要:

The Mixture-of-Experts (MoE) architecture has emerged as a promising approach to mitigate the rising computational costs of large language models (LLMs) by selectively activating parameters. However, its high memory requirements and sub-optimal parameter efficiency pose significant challenges for efficient deployment. Although CPU-offloaded MoE inference systems have been proposed in the literature, they offer limited efficiency, particularly for large batch sizes. In this work, we propose SpecMoE, a memory-efficient MoE inference system based on our self-assisted speculative decoding algorithm. SpecMoE demonstrates the effectiveness of applying speculative decoding to MoE inference without requiring additional model training or fine-tuning. Our system improves inference throughput by up to $4.30\times$, while significantly reducing bandwidth requirements of both memory and interconnect on memory-constrained systems.

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

↑