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

MergeMoE:通过专家输出合并实现MoE模型的高效压缩

MergeMoE: Efficient Compression of MoE Models via Expert Output Merging

Peking University(北京大学);ByteDance(字节跳动)

Ruijie Miao, Yilun Yao, Zihan Wang, Zhiming Wang, Bairen Yi, LingJun Liu, Yikai Zhao, Tong Yang

AI总结:

本文提出MergeMoE,通过将专家合并视为前向计算中插入矩阵的优化问题,利用数学优化构建压缩矩阵,在多个MoE模型上以相同压缩比优于基线。

摘要:

混合专家(MoE)技术已被证明是高效扩展模型规模的一种有前景的解决方案,并已广泛应用于近期大语言模型的进展中。然而,MoE模型巨大的内存开销使其压缩成为一个重要的研究方向。在本工作中,我们对专家合并这一近期提出的用于压缩MoE模型的技术进行了理论分析。我们没有从传统的参数聚合视角来解读专家合并,而是从合并专家输出的角度来审视它。我们的关键洞察在于,合并过程可以被解释为在前向计算中插入额外的矩阵,这自然引出了一个优化公式。基于这一分析,我们提出了MergeMoE,一种利用数学优化来构建压缩矩阵的方法。我们在多个MoE模型上评估了MergeMoE,并表明我们的算法在相同压缩比下始终优于基线方法。

英文摘要:

The Mixture-of-Experts (MoE) technique has proven to be a promising solution to efficiently scale the model size, which has been widely applied in recent LLM advancements. However, the substantial memory overhead of MoE models has made their compression an important research direction. In this work, we provide a theoretical analysis of expert merging, a recently proposed technique for compressing MoE models. Rather than interpreting expert merging from the conventional perspective of parameter aggregation, we approach it from the perspective of merging experts' outputs. Our key insight is that the merging process can be interpreted as inserting additional matrices into the forward computation, which naturally leads to an optimization formulation. Building on this analysis, we introduce MergeMoE, a method that leverages mathematical optimization to construct the compression matrices. We evaluate MergeMoE on multiple MoE models and show that our algorithm consistently outperforms the baselines with the same compression ratios.

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

↑