我们遗忘之物中我们所保留的:无训练MoE专家剪枝中的替换算子与路由语义

·

研究论文 · 2026/11/04

无训练专家剪枝涉及两个决策:移除哪些专家,以及当路由器仍选择被移除专家时层计算什么。现有方法同时改变两者。在固定掩码的情况下,我们在OLMoE、DeepSeek-V2-Lite和Moonlight上比较了三类替换算子,并以Granite作为第四个路由器,使用配对的多重性校正检验。最大效应通常被隐含处理:幸存专家的门控缩放。在未使用top-k重归一化训练的路由器上,对幸存门控进行重归一化(常见实现选择)会损失0.8-8.5个百分点,并逆转重路由是否优于MoNE均值输出替换;在两个使用重归一化训练的路由器上,训练尺度在50%剪枝时胜出。我们引入了倾斜新手(tilted novice),一种剪枝专家输入的闭式低秩映射,其秩0情形为MoNE常数。在50%剪枝时,它增加1.2-1.8%参数,在OLMoE和Moonlight上分别比常数提升3.45和1.37个百分点,跨校准抽取稳定,且受4位和3位量化影响不大。没有算子占主导:训练尺度重路由在DeepSeek-V2-Lite上最佳,而每个剪枝专家的部分副本在两个模型上与倾斜新手统计上不可区分。评估可能改变结论:在25%剪枝时,MoNE常数保持92-97%的密集多选题准确率,但仅保持5-65%的GSM8K和0-17%的代码分数,且校准域对掩码的影响是重采样的4-9倍。我们提出了五项报告清单。

该研究系统比较了无训练MoE专家剪枝中的替换算子,揭示了门控缩放这一关键但常被忽略的选择,并提出了简单有效的倾斜新手算子。同时,文章强调了评估任务和校准域对结论的重大影响,并提供了报告清单,对MoE模型压缩的实践和评估具有重要指导意义。

Training-free expert pruning makes two decisions: which experts to remove, and what the layer computes when its router still selects a removed expert. Published methods change both at once. Holding the mask fixed, we compare replacement operators from three families on OLMoE, DeepSeek-V2-Lite and Moonlight, with Granite as a fourth router, using paired, multiplicity-corrected tests. The largest effect is a choice usually left implicit: the survivors' gate scale. On routers trained without top-k renormalization, renormalizing the survivors' gates, a common implementation choice, costs 0.8-8.5 points and reverses whether rerouting beats MoNE's mean-output replacement; on two routers trained with renormalization, the trained scale wins at 50% pruning. We introduce the tilted novice, a closed-form low-rank map of the pruned expert's input whose rank-0 case is MoNE's constant. At 50% pruning it adds 1.2-1.8% parameters and gains 3.45 and 1.37 points over the constant on OLMoE and Moonlight, stable across calibration draws and largely unchanged by 4- and 3-bit quantization. No operator dominates: trained-scale rerouting is best on DeepSeek-V2-Lite, and a partial copy of each pruned expert is statistically indistinguishable from the tilted novice on two models. Evaluation can change conclusions: at 25% pruning MoNE's constant keeps 92-97% of dense multiple-choice accuracy but only 5-65% of GSM8K and 0-17% of code scores, and the calibration domain moves the mask 4-9 times more than resampling. We propose a five-item reporting checklist.

阅读原文

参与讨论