arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.04356cs.AIcs.CLcs.LGcs.PF
收藏

REAM:合并改进LLMs中专家的剪枝

REAM: Merging Improves Pruning of Experts in LLMs

Mila – Quebec AI Institute(Mila – 魁北克人工智能研究所);Polytechnique Montréal(蒙特利尔综合理工学院);Université de Montréal(蒙特利尔大学);McGill University(麦吉尔大学);AI Center, Samsung, South Korea(三星人工智能中心,韩国);Samsung AI Lab, Montreal(三星人工智能实验室,蒙特利尔)

Saurav Jha, Maryam Hashemzadeh, Ali Saheb Pasand, Ali Parviz, Min-Joong Lee, Boris Knyazev

AI总结:

REAM通过合并而非移除专家,优化MoE LLMs的剪枝,保留性能。在多个基准上验证,显示在不同数据混合下存在MC与GEN性能的权衡,REAM在多数情况下优于基线。

摘要:

混合专家(MoE)大型语言模型(LLMs)是表现优异的架构。最大模型常有数百亿参数,部署面临显著内存挑战。传统方法包括权重剪枝和量化。受路由加权专家激活剪枝(REAP)启发,我们提出路由加权专家激活合并(REAM)。不同于移除专家,REAM将专家分组并合并权重,更有效地保留原始性能。我们在多个MoE LLMs上评估REAM,针对多样化的多选(MC)问答和生成(GEN)基准。结果揭示MC与GEN性能之间存在依赖校准数据混合的权衡。通过控制通用、数学和编码数据的混合比例,我们考察了这一权衡的帕累托前沿,并表明REAM在多数情况下优于基线,在许多情况下与原始未压缩模型相当。

英文摘要:

Mixture-of-Experts (MoE) large language models (LLMs) are among the top-performing architectures. The largest models, often with hundreds of billions of parameters, pose significant memory challenges for deployment. Traditional approaches to reduce memory requirements include weight pruning and quantization. Motivated by the Router-weighted Expert Activation Pruning (REAP) that prunes experts, we propose a novel method, Router-weighted Expert Activation Merging (REAM). Instead of removing experts, REAM groups them and merges their weights, better preserving original performance. We evaluate REAM against REAP and other baselines across multiple MoE LLMs on diverse multiple-choice (MC) question answering and generative (GEN) benchmarks. Our results reveal a trade-off between MC and GEN performance that depends on the mix of calibration data. By controlling the mix of general, math and coding data, we examine the Pareto frontier of this trade-off and show that REAM often outperforms the baselines and in many cases is comparable to the original uncompressed models.

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

↑