Off-Policy Value-Based Reinforcement Learning for Large Language Models

Peng-Yuan Wang, Ziniu Li, Tian Xu, Bohan Yang, Tian-Shuo Liu, ChenYang Wang, Xiong-Hui Chen, Yi-Chen Li, Tianyun Yang, Congliang Chen, Yang YuarXiv 2026

TL;DR

ReVal introduces a practical off-policy, value-based reinforcement learning framework for LLMs that eliminates the need for a separate critic network by treating the model's own logits as Q-values. By utilizing a replay buffer to safely reuse past trajectories, ReVal significantly improves sample efficiency and training speed, outperforming standard on-policy methods like GRPO on complex mathematical reasoning tasks.

What Problem Does This Paper Address?

Reinforcement learning from verifiable rewards (RLVR) has become a cornerstone for boosting the reasoning capabilities of Large Language Models (LLMs). However, dominant algorithms in this space (such as PPO and GRPO) are fundamentally on-policy. This means they sample a batch of responses from the current model, use them to calculate a single gradient update, and immediately discard them.

Because autoregressive token generation from LLMs is computationally expensive and slow, throwing away data after just one use creates a massive bottleneck. This inefficiency is magnified in hard, long-horizon reasoning tasks where high-quality, successful trajectories are rare and expensive to find. While classical RL solves this using off-policy value-based methods (like Q-learning) with replay buffers, applying them to LLMs typically requires an extra "critic" model, which introduces prohibitive memory and computational overhead at scale.

Methods

The authors propose ReVal (Off-Policy Value-Based Reinforcement Learning with Replay Buffer), a single-model framework designed to make off-policy learning practical for LLMs. Its architecture relies on three core pillars:

  1. Logit-as-Q Parameterization: Instead of training a separate, bulky value network to estimate token values, ReVal interprets the LLM's own output logits directly as soft Q-values. This elegant trick allows a single model to represent both the policy and the value function simultaneously.
  2. Calibrated Reward Shaping: Previous attempts to use logits as Q-values (like TBRM) suffered from "spurious policy drift"—even when the environment reward was zero, the model's policy would unstablely drift away from the reference model. ReVal fixes this by introducing a novel reward-shaping formulation that guarantees Calibrated Initialization (i.e., if the reward is zero, the optimal policy perfectly reduces to the reference policy). This formulation cleanly integrates token-level internal consistency with trajectory-level correctness.
  3. Experience Replay Buffer: ReVal implements a standard First-In-First-Out (FIFO) replay buffer. Newly generated trajectories are stored, and the model performs multiple off-policy updates ($K$ updates per iteration) by sampling uniformly from this historical data.
Figure 1: Framework of ReVal. By interpreting LLM logits as Q-values, ReVal unifies policy and value within a single model and enables replay-based off-policy updates.

Datasets

  • Training: The models were trained using the DeepScaleR dataset.
  • Evaluation: The authors evaluated ReVal across a suite of competitive mathematical reasoning and logic benchmarks: AIME24, AIME25, AMC, MATH, MINERVA, Olympiad Bench, and GPQA (a challenging, out-of-domain graduate-level science benchmark).

Key Insights and Ideas

  • Logits are Hidden Value Estimators: Pretrained LLMs implicitly encode value-relevant information within their logits due to their next-token prediction pretraining. ReVal exploits this to get a well-initialized critic "for free."
  • The "Spurious Drift" Trap: Simply minimizing trajectory-level Bellman residuals without proper calibration causes models to degrade in the absence of dense rewards. Proper reward shaping acts as an anchor, ensuring stable optimization.
  • Decoupling Generation from Updating: In traditional policy gradient methods, updating multiple times on old data causes catastrophic policy collapse due to distribution shift. Because ReVal optimizes a value-based Bellman error, it can safely execute multiple training steps per generation round, drastically accelerating wall-clock convergence.

Key Results

  • Convergence Speedup: In one-shot learning tasks, ReVal achieved an average 4.3× speedup in convergence over GRPO across varying difficulty levels.
  • Performance Gains: On the DeepSeek-R1-Distill-1.5B model, ReVal outperformed GRPO by 2.7% on AIME24 and 4.5% on GPQA. On Qwen2.5-Math-7B, it surpassed GRPO by 4.3% on GPQA, demonstrating strong out-of-domain generalization.
  • Extreme Sample Efficiency: In a highly constrained limited-rollout setting (generating only $N=1$ rollout per prompt), ReVal's data reuse capabilities allowed it to exceed GRPO by 4.8% on AIME and 4.6% on GPQA.
  • Resource Savings: ReVal reduced the required number of generation rounds by 19% and cut total wall-clock training time by 18% compared to GRPO.

Limitations and Future Work

  • Basic Replay Mechanism: The current framework utilizes a simple FIFO replay buffer, which treats all historical trajectories equally. The authors note that this is likely sub-optimal and plan to explore Prioritized Experience Replay (PER) to focus updates on the most informative samples.
  • Theoretical Dynamics: More work is needed to investigate the underlying mechanisms governing the varying update requirements of different data samples within logit-parameterized value environments.

Summary updated

BibTeX
@misc{wang2026off,
  author = {Peng-Yuan Wang and Ziniu Li and Tian Xu and Bohan Yang and Tian-Shuo Liu and ChenYang Wang and Xiong-Hui Chen and Yi-Chen Li and Tianyun Yang and Congliang Chen and Yang Yu},
  title = {{Off-Policy Value-Based Reinforcement Learning for Large Language Models}},
  year = {2026},
  eprint = {2603.23355},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.23355},
}
Figure