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

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

[NeurIPS page](https://neurips.cc/virtual/2026/poster/154093) · [OpenReview](https://openreview.net/forum?id=GHjzEOgABS) · [Open on the map](../papers.html#p154093)

Category: [LLM Post-Training: RL & Distillation](../pcat/18.md) › [Off-Policy LLM Reinforcement Learning](../pgroup/522.md) · Type: new method · Keywords: off-policy reinforcement learning, key-value cache reuse, hidden-state bias, policy-gradient correction, concentration bound, tail-event detection

Areas: [LLM Reasoning](../areas/reasoning.md) › Reasoning Optimization › Reinforcement Learning for LLMs; [RL for LLMs & Agents](../areas/llm-rl.md) › LLM Policy Optimization › Stable Policy Optimization

## Summary
GCD introduces an exception-safe correction for hidden-state bias in off-policy RL, enabling stable training at high staleness and reducing rollout cost.

## Explained to a 5-year-old
When a big computer learns by trying things out, it saves notes about what happened. If the computer updates its brain, those saved notes become a bit wrong. This makes the learning less stable. The researchers noticed this problem and created a way to check if the notes are still good. They added a safety check that tells the computer when the notes are trustworthy.

## Explained to a 5-year-old, longer
A big computer learns by doing many experiments and remembers what it tried and what happened. Sometimes the computer updates its internal weights, which makes the old memories a little inaccurate. This inaccuracy can cause the learning process to become unstable and less effective. The researchers discovered that the usual way of fixing this only looks at the choices made by the computer, but not at the hidden memories used during those choices. They found that the hidden memories, called key-value caches, become mismatched after updates, leading to a hidden bias. To solve this, they created a new safety system that measures how much the hidden memories have drifted, flags when the drift is too large, and only trusts the learning correction when both the measurement and the flag agree. This ensures the computer can keep using old memories safely, making learning faster and cheaper while staying stable.

## For a technical reader
The paper shows that reusing stale key-value caches after parameter updates introduces a hidden-state bias not captured by standard importance-weight corrections. It provides a concentration bound on this drift, a detector for out-of-range inputs, and a composite safety guarantee that only trusts bias correction when both analytical and detection checks pass. A variance-preservation theorem proves the method composes with existing trust-region schemes, enabling stable training at high staleness and reducing rollout overhead.

## Problem
Off-policy reinforcement learning for large language models assumes stale rollouts follow a well-defined behavior policy, but reusing stale key-value caches after parameter updates creates a hybrid token distribution that introduces hidden-state bias, undermining policy-gradient corrections.

## Method
The approach derives a concentration bound on the drift between stale and updated attention projections, adds a tail-event detector to flag out-of-bounds inputs, and combines these with a composite safety guarantee and a variance-preservation theorem to ensure trustworthy bias correction when both analytical and detection checks pass.

## Results
The approach enables stable training at staleness 512 where prior methods collapse, reduces rollout wall-clock time by 38% compared to full recomputation, and improves τ-bench retail pass by 5.7 points over the baseline.

## Contributions
It identifies hidden-state bias in stale KV caches, provides a concentration bound and detector for drift, and offers a composite safety guarantee with variance preservation that can be combined with existing trust-region methods.

## Practical relevance
The method can reduce training costs and enable scalable off-policy RL for large language models by allowing longer rollout staleness without recomputation.

## Research questions this paper is counted under

- [How can we achieve stable RL training for LLMs with stale off-policy rollouts while controlling variance?](../q/185.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/154093)
