利用在线蒸馏缓解长度缩放税
研究论文 · 2026/10/01
在强化学习后训练中,长度缩放常被视为推理能力提升的标志,但也会导致已解决查询的响应变得冗长。我们将这种副作用量化为长度缩放税(LST):在已解决查询上响应长度增加,而准确率没有相应提升。为了缓解LST,我们提出了长度自蒸馏(LSD),它将已解决的提示路由到同策略蒸馏,并对未解决的提示保留原始强化学习目标。LSD使用在线策略的指数移动平均作为教师,无需外部模型。我们发现,LSD在多个变体上达到与强化学习相当或更好的性能,同时大幅抑制简单查询的响应长度增长。LSD将单轮推理的LST从19.0%降至-3.7%,在多轮智能体任务中从31.4%降至13.7%,表明LSD在强化学习后训练中有效保持了简单查询的简洁响应模式,同时支持困难查询的高效探索。
该研究识别并量化了强化学习后训练中响应长度过度增长的问题,提出了一种无需外部模型的自蒸馏方法,在保持性能的同时显著提升简单查询的响应效率,对优化推理模型的实际部署有重要价值。
Length scaling during reinforcement-learning (RL) post-training is often viewed as a sign of improved reasoning ability, especially on difficult problems, but may also make responses to already-solved problems unnecessarily verbose. We quantify this side effect as the length-scaling tax (LST): excess response length on already-solved queries without a commensurate accuracy gain. To mitigate LST, we propose Length Self-Distillation (LSD), which routes solved prompts to on-policy distillation and retains the original RL objective for unsolved prompts. LSD uses an exponential moving average of the online policy as its teacher, requiring no external model. We find that LSD achieves comparable or better performance than RL across multiple variants, while substantially curbing response-length growth on easy queries. LSD reduces LST from 19.0% to -3.7% on single-turn reasoning and from 31.4% to 13.7% on multi-turn agentic tasks, demonstrating that LSD effectively preserves concise response patterns on easy queries while supporting efficient exploration on difficult queries during RL post-training.