Reinforcement Pre-Training

Qingxiu Dong, Li Dong, Yao Tang, Tianzhu Ye, Yutao Sun, Zhifang Sui, Furu WeiarXiv 2025 · OpenReview

Abstract

In this work, we introduce Reinforcement Pre-Training (RPT) as a new scaling paradigm for large language models and reinforcement learning (RL). Specifically, we reframe next-token prediction as a reasoning task trained using RL, where it receives verifiable rewards for correctly predicting the next token for a given context. RPT offers a scalable method to leverage vast amounts of text data for general-purpose RL, rather than relying on domain-specific annotated answers. By incentivizing the capability of next-token reasoning, RPT significantly improves the language modeling accuracy of predicting the next tokens. Moreover, RPT provides a strong pre-trained foundation for further reinforcement fine-tuning. The scaling curves show that increased training compute consistently improves the next-token prediction accuracy. The results position RPT as an effective and promising scaling paradigm to advance language model pre-training.

Introduction

Modern Large Language Models (LLMs) are typically developed in two distinct phases: massive-scale pre-training using next-token prediction (NTP) and post-training alignment using Reinforcement Learning (RL). While pre-training is highly scalable, it primarily teaches models to mimic patterns without explicit reasoning. Conversely, standard RL is powerful for reasoning but difficult to scale, as it often requires expensive human labels or narrow, domain-specific verifiers like code compilers.

Reinforcement Pre-Training (RPT) bridges this gap by treating the entire web-text corpus as a verifiable dataset for RL. By reframing the fundamental task of language modeling, RPT allows RL to scale alongside pre-training data, transforming RL from a final "alignment" step into a foundational training paradigm.

The paradigm shift from RL as a post-training "cherry" to a pre-training foundation via RPT.

Methodology: Next-Token Reasoning

The core innovation of RPT is the transition from simple Next-Token Prediction to Next-Token Reasoning. Instead of directly outputting the next token $x_t$ given a context $x_{<t}$, the model is incentivized to generate an internal "thinking" sequence ($c_t$) before making its final prediction ($y_t$).

The Verifiable Reward

Because the training data consists of ground-truth text, the "answer key" for RL is built-in. If the model's predicted token matches the actual next token in the corpus, it receives a positive reward. This "Prefix Matching Reward" allows for rule-based verification across any text dataset.

Comparison between standard Next-Token Prediction and RPT's Next-Token Reasoning, which includes an internal monologue.

Technical Implementation

  • Group Relative Policy Optimization (GRPO): RPT utilizes GRPO to learn from multiple thinking trajectories efficiently, avoiding the memory overhead of separate critic models.
  • Entropy-based Filtering: To optimize compute, the authors use a proxy model to identify "hard" tokens—where the next word is not obvious—and prioritize these for RPT training.

Key Results and Scaling Laws

The researchers evaluated RPT using benchmarks such as MMLU-Pro and SuperGPQA, focusing on primary experiments with the OmniMATH dataset. Key findings include:

  • Performance Gains: RPT-14B achieved a next-token prediction accuracy of 45.11% on challenging tokens, compared to 41.60% for the standard base model. On MMLU-Pro, accuracy jumped from 48.4% to 71.1%.
  • Efficiency: The RPT-14B model outperformed the significantly larger R1-Distill-Qwen-32B on the SuperGPQA benchmark (39.0 vs 37.2), demonstrating that reasoning-heavy pre-training allows smaller models to punch above their weight.
  • Scaling Behavior: The study confirmed a power-law relationship: increasing RL training compute consistently improves next-token prediction accuracy across all difficulty levels.

Discussion and Future Work

RPT demonstrates that the internet itself can serve as a verifier for RL, removing the need for specialized reward models. Qualitative analysis shows that RPT models engage in hypothesis-driven reasoning, brainstorming why specific words or symbols (like LaTeX backslashes) are likely to appear next.

While this study focused on reasoning-dense data like mathematics, future work aims to scale RPT to general-domain web text and investigate whether a reasoning model can be trained entirely from scratch using this paradigm. Currently, RPT provides a significantly stronger foundation for traditional post-training RL, reaching higher performance ceilings than models initialized with standard next-token prediction.

Summary updated

BibTeX
@misc{dong2025reinforcement,
  author = {Qingxiu Dong and Li Dong and Yao Tang and Tianzhu Ye and Yutao Sun and Zhifang Sui and Furu Wei},
  title = {{Reinforcement Pre-Training}},
  year = {2025},
  eprint = {2506.08007},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.08007},
}
Figure