Introduction
The scaling of Large Language Models (LLMs) has traditionally relied on increasing parameter counts and expanding high-quality pre-training datasets. However, the industry is approaching a "data wall" where finite high-quality text and prohibitive computational costs for parameter scaling limit further progress. Standard pre-training via Next-Token Prediction (NTP) often incentivizes surface-level memorization rather than deep reasoning.
Reinforcement Learning on Pre-Training data (RLPT) introduces a new paradigm to address these bottlenecks. By applying reinforcement learning directly to unlabeled text, RLPT enables models to "think" through standard corpora. This method bypasses the need for expensive human annotations or ground-truth unit tests, allowing models to autonomously explore reasoning trajectories to predict the future of a text segment.
Methodology: Next-Segment Reasoning
The core innovation of RLPT is the next-segment reasoning objective. Unlike NTP, which focuses on individual tokens, RLPT requires the model to generate a reasoning chain that leads to a semantically correct "segment" (typically a full sentence). The researchers implemented two primary tasks:
- Autoregressive Segment Reasoning (ASR): The model predicts the next complete sentence given a preceding prefix.
- Middle Segment Reasoning (MSR): The model infers a missing middle segment given both a prefix and a suffix.
The Reward Mechanism
To handle the inherent linguistic variation in natural language, RLPT utilizes a Generative Reward Model ($G_{rm}$). This model evaluates the semantic consistency between the model's generated reasoning/prediction and the actual ground-truth text. A key feature is the Prefix Reward, which grants points if a prediction serves as a valid semantic prefix to the ground truth, encouraging more detailed and varied responses. Optimization is handled via Group Relative Policy Optimization (GRPO), an on-policy algorithm that improves memory efficiency by eliminating the need for a separate critic model.
Scaling Laws and Empirical Results
A significant finding of this research is the emergence of clear power-law scaling behavior. As RL compute increases—measured by the number of training tokens processed via the RLPT objective—performance across a wide array of benchmarks climbs consistently.
Empirical testing on models like Qwen3-4B-Base and Llama 3.2-3B demonstrated substantial gains:
- General Knowledge: Improvements of +3.0 on MMLU and +5.1 on MMLU-Pro.
- Hard Reasoning: A significant +8.1 absolute gain on GPQA-Diamond (graduate-level science).
- Mathematics: Gains of +6.6 on AIME24 and +5.3 on AIME25 (Pass@1).
Qualitative analysis indicates that RLPT-trained models develop structured "Thinking Processes," such as verifying plausibility and exploring alternative logical paths before committing to a final answer. Furthermore, RLPT serves as a superior foundation for subsequent training stages; models initialized with RLPT showed higher gains when later fine-tuned with verifiable rewards (RLVR) compared to standard base models.
Discussion and Future Work
RLPT demonstrates that the "future" of a text corpus can serve as a self-supervised reward signal, effectively turning the vast unlabeled web into a reasoning playground. However, several challenges remain. RLPT currently requires a "cold-start" Supervised Fine-Tuning (SFT) phase to establish basic instruction-following capabilities. Additionally, the system's reliance on a Generative Reward Model introduces a potential bottleneck if the reward signal becomes noisy.
Future research will likely explore more granular segmentation strategies—moving beyond sentence-level reasoning to more atomic steps—and investigate methods to reduce the higher computational cost of RL training compared to standard supervised pre-training.
Summary updated