超越显而易见的必要性:在结果监督下扩展训练时间推理长度的隐藏收益
Beyond What Seems Necessary: Hidden Gains from Scaling Training-Time Reasoning Length under Outcome Supervision
AI总结:
本文提出在结果监督下扩展训练时间推理长度可提升模型鲁棒性,通过理论和实验揭示增加推理长度对超出分布性能的积极影响。
摘要:
训练大语言模型(LLMs)以更长时间思考和推理已成为构建能够解决以前无法解决的复杂问题的最先进模型的关键要素。最近的努力以不同方式追求这一目标,例如通过强化学习微调来激发长链式推理,或通过架构递归扩展潜在推理。这使得推理长度成为一个重要的可调节参数。在本文中,我们识别出一种新的现象(理论和实验均证实):在仅结果监督的情况下,超出分布(OOD)性能可以随着训练时间推理长度(例如,在强化学习中的token预算,或在循环Transformer中的循环次数)的增加而继续改进,即使在分布内(ID)性能已经饱和。这表明鲁棒性可能需要比ID验证单独指示的更大预算。我们通过两种机制提供理论解释:(i)自我迭代可以诱导假设类中的更强归纳偏置,重塑ID最优解,以改善OOD泛化;(ii)当在ID样本中起作用但在OOD样本中不起作用的捷径解持续存在于假设类中时,正则化可以随着自我迭代次数的增加而减少学习解对这些捷径的依赖。我们通过两种扩展训练时间推理长度的实现补充理论:在合成任务上增加循环Transformer中的循环次数,以及在数学推理中增加强化学习微调的token预算。
英文摘要:
Training LLMs to think and reason for longer has become a key ingredient in building state-of-the-art models that can solve complex problems previously out of reach. Recent efforts pursue this in different ways, such as RL fine-tuning to elicit long CoT or scaling latent reasoning through architectural recurrence. This makes reasoning length an important scaling knob. In this work, we identify a novel phenomenon (both theoretically and experimentally): under outcome-only supervision, out-of-distribution (OOD) performance can continue improving as training-time reasoning length (e.g., the token budget in RL, or the loop count in looped Transformers) increases, even after in-distribution (ID) performance has saturated. This suggests that robustness may require a larger budget than ID validation alone would indicate. We provide theoretical explanations via two mechanisms: (i) self-iteration can induce a stronger inductive bias in the hypothesis class, reshaping ID-optimal solutions in ways that improve OOD generalization; and (ii) when shortcut solutions that work for ID samples but not for OOD samples persist in the hypothesis class, regularization can reduce the learned solution's reliance on these shortcuts as the number of self-iterations increases. We complement the theory with empirical evidence from two realizations of scaling training-time reasoning length: increasing the number of loops in looped Transformers on a synthetic task, and increasing token budgets during RL fine-tuning of LLMs on mathematical reasoning.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。