重新审视用于后训练的完整推理轨迹
研究论文 · 2026/09/10
大型语言模型(LLM)通常通过预收集的推理轨迹进行后训练以提升推理能力。这些轨迹因路径复杂交织而往往很长,常包含通往答案的绕路。然而,LLM在后训练(如有监督微调SFT)中学习完整轨迹是否真正受益,尚未被充分探索。从初步研究出发,我们发现完整轨迹仅带来有限收益,而部分轨迹即使经过重度截断也有效。我们通过基于注意力的分析和受控的token移除研究来分析推理轨迹中的冗余,两者均表明中间token对最终推理质量的贡献极小。这表明,避免冗余信息可能让LLM在已知轨迹端点的情况下,通过内部知识推断缺失步骤,从而内部推断出连贯的替代方案。此外,我们表明使用端点训练LLM会导致推理行为的一致变化,并且也有益于基于强化学习或在线策略蒸馏的后训练方法,凸显了重新审视完整推理轨迹的必要性。代码见 https://github.com/naver-ai/revisiting-trace。
该研究挑战了后训练中必须使用完整推理轨迹的常规做法,证明中间步骤冗余且可被模型内部推断替代,为提升训练效率与推理性能提供了新方向,并适用于强化学习与在线策略蒸馏等后训练方法。
Large language models (LLMs) are often post-trained on pre-collected reasoning trajectories to improve their reasoning capability. Such trajectories tend to be long due to complex, interwoven paths, which often include detours on the path toward the answer. However, it has been underexplored whether LLMs indeed benefit from learning complete trajectories in post-training, such as supervised fine-tuning (SFT). Starting from our pilot study, we find that full trajectories provide only limited benefit, while partial trajectories are effective even under heavy truncation. We analyze redundancy in reasoning trajectories through attention-based analyses and controlled token-removal studies, both of which show that intermediate tokens contribute minimally to final reasoning quality. This suggests that avoiding redundant information may allow LLMs to internally infer coherent alternatives by inferring missing steps from their internal knowledge, given known trajectory endpoints. Furthermore, we show that training LLMs using endpoints leads to consistent changes in reasoning behavior, and that it also benefits post-training methods based on reinforcement learning or on-policy distillation, highlighting the need to revisit complete reasoning traces. Code is available at https://github.com/naver-ai/revisiting-trace.