arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.07783cs.CL
收藏

在预训练、中训练和强化学习对推理语言模型的相互作用中

On the Interplay of Pre-Training, Mid-Training, and RL on Reasoning Language Models

Carnegie Mellon University, Language Technologies Institute(卡内基梅隆大学,语言技术研究所)

Charlie Zhang, Graham Neubig, Xiang Yue

AI总结:

研究探讨了预训练、中训练和强化学习在推理语言模型中的相互作用,发现RL需预训练留有余地才能提升能力,中训练提升性能,过程级奖励提高推理准确性。

摘要:

最近的强化学习(RL)技术在语言模型中产生了显著的推理改进,但尚不清楚后训练是否真的能将模型的推理能力扩展到预训练期间所获得的水平之上。一个核心挑战是现代训练流水线缺乏控制:大规模预训练语料是模糊的,中训练往往被忽视,而RL目标与未知的先验知识以复杂的方式相互作用。为了解除这种模糊性,我们开发了一个完全受控的实验框架,该框架隔离了预训练、中训练和基于RL的后训练的因果贡献。我们的方法使用合成推理任务,具有明确的原子操作,可逐步解析的推理轨迹,并系统地操纵训练分布。我们沿着两个轴评估模型:扩展性泛化到更复杂的组合和上下文泛化到表面上下文中。使用这个框架,我们调和了关于RL有效性竞争的观点。我们显示:1)只有当预训练留有足够的余量且RL数据针对模型的胜任边缘时,RL才能产生真正的能力提升(pass@128)。2)上下文泛化需要最小但足够的预训练暴露,之后RL可以可靠地进行转移。3)中训练在固定计算下显著增强性能,相比仅RL,显示出其核心但未被充分探索的角色。4)过程级奖励减少奖励黑客并提高推理的准确性。这些结果澄清了预训练、中训练和RL之间的相互作用,为理解和改进推理LM训练策略提供了基础。

英文摘要:

Recent reinforcement learning (RL) techniques have yielded impressive reasoning improvements in language models, yet it remains unclear whether post-training truly extends a model's reasoning ability beyond what it acquires during pre-training. A central challenge is the lack of control in modern training pipelines: large-scale pre-training corpora are opaque, mid-training is often underexamined, and RL objectives interact with unknown prior knowledge in complex ways. To resolve this ambiguity, we develop a fully controlled experimental framework that isolates the causal contributions of pre-training, mid-training, and RL-based post-training. Our approach employs synthetic reasoning tasks with explicit atomic operations, parseable step-by-step reasoning traces, and systematic manipulation of training distributions. We evaluate models along two axes: extrapolative generalization to more complex compositions and contextual generalization across surface contexts. Using this framework, we reconcile competing views on RL's effectiveness. We show that: 1) RL produces true capability gains (pass@128) only when pre-training leaves sufficient headroom and when RL data target the model's edge of competence, tasks at the boundary that are difficult but not yet out of reach. 2) Contextual generalization requires minimal yet sufficient pre-training exposure, after which RL can reliably transfer. 3) Mid-training significantly enhances performance under fixed compute compared with RL only, demonstrating its central but underexplored role in training pipelines. 4) Process-level rewards reduce reward hacking and improve reasoning fidelity. Together, these results clarify the interplay between pre-training, mid-training, and RL, offering a foundation for understanding and improving reasoning LM training strategies.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑