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

从P(y|x)到P(y):在预训练空间中研究强化学习

From $P(y|x)$ to $P(y)$: Investigating Reinforcement Learning in Pre-train Space

Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);University of Chinese Academy of Sciences(中国科学院大学);National University of Singapore(新加坡国立大学);Tencent AI Lab(腾讯AI实验室)

Yuqiao Tan, Minzheng Wang, Bo Liu, Zichen Liu, Tian Liang, Shizhu He, Jun Zhao, Kang Liu

AI总结:

本文提出PreRL和DSRL方法,通过优化预训练空间中的边际分布P(y),提升LLM推理能力,并通过NSR机制增强推理效果,实验表明DSRL在推理任务中表现优异。

摘要:

虽然具有可验证奖励的强化学习(RLVR)通过优化条件分布P(y|x)显著增强了LLM推理能力,但其潜力受限于基础模型现有输出分布。在预训练空间中优化边际分布P(y)通过编码推理能力并保持广泛探索能力解决这一瓶颈。然而,传统预训练依赖静态语料进行被动学习,导致分布偏移阻碍了目标推理增强。本文引入PreRL(预训练空间强化学习),直接对P(y)应用奖励驱动的在线更新。我们理论和实证验证了log P(y)与log P(y|x)之间的强梯度对齐,确立PreRL作为标准强化学习的可行替代方案。此外,我们发现PreRL中的负样本强化(NSR)是极其有效的推理驱动因素。NSR-PreRL快速修剪错误推理空间并刺激内生反思行为,分别将转移和反思思维增加14.89倍和6.54倍。基于这些见解,我们提出双空间强化学习(DSRL),一种策略重生成策略,通过NSR-PreRL初始化模型以扩展推理范围,再过渡到标准强化学习进行精细优化。大量实验表明,DSRL在推理任务中一致优于强基线,证明预训练空间修剪有效引导策略向精炼正确推理子空间发展。

英文摘要:

While reinforcement learning with verifiable rewards (RLVR) significantly enhances LLM reasoning by optimizing the conditional distribution P(y|x), its potential is fundamentally bounded by the base model's existing output distribution. Optimizing the marginal distribution P(y) in the Pre-train Space addresses this bottleneck by encoding reasoning ability and preserving broad exploration capacity. Yet, conventional pre-training relies on static corpora for passive learning, leading to a distribution shift that hinders targeted reasoning enhancement. In this paper, we introduce PreRL (Pre-train Space RL), which applies reward-driven online updates directly to P(y). We theoretically and empirically validate the strong gradient alignment between log P(y) and log P(y|x), establishing PreRL as a viable surrogate for standard RL. Furthermore, we uncover a critical mechanism: Negative Sample Reinforcement (NSR) within PreRL serves as an exceptionally effective driver for reasoning. NSR-PreRL rapidly prunes incorrect reasoning spaces while stimulating endogenous reflective behaviors, increasing transition and reflection thoughts by 14.89x and 6.54x, respectively. Leveraging these insights, we propose Dual Space RL (DSRL), a Policy Reincarnation strategy that initializes models with NSR-PreRL to expand the reasoning horizon before transitioning to standard RL for fine-grained optimization. Extensive experiments demonstrate that DSRL consistently outperforms strong baselines, proving that pre-train space pruning effectively steers the policy toward a refined correct reasoning subspace.

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

↑