将推理学习为动作抽象的可扩展中期训练强化学习 Learning to Reason as Action Abstractions with Scalable Mid-Training RL 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2025-09-30
👁️ 预览文献
💡 AI 中文简介
大语言模型用强化学习能变得更强,但需要一个“中期训练”阶段来打好基础。这篇论文首次从理论上说明:中期训练应让模型学会一组紧凑的“动作抽象”,而不是原始动作,这样后续强化学习收敛更快、效果更好。作者提出RA3算法,通过变分下界和迭代发现潜在结构来训练。在代码生成任务上,平均性能比基线提升4-8分,并在多个编程测试集上收敛更快、上限更高。
领域自然语言处理 / 大语言模型强化学习
适合谁读需要一定专业背景(了解强化学习与大模型训练)
核心贡献首次从理论上刻画中期训练如何塑造后训练,指出在动作抽象空间而非原始动作空间操作更有效;提出可扩展的中期训练算法RA3,通过序列变分下界和迭代发现潜在结构来优化。
关键数据在HumanEval和MBPP上,RA3比基础模型和下一词预测基线平均提升8分和4分;在HumanEval+、MBPP+、LiveCodeBench和Codeforces上,RLVR收敛更快、渐近性能更高。
推荐理由如果你关心大模型如何通过中期训练和强化学习变得更会推理,这篇提供了理论洞见和实用算法,代码生成任务上提升明显,值得一读。
关键词["中期训练", "强化学习", "动作抽象", "大语言模型", "代码生成", "变分推断"]

原文摘要

查看英文原文摘要

Large language models excel with reinforcement learning (RL), but fully unlocking this potential requires a mid-training stage. An effective mid-training phase should identify a compact set of useful actions and enable fast selection among them through online RL. We formalize this intuition by presenting the first theoretical result on how mid-training shapes post-training: it characterizes an action subspace that minimizes both the value approximation error from pruning and the RL error during subsequent planning. Our analysis reveals two key determinants of mid-training effectiveness: pruning efficiency, which shapes the prior of the initial RL policy, and its impact on RL convergence, which governs the extent to which that policy can be improved via online interactions. These results suggest that mid-training is most effective when the decision space is compact and the effective horizon is short, highlighting the importance of operating in the space of action abstractions rather than primitive actions. Building on these insights, we propose Reasoning as Action Abstractions (RA3), a scalable mid-training algorithm. Specifically, we derive a sequential variational lower bound and optimize it by iteratively discovering temporally-consistent latent structures via RL, followed by fine-tuning on the bootstrapped data. Experiments on code generation tasks demonstrate the effectiveness of our approach. Across multiple base models, RA3 improves the average performance on HumanEval and MBPP by 8 and 4 points over the base model and the next-token prediction baseline. Furthermore, RA3 achieves faster convergence and higher asymptotic performance in RLVR on HumanEval+, MBPP+, LiveCodeBench, and Codeforces.