Introduction
Reinforcement Learning (RL) for Large Language Models (LLMs) is increasingly operating in "off-policy" environments. In an ideal "on-policy" world, a system collects data using its current model and immediately uses it for training. In reality, large-scale infrastructure is messy: rollout generation and model training happen at different speeds, meaning data often comes from older versions of the model (staleness), or developers may want to mix in expert demonstrations.
Standard algorithms like REINFORCE and Group Relative Policy Optimization (GRPO)—a popular algorithm for training reasoning models like DeepSeek-R1—are theoretically "on-policy." When data is stale, these algorithms are expected to collapse. However, this paper reveals that GRPO is fundamentally an off-policy algorithm. By deriving GRPO from first principles, the authors demonstrate that its stability in off-policy settings stems from update regularization (clipping) rather than importance sampling, paving the way for more efficient and flexible LLM training.
A First-Principles Derivation
The authors provide a novel, three-step derivation of group-relative REINFORCE that makes no assumptions about the data distribution, giving it a "native" off-policy interpretation:
- Surrogate Objective: They start with a KL-regularized reward-maximization objective designed to encourage stable improvements.
- Consistency Condition: They derive a "pairwise consistency condition" that the optimal policy must satisfy.
- One-Step Gradient: They show that taking exactly one gradient step of a mean-squared loss—designed to enforce this consistency—results in the exact update rule for group-relative REINFORCE.
Based on this natively off-policy foundation, the authors propose two core principles for off-policy RL: regularizing policy updates (e.g., using clipping to keep updates bounded) and actively shaping the data distribution (e.g., weighting or dropping samples to steer the policy).
To test these principles, they introduce several algorithm variants, notably REC (REINFORCE-with-Clipping, specifically a variant without Importance Sampling called REC-ONESIDE-NOIS) and RED (REINFORCE-with-Data-weighting, which includes strategic sample discarding or pointwise loss weighting).
Key Insights and Empirical Evidence
The Importance Sampling Myth & The Power of Clipping
One of the most surprising findings is that Importance Sampling (IS)—the standard textbook method for handling off-policy data—is largely non-essential for GRPO's success. The authors' "NOIS" (No Importance Sampling) variants performed nearly identically to standard GRPO.
Instead, clipping is the real hero. Clipping acts as a powerful regularizer. In off-policy settings, the collapse of vanilla REINFORCE is prevented by clipping the updates, not by correcting the distribution via IS.
As shown in the stress tests above, REC-ONESIDE-NOIS (which relies only on clipping) maintains high performance and training rewards across various delayed synchronization and offline settings, whereas vanilla REINFORCE completely collapses.
Aggressive Learning via Wider Clipping
Because the algorithm is natively off-policy and stabilized by clipping, the authors discovered that practitioners can use much wider clipping ranges (e.g., 0.6 to 2.0) than the traditional 0.2 used in PPO/GRPO.
Enlarging the clipping range significantly accelerates convergence and training speeds on benchmarks like GSM8k and ToolACE without sacrificing stability, allowing the model to learn more aggressively from high-quality off-policy data.
Data Weighting and Unified Frameworks
Beyond clipping, actively shaping the data distribution proved highly effective. The RED-WEIGHT strategy, which up-weights high-reward samples, achieved higher rewards and more stable entropy and response lengths on complex datasets compared to standard GRPO.
Furthermore, this theoretical perspective acts as a unified framework. The authors show that other recent algorithms, such as Kimi’s Online Policy Mirror Descent (OPMD) and Meta’s Asymmetric REINFORCE (AsymRE), can be seamlessly reinterpreted as simple regularized forms of the REINFORCE loss.
Experimental Setup
The researchers validated their findings across several challenging reasoning and agentic benchmarks, including standard math datasets (GSM8k & MATH), a large-scale multi-domain reasoning dataset (Guru-Math), and a tool-use benchmark (ToolACE). They tested these using a variety of models, including Qwen2.5 (1.5B, 7B), Llama-3.1/3.2 (8B/3B), and the MoE model Qwen3-30B-A3B.
Limitations and Future Work
While the empirical evidence is strong, the authors note a few limitations:
- Group Requirement: The current analysis assumes access to multiple rollouts per prompt (group-relative). Extending this to single-rollout scenarios is necessary.
- Reward Granularity: The study focuses on trajectory-level rewards. Applying this off-policy interpretation to step-level (token-by-token) rewards is a promising next step.
- Theoretical Guarantees: There is currently a lack of formal convergence proofs under arbitrary data distributions.
- Data Diversity: Experiments primarily focused on "stale" data from older policy versions. Testing on more diverse "offline" data, such as static human demonstrations, remains to be explored.
Summary updated