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

Yuqiao Tan, Minzheng Wang, Bo Liu, Zichen Liu, Tian Liang +3 more
4/15/2026
cs.LGcs.AIcs.CL

No official code found. Best implementation: Trae1ounG/Pretrain_Space_RLVR (17 stars, MIT, last commit 2026-04-16).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

MIT

[arxiv: 2604.14142] From P(y|x) to P(y): Investigating Reinforcement Learning in Pre-train Space

170Shell, Python6 months agoMIT
llmrlrlvr

Similar Papers

Cite this paper

@article{tan2026from,
  title  = {From $P(y|x)$ to $P(y)$: Investigating Reinforcement Learning in Pre-train Space},
  author = {Yuqiao Tan and Minzheng Wang and Bo Liu and Zichen Liu and Tian Liang and Shizhu He and Jun Zhao and Kang Liu},
  year   = {2026},
  eprint = {2604.14142},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2604.14142v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2604.14142.svg)](https://codeofpaper.com/paper/2604.14142)

Discussion