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

细粒度单元、扁平决策:面向混合专家模型的分层微专家剪枝

Fine-Grained Units, Flat Decisions: Hierarchical Micro-Expert Pruning for Mixture-of-Experts Models

Houmo AI(鸿眸科技);University of Science and Technology of China(中国科学技术大学);Southeast University(东南大学)

Zukang Xu, Xinpei Gao, Xing Hu, Zhe Jiang, Dawei Yang

AI总结:

该研究针对混合专家模型的微专家剪枝问题,提出两阶段剪枝框架UC-RAMP,在多模型多剪枝率设置下提升了任务准确率,同时降低了推理延迟。

摘要:

微专家剪枝通过移除路由专家内的耦合通道来降低混合专家(MoE)模型的容量。然而,仅更细的剪枝粒度无法保证下游能力的保留,因为相似的语言建模困惑度可能伴随截然不同的任务性能。我们将微专家掩码构建重新视为两个独立决策:在专家间分配保留的容量,以及在该容量内选择通道。我们提出UC-RAMP,这是一个两阶段的训练后剪枝框架,明确分离这些决策。CAPE利用跨域校准证据,在精确的层预算下重新分配专家宽度;RAMP则通过“一进一出”交换,在固定宽度下基于通道交互代理优化通道组成。在三个MoE模型上进行25%和50%的路由专家通道剪枝时,UC-RAMP在6个设置中的5个里,达到了所评估剪枝方法中最高的十任务平均准确率。在50%剪枝时,它在三个模型上分别比最强的评估基线高出8.19、3.96和6.14个百分点。在单A100部署且剪枝率为25%时,UC-RAMP相比未剪枝模型,将首token生成时间降低了19.7%至23.9%,每输出token时间降低了20.2%至22.3%。代码可在该https URL获取。

英文摘要:

Micro-expert pruning reduces the capacity of mixture-of-experts (MoE) models by removing coupled channels within routed experts. However, finer pruning granularity alone does not guarantee the preservation of downstream capabilities, as similar language-modeling perplexity can accompany substantially different task performance. We revisit micro-expert mask construction as two distinct decisions: allocating retained capacity across experts and selecting channels within that capacity. We propose UC-RAMP, a two-stage post-training pruning framework that explicitly separates these decisions. CAPE uses cross-domain calibration evidence to redistribute expert widths under an exact layer-wise budget, while RAMP refines channel composition at fixed widths through one-out, one-in exchanges guided by a channel-interaction surrogate. Across three MoE models at 25% and 50% routed-expert channel pruning, UC-RAMP achieves the highest ten-task mean accuracy among evaluated pruning methods in five of six settings. At 50% pruning, it outperforms the strongest evaluated baseline by 8.19, 3.96, and 6.14 percentage points across the three models, respectively. In a single-A100 deployment at 25% pruning, UC-RAMP reduces measured time to first token by 19.7--23.9% and time per output token by 20.2--22.3% relative to the unpruned model. The code is available at https://github.com/xzktx003/UC_RAMP.

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

↑