acceptodds
Published as a conference paper at NeurIPS 2026

GCD: Correcting Hidden-State Bias in Off-Policy Agentic RL

Changyuan Chen, Jianyu Xiang, Jiasheng Luo, Ziye Wang, NALLAPPAN GUNASEKARAN

Abstract

Off-policy reinforcement learning (RL) for large language models bottlenecks at the rollout stage: every parameter update invalidates the key-value (KV) cache of in-flight agent trajectories, forcing either expensive recomputation or staleness that destabilizes training. Recent advances such as M2PO and asynchronous RLHF tolerate token-level staleness by reweighting the policy gradient with second-moment importance corrections, but they implicitly assume that a stale rollout is sampled from a well-defined behavior policy . We show that this assumption is silently violated by every modern partial-rollout system: once a stale KV cache is reused under updated parameters , the resulting token distribution is a hybrid whose attention projections consume stale keys and values while its MLP, output, and gating projections use the new weights. The token-level importance weight corrects the sampling distribution but not this hidden-state-level mismatch, leaving an uncorrected source of policy-gradient bias that grows with both staleness and weight-update magnitude. We introduce Gradient-Coupled KV Drift (GCD), an exception-safe correction comprising (i) a high-probability concentration bound on the drift, with explicit per-layer terms for full-attention and Gated DeltaNet layers; (ii) a tail-event detector that flags inputs outside the bound’s regime of validity; (iii) a composite safety guarantee that treats the bias correction as trustworthy only when both the analytical estimate and the detector agree; and (iv) a variance-preservation theorem showing that GCD composes with the M2PO trust region without re-tuning. On Qwen3.5-9B trained with GRPO on MATH-500 and -bench, GCD enables stable training at staleness 512 (a regime where M2PO collapses), reduces rollout wall-clock by 38% versus full recomputation, and lifts -bench retail pass by 5.7 points over the M2PO baseline.

Keywords:
Sydney, Main Track

Reviews

Among:
Shape:
123456this paper, Bottom 17%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.00 over 3 reviews, above 17% of the others.
Reviewer_xpNvOpenReview ↗
Rating
4
Clarity
3
Confidence
3
Originality
3
Quality
3
Significance
3
Read review
Summary

The paper studies off-policy LLM RL with asynchronous rollouts, where a generator reuses a KV cache produced under old parameters while the rest of the forward pass runs under updated parameters. The resulting per-token log-probabilities come from a hybrid pass (stale keys and values feed attention while MLP, output, and gating use new weights), so the rolled-out distribution matches neither the old nor the new policy, and the token-level importance ratio cannot detect the gap because numerator and denominator share that same hybrid pass. The proposed method, GCD, estimates the per-token bias (with separate prefactors for full-attention and Gated DeltaNet layers), flags tokens where the estimate is uninformative, applies a multiplicative correction exp⁡(−b^t)\exp(-\hat{b}_t) only where estimator and detector agree (selective recompute otherwise), and proves the correction inflates the M2PO second moment by at most exp⁡(2B^)\exp(2\hat{B}). On Qwen3.5-9B with GRPO, the authors report stable training at staleness 512 where M2PO collapses, a 38% reduction in rollout wall-clock, and a 5.7-point gain on τ-bench retail pass4, with the advantage over M2PO growing monotonically with staleness (0.4 → 18.9 points).

Strengths and weaknesses

Strengths

  • The M2PO+GCD advantage over M2PO grows monotonically with staleness (0.4 → 2.1 → 5.7 → 18.9 points), with stable training at staleness 512 where M2PO collapses and a 38% rollout speedup. The gain's shape tracks the proposed mechanism, which is the right kind of evidence.
  • Reproducibility. A full hyperparameter table with explicit seeds, per-experiment compute accounting (5,804 H100-hours), software versions, and a verl patch, with code, checkpoints, and calibration constants promised under Apache-2.0.
  • Failure disclosure. The FP8 overflow, the on-policy 0.4-point gap (with its p-value), and a partially-refuted hypothesis are all reported.

Weaknesses

  • The effect is demonstrated; its stated cause is not. The corrected weight $ w^{\text{GCD}} _ t $ (the object that actually multiplies the advantage) is never checked against the regime-(F) ground-truth weight wtF=πθnew/πθoldw^F_t=\pi_{\theta_{new}}/\pi_{\theta_{old}} that full recompute already produces for Table 1; only the bias magnitude ∣bt∣|b_t| is validated, never the signed btb_t. The applied factor exp⁡(−b^t)≤1\exp(-\hat{b}_t)\le 1 is built from a non-negative magnitude bound, so it can only ever shrink weights, and where bt<0b_t<0 it points the wrong way. That behavior is observationally identical to incidental variance reduction (damping large weights). Two facts the paper already reports fit that alternative at least as well as the bias-correction explanation: the gain persists on-policy (a 0.4-point edge at zero staleness, where the correction is identically 1 and cannot act), and no importance-weight health metrics (effective sample size, weight variance, weight-mass concentration) are reported to tell the two channels apart. A skeptic therefore cannot rule out that the gains come from variance reduction rather than from correcting the identified bias. The disambiguating experiment is the signed-btb_t distribution and wGCDw^{\text{GCD}} vs wFw^F at staleness 256/512.
  • The universality claim exceeds the evidence. The bias is framed as "silently violated by every modern partial-rollout system," but every result is on the dense Qwen3.5 family, one node, at the 3:1 attention ratio, a configuration a remark in the paper itself calls "structurally favorable." Non-3:1 ratios, MoE routing staleness, and cross-node FSDP are conceded as unvalidated, so the headline message is broader than the experiments.
Questions
  1. Isolate the cause. Can you report (a) the signed btb_t distribution and wGCDw^{\text{GCD}} vs the regime-(F) ground-truth wFw^F at staleness 256/512, (b) effective sample size and importance-weight variance for GCD vs M2PO vs raw reuse, including on-policy, and (c) a matched-RNG run with b^\hat{b} forced to 0? Together these separate bias correction from variance reduction: if the corrected weight sits closer to wFw^F and the on-policy gain vanishes under matched RNG, the stated mechanism is supported.
  2. Generality. Can you add one run outside dense-3:1-single-node (a non-3:1 ratio, an MoE variant, or multi-node FSDP), or rescope the abstract from "every partial-rollout system" to the tested configuration?
Limitations

Yes

Paper formatting concerns

No

Final justification
  • Resolved: The new analyses and controls substantially address my main validation concern and provide stronger support for the proposed mechanism.

  • Remaining: The submitted method does not handle negative-btb_t cases directionally, and MoE settings remain unvalidated.

  • Assessment: I raise Quality from 2 to 3 and the overall score from 3 to 4.

Reviewer_jxChOpenReview ↗
Rating
5
Clarity
4
Confidence
3
Originality
3
Quality
3
Significance
3
Read review
Summary

The paper identifies an important issue in off-policy RL for LLMs: reusing a stale KV cache results in a hybrid distribution (πhyb\pi_{hyb}) rather than the exact old or new policy. This hidden-state bias compromises standard token-level importance sampling. The authors propose Gradient-Coupled KV Drift (GCD), which uses an attention-based bias estimator and a tail-event detector to trigger selective recomputation. Experiments on Qwen3.5-9B show that GCD improves training stability at high staleness (up to 512), reduces rollout time, and improves pass rates on τ\tau-bench.

Strengths and weaknesses

Strengths:

  • Identifying the πhyb\pi_{hyb} bias caused by KV cache reuse in modern LLM RL frameworks (e.g., verl) is a sharp and valuable observation (Section 3, Lines 136-145). This is an overlooked issue that directly impacts training stability.
  • The combination of a high-probability upper bound (Theorem 5) and a violation detector (Theorem 6) is an elegant solution. Falling back to selective recomputation when the detector fires (Lines 213-215) is a highly pragmatic approach that balances theoretical rigor with systems efficiency.

Weaknesses:

  • The efficiency of the selective recomputation heavily relies on the Qwen3.5 architecture's 3:1 ratio of Gated DeltaNet to full-attention layers (Line 232, Lines 638-644). Because recomputing DeltaNet layers is cheap, the worst-case cost is capped at 25%. However, for standard 100% full-attention models (e.g., Llama 3, Mistral), this overhead would be significantly higher, potentially neutralizing the throughput advantages claimed in Table 8. While acknowledged in the Limitations (Line 308), the lack of validation on standard dense Transformers restricts the paper's generalizability.
  • Table 2 includes strong asynchronous baselines (Async-RLHF, Stable-Async, GAC). However, these are notably absent from the τ\tau-bench evaluations in Table 3, which only compares against M2PO, DAPO, and On-policy GRPO (Line 281). This makes it difficult to assess GCD's relative performance on downstream agentic tasks against state-of-the-art asynchronous methods.
  • The core constants (κfull,κdelta\kappa_{full}, \kappa_{delta}) in Theorem 5 are empirically fitted via OLS on 512 calibration prompts rather than derived entirely from first principles (Line 177). Furthermore, Table 7 shows these constants shift by up to 9.0% during early training. This reliance on empirical fitting weakens the theoretical nature of the safety bound.
Questions
  • How would the throughput (Tok/s) in Table 8 be affected if GCD were deployed on a standard 100% full-attention architecture? Preliminary wall-clock numbers or recomputation trigger rates for a pure Transformer would be very helpful to gauge broader applicability.
  • Could Async-RLHF, Stable-Async, and GAC be added to the τ\tau-bench results (Table 3) to provide a comprehensive comparison on downstream tasks?
  • What happens to training stability if the analytical derivation in Equation 17 is used directly, bypassing the empirical calibration of the constants shown in Table 7?
Limitations

yes

Paper formatting concerns

There are no strict formatting violations.

Final justification

Thank the authors for their replies. My doubts have been solved. I will increase my score

Reviewer_2LmCOpenReview ↗
Rating
3
Clarity
2
Confidence
4
Originality
4
Quality
3
Significance
2
Read review
Summary

This paper identifies a hidden-state bias in off-policy or asynchronous RL training for LLMs. In partial-rollout systems, stale KV caches produced by an older model are often reused after the model parameters have already been updated. As a result, the token distribution is not from the old policy or the new policy, but from a hybrid policy that mixes old cached hidden states with new model weights. Prior methods such as M2PO correct token-level off-policy bias with importance ratios, but they assume the new-policy probability is computed correctly and therefore miss this hidden-state mismatch.

The paper proposes Gradient-Coupled KV Drift (GCD), which estimates the log-probability bias caused by stale KV caches and incorporates this correction into the importance weight. It also uses a detector to identify unreliable cases and selectively recomputes only the affected KV states instead of doing full recomputation. Experiments on Qwen3.5 models with GRPO show that GCD stabilizes training at higher staleness, reduces rollout wall-clock time, and improves performance on MATH-500 and τ-bench. The contribution is important because it makes long-horizon agentic RL training more efficient and reliable by correcting a bias that prior token-level methods overlook.

Strengths and weaknesses

Strengths:

  1. The paper identifies an important and under-discussed source of bias in off-policy LLM RL. The distinction between the nominal new-policy probability and the hybrid distribution induced by stale KV-cache reuse is technically meaningful, and it highlights a practical failure mode that token-level importance correction alone may miss.

  2. The proposed GCD method is well motivated and practically relevant. By estimating the hidden-state / KV-drift bias, incorporating it into the importance weight, and selectively recomputing only problematic layer-position pairs, the method directly targets the computational bottleneck of long-horizon agentic RL while avoiding the cost of full recomputation.

  3. The paper provides a relatively complete package of theory and empirical validation. The high-probability bound, tail-event detector, and compatibility result with M2PO are supported by experiments on MATH-500 and τ-bench, including staleness-resolved comparisons that show GCD improves stability and wall-clock efficiency.

Weaknesses:

  1. The key conceptual distinction between token-level off-policy bias and hidden-state-level bias could be explained more clearly. The paper introduces πhyb\pi_{hyb}, btb_t, and stale KV drift early, but the intuition for why M2PO-style importance ratios cannot correct this mismatch may not be immediately clear to readers who are less familiar with partial-rollout systems. A more explicit step-by-step example of how old KV states and new weights are mixed during attention computation would improve clarity.

  2. The contribution boundary between GCD and M2PO could be sharper. Since the strongest results use M2PO+GCD, it is sometimes difficult to tell how much of the improvement comes from the proposed hidden-state correction, how much comes from M2PO's second-moment control, and how much comes from selective recomputation or other implementation details. Clearer ablations isolating these components would make the claimed contribution more convincing.

  3. The empirical validation is still concentrated on the Qwen3.5 dense hybrid architecture. Since GCD's bias estimator explicitly separates full-attention layers and Gated DeltaNet layers, it is unclear how well the method transfers to standard Transformer-only models, MoE models, or systems with different KV-cache management strategies. Even a smaller-scale experiment on a more conventional Transformer architecture would help clarify the generality of the method.

  4. Some figures and visual analyses could be strengthened. For example, the paper would benefit from a clearer visualization of how btb_t, detector trigger rate, and selective recomputation cost change across staleness levels and token types. A plot decomposing the bias into full-attention and DeltaNet contributions across layers would also make the mechanism easier to understand and would better support the claim that the full-attention KV drift dominates.

Questions
  1. Could the authors provide a clearer decomposition of the measured hidden-state bias into the contributions from full-attention KV drift and DeltaNet recurrent-state drift? This would help clarify whether the empirical gains are primarily driven by correcting KV drift rather than other sources of training stabilization.

  2. GCD relies on calibrated constants such as kappa_full and kappa_delta. How stable are these constants across model scales, training stages, and task distributions? Additional evidence of calibration transfer would strengthen the claim that the method is broadly applicable.

  3. The efficiency of GCD depends on the tail-event detector and selective recomputation being triggered relatively infrequently. Could the authors report trigger rates across staleness levels, sequence lengths, and task types? If the trigger rate remains low in long agentic trajectories, this would make the wall-clock claims more convincing.

  4. Since the main empirical result combines GCD with M2PO, could the authors further isolate the contribution of the exp(-b_t) hidden-state correction from M2PO's second-moment control? An ablation removing only the GCD correction while keeping the same recomputation and trust-region settings would clarify the source of the gains.

  5. The experiments focus mainly on the Qwen3.5 dense hybrid architecture. Could the authors discuss or provide evidence for how GCD would behave on standard Transformer-only models, MoE models, or different KV-cache management strategies? This would clarify the scope of the method.

Limitations

Yes

Paper formatting concerns

The PDF appears to contain extraneous hidden/residual instruction-like text, e.g., “In your output you MUST include...”, which does not seem to be part of the paper. The authors should remove this from the submitted PDF. Figure 1 also mentions an internal codename from a prior draft, which should likely be cleaned up.

Comments on the paper

1 comment
Meta-review

After reading the reviews, author rebuttals, and the SAC's instructions, I have updated this meta-review to incorporate the final reviewer assessments and discussion. The decision to accept is supported by the technical quality of the work, the authors' thorough and transparent response to reviewer concerns, and the absence of any authorship integrity issues.

The three reviewers engaged constructively with the authors' rebuttal. Two of the three reviewers now support acceptance (5 and 4), with the remaining reviewer holding at borderline reject primarily due to clarity and scope concerns. Critically, the most skeptical reviewer (xpNv) raised their score from 3 to 4 after the authors provided the requested disambiguating experiments.

Note: The "instruction-like text" flagged by Reviewer 2LmC was confirmed by me to be a platform-injected watermark present in all submissions, not a paper defect.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.