Papers
Topics
Authors
Recent
Search
2000 character limit reached

Trust the Batch, On- or Off-Policy: Adaptive Policy Optimization for RL Post-Training

Published 12 May 2026 in cs.LG and cs.AI | (2605.12380v1)

Abstract: Reinforcement learning is structurally harder than supervised learning because the policy changes the data distribution it learns from. The resulting fragility is especially visible in large-model training, where the training and rollout systems differ in numerical precision, sampling, and other implementation details. Existing methods manage this fragility by adding hyper-parameters to the training objective, which makes the algorithm more sensitive to its configuration and requires retuning whenever the task, model scale, or distribution mismatch changes. This fragility traces to two concerns that current objectives entangle through hyper-parameters set before training begins: a trust-region concern, that updates should not move the policy too far from its current value, and an off-policy concern, that data from older or different behavior policies should influence the update only to the extent that it remains reliable. Neither concern is a constant to set in advance, and their severity is reflected in the policy-ratio distribution of the current batch. We present a simple yet effective batch-adaptive objective that replaces fixed clipping with the normalized effective sample size of the policy ratios. The same statistic caps the score-function weight and sets the strength of an off-policy regularizer, so the update stays close to the usual on-policy score-function update when ratios are nearly uniform, and tightens automatically when stale or mismatched data cause ratio concentration, while retaining a nonzero learning signal on high-ratio tokens. Experiments across a wide range of settings show that our method matches or exceeds tuned baselines, introducing no new objective hyper-parameters and removing several existing ones. The code is available at https://github.com/FeynRL-project/FeynRL.

Summary

  • The paper presents a novel batch-adaptive RL objective utilizing effective sample size to dynamically manage trust constraints in both on- and off-policy data.
  • It eliminates fixed hyper-parameters by adaptively scaling the score-function cap and regularizer strength based on batch statistics.
  • Empirical results highlight enhanced stability, sample efficiency, and robustness across diverse data distributions and precision regimes.

Adaptive Policy Optimization for RL Post-Training: An Expert Summary

Motivation and Problem Statement

Reinforcement learning (RL) for post-training large models, especially in language settings, is increasingly pivotal for aligning policies with reward models, preferences, or downstream task verifiers. However, RL remains structurally fragile compared to supervised learning due to its dependency on the dynamic data distribution induced by the evolving policy. This fragility manifests acutely in large-model training, where discrepancies between training and rollout systemsโ€”numerical precision, sampling regimes, and architectural differencesโ€”lead to distribution mismatches that can stall or destabilize optimization. Existing RL methods address this by introducing multiple hyper-parameters (e.g., trust-region clipping, off-policy correction bounds), requiring labor-intensive tuning across tasks, scales, and infrastructure settings.

This paper identifies two entangled concernsโ€”trust-region constraint for policy updates and off-policy variance controlโ€”that traditional objectives couple via fixed hyper-parameters, thereby introducing brittle dependencies. The authors argue that neither concern is static; their relevance fluctuates batch-to-batch, depending on the distribution of policy ratios between the current and behavior policies. Hence, the proposal centers on a batch-adaptive mechanism requiring no pre-committed hyper-parameters, fundamentally rethinking trust in data.

Methodological Contributions

Effective Sample Size-Adaptive Objective

The core innovation is a batch-adaptive RL objective replacing fixed score-function clipping with an adaptation mechanism governed by the normalized effective sample size (ESS) of policy ratios in the current batch. This statistic quantifies the degree to which the behavior and current policies diverge, shrinking when ratios concentrate (indicative of stale or mismatched data) and expanding when ratios are nearly uniform (on-policy data).

  • Score-Function Cap: The per-token importance ratio is capped adaptively using the batch-level ESS, preventing dominance by outlier ratios typical in off-policy settings without discarding updated gradient signal from any token.
  • Adaptive Regularization: The regularizer strength is coupled inversely to ESS, penalizing policy drift from behavior only when the batch evidences off-policy characteristics.

The objective derives from the P3O framework, originally introduced in "P3O: Policy-on Policy-off Policy Optimization" [fakoorp3o], here transposed to large-model RL for the first time. The batch ESS governs both the score-function cap and the regularizer coefficient, replacing the fixed clipping ranges and staleness budgets that dominate prior art (e.g., PPO [schulman2017proximal], GRPO [shao2024deepseekmath], DAPO [yu2025dapo], GSPO [zheng2025gspo]).

Practical Advantages

  • No Additional Hyper-parameters: The approach removes all objective-level hyper-parameters related to clipping or regularization, relying entirely on data-adaptive statistics.
  • Uniform Treatment of On- and Off-Policy Data: Both regimes are handled within one objective, allowing for seamless reuse of stale rollouts, demonstrations, or heterogeneous-policy data without specialized loss paths or retuning.
  • Continuous Signal Utilization: Unlike fixed clipping, which blocks the gradient outside clipped ranges, ESS scaling preserves contributions from high-ratio tokens, maximizing sample efficiency.

A theoretical limitation discussed is the possible confounding of batch drift axes when distinct divergence phenomena overlap, motivating potential extensions with additional anchors (e.g., combining behavior and proximal policy ESS), although the empirical results show marginal gains over the single-anchor variant.

Empirical Evaluation

Extensive experiments were conducted across:

  • Clip Range Hyper-parameter Sensitivity: Sweeping fixed clip values in GRPO reveals substantial reward variability and performance dependence, in contrast to the consistent trajectory achieved by the ESS-adaptive method.
  • Robustness to Off-Policy Data: P3O is shown to maintain stability across distributional shifts induced by rollout temperature changes and mixed-precision pipelines (BF16 training, FP8 rollouts). GRPO collapses under these mismatches, corroborating the necessity for adaptivity.
  • Benchmark Performance: Evaluation on five held-out mathematical reasoning benchmarks (AIME24, AIME25, AIME26, AMO-Bench, AMC) demonstrates that the adaptive method either matches or outperforms clipped baselines, with significant gains in out-of-distribution and mixed-precision regimes.

Strong numerical results include consistent superiority or equivalence to tuned baselines, clear resilience to rollouts generated by mismatched or heterogeneous policies, and improved sample efficiency without loss of stability or generalization.

Implications and Future Directions

The adaptive objective represents both a practical and conceptual shift in RL for model post-training. By eschewing fixed algorithmic knobs, it reduces operational complexity, computation, and risk of failure modes associated with hyper-parameter selection. The method's ability to utilize stale, mismatched, and mixed-precision data opens the door to more efficient distributed RL pipelines, asynchronous optimization, and exploitation of heterogeneous batch dataโ€”all without additional tuning.

Theoretically, the approach reframes off-policy mismatch as an informatively measured property of the batch, suggesting that further advances could incorporate more nuanced anchoring directions, hybrid ESS statistics, or integrate data-driven adaptivity into broader RL objectives and architectures. Practically, this frees RL practitioners from retuning clip ranges and staleness windows per experiment, increasing scalability and robustness.

Conclusion

This paper rigorously establishes the fragility of hyper-parameter-dependent RL objectives for post-training large models and introduces a principled, batch-adaptive solution rooted in effective sample size statistics. The approach unifies on-policy and off-policy optimization within a hyper-parameter-free framework, affording practical robustness, sample efficiency, and operational simplicity. Its empirical and theoretical advantages recommend ESS-driven objectives as foundational mechanisms for future RL pipelines in both language and general large-model settings.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Collections

Sign up for free to add this paper to one or more collections.

Tweets

Sign up for free to view the 3 tweets with 129 likes about this paper.

HackerNews