Manuscript Offprint

arXiv:2610.20497

Hindsight-Privileged RLVR: Single-Rollout Token Credit Without Group Sampling

Wei Chen, Yubing Wu, Zhou Xu, Haoyue Zhang, Delu Zeng, Jiahao Wang, Junmei Yang, Pan tiewen, Jingfeng Liu, Zhiheng Zhou, Bo Li, Min Chen

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Reinforcement learning with verifiable rewards (RLVR) trains language models from checked task outcomes, but assigning a terminal reward to individual reasoning tokens or actions remains difficult. Group-relative methods such as Group Relative Policy Optimization (GRPO) sample several attempts per prompt, but lose their reward-based learning signal when all attempts receive the same outcome. We propose Hindsight-Privileged RLVR (HP-RLVR), a single-rollout method that turns a completed trajectory's own future into token-level update weights. The generating policy snapshot scores each eligible token under its causal history and under a hindsight context containing the realized future and verifier feedback. A normalized Jensen–Shannon divergence between the two views weights the reward relative to a historical baseline, yielding bounded token credit for both successful and failed attempts, with no reference solution or learned critic. In paired Qwen3-8B runs over a shared 100-step schedule, HP-RLVR trains 1.21×1.21\times, 1.46×1.46\times, and 2.30×2.30\times faster than GRPO on mathematics, code generation, and ALFWorld, using one eighth the rollouts per prompt. Accuracy is comparable overall, with HP-RLVR ahead on mathematics at all three sizes and GRPO ahead on code and ALFWorld. In ALFWorld, 43.2% (4B) and 49.0% (8B) of GRPO's gradient-norm records are zero, versus none for HP-RLVR.

1 Introduction

Reinforcement learning with verifiable rewards (RLVR) trains language models through outcomes checked by symbolic verifiers, test suites, or interactive environments (Guo et al., 2025). Terminal verification supplies supervision without labeling every intermediate decision. Turning that supervision into efficient learning, however, requires addressing both the cost of obtaining an update signal and its allocation within a trajectory.

Figure

Figure 1: Qwen3-8B training cost at four prompts per step and 100 steps. HP-RLVR uses group size G=1, versus GRPO's G=8. Bars are relative to GRPO, with labels above each pair showing speedup.

First, group-relative learning obtains its signal through repeated attempts. Group Relative Policy Optimization (GRPO) compares multiple responses to each prompt, replacing a learned critic with a baseline computed from group rewards (Shao et al., 2024). This comparison requires multiple rollouts, yet homogeneous outcomes give zero reward advantages (Yu et al., 2025). Additional sampling therefore incurs cost without necessarily supplying an informative comparison.

Second, comparisons between complete attempts leave credit coarse within each attempt. Outcome-supervised GRPO broadcasts a trajectory’s advantage to its tokens (Shao et al., 2024), despite the different roles of intermediate decisions in reasoning and multi-turn interaction (Lightman et al., 2023; Feng et al., 2025). Process supervision supplies intermediate labels (Lightman et al., 2023), implicit process rewards learn dense signals (Yuan et al., 2024; Cui et al., 2025), and intermediate-value estimation can require additional continuations (Kazemnejad et al., 2025). These approaches motivate a complementary question: can a single verified attempt, whether successful or failed, itself supply a finer learning signal?

Figure

Figure 2: Overview of HP-RLVR's single-rollout training pipeline with training-only hindsight. After generation, the frozen generating policy scores the trajectory under causal and hindsight contexts, without additional sampling. The paired profiles show full-vocabulary distributions at the same token position. Normalized JSD weights the historically centered verifier reward to produce token credit. Bars are schematic, and dashed frames group stages.

A completed attempt’s realized future provides context for revisiting earlier decisions (Harutyunyan et al., 2019; Mesnard et al., 2021). We introduce Hindsight-Privileged RLVR (HP-RLVR), which uses this future as training-only privilege (Fig. 2). The generating policy compares token distributions with and without the future and verifier feedback. Historical reward centering directs the update and can give failures negative credit, while normalized Jensen–Shannon divergence supplies bounded, nonnegative token weights. This yields local credit from one rollout per prompt, without a reference solution or learned critic (Sec. 3).

We evaluate Qwen3 models (1.7B/4B/8B) (Yang et al., 2025) on mathematics, code generation, and ALFWorld (Shridhar et al., 2020). Figure 1 summarizes the Qwen3-8B cost benefit at a shared prompt and step budget, using one eighth as many rollouts per prompt. Task accuracy and training-signal diagnostics assess the resulting single-rollout updates (Figs. 3 and 4).

Our contributions are:

• A single-rollout hindsight construction using the generating policy and its own realized future, without reference solutions or a learned critic (Sec. 3.2).

• A bounded token-credit rule for both successful and failed trajectories, combining historical reward centering with normalized distributional divergence (Sec. 3.3).

• Lower training cost at a shared step schedule, with accuracy comparisons and protocol diagnostics (Sec. 4).

References (11)