无需搜索的锐化:序列级功率分布的同策略蒸馏

·

研究论文 · 2026/10/07

语言模型可能给正确答案的概率高于任何单个错误答案,但仍常采样到错误答案,因为错误答案的总概率更大。幂分布将每个完整答案的概率提升到大于1的幂并重新归一化,使概率向模型认为最可能的答案偏移(锐化)。从中采样可提升推理能力而不改变参数,但每个查询需要许多评分候选。我们表明,模型可以通过一次生成来产生这样的答案。在策略幂蒸馏(OPPD)运行顺序蒙特卡洛采样器,其中被训练的模型生成候选,冻结教师的幂分布对其加权;相同的概率在最大似然更新中加权每个答案。训练将单次生成准确率在MATH500上比未训练模型(相同温度)提高最多23.0分,在GSM8K上提高27.3分,且一次生成比已发表的64候选幂采样高2.4和3.5分,恢复了16候选给未训练模型带来的94%增益。作为对比,与从相同检查点和预算用验证奖励训练的GRPO相比,OPPD在MATH500、GSM8K和AIME上分别高3.8、4.0和5.4分,且不使用参考答案;两者互补,GRPO后应用OPPD最多增加9.3分。仅在数学上训练,OPPD将HumanEval准确率提高最多5.3分。一个损失系数将模型吸收的锐化指数在1.19到2.02之间移动,而普通在策略蒸馏为1.14,且它主要在模型自己的答案上升高。增益在模型家族和规模上保持,包括已用验证奖励训练的模型,其中降低温度无效果,而OPPD在MATH500上增加4.4分。代码:https://github.com/ArminAzizi98/OPPD。

该研究提出了一种无需多次采样即可在单次生成中实现幂分布锐化效果的方法,显著提升了语言模型的推理准确率,并在多个基准上超越现有方法,且与GRPO互补,具有重要的实用价值和理论意义。

A language model can give a correct answer more probability than any single incorrect answer and still usually sample an incorrect one, because the incorrect answers together hold more probability. The power distribution raises each complete answer's probability to a power above one and renormalizes, shifting probability toward answers the model finds most likely (sharpening). Sampling from it improves reasoning without changing parameters, but needs many scored candidates per query. We show that a model can instead be trained to produce such answers in one generation. On-policy power distillation (OPPD) runs a sequential Monte Carlo sampler in which the model being trained generates candidates and a frozen teacher's power distribution weights them; the same probabilities weight each answer in a maximum-likelihood update. Training raises single-generation accuracy by up to 23.0 points on MATH500 and 27.3 on GSM8K over the untrained model at the same temperature, and one generation scores 2.4 and 3.5 points above published power sampling with 64 candidates, recovering 94 percent of the gain that 16 candidates give the untrained model. For context, against GRPO trained with verified rewards from the same checkpoint and budget, OPPD scores 3.8, 4.0 and 5.4 points higher on MATH500, GSM8K and AIME using no reference answers; the two are complementary, and OPPD applied after GRPO adds up to 9.3 points. Trained only on mathematics, OPPD raises HumanEval accuracy by up to 5.3 points. One loss coefficient moves the sharpening exponent the model absorbs between 1.19 and 2.02, against 1.14 for ordinary on-policy distillation, and it rises mostly on the model's own answers. Gains hold across model families and sizes, including a model already trained with verified rewards, where lowering the temperature gives nothing and OPPD adds 4.4 points on MATH500. Code: https://github.com/ArminAzizi98/OPPD.

阅读原文

参与讨论