arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.13982cs.LGstat.ML
收藏

PRIME:面向MoE压缩的频率感知统一剪枝与合并方法

PRIME: Frequency-Aware Unified Pruning and Merging for MoE Compression

Baidu Inc(百度公司)

Shanfeng Huang, Rongqian Zhang, Zhou Fang, Song Xiao, Hai Du

AI总结:

针对MoE模型压缩的内存挑战,提出PRIME统一框架,通过频率加权整数线性规划联合剪枝与合并,在Qwen系列模型上实现精度保持并提升内存与吞吐量。

摘要:

混合专家(MoE)模型已成为扩展大语言模型的有效范式,但其庞大的参数规模给部署带来了严峻的内存挑战。现有压缩方法通常将专家剪枝与合并视为互不关联的操作,且依赖贪心启发式策略,往往导致不可逆的信息损失或表征污染。本文提出PRIME,一种通过自适应剪枝(PRunIng)与合并(MErging)实现MoE压缩的统一优化框架。PRIME将离散的剪枝-合并分配步骤转化为基于频率加权替代目标的全局整数线性规划,在考虑专家使用情况的同时,联合选择剪枝与合并决策。我们通过固定代表性分配下的误差界分析,论证了频率感知目标的合理性,且该公式倾向于选择高频专家作为质心,提升路由稳定性。在Qwen3-30B-A3B与Qwen3.5-122B-A10B上开展的大量实验表明,PRIME在知识、编码、数学及长上下文任务中实现了出色的精度保持,同时合并模型的基准测试量化了vLLM中专家压缩带来的内存与吞吐量收益。

英文摘要:

Mixture-of-Experts (MoE) models have emerged as an effective paradigm for scaling large language models, yet their massive parameter footprint poses severe memory challenges for deployment. Existing compression methods typically treat expert pruning and merging as disjoint operations and rely on greedy heuristics, often leading to irreversible information loss or representational pollution. In this paper, we propose PRIME, a unified optimization framework for MoE compression via adaptive PRunIng and MErging. PRIME casts the discrete prune-merge assignment step as a global Integer Linear Programming over a frequency-weighted surrogate objective, jointly selecting pruning and merging decisions while accounting for expert usage. We motivate the frequency-aware objective through an error-bound analysis under fixed representative assignments, and show that the formulation favors high-frequency experts as centroids, promoting routing stability. Extensive experiments on Qwen3-30B-A3B and Qwen3.5-122B-A10B demonstrate that PRIME achieves strong accuracy retention across knowledge, coding, math, and long-context tasks, while serving benchmarks of merged models quantify the memory and throughput benefits of expert compression in vLLM.

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

↑