arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.27123cs.LGcs.AI
收藏

面向混合专家语言模型的重构优化型专家剪枝

Reconstruction-Optimized Expert Pruning for Mixture-of-Experts Language Models

MIT(麻省理工学院);Google(谷歌公司)

Jelena Markovic-Voronov, Petros Prastakos, Kayhan Behdin, Jincheng Cao, Zhipeng Wang, Shayan Mohajer Hamidi, Yuanda Xu, Zhengze Zhou, Wenhui Zhu, Rahul Mazumder

AI总结:

本研究针对混合专家语言模型的专家剪枝问题,提出OptEP方法,通过连续松弛优化专家选择变量并更新保留专家权重,在多个MoE模型及任务上取得优于基线的剪枝效果,大幅提升激进剪枝下的性能保留能力。

摘要:

混合专家(MoE)模型通过稀疏专家激活减少计算量,但部署仍需存储大量专家参数。本研究将利用任务领域校准数据的训练后专家剪枝视为子集选择问题:给定预训练MoE层,选择固定数量的专家以最佳重构其原始输出。精确子集搜索具有组合性,对于每层含大量专家的现代MoE模型而言难以处理。我们开发了OptEP,一种可扩展的连续松弛方法,直接优化可微的专家选择变量,随后对保留的专家权重进行轻量级重构更新。在涵盖数学推理和代码生成的多个MoE架构与任务上,我们的方法优于现有最强的专家剪枝基线,在Qwen3-30B-A3B上的绝对准确率提升达15.05%,在Qwen3-235B-A22B上达14.55%,在GLM-4.5-Air上达11.06%,在Mixtral-8x7B上达16.20%。在激进剪枝下,改进尤为显著,表明基于重构的专家选择与权重适配可在减少保留专家数量的同时,保留模型的大部分原始性能。

英文摘要:

Mixture-of-Experts (MoE) models reduce computation through sparse expert activation, but deployment still requires storing a large number of expert parameters. We study post-training expert pruning using task-domain calibration data as a subset-selection problem: given a pretrained MoE layer, select a fixed number of experts that best reconstruct its original output. Exact subset search is combinatorial and becomes intractable for modern MoE models with many experts per layer. We develop OptEP, a scalable continuous relaxation that directly optimizes differentiable expert-selection variables, followed by a lightweight reconstruction-based update of the retained expert weights. Across multiple MoE architectures and tasks spanning mathematical reasoning and code generation, our approach improves over the strongest existing expert-pruning baselines, with absolute accuracy gains of up to 15.05% on Qwen3-30B-A3B, 14.55% on Qwen3-235B-A22B, 11.06% on GLM-4.5-Air, and 16.20% on Mixtral-8x7B. The improvements are particularly pronounced under aggressive pruning, demonstrating that reconstruction-driven expert selection and weight adaptation can preserve substantially more of the original model's performance while reducing the number of retained experts.

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

↑