arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2610.41236cs.AI
收藏

专家呈现结构化冗余:面向混合专家大语言模型的保结构专家剪枝

Experts Exhibit Structured Redundancy: Structure-Preserving Expert Pruning for Mixture-of-Experts Large Language Models

Peking University(北京大学);Key Laboratory of High Confidence Software Technologies, Peking University, Ministry of Education(教育部高可信软件技术重点实验室(北京大学));Shanghai Jiaotong University(上海交通大学);Qilu University of Technology(齐鲁工业大学);Shandong Computer Science Center(山东省计算机科学中心)

Tian Wang, Yongding Tao, Yihong Dong, Xiaoming Wu, Ying Guo, Ge Li

AI总结:

本文针对混合专家大语言模型部署的高内存开销问题,提出两种保结构专家剪枝方法PEEP与DCEP,在DeepSeek-V2-Lite等模型上,75%和50%保留比例下均优于现有最优基线。

摘要:

稀疏混合专家(Mixture-of-Experts, MoE)机制显著提升了模型容量与推理效率之间的权衡,但实际部署仍需存储所有专家,导致巨大的内存开销。本文表明,MoE层中的专家输出呈现结构化冗余:在不同模型和任务类别中,专家输出的稳定秩和熵有效秩始终远低于专家的名义数量,且专家输出分布的有效模式也更少。基于这些观察,我们将专家剪枝重新表述为保结构专家子集选择问题,并通过贪心策略高效优化,而非仅独立评分和排序单个专家,或对专家组合进行穷举搜索。我们在统一的保结构框架下提出两种专家剪枝方法:投影能量专家剪枝(Projection Energy Expert Pruning, PEEP),通过最大化加权投影能量来保留功能子空间;分布覆盖专家剪枝(Distributional Coverage Expert Pruning, DCEP),通过最小化加权覆盖误差来保留分布几何。两种方法均将路由(router)导出的权重作为先验,使其既能共同保留专家间的全局结构关系,又能考虑单个专家的局部重要性。在DeepSeek-V2-Lite和Qwen3-30B-A3B上的实验表明,在专家保留比例为75%和50%时,我们的方法在大多数基准测试中优于现有最优基线,且在通用任务和数学推理任务上均始终取得最佳平均性能。

英文摘要:

Sparse MoE mechanism significantly improves the trade-off between model capacity and inference efficiency. However, practical deployment still requires storing all experts, resulting in substantial memory overhead. We show that expert outputs in MoE layers exhibit structured redundancy. Across different models and task categories, the stable rank and entropy effective rank of expert outputs are consistently far below the nominal number of experts, while expert output distributions also exhibit fewer effective modes. Motivated by these observations, we reformulate expert pruning as a structure-preserving expert subset selection problem and efficiently optimize it via a greedy strategy, rather than only independently scoring and ranking individual experts or exhaustively searching over expert combinations. We propose two expert pruning methods under the unified structure-preserving framework: Projection Energy Expert Pruning (PEEP), which preserves the functional subspace by maximizing weighted projection energy, and Distributional Coverage Expert Pruning (DCEP), which preserves the distributional geometry by minimizing weighted coverage error. Both methods incorporate router-derived weights as priors, enabling them to jointly preserve the global structural relationships among experts while accounting for the local importance of individual experts. Experiments on DeepSeek-V2-Lite and Qwen3-30B-A3B demonstrate that, at the expert retention ratios of 75% and 50%, our methods outperform the state-of-the-art baselines on the majority of benchmarks and consistently achieve the best average performance across both general tasks and mathematical reasoning tasks.

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

↑