WorksComputer Science
Contextual Credit Policy Optimization
Abstract
Group-based reinforcement learning enables large language model agents to learn from sparse outcome rewards in long-horizon tasks. Recent methods derive step-level credit by comparing observation-matched experiences across trajectories. However, identical observations can occur in different contexts, and matched peers are not equally informative for a given decision. Moreover, favorable terminal outcomes can obscure redundant actions or detours within successful trajectories. To address these two challenges, we propose Contextual Credit Policy Optimization (CCPO). For the first, CCPO weights observation-matched peers from other trajectories by contextual similarity, computed from frozen LLM representations and accumulated trajectory statistics, allowing peers from similar contexts to contribute more to a step's baseline. For the second, CCPO pairs historical credit, which compares the realized return against the weighted peer baseline, with future credit, which measures the change in contextual outcome value over a short realized continuation. A step is thus credited for the progress it makes, not only for its trajectory's eventual outcome. Both credits are computed in hindsight from rollouts already collected for training, enabling CCPO to address these challenges without an auxiliary value critic. Across two Qwen2.5-Instruct backbones (1.5B and 7B), CCPO achieves up to 97.4% success on ALFWorld and 79.4% on WebShop and outperforms GRPO by up to 21.6 and 18.5 points. Ablations show that contextual weighting outperforms uniform weighting, and that historical and future credit serve as complementary learning signals.
Affiliation Note: Huiwen Han was a visiting student at Texas A&M University during this work.
Project Page: agent-ccpo.github.io
Code: github.com/phai-lab/CCPO
Introduction
Large language model (LLM) agents increasingly undertake long-horizon tasks through sustained environment interaction [39, 52]. Benchmarks such as WebArena [55] and SWE-bench [12] require information gathering, coordinated actions, and adaptation to feedback. Reinforcement learning (RL) [34] provides a post-training framework that optimizes policies using rewards from interaction trajectories. Recent applications span open-web research, web navigation, and multi-step software engineering [54, 21, 17]. However, feedback often arrives only after many decisions.
Learning from such delayed feedback depends on how it is translated into policy updates. PPO-based actor–critic methods use learned value estimates to guide optimization, at the cost of training an additional value model [27]. Alternatively, group-based methods such as GRPO [28] estimate relative advantages from multiple sampled outcomes without a separately learned value critic. When applied at the trajectory level, however, a single advantage is shared across all actions in a rollout. Such comparisons differentiate outcomes across trajectories but provide limited information about the contributions of individual decisions, especially when rewards are sparse and delayed [52]. To enable fine-grained policy updates, recent methods extend this approach to construct step-level advantage estimates: GiGPO [7] compares actions encountered at shared observations, and G2PO [42] incorporates the structure of transitions between observation groups. HGPO [11] accounts for historical context by organizing comparisons into hierarchical groups. In each case, step-level credit comes from comparing experiences in existing rollouts, so it depends on how they are compared.
Two challenges remain when steps are compared at matched observations. The first is whom a step should be compared with. Identical observations can occur after different preceding actions, reasoning, exploration depth, and accumulated contexts. Peers that share an observation are therefore not equally informative for the step being evaluated (the query). Requiring peers to share the same history instead leaves few peers per step, and a baseline averaged over so few returns gives noisy advantages [11]. Our premise is that, within observation-matched groups, contextual similarity should determine each peer’s contribution to the query’s baseline and value estimates. The second is what a step should be credited for. A return comparison credits a step for belonging to a trajectory that ended well, but an eventual success can include redundant actions or detours. Separating a step that inherits a favorable context from one that makes progress from it requires a complementary comparison of realized gains over a short continuation.
To address both challenges, we propose Contextual Credit Policy Optimization (CCPO). For the first, CCPO represents each step’s context with semantic features of an interaction window from a frozen LLM and accumulated trajectory statistics, and gives greater weight to observation-matched peers with higher contextual similarity (Figure 1). For the second, CCPO builds two credit signals on these weighted peers. Historical credit compares the realized return with its contextual peer baseline. Future credit measures short-horizon progress as the change in contextual value, a weighted average of peers’ discounted terminal rewards, between the current step and a later step of the same rollout. Both are computed in hindsight from collected rollouts without requiring an auxiliary value critic or additional environment interactions. On agentic multi-step benchmarks, ALFWorld [32] and WebShop [45], CCPO outperforms prompting- and RL-based baselines using Qwen2.5-1.5B-Instruct and Qwen2.5-7B-Instruct backbones [23].

Figure 1. Overview of CCPO. CCPO combines contextually weighted peer comparisons and short-horizon future progress for critic-free step-level credit assignment.
Our main contributions are as follows:
Contextual credit estimation from history and future progress. We assign step-level credit by combining a history-conditioned return residual with estimated value change over a future horizon, capturing outcome-relative performance and local progress. Analysis shows complementary effects of history and future credit as learning evolves.
Contextual similarity for step-level peer weighting. We aggregate peer returns with continuous weights set by the similarity between query and peer context representations, producing a context-dependent baseline. Replacing these weights with uniform ones lowers success by 3.7 and 2.6 points.
Semantic and structural context representations. We combine semantic hidden states of recent interactions with accumulated trajectory statistics, enabling context-sensitive comparisons across trajectories without training an auxiliary value critic.
Related Work
Agentic reinforcement learning for long-horizon tasks. Reinforcement learning (RL) [34] enables large language model (LLM) agents to improve through extended interactions in which observations, reasoning, actions, and feedback accumulate into trajectories [56, 52]. Applications span interactive gaming, web navigation, open-web research, and multi-step software engineering [43, 21, 54, 15, 17], where agents act in an environment and adapt to its feedback over many steps. Another line of work trains agents to reason with external tools, including search engines, web browsing tools, and code interpreters [13, 6] (Tongyi DeepResearch Team et al. 2026). Agentic RL can also learn from successes and failures through verbal reflection and trajectory preference learning [31, 47, 33, 20]. To collect high-quality trajectories, methods use uncertainty-guided branching and resampling [5, 38]. Reward design [44] is also crucial, spanning outcome-supervised reward models [21], process rewards from environment-aware models such as DataPRM [22], and turn-level reward assignment [36]. Despite these advances, sparse and delayed rewards, costly environment interaction, and training instability remain challenges [36, 15], motivating efficient and stable policy optimization from trajectories already collected.
Policy optimization for LLM agents. Existing approaches differ in their optimization objectives and advantage estimators. Preference-based methods, including DPO [25], ETO [33], and Agent Q [20], optimize policies from response or trajectory preferences, including successful and failed agent rollouts, without explicit reward-model fitting. Actor–critic methods use learned value estimates, as in PPO-based reinforcement learning from human feedback (RLHF) with InstructGPT [19] and multi-step agent learning with ArCHer [56]. To avoid a separate value critic, group-based methods estimate advantages from multiple sampled responses or trajectories. RLOO [1] uses the mean reward of other samples as a baseline, while GRPO [28], used in DeepSeek-R1 [10], standardizes group rewards. Related variants include LOOP [2] with leave-one-out PPO updates and Dr. GRPO [16] with revised length and reward normalization. Further refinements target update stability and exploration efficiency through clipping, importance weighting, and sampling, including DAPO [49], GSPO [53], CISPO [18], SAPO [8], VESPO [29], SAMPO [40], Clip-Cov [3], and T²PO [38]. However, trajectory-level applications of outcome-supervised GRPO share a single advantage across all actions in a rollout, without explicitly differentiating individual contributions [7]. This motivates the step-level methods discussed next.
Step-level credit assignment. Recent methods construct step-level learning signals for multi-step interactions (Zhang, 2026). Critic-based methods include SWEET-RL [57] with additional training-time information and HCAPO [35] with the agent as a hindsight critic. TRACE [36] derives turn-level rewards from a frozen model’s gold-answer likelihoods. OpenClaw-RL [41] combines evaluative rewards and corrective hints extracted from next-state feedback. Other methods estimate advantages by comparing collected trajectories. GiGPO [7] combines episode-level advantages with comparisons at matching observations, while HGPO [11] aggregates advantages from hierarchical groups matched at different history lengths. SALT [14] constructs graphs from trajectories of the same prompt, while G2PO [42] aggregates observations into a state-transition graph to estimate values and advantages. GEPO [50] uses task-conditioned graph centrality to shape trajectory returns and scale step-level advantages. Peer matching faces a granularity trade-off: observation-only matching can mix different histories, whereas exact history matching reduces the available samples [11]. CCPO keeps all observation-matched peers and weights each by the similarity of its context to the query’s, characterized by local semantic and accumulated trajectory features, thus enabling fine-grained comparisons utilizing available peers.
Contextual Credit Policy Optimization
Problem Formulation
Notation is summarized in Appendix § 7. We sample trajectories per task from behavior policy . Trajectory for task contains actions , observations , and terminal outcome . Prompt
contains , , and up to preceding observation–action pairs. Rewards come from environment feedback. GRPO [28] uses the mean reward of group rollouts as a baseline to estimate normalized advantages without a learned value critic. CCPO extends this critic-free estimation to individual steps, weighting peers by contextual similarity to estimate return baselines. The return target used by historical credit is
Here follows action and discounts rewards. The penalty term subtracts for an invalid action at step only (Appendix § 9.§ 3).
Contextual Peer Estimation
CCPO assigns continuous, query-specific weights to individual peers based on contextual similarity (Figure 2). Averaging uniformly within an observation-matched group ignores that identical observations can follow different histories. Soft weighting within observation-matched groups accounts for these differences without exact history matching, which can leave few peers [11].
Figure 2. Contextual credit policy optimization of multi-step tasks. Contextual similarity weights observation-matched peers. A history-conditioned return residual and estimated outcome-value change over a short future window yield step-level credit from collected rollouts without an auxiliary value critic.
Peer selection. Exact peers share the task and observation and exclude the entire trajectory of the query step:
We use when nonempty; otherwise, we use all same-task steps with . We quantify fallback rates and peer availability during training in Appendix § 15.
Context representation. Each step combines a frozen LLM representation with a trajectory summary . The representation is the final-layer hidden state of the last prompt token. The summary records elapsed steps, distinct-observation count, novelty fraction, and a revisit indicator through step . Because the prompt holds only the most recent steps, the hidden state cannot reflect earlier history, and the summary supplies it.
We L2-normalize each preprocessed component, concatenate them with equal weights, and L2-normalize to obtain .
Contextual readout. Bucket contains all batch steps matching the query’s task and observation, or task alone for fallback. We aggregate scalar targets over nonempty :
The bandwidth is proportional to the median pairwise context distance in , computed before trajectory exclusion. This readout estimates both return baselines and outcome values.
Temporal Credit Estimation
CCPO conditions return comparisons on a -step history window and assesses progress over a short realized continuation of steps. The future window compares discounted contextual outcome values at its endpoints. Historical credit depends on how the step’s trajectory ends, whereas future credit asks whether the step itself moved the trajectory to a more valuable context.
Historical credit. We subtract the contextual peer baseline from the return:
Future credit. We estimate contextual values from unpenalized terminal outcomes:
For future horizon , let . We compute
where standardizes eligible differences within task . Each nonterminal endpoint uses its own context and peer set, and future endpoints are used only during training. The endpoint difference measures growth in discounted contextual value, including changes due to shorter remaining time to success. Compared with a discount-aligned TD residual ([26]), this difference includes an extra nonnegative term that grows with the endpoint value and can survive task-wise centering, so future credit also rewards being closer to the end of a successful trajectory (Appendix § 9.§ 3).
Policy Optimization
We add historical credit and task-standardized future credit with unit coefficients:
The normalized contributions of the two credits, defined in Appendix § 9.§ 3, satisfy . The default uses . To test whether trajectory-level signals complement step-level credit, the episode-augmented variant adds a GRPO-style episode advantage ([28]), , with unit weight and no further normalization. Each step’s advantage weights response tokens in a dual-clipped objective ([48]), with a KL penalty toward the frozen reference policy. See Appendix § 9 for details.
Experiments
Experiments
Experimental Setup
Benchmarks and metrics. We evaluate CCPO against baseline methods on ALFWorld ([32]) and WebShop ([45]), covering household task execution and online shopping through multi-step interaction. ALFWorld comprises six household task categories, with 3,553 training tasks and 140 held-out tasks of the in-distribution evaluation split. For WebShop, we follow the goal partition implemented in verl-agent ([7]), reserving the first 500 goals as the evaluation pool and sampling training tasks from the remaining goals. Following prior work ([7, 42]), we report overall and per-category success rates on ALFWorld. For WebShop, we report success rate and mean task score.
Models and baselines. We use Qwen2.5-1.5B-Instruct and Qwen2.5-7B-Instruct ([23]) as policy backbones. We compare CCPO with three categories of baselines: (1) Off-the-shelf LLMs: Gemini 3.8 Flash ([9]), DeepSeek-V4.1-Flash ([4]), and Qwen3.8-27B ([24]). (2) Prompt-based agents: the Qwen2.5-Instruct backbones without task-specific RL fine-tuning, ReAct ([46]), and Reflexion ([31]). (3) RL training methods: PPO ([27]), RLOO ([1]), GRPO ([28]), GiGPO ([7]), HGPO ([11]), and G2PO ([42]). Baseline configurations are detailed in Appendix § 8.
Implementation details. We train CCPO using verl-agent ([7]), built on veRL ([30]), for 150 iterations, sampling 16 tasks with eight trajectories each per iteration. We use a learning rate of and discount factor 0.95. Interaction limits are 50 steps for ALFWorld and 15 for WebShop. Settings are shared across both backbones and all group-based baselines, except that HGPO retains its published limits of 4,096 prompt tokens on ALFWorld and 30 interaction steps on WebShop. CCPO uses a history window and a future horizon. We evaluate two CCPO variants, a default and an episode-augmented one. The default uses from Equation (8). The variant uses , adding a standard episode-level advantage without further normalization. All training and evaluation are completed on H200 GPUs. We report means and standard deviations across three random seeds. Appendix § 8 gives the shared training budgets and optimization settings. Appendix § 10 provides an ALFWorld prompt and response example.
Main Results
Comparison with baselines. Across CCPO variants, mean success gains over GRPO are 16.6–21.6 percentage points on ALFWorld and 12.3–18.5 on WebShop at 1.5B. At 7B, they are 12.3–15.4 and 5.5–6.5 points (Table 1). WebShop score gains are 13.1–14.8 at 1.5B and 1.7–6.5 at 7B. CCPO leads the listed RL baselines in mean success, reaching 96.9% and 97.4% on ALFWorld and 75.0% and 79.4% on WebShop at 1.5B and 7B.
| Type | Method | All | Pick | Look | Clean | Heat | Cool | Pick2 | Succ. | Score |
| Off-the-Shelf Model | ||||||||||
| Prompting | Gemini 3.8 Flash* | 96.4 | 100.0 | 84.6 | 100.0 | 100.0 | 92.0 | 95.8 | 49.2 | 54.0 |
| Prompting | DeepSeek-V4.1-Flash* | 75.0 | 88.6 | 84.6 | 66.7 | 62.5 | 76.0 | 66.7 | 22.0 | 27.9 |
| Prompting | Qwen3.8-27B* | 70.7 | 85.7 | 61.5 | 66.7 | 56.3 | 72.0 | 66.7 | 29.0 | 39.5 |
| Qwen2.5-1.5B-Instruct | ||||||||||
| Prompting | Qwen2.5* | 6.4 | 11.4 | 7.7 | 3.7 | 6.3 | 4.0 | 4.2 | 5.0 | 21.9 |
| Prompting | ReAct | 12.8 | 17.4 | 20.5 | 15.7 | 6.2 | 7.7 | 2.0 | 11.3 | 40.1 |
| Prompting | Reflexion | 21.8 | 35.3 | 22.2 | 21.7 | 13.6 | 19.4 | 3.7 | 21.9 | 55.8 |
| RL Training | PPO (with critic) | 54.4±3.1 | 64.8±3.5 | 40.5±6.9 | 57.1±4.9 | 60.6±6.6 | 46.4±4.0 | 47.4±1.9 | 51.5±2.9 | 73.8±3.0 |
| RL Training | RLOO | 69.7±2.5 | 88.3±3.0 | 52.8±8.6 | 71.0±5.9 | 62.8±8.7 | 66.4±5.5 | 56.9±4.7 | 52.1±6.7 | 73.9±5.6 |
| RL Training | GRPO* | 75.3±1.0 | 81.8±0.8 | 66.5±8.7 | 77.2±0.4 | 73.8±3.4 | 78.0±3.0 | 65.7±1.9 | 56.5±2.9 | 70.5±2.2 |
| RL Training | GiGPO* | 83.9±0.7 | 84.8±0.7 | 77.0±10.0 | 92.4±0.1 | 100.0±0.0 | 75.0±0.9 | 74.6±1.9 | 67.4±2.2 | 80.1±1.8 |
| RL Training | GiGPO | 86.7±1.7 | 94.4±5.9 | 67.5±4.6 | 94.8±3.8 | 94.4±7.8 | 79.8±4.7 | 76.4±5.4 | 65.0±3.2 | 83.1±1.6 |
| RL Training | HGPO* | 89.1±0.6 | 93.9±0.3 | 80.1±6.0 | 92.4±0.1 | 100.0±0.0 | 88.3±1.6 | 76.2±1.6 | 65.4±1.5 | 82.1±0.8 |
| RL Training | HGPO | 92.8±1.1 | Unreported | 71.5±4.0 | 85.6±2.9 | 71.5±4.0 | 85.6±2.9 | |||
| RL Training | G2PO* | 94.0±0.7 | 93.9±0.3 | 90.6±7.4 | 100.0±0.0 | 100.0±0.0 | 92.7±1.8 | 86.6±0.3 | 71.6±0.7 | 83.5±0.8 |
| RL Training | G2PO | 95.0±0.8 | 97.2±3.9 | 96.3±5.2 | 95.1±1.8 | 94.9±3.6 | 97.1±2.0 | 91.4±4.1 | 71.2±2.6 | 85.1±1.4 |
| RL Training | CCPO (ours) | |||||||||
| ACC only | 96.9±0.8 | 100.0±0.0 | 75.2±4.5 | 100.0±0.0 | 93.1±0.7 | 100.0±0.0 | 97.0±2.6 | 68.8±3.4 | 83.6±2.6 | |
| ACC + AEP | 91.9±0.5 | 93.9±0.2 | 100.0±0.0 | 97.5±2.2 | 93.1±0.7 | 86.9±0.6 | 83.9±2.2 | 75.0±0.8 | 85.4±1.6 | |
| Δ GRPO | 16.6–21.6 | 12.1–18.2 | 8.7–33.5 | 20.3–22.8 | 19.3 | 8.9–22.0 | 18.2–31.3 | 12.3–18.5 | 13.1–14.8 | |
| Qwen2.5-7B-Instruct | ||||||||||
| Prompting | Qwen2.5* | 19.3 | 37.1 | 38.5 | 14.8 | 12.5 | 8.0 | 4.2 | 3.0 | 26.6 |
| Prompting | ReAct | 31.2 | 48.5 | 35.4 | 34.3 | 13.2 | 18.2 | 17.6 | 19.5 | 46.2 |
| Prompting | Reflexion | 42.7 | 62.0 | 41.6 | 44.9 | 30.9 | 36.3 | 23.8 | 28.8 | 58.1 |
| RL Training | PPO (with critic) | 80.4±2.7 | 92.3±4.0 | 64.0±8.4 | 92.5±2.4 | 89.5±7.0 | 80.3±2.0 | 68.8±8.3 | 68.7±5.1 | 81.4±3.1 |
| RL Training | RLOO | 75.5±4.6 | 87.6±4.3 | 78.2±8.3 | 87.3±5.8 | 81.3±7.6 | 71.9±5.2 | 48.9±8.4 | 65.7±4.0 | 80.3±3.2 |
| RL Training | GRPO* | 82.0±0.8 | 85.8±2.1 | 71.9±10.3 | 92.1±0.7 | 84.2±2.7 | 81.2±1.8 | 69.1±0.8 | 72.9±3.2 | 82.9±0.6 |
| RL Training | GiGPO* | 92.2±0.8 | 100.0±0.0 | 93.3±11.5 | 96.0±0.3 | 95.7±3.7 | 89.9±2.1 | 76.5±2.3 | 74.7±4.0 | 84.3±3.5 |
| RL Training | GiGPO | 90.8±1.1 | 97.7±1.6 | 82.7±7.9 | 98.8±1.6 | 83.7±7.2 | 89.3±8.2 | 72.2±6.6 | 72.8±3.2 | 84.4±2.9 |
| RL Training | HGPO* | 95.8±0.5 | 100.0±0.0 | 96.7±5.8 | 100.0±0.0 | 100.0±0.0 | 85.6±1.9 | 92.6±2.6 | 77.6±4.3 | 86.1±3.0 |
| RL Training | HGPO | 95.4±0.6 | Unreported | 78.5±4.1 | 89.0±1.0 | |||||
| RL Training | G2PO* | 94.0±0.5 | 100.0±0.0 | 100.0±0.0 | 96.0±0.3 | 95.7±3.7 | 85.6±1.9 | 88.2±2.7 | 72.4±3.5 | 83.8±2.6 |
| RL Training | G2PO | 96.9±1.3 | 98.7±2.3 | 96.9±11.5 | 97.6±2.1 | 100.0±0.0 | 98.8±2.1 | 93.7±8.4 | 78.3±0.6 | 89.8±1.7 |
| RL Training | CCPO (ours) | |||||||||
| ACC only | 97.4±0.5 | 100.0±0.0 | 100.0±0.0 | 100.0±0.0 | 95.7±3.7 | 94.3±2.2 | 94.1±2.5 | 79.4±1.6 | 89.4±1.0 | |
| ACC + AEP | 94.3±0.5 | 100.0±0.0 | 85.9±5.1 | 96.0±0.3 | 100.0±0.0 | 89.9±2.1 | 88.2±2.7 | 78.4±3.9 | 84.6±3.9 | |
| Δ GRPO | 12.3–15.4 | 14.2 | 14.0–28.1 | 3.9–7.9 | 11.5–15.8 | 8.7–13.1 | 19.1–25.0 | 5.5–6.5 | 1.7–6.5 |
Table 1. Table 1 Results on WebShop and ALFWorld. We report the success rate (%) for each sub-task and overall results for ALFWorld, and the success rate (%) and score for WebShop, averaged over 3 seeds with standard deviations. Within each section, the best means are highlighted and the second best are underlined. Higher is better. * marks baselines reproduced or off-the-shelf models evaluated by us. Light-gray rows show results from the original papers and are excluded from ranking highlights. Δ GRPO gives the min–max gain over GRPO across both CCPO variants.
Ablation Studies
We ablate CCPO with Qwen2.5-1.5B-Instruct, using on ALFWorld and on WebShop as reference configurations. All ablations follow the main evaluation protocol.
Peer selection and contextual weighting. Relative to CCPO, including same-trajectory peers lowers mean success by 6.3 on ALFWorld and 19.0 percentage points on WebShop (Table 2). Uniform weighting lowers success by 3.7 and 2.6 points, and cosine weighting by 4.2 and 4.7.
| Method | ALFWorld All | Pick | Look | Clean | Heat | Cool | Pick2 | WebShop Succ. | Score |
| Qwen2.5-1.5B-Instruct | ACC only | ACC + AEP | |||||||
| w/o self-trajectory peer exclusion | |||||||||
| w/o context summary | |||||||||
| Uniform weighting | |||||||||
| Cosine-based context similarity | |||||||||
| Historical credit only | |||||||||
| H: 2, F: 0, W: 3 ●●◎ | |||||||||
| Future credit only | |||||||||
| H: 0, F: 2, W: 3 ◎◎◎ | |||||||||
| Symmetric context variation | |||||||||
| H: 1, F: 1, W: 3 ●◎◎ | — | — | |||||||
| H: 3, F: 3, W: 7 ●●●◎◎◎◎ | — | — | |||||||
| Asymmetric context variation | |||||||||
| H: 4, F: 0, W: 5 ●●●●◎ | — | — | |||||||
| H: 3, F: 1, W: 5 ●●●◎◎ | — | — | |||||||
| H: 1, F: 3, W: 5 ●◎◎◎◎ | — | — | |||||||
| H: 0, F: 4, W: 5 ◎◎◎◎◎ | — | — | |||||||
| CCPO (ours) | |||||||||
| H: 2, F: 2, W: 5 ●●◎◎◎ |
Table 2. Ablations with Qwen2.5-1.5B-Instruct on ALFWorld and WebShop. best and second best are marked. and denote active historical and future credit spans, with . Zero marks a disabled credit channel. Channel-only rows retain . Temporal-window rows also change the actual window lengths (Table S3). Markers: ◎ current, ● history, and ⊙ future.
Structured context summaries alter peer influence. Context summaries add accumulated trajectory statistics to semantic representations: step count, distinct-observation count, novelty fraction, and a revisit indicator. Removing them lowers mean success by 2.6 percentage points on ALFWorld and 1.3 on WebShop (Table 2). Adding summaries changes normalized weights by more than one percentage point for 33.8% of matched query–peer pairs (Table 3; Appendix § 12.§ 3).
| Change (pp) | |||||
| Pairs (%) | 62.1 | 48.7 | 33.8 | 8.6 | 3.6 |
Table 3. Absolute changes in matched peer weights from context summaries.
Historical and future credit. We compare the combined, history-only, and future-only credit configurations, retaining episode-level credit on WebShop. These channel-only ablations switch off the other credit component while retaining the default prompt-history length and future horizon, (Table S3). On ALFWorld, success falls from 96.9% to 91.4% when using only historical credit and 84.6% when using only future credit. On WebShop, it decreases from 75.0% to 72.7% and 74.0%, respectively (Table 2). The combined configuration achieves the highest mean success on both benchmarks. History-only exceeds future-only in mean success on ALFWorld but trails it on WebShop, suggesting task-dependent credit utility.
| Variant | Configuration change |
| Add episode advantage with unit weight after contextual normalization, without renormalizing the sum. | |
| w/o self-trajectory peer exclusion | Allow matching steps from the query trajectory, including the query itself, as peers. |
| w/o context summary | Set the accumulated-statistics weight from 1 to 0; retain frozen hidden-state features and prompt history. |
| Cosine-based context similarity | Replace the exponential kernel with cosine-based weighting. |
| Historical credit only | Turn off future credit by setting its weight from 1 to 0. Retain historical credit with unit weight and the default windows ; the active spans are . |
| Future credit only | Turn off historical credit by setting its weight from 1 to 0. Retain future credit with unit weight and horizon , together with prompt history ; the active spans are . |
| Temporal window variation | Change the actual prompt-history length and future horizon to the listed values: and . Set a channel’s weight to 0 when its listed span is zero, and to 1 otherwise. For example, uses four history steps and turns off future credit; uses a four-step future horizon, no preceding prompt-history pairs, and turns off historical credit. |
Table S3. Table S3 CCPO variant and ablation configurations. Each ablation changes only the listed settings relative to its corresponding reference configuration. The default uses prompt history , future horizon , and unit weights for both credit channels. In Table 2, a disabled channel has active span zero; its underlying window is retained in the channel-only ablations.
Temporal window allocation. We vary symmetric windows on history length and future horizon. Increasing the symmetric window from to reduces success from 96.9% to 91.4%. We then compare asymmetric temporal allocations at fixed context span. The default CCPO (2 steps each way) outperforms all tested asymmetric windows. We restrict these variations to ALFWorld, where successful 1.5B trajectories average 8.7 steps versus 5.1 on WebShop under the reference configurations (Appendix § 14, Figure S4). These results favor a compact yet rich context window that balances locality with context span, since two steps each way outperforms both one and three steps.
Figure S4. Average steps among successful trajectories on ALFWorld and WebShop. Panels show Qwen2.5-1.5B/7B-Instruct agents and a shared off-the-shelf Gemini reference. Error bars show sample standard deviations across three evaluation subsets; no deviation is reported for Gemini.
Contextual Credit Analysis
Identical observations can conceal different task progress. In Figure 3, CiGPO and G2PO repeatedly visit an empty toiletpaper hanger without acquiring the target. CCPO encounters the same observation after acquisition and completes the task (Appendix § 13.§ 1). Appendix § 13.§ 2 presents a complementary failure mode: G2PO repeatedly removes and replaces one spraybottle, whereas CCPO places two distinct objects (Figure S3). Across three evaluation draws, CCPO’s revisit rate is 22.5%, versus 26.8–41.0% for the baselines (Table 4).
Figure 3. ALFWorld evaluation trajectories (Qwen2.5-1.5B-Instruct). Each cell denotes one step. Revisit counts track navigation to previously visited locations. CCPO uses only.
| Method | GiGPO | G2PO | HGPO | CCPO ( only) |
| Revisit rate (%) |
Table 4. Revisit rates on ALFWorld evaluation rollouts.
Figure S3. Evaluation trajectories for the two-object task in Table S7. Each cell denotes one step; revisit counts track navigation to previously visited locations. CCPO uses only.
| Step | Action | Observation excerpt / summary |
| G2PO: failed at 50 steps | ||
| 10 | move spraybottle 2 to toilet 1 | You move the spraybottle 2 to the toilet 1. |
| 14 | go to toilet 1 | On the toilet 1, you see a cloth 3, and a spraybottle 2. |
| 15 | take spraybottle 2 from toilet 1 | You pick up the spraybottle 2 from the toilet 1. |
| 16 | move spraybottle 2 to toilet 1 | You move the spraybottle 2 to the toilet 1. |
| 37–39, 48–49 | Two further take–replace cycles with spraybottle 2; step 38 is an invalid action. | |
| CCPO ( only): success at step 15 | ||
| 4 | “1, and you have already taken ” | Nothing happens. |
| 5 | take spraybottle 1 from garbagecan 1 | You pick up the spraybottle 1 from the garbagecan 1. |
| 8 | move spraybottle 1 to toilet 1 | You move the spraybottle 1 to the toilet 1. |
| 11 | open cabinet 3 | In it, you see a spraybottle 2. |
| 12 | take spraybottle 2 from cabinet 3 | You pick up the spraybottle 2 from the cabinet 3. |
| 13 | “. now, you are at step 13, and” | Nothing happens. |
| 15 | move spraybottle 2 to toilet 1 | You move the spraybottle 2 to the toilet 1. |
| GiGPO: failed at 50 steps | ||
| 11 | take soapbottle 2 from countertop 1 | You pick up the soapbottle 2 from the countertop 1. |
| Step | Action | Observation excerpt / summary |
| 13 | move soapbottle 2 to toilet 1 | You move the soapbottle 2 to the toilet 1. |
| HGPO: failed at 50 steps | ||
| 1–50 | Navigation and cabinet opening; no object is picked up. |
Table S7. Table S7 continued
Contextual credit provides unique learning signals. Figure 4a compares with counterfactual from the same -only ALFWorld rollouts. is logged for comparison and excluded from policy updates. Their mean absolute magnitudes diverge as validation success improves: diminishes while remains elevated, so a learning signal remains after most episodes succeed.
Figure 4. Contextual credit dynamics on ALFWorld (Qwen2.5-1.5B and 7B). (a) versus from the same rollouts. Only is backpropagated. (b) Historical, future, and combined credit. Future-to-history ratios compare iterations 1–30 and 121–150. The heatmap correlates unsmoothed historical and future magnitudes by non-overlapping 10-iteration windows. Curves: mean absolute credit, centered 5-iteration means, and faint raw traces. Bands: 95% trajectory-bootstrap CIs.
The composition of contextual advantage changes during training. Figure 4b shows historical credit dominating initially, with future credit becoming more prominent despite fixed combination weights. Between iterations 1–30 and 121–150, the future-to-history mean absolute magnitude ratio rises from 0.25 to 0.60 at 1.5B and from 0.32 to 1.01 at 7B. Correlations between historical and future magnitudes within 10-iteration windows become less consistently positive later, especially at 7B. The two components thus evolve differently across training, supporting complementary roles.
What does future credit add beyond historical credit? Using successful 1.5B ALFWorld rollouts from iterations 101–150, we compare category-relative credit within task–observation-matched groups per iteration, with bootstrap CIs and Bonferroni correction across ten categories (Figure 5). Filtering and statistical procedures are detailed in Appendix § 12.§ 1. Relative to other actions, favors new-location transitions more than (difference: ; adjusted CI: ), while both favor cleaning, heating, and cooling. The , and w/o-context-summary variants show similar patterns. Paired action timing also differs: against full CCPO, the future-only policy first opens a receptacle earlier in 72.1% of paired games, and the history-only policy later in 54.3% (Appendix § 12.§ 2, Figure S1). The failure case in Figure 3 shows that identical observations can accompany different task progress; the credit preferences in Figure 5 complement this behavioral evidence by showing how historical and future credit evaluate exploratory transitions differently.
Figure 5. Credit preferences on ALFWorld (Qwen2.5-1.5B-Instruct). Mean category-relative credit within matched task–observation groups and iterations, from successful rollouts at iterations 101–150. Asterisks: Bonferroni-adjusted CIs excluding zero. Dashes: fewer than 60 groups. Off: inactive component. Context markers denote ⊙ current, ◉ history, and ◎ future.
Figure S1. Action timing on ALFWorld (Qwen2.5-1.5B-Instruct). First occurrence at checkpoint 150, paired across the same 140 evaluation games against full CCPO. Percentages condition on both policies performing the action. Dashes: fewer than 12 pairs or unavailable results; gray rows are excluded. Context markers denote ◉ current, ◉ history, and ◎ future.
Conclusion
We introduced Contextual Credit Policy Optimization (CCPO) for two challenges in comparison-based step-level credit: whom a step is compared with, and what it is credited for. CCPO weights observation-matched peers by contextual similarity and pairs historical credit with future credit, both computed from collected rollouts without an auxiliary value critic. With Qwen2.5-7B-Instruct, it reaches 97.4% success on ALFWorld and 79.4% on WebShop. In ablations, uniform weights lower success by 3.7 and 2.6 points, and either credit alone lowers it by up to 12.3.
Limitations. CCPO has three main limitations. First, our evaluation covers two multi-step benchmarks and one model family. Broader generalization and applicability to short-horizon or single-step tasks remain untested. Second, exact observation matching can limit peer availability, while fixed temporal windows and hand-designed trajectory statistics may require adaptation across environments. Finally, future credit vanishes when all rollouts in a task group receive zero terminal reward, limiting the future channel’s contribution under sparse rewards, particularly early in training when successful trajectories are scarce.
Future work. The changing balance between historical and future credit motivates adaptive horizons and stage-dependent weighting. Further directions include streaming credit estimation from incomplete rollouts, multimodal contexts combining visual observations and textual histories, semantic peer retrieval beyond exact observation matching, and uncertainty estimates for correlated visits. Broader evaluation should examine generalization across model families and domains, computational scaling, and the effects of realized-future conditioning on policy updates.
Notation
Table S1 Notation for CCPO. Subscripts index trajectories and steps; H and F denote historical and future channels. Implementation details appear in Appendix § 9.
| Symbol | Definition |
| Tasks, trajectories, and temporal indexing | |
| , | Task instance; is the task associated with trajectory . |
| Number of trajectories sampled per task in a rollout batch. | |
| Trajectory , containing observations , actions , and their outcomes. | |
| , | Query-trajectory and peer-trajectory indices. |
| , | Zero-based query-step and peer-step indices: , . |
| Number of actions in trajectory ; also indexes its terminal endpoint. | |
| Observation before action ; matching uses exact string equality. | |
| Generated response, including reasoning and the executable action. | |
| Task, current observation, and up to preceding observation–action pairs; excludes the current response. | |
| , | Environment reward after action , and terminal trajectory outcome. |
| , | Return discount factor and current invalid-action penalty coefficient. |
| , | Prompt-history length and realized future horizon, both 2 by default. |
| Future endpoint on the collected trajectory: . | |
| , , | Active credit spans in the ablation table, with ; zero denotes a disabled channel. Channel-only rows retain , while temporal-window variations use and . |
| Context representation | |
| Frozen reference model's final-layer hidden state at the last prompt token. | |
| , | Batch mean hidden state and projection removing its three leading principal directions. |
| Distinct-observation count: . | |
| Observation-novelty ratio over the observed prefix. | |
| Whether the current observation appeared earlier in the same trajectory. | |
| 37-dimensional encoding of elapsed steps, distinct observations, novelty ratio, and revisit indicator. | |
| L2 normalization: . | |
| Fused context feature; see Equation (9). | |
| Vector concatenation. | |
| Peer matching and contextual weighting | |
| Exact task–observation peers outside the query trajectory; Equation (2). | |
| Peers used for readout: when nonempty, otherwise all same-task nonterminal steps with . | |
| , | Shorthand for query and peer step identifiers. |
| Kernel weight: . | |
| Query-normalized weight: . | |
| Observation or task bucket used to determine the bandwidth. | |
| , | Median pairwise distance in and its safeguarded value; Appendix § 9.§ 2. |
| Kernel bandwidth , distinct from trajectory . | |
| Readout target: for return baselines or for outcome values. | |
| Contextual weighted readout; Equation (4). | |
| Symbol | Definition |
| Temporal credit signals | |
| Historical return target including the current invalid-action penalty; Equation (1). | |
| Contextual peer baseline for the realized return. | |
| Historical credit: . | |
| Unpenalized outcome target: . | |
| Contextual outcome value: for , and at . | |
| Outcome-value change: . | |
| Task-standardized future credit: . | |
| Support, normalization, and advantages | |
| Unique steps of task with a defined historical baseline. | |
| Unique task- steps with both outcome-value endpoints defined. | |
| ; is the corresponding multiset of restored training rows. | |
| All restored input step rows of task , used for episode statistics. | |
| Mean and sample standard deviation over set or row multiset . | |
| Standardization: for . | |
| Future-credit standardization over . | |
| Final contextual transformation. | |
| Contextual advantage , also denoted . | |
| Historical contribution after the final transformation; Equation (11). | |
| Future contribution after the same transformation; . | |
| Component mean and common scale for the additive decomposition; Appendix § 9.§ 3. | |
| Episode-channel score: . | |
| Episode-score advantage over . | |
| Episode-channel weight: 0 by default, 1 for the augmented variant. | |
| Optimizer advantage: . | |
| Policy optimization | |
| Trainable policy parameters and the current LLM policy. | |
| Behavior policy used to collect rollouts. | |
| Frozen reference policy for feature extraction and KL regularization. |
Table S1. Table S1 continued
Training and Ablation Configurations
| Setting | GRPO | GiGPO | HGPO | G2PO | CCPO |
| Both benchmarks | |||||
| Training iterations | 150 | 150 | 150 | 150 | 150 |
| Tasks rollouts per iteration | |||||
| Total sampled trajectories | 19,200 | 19,200 | 19,200 | 19,200 | 19,200 |
| NVIDIA H200 GPUs per run | 8 | 8 | 8 | 8 | 8 |
| Learning rate | |||||
| Discount factor | 0.95 | 0.95 | 0.95 | 0.95 | 0.95 |
| Actor KL coefficient | 0.01 | 0.01 | 0.01 | 0.01 | 0.01 |
| KL estimator | low_var_kl | low_var_kl | low_var_kl | low_var_kl | low_var_kl |
| KL included in reward | No | No | No | No | No |
| Invalid-action penalty coeff. | 0.1 | 0.1 | 0.1 | 0.1 | 0.1 |
| Environment training seed | 0 | 0 | 0 | 0 | 0 |
| Prompt history (steps) | 2 | 2 | 2 | 2 | 2 |
| Response token limit / step | 512 | 512 | 512 | 512 | 512 |
Table S2. Training configurations shared by 1.5B and 7B models on ALFWorld and WebShop.
| Setting | GRPO | GiGPO | HGPO | G2PO | CCPO |
| Prompt truncation | error | error | left | error | error |
| Validation decoding | Sampling | Sampling | Sampling | Sampling | Sampling |
| Validation temperature | 0.4 | 0.4 | 0.4 | 0.4 | 0.4 |
| Validation interval (iterations) | 5 | 5 | 5 | 5 | 5 |
| ALFWorld | |||||
| PPO mini-batch size | 256 | 256 | 256 | 256 | 256 |
| Maximum interaction steps | 50 | 50 | 50 | 50 | 50 |
| Prompt token limit | 2,048 | 2,048 | 4,096 | 2,048 | 2,048 |
| WebShop | |||||
| PPO mini-batch size | 64 | 64 | 64 | 64 | 64 |
| Maximum interaction steps | 15 | 15 | 30 | 15 | 15 |
| Prompt token limit | 4,096 | 4,096 | 4,096 | 4,096 | 4,096 |
Table S2 (continued).
CCPO Implementation Details
Using complete, globally gathered rollouts, we remove identical step copies before feature construction, peer readouts, and future-credit standardization. Original rows are restored for final advantage computation before PPO minibatching. Training and ablation configurations are in Appendix § 8.
Context Representation
The frozen reference model supplies the final-layer hidden state at the last prompt token. Across unique steps in the batch, we center these states, remove their three leading principal directions, and L2-normalize. The summary encodes elapsed steps , distinct-observation count , and novelty ratio in three 12-dimensional thermometer blocks with upper bounds 30, 25, and 1. For value and bound , the first coordinates are one; the rest are zero. Appending the binary revisit indicator gives .
With , the fused feature is
The projection is recomputed per batch without reward labels. With two or three unique steps, we skip principal-direction removal; with one, we use the raw hidden block. Nonterminal endpoints use their own prompt features and accumulated statistics.
Peer Readouts
Readouts use from § 3.2; a step whose peer set is empty receives zero contextual credit. For the full observation bucket , let be the median distance over distinct unordered pairs before trajectory exclusion. Equation (3) uses , with when and 1 otherwise. Task-level fallback recomputes this bandwidth in the full task bucket.
Repeated visits retain individual weights. Each peer trajectory contributes its weighted mean, weighted again by its total kernel mass. Both denominators are floored at ; all-zero weights yield zero while retaining support. Away from these floors, this implements Equation (4).
Credit Construction and Normalization
With terminal outcomes , the supplied historical target is , whereas future values use without penalties. The current-step penalty enters once. At , terminal values equal , including zero for unsuccessful rollouts. Both value endpoints must be defined; their difference has no additional discount factor.
Let . Equation (7) can be written as
Our value targets are nonnegative, so the second term is nonnegative and can vary across steps. This time-dependent contribution can persist after task-wise centering.
Standardization uses sample standard deviation plus , with equal weight per included row. Future differences are standardized over supported unique steps within each task in both benchmarks; fewer than two eligible steps give zero future credit. Unavailable components are zero-filled before combination. Unsupported contextual advantages remain zero. All-zero outcomes give zero future credit; historical targets still include local penalties.
For the plotted ALFWorld contributions, let be the mean of over the restored union support and . For multiple supported rows,
Both contributions are zero outside the union support. These additive contributions share a normalization scale and sum to .
The optional episode channel uses over all restored task rows, including contextually unsupported steps. Hence longer trajectories contribute more rows, and local penalties can produce different episode advantages within a trajectory. The channel is added with unit weight after contextual normalization, without renormalizing.
Policy-Update Integration
The adapter broadcasts each detached step advantage to all generated response tokens, including reasoning and executable actions; prompt and padding tokens are excluded. The loss mask retains valid response tokens from steps with zero contextual credit. The dual-clipped policy objective ([48]) follows § 3.4. Features and credit estimates receive no gradients. Estimation uses float64 NumPy arithmetic, while the adapter extracts and returns detached float32 features and token advantages.
For a response token with preceding context , low_var_kl uses and the penalty . The penalty is aggregated with the response-token mask and added to the policy loss with coefficient 0.01.
Algorithm 1 CCPO training iteration
Collect complete rollouts with ; gather metadata and reward targets.
Extract frozen prompt features; retain unique steps and the input-row mapping.
Encode prefix statistics; construct by Equation (9).
Select exact peers or task fallback; compute and .
Set and terminal values .
Set and , where , on eligible steps.
Zero-fill unavailable terms; restore rows; set .
Set , ; pass this sum directly to the token adapter.
Broadcast detached to response tokens; update the policy with PPO and KL.
Validation Rollout Examples
ALFWorld: Picking up a Soapbar
| Component | Excerpt |
| Prompt | |
| Role | You are an expert agent operating in the ALFRED Embodied Environment. |
| Task | Your task is to: put two soapbar in garbagecan. |
| History | Prior to this step, you have already taken 5 step(s). Below are the most recent 2 observations and the corresponding actions you took: |
| History excerpt | [Observation 4: ’You arrive at cabinet 1. The cabinet 1 is closed.’, Action 4: ’open cabinet 1’] |
| History excerpt | [Observation 5: ’You open the cabinet 1. The cabinet 1 is open. In it, you see nothing.’, Action 5: ’go to sinkbasin 1’] |
| Current step | You are now at step 6 and your current observation is: You arrive at sinkbasin 1. On the sinkbasin 1, you see a soapbar 3, and a soapbar 2. |
| Actions | Your admissible actions of the current situation are: [’examine sinkbasin 1’, [. . . ] ’take soapbar 2 from sinkbasin 1’, ’take soapbar 3 from sinkbasin 1’]. |
| Instructions | Now it’s your turn to take an action. You should first reason step-by-step about the current situation. This reasoning process MUST be enclosed within <think> </think> tags. Once you’ve finished your reasoning, you should choose an admissible action for current step and present it within <action> </action> tags. |
| Model response | |
| Response | <think> The agent has arrived at the sinkbasin 1 and has two soapbars available: soapbar 2 and soapbar 3. The agent needs to put one of the soapbars in the garbagecan 1. </think> <action>take soapbar 2 from sinkbasin 1</action> |
Table S4. ALFWorld prompt and response excerpts at step 6 (Qwen2.5-1.5B-Instruct).
Statistical Analysis
Statistical Analysis
Relative Credit Preferences
Data and filtering. For Figure 5, we analyze ALFWorld training rollouts from iterations 101–150 of four Qwen2.5-1.5B-Instruct runs: full CCPO and CCPO without the accumulated context summary, both with , together with the asymmetric and window variants of Table 2. All use the A-only configuration. Table S5 specifies the temporal windows and sample counts. We retain successful trajectories, identified by a recorded episode return greater than 0.5, and interior steps satisfying and , where is the zero-based logged step index and is the last logged step in the trajectory. We apply this interior-step filter only to the analysis, consistently across all four runs. Padding duplicates are removed upstream; trajectories with missing episode returns are excluded. Each run is analyzed using its own rollouts, so comparisons across runs also reflect differences in the sampled behavior.
| Run | Steps | Groups | ||
| CCPO (full) | 39,503 | 11,003 | 10 | |
| w/o context summary | 38,680 | 9,778 | 9 | |
| Asymmetric (history) | 40,972 | 9,914 | 10 | |
| Asymmetric (future) | 49,736 | 13,235 | 11 |
Table S5. Filtered samples for the credit-preference analysis. Groups match training iteration, task instance, and observation. counts categories with at least 60 usable groups; each contrast requires both the category and other actions in a group.
Action categories. The action at step is classified from the environment response recorded at step , without using credit values. Fixed response-prefix rules identify task operations (clean, heat, or cool), take, examine, new location, revisit, open, put, toggle, invalid, close, and other. Arrivals are classified as new locations or revisits using the locations previously visited anywhere in the trajectory, including steps subsequently removed by filtering. Invalid actions are identified by the environment’s “Nothing happens.” response. Task completion may require revisiting a location.
Matched-group contrast. A comparison group contains steps from the same training iteration and task instance with identical observation text. Only exact task-observation groups enter this analysis. For action category , let contain steps of that category and contain the other steps in . We retain groups with both sets nonempty and, for a step-level quantity , define
\Delta(c; m) = \frac{1}{\lvert \mathcal{U}(c)\rvert}\sum_{B \in \mathcal{U}(c)} d_B(c; m),
where is the set of usable groups. We apply this definition to , , and , using the additive decomposition in Equation (11). Groups receive equal weight regardless of their size. A positive contrast indicates higher average group-relative credit for the category. Individual advantages may have either sign, and the contrast describes an association between action category and credit.
Bootstrap intervals and channel comparison. For each run, categories with fewer than 60 usable groups are excluded. We draw 6,000 bootstrap samples of usable groups with replacement, using random seed 0. Two-sided percentile intervals use quantile levels and , where is the number of eligible categories in that run. Asterisks indicate intervals excluding zero. Each combination of run, analysis window, and measured quantity defines a separate Bonferroni correction family.
The channel comparison is paired within groups: we bootstrap using the same sampled groups for both terms. For new-location transitions in full CCPO, the mean paired difference is 0.0372 with adjusted interval , based on 2,804 groups. The paired-contrast interval excludes zero; both channel-specific intervals include zero.
The analysis is conditional on successful trajectories and observations at which multiple action categories were sampled.
Paired Action Timing During Evaluation
Evaluation population. For Figure S1, we use evaluation rollouts from checkpoints at training iteration 150, collected following the main evaluation protocol. Each ablation is paired with full CCPO on the same 140 ALFWorld tasks using their evaluation-game identifiers. This analysis includes successful and failed episodes.
First occurrence. For game and category , let denote the one-based step of its first occurrence, identified by the response-based categories above. The paired timing difference is
Only games where both policies perform the action are eligible. The plotted earlier, same, and later percentages count pairs with , , and , respectively. Percentages are computed over eligible game pairs within each category. Games where only one policy performs the action enter separate coverage counts and are excluded from these percentages.
Displayed categories. Bars report descriptive proportions; dashes mark fewer than 12 eligible pairs or unavailable results. New location is excluded: its first occurrence is fixed at step 1 under this labeling rule. Invalid and other are also excluded.
Changes in Peer Contributions
Paired representation comparison. For Table 3, we use full CCPO’s Qwen2.5-1.5B-Instruct ALFWorld training rollouts from iterations 101–150 to recompute normalized peer weights with and without the accumulated context summary. Rollouts, queries, recorded peer sets, trajectory exclusions, and return targets are held fixed. The full representation has 1,573 dimensions; the comparison retains its 1,536-dimensional hidden-state block and renormalizes that block to unit length. The bandwidth rule is unchanged, but its numerical value is recomputed from distances in each representation. This comparison isolates the effect on weights for fixed rollouts; it is separate from comparing independently trained ablation policies.
Population and statistic. We retain the recorded peer-pool selection, including task-only fallback pools where used. This diagnostic covers successful and failed rollouts and retains boundary steps. It covers 99,424 queries and 1,678,986 query–peer pairs. For each pair, define the absolute change in normalized weight, measured in percentage points, as
For a threshold , the reported percentage is
where is the set of query–peer step pairs . Pairs receive equal weight, so queries with more peers contribute more terms. Thresholds of 0.25, 0.5, 1, 5, and 10 percentage points yield 62.1%, 48.7%, 33.8%, 8.6%, and 3.6% of pairs, respectively. These are descriptive proportions of the recorded pairs. These proportions quantify weight redistribution over fixed query–peer pairs.
Failure Mode Comparisons
We compare ALFWorld evaluation trajectories from Qwen2.5-1.5B-Instruct checkpoints at training step 150, with one sampled trajectory per method and task, temperature 0.4, and a 50-step limit. Tables show selected actions and observation excerpts; italicized rows summarize repeated actions.
Repeated Visits Without Acquiring the Target
Figure S2. Evaluation trajectories for the navigation task in Table S6. Reproduced from Figure 3. Each cell denotes one step; revisit counts track navigation to previously visited locations. CCPO uses only.
| Step | Action | Observation excerpt / summary |
| GiGPO: failed at 50 steps; 47 revisits | ||
| 3 | go to toiletpaperhanger 1 | On the toiletpaperhanger 1, you see nothing. |
| 4–49 | 46 navigation actions among countertop 1, toilet 1, and toiletpaperhanger 1; every returned observation repeats an earlier one. | |
| Step | Action | Observation excerpt / summary |
| G2PO: failed at 50 steps; 42 revisits | ||
| 5 | open cabinet 2 | In it, you see a soapbottle 1. |
| 8–15 | Two navigation cycles: countertop 1 → cabinet 2 → toilet 1 → toiletpaperhanger 1. | |
| HGPO: failed at 50 steps; 44 revisits | ||
| 4 | go to toiletpaperhanger 1 | On the toiletpaperhanger 1, you see nothing. |
| 5–18 | 14 navigation actions among toilet 1, countertop 1, and toiletpaperhanger 1; every returned observation repeats an earlier one. | |
| CCPO ( only): success at step 7; 0 revisits | ||
| 3 | go to cabinet 1 | The cabinet 1 is closed. |
| 4 | open cabinet 1 | In it, you see [. . . ] a toiletpaper 1. |
| 5 | take toiletpaper 1 from cabinet 1 | You pick up the toiletpaper 1 from the cabinet 1. |
| 6 | go to toiletpaperhanger 1 | On the toiletpaperhanger 1, you see nothing. |
| 7 | move toiletpaper 1 to toiletpaperhanger 1 | You move the toiletpaper 1 to the toiletpaperhanger 1. |
Table S6. Repeated navigation versus target acquisition. Task: “put a toiletpaper in toiletpaperhanger.” Revisit counts refer to navigation to previously visited locations.
Repeating a Completed Subgoal
Trajectory Lengths
Figure S4 reports average steps among successful trajectories. At 1.5B, the ALFWorld reference configuration () averages steps, compared with for the WebShop reference (). WebShop’s shorter successful trajectories motivate restricting the context-window variations to ALFWorld.
Exact-Match Fallback and Peer Availability
Figure S5. Exact-match fallback and peer availability during training. Results use Qwen2.5-1.5B-Instruct on ALFWorld and WebShop. (a,b) Percentage of rows falling back from the exact anchor-observation key to a task-only key, comparing CCPO (full) with five ablations. (c,d) No-peer row percentages, computed as the singleton-bucket fraction divided by mean bucket size; CCPO (full) is highlighted and ablations are gray. Faint traces show raw per-step values, while smoothed curves use centered five-step moving averages. Shading marks steps 101–150; annotations report unweighted means of raw per-step values over this window. All ALFWorld arms use only, and all WebShop arms use . Each arm represents one recorded training run. Vertical-axis ranges differ between benchmarks.
References
- [1]Arash Ahmadian, Chris Cremer, Matthias Gallé, Marzieh Fadaee, Julia Kreutzer, Olivier Pietquin, Ahmet Üstün, and Sara Hooker. Back to basics: Revisiting REINFORCE-style optimization for learning from human feedback in LLMs. In Lun-Wei Ku, Andre Martins, and Vivek Srikumar, editors, Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 12248–12267, Bangkok, Thailand, August 2024. Association for Computational Linguistics. doi: 10.18653/v1/2024.acl-long.662. https://aclanthology.org/2024.acl-long.662/.DOI
- [2]Kevin Chen, Marco Cusumano-Towner, Brody Huval, Aleksei Petrenko, Jackson Hamburger, Vladlen Koltun, and Philipp Krähenbühl. Reinforcement learning for long-horizon interactive LLM agents. arXiv preprint arXiv:2502.01600, 2025. https://arxiv.org/abs/2502.01600v3.
- [3]Ganqu Cui, Yuchen Zhang, Jiacheng Chen, Lifan Yuan, Zhi Wang, Yuxin Zuo, Haozhan Li, Yuchen Fan, Huayu Chen, Weize Chen, Zhiyuan Liu, Hao Peng, Lei Bai, Wanli Ouyang, Yu Cheng, Bowen Zhou, and Ning Ding. The entropy mechanism of reinforcement learning for reasoning language models. arXiv preprint arXiv:2505.22617, 2025. https://arxiv.org/abs/2505.22617v1.
- [4]DeepSeek-AI et al. DeepSeek-V4.1-Flash: Pushing the limits of KV cache compression. arXiv preprint arXiv:2609.19969, 2026. https://arxiv.org/abs/2609.19969v1.
- [5]Guanting Dong, Hangyu Mao, Kai Ma, Licheng Bao, Yifei Chen, Zhongyuan Wang, Zhongxia Chen, Jiazhen Du, Huiyang Wang, Fuzheng Zhang, Guorui Zhou, Yutao Zhu, Ji-Rong Wen, and Zhicheng Dou. Agentic reinforced policy optimization. In C. Vondrick, B. Hariharan, C. Raffel, L. Pinto, D. Yang, and A. Faust, editors, International Conference on Learning Representations, volume 2026, pages 16981–17017, 2026. https://proceedings.iclr.cc/paper_files/paper/2026/file/1c58e53bdf1fbf045440256fa657531ae-Paper-Conference.pdf.arxiv.org/abs/2507.19849
- [6]Jiazhan Feng, Shijue Huang, Xingwei Qu, Ge Zhang, Yujia Qin, Baoquan Zhong, Chengquan Jiang, Jinxin Chi, and Wanjun Zhong. ReTool: Reinforcement learning for strategic tool use in LLMs. In C. Vondrick, B. Hariharan, C. Raffel, L. Pinto, D. Yang, and A. Faust, editors, International Conference on Learning Representations, volume 2026, pages 37909–37926, 2026. https://proceedings.iclr.cc/paper_files/paper/2026/file/4038c9828dfc22644c60ad39c24e5c53-Paper-Conference.pdf.arxiv.org/abs/2504.11536
- [7]Lang Feng, Zhenghai Xue, Tingcong Liu, and Bo An. Group-in-group policy optimization for LLM agent training. In D. Belgrave, C. Zhang, H. Lin, R. Pascanu, P. Koniusz, M. Ghassemi, and N. Chen, editors, Advances in Neural Information Processing Systems, volume 38, pages 46375–46408. Curran Associates, Inc., 2025. doi: 10.5220/085713-1544. https://proceedings.neurips.cc/paper_files/paper/2025/file/420c9cf777c0b4f78d5155e53cf74d58b2-Paper-Conference.pdf.arxiv.org/abs/2505.10978
- [8]Chang Gao, Chujie Zheng, Xiong-Hui Chen, Kai Dang, Shixuan Liu, Bowen Yu, An Yang, Shuai Bai, Jingren Zhou, and Junyang Lin. Soft adaptive policy optimization. arXiv preprint arXiv:2511.20347, 2025. https://arxiv.org/abs/2511.20347v2.
- [9]Google DeepMind. Gemini 3.8 Flash. Model card, September 2026. https://deepmind.google/models/model-cards/gemini-3-8-flash/. Published September 2, 2026. Accessed September 23, 2026.
- [10]Daya Guo, Dejian Yang, Haowei Zhang, et al. DeepSeek-R1 incentivizes reasoning in LLMs through reinforcement learning. Nature, 645(8081):633–638, 2025. doi: 10.1038/s41586-025-09422-z. https://doi.org/10.1038/s41586-025-09422-z.
- [11]Shuo He, Lang Feng, qi wei, Xin Cheng, Lei Feng, and Bo An. Hierarchy-of-groups policy optimization for long-horizon agentic tasks. In C. Vondrick, B. Hariharan, C. Raffel, L. Pinto, D. Yang, and A. Faust, editors, International Conference on Learning Representations, volume 2026, pages 27572–27593, 2026. https://proceedings.iclr.cc/paper_files/paper/2026/file/2e7eb932f93d5db3b61c7a001e72fd0f-Paper-Conference.pdf.arxiv.org/abs/2602.22817
- [12]Carlos E Jimenez, John Yang, Alexander Wettig, Shunyu Yao, Kexin Pei, Ofir Press, and Karthik R Narasimhan. SWE-bench: Can language models resolve real-world GitHub issues? In The Twelfth International Conference on Learning Representations, 2024. https://openreview.net/forum?id=VTF8yNQM66.arxiv.org/abs/2310.06770
- [13]Bowen Jin, Hansi Zeng, Zhenrui Yue, Jinsung Yoon, Sercan O Arik, Dong Wang, Hamed Zamani, and Jiawei Han. Search-R1: Training LLMs to reason and leverage search engines with reinforcement learning. In Second Conference on Language Modeling, 2025. https://openreview.net/forum?id=Rwbhi91ideu.arxiv.org/abs/2503.09516
- [14]Jiazheng Li, Yawei Wang, Qiaojing Yan, Yijun Tian, Zhaochao Xu, Huan Song, Panpan Xu, and Lin Lee Cheong. SALT: Step-level advantage assignment for long-horizon agents via trajectory graph. In Vera Dember, Kentaro Inui, and Luís Marquez, editors, Findings of the Association for Computational Linguistics: EACL 2026, pages 4709–4725, Rabat, Morocco, March 2026a. Association for Computational Linguistics. ISBN 979-8-89176-386-9. doi: 10.18653/v1/2026.findings-eacl.247. https://aclanthology.org/2026.findings-eacl.247/.
- [15]Wanli Li, Bince Qu, Bo Pan, Jianyu Zhang, Zheng Liu, Pan Zhang, Wei Chen, and Bo Zhang. LiteResearcher: A scalable agentic RL training framework for deep research agent. In Third Conference on Language Modeling, 2026b. https://openreview.net/forum?id=6qDucSpMvz.arxiv.org/abs/2604.17931
- [16]Zichen Liu, Changyu Chen, Wenjun Li, Penghui Qi, Tianyu Pang, Chao Du, Wee Sun Lee, and Min Lin. Understanding R1-Zero-like training: A critical perspective. In Second Conference on Language Modeling, 2025. https://openreview.net/forum?id=5PAF7PAY2Y.arxiv.org/abs/2503.20783
- [17]Michael Luo, Naman Jain, Jaskirat Singh, Sijun Tan, Ameen Patel, Qingyang Wu, Alpay Ariyak, Colin Cai, Tarun Venkat, Shang Zhu, Ben Athiwaratkun, Manan Roongta, Ce Zhang, Li Erran Li, Raluca Ada Popa, Koushik Sen, and Ion Stoica. DeepSWE: Training a fully open-sourced, state-of-the-art coding agent by scaling RL. Together AI and Agentica research blog, 2025. https://www.together.ai/blog/deepswe.
- [18]MiniMax et al. MiniMax-M1: Scaling test-time compute efficiently with lightning attention. arXiv preprint arXiv:2506.13585, 2025. https://arxiv.org/abs/2506.13585v1.
- [19]Long Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida, Carroll Wainwright, Pamela Mishkin, Chong Zhang, Sandhini Agarwal, Katarina Slama, Alex Ray, John Schulman, Jacob Hilton, Fraser Kelton, Luke Miller, Maddie Simens, Amanda Askell, Peter Welinder, Paul F Christiano, Jan Leike, and Ryan Lowe. Training language models to follow instructions with human feedback. In S. Koyejo, S. Mohamed, A. Agarwal, D. Belgrave, K. Cho, and A. Oh, editors, Advances in Neural Information Processing Systems, volume 35, pages 27730–27744. Curran Associates, Inc., 2022. doi: 10.52202/068431-2011. https://proceedings.neurips.cc/paper_files/paper/2022/file/b1efed53e364a73914f58805a001731-Paper-Conference.pdf.DOI
- [20]Pranav Putta, Edmund Mills, Naman Garg, Sumeet Motwani, Chelsea Finn, Divyansh Garg, and Rafael Rafailov. Agent Q: Advanced reasoning and learning for autonomous AI agents. arXiv preprint arXiv:2408.07199, 2024. https://arxiv.org/abs/2408.07199v1.
- [21]Zehan Qi, Xiao Liu, Iat Long Iong, Hanyu Lai, Xueqiao Sun, Jiadai Sun, Xinyue Yang, Yu Yang, Shuntian Yao, Wei Xu, Jie Tang, and Yuxiao Dong. WebRL: Training LLM web agents via self-evolving online curriculum reinforcement learning. In Y. Yue, A. Garg, N. Peng, F. Sha, and R. Yu, editors, International Conference on Learning Representations, volume 2025, pages 79791–79821, 2025. https://proceedings.iclr.cc/paper_files/paper/2025/file/c66e1fcc9691aae706250638f36f681b-Paper-Conference.pdf.arxiv.org/abs/2411.02337
- [22]Zhisong Qiu, Shuofei Qiao, Kewei Xu, Yuqi Zhu, Lun Du, Ningyu Zhang, and Huajun Chen. Rewarding the scientific process: Process-level reward modeling for agentic data analysis. In Proceedings of the 32nd ACM SIGKDD Conference on Knowledge Discovery and Data Mining V.2, pages 11866–11877. ACM, 2026. doi: 10.1145/3770855.3819049. https://doi.org/10.1145/3770855.3819049.
- [23]Qwen, An Yang, Baosong Yang, Beichen Zhang, Binyuan Hui, Bo Zheng, Bowen Yu, Chengyuan Li, Dayiheng Liu, Fei Huang, Haoran Wei, Huan Lin, Jian Yang, Jianhong Tu, Jianwei Zhang, Jianxin Yang, Jiaxi Yang, Jingren Zhou, Junyang Lin, Kai Dang, Keming Lu, Keqin Bao, Kexin Yang, Le Yu, Mei Li, Mingfeng Xue, Pei Zhang, Qin Zhu, Rui Men, Runji Lin, Tianhao Li, Tianyi Tang, Tingyu Xia, Xingzhang Ren, Xuancheng Ren, Yang Fan, Yang Su, Yichang Zhang, Yu Wan, Yuqiong Liu, Zeyu Cui, Zhenru Zhang, and Zihan Qiu. Qwen2.5 technical report. arXiv preprint arXiv:2412.15115, 2025. https://arxiv.org/abs/2412.15115v2.
- [24]Qwen Team. Qwen3.8-Max: A new bar for coding and cowork, August 2026. https://qwen.ai/blog?id=qwen3.8.
- [25]Rafael Rafailov, Archit Sharma, Eric Mitchell, Christopher D Manning, Stefano Ermon, and Chelsea Finn. Direct preference optimization: Your language model is secretly a reward model. In A. Oh, T. Naumann, A. Globerson, K. Saenko, M. Hardt, and S. Levine, editors, Advances in Neural Information Processing Systems, volume 36, pages 53728–53741. Curran Associates, Inc., 2023. doi: 10.52202/075280-2338. https://proceedings.neurips.cc/paper_files/paper/2023/file/a85b405ed65c6477a4fe8302b5e06ce7-Paper-Conference.pdf.DOI
- [26]John Schulman, Philipp Moritz, Sergey Levine, Michael Jordan, and Pieter Abbeel. High-dimensional continuous control using generalized advantage estimation. In International Conference on Learning Representations, 2016. https://arxiv.org/abs/1506.02438.
- [27]John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov. Proximal policy optimization algorithms. arXiv preprint arXiv:1707.06347, 2017. https://arxiv.org/abs/1707.06347v2.
- [28]Zhihong Shao, Peiyi Wang, Qihao Zhu, Runxin Xu, Junxiao Song, Xiao Bi, Haowei Zhang, Mingchuan Zhang, Y. K. Li, Y. Wu, and Daya Guo. DeepSeekMath: Pushing the limits of mathematical reasoning in open language models. arXiv preprint arXiv:2402.03300, 2024. https://arxiv.org/abs/2402.03300v3.
- [29]Guobin Shen, Chenxiao Zhao, Xiang Cheng, Lei Huang, and Xing Yu. VESPO: Variational sequence-level soft policy optimization for stable off-policy LLM training. arXiv preprint arXiv:2602.10693, 2026. https://arxiv.org/abs/2602.10693v3.
- [30]Guangming Sheng, Chi Zhang, Zilingfeng Ye, Xibin Wu, Wang Zhang, Ru Zhang, Yanghua Peng, Haibin Lin, and Chuan Wu. HybridFlow: A flexible and efficient RLHF framework. In Proceedings of the Twentieth European Conference on Computer Systems, pages 1279–1297. ACM, 2025. doi: 10.1145/3689031.3696075. https://doi.org/10.1145/3689031.3696075.
- [31]Noah Shinn, Federico Cassano, Ashwin Gopinath, Karthik Narasimhan, and Shunyu Yao. Reflexion: language agents with verbal reinforcement learning. In A. Oh, T. Naumann, A. Globerson, K. Saenko, M. Hardt, and S. Levine, editors, Advances in Neural Information Processing Systems, volume 36, pages 8634–8652. Curran Associates, Inc., 2023. doi: 10.52202/075280-0377. https://proceedings.neurips.cc/paper_files/paper/2023/file/1b44b878bb782e6954cd888628510e90-Paper-Conference.pdf.
- [32]Mohit Shridhar, Xingdi Yuan, Marc-Alexandre Côté, Yonatan Bisk, Adam Trischler, and Matthew Hausknecht. ALFWorld: Aligning text and embodied environments for interactive learning. In International Conference on Learning Representations, 2021. https://arxiv.org/abs/2010.03768v2.
- [33]Yifan Song, Da Yin, Xiang Yue, Jie Huang, Sujian Li, and Bill Yuchen Lin. Trial and error: Exploration-based trajectory optimization of LLM agents. In Lun-Wei Ku, Andre Martins, and Vivek Sr i kumar, editors, Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 7584–7600, Bangkok, Thailand, August 2024. Association for Computational Linguistics. doi: 10.18653/v1/2024.acl-long.409. https://aclanthology.org/2024.acl-long.409/.
- [34]Richard S Sutton and Andrew G Barto. Reinforcement Learning: An Introduction. MIT Press, 2nd edition, 2018. ISBN 9780262039246. https://mitpress.mit.edu/9780262039246/reinforcement-learning/.
- [35]Hui-Ze Tan, Xiao-Wen Yang, Hao Chen, Jie-Jing Shao, Yi Wen, Yuteng Shen, Weihong Luo, Xiku Du, Lan-Zhe Guo, and Yu-Feng Li. Hindsight credit assignment for long-horizon LLM agents. arXiv preprint arXiv:2603.08754, 2026. https://arxiv.org/abs/2603.08754v1.
- [36]Leitian Tao, Baolin Peng, Wenlin Yao, Tao Ge, Hao Cheng, Mike Hang Wang, Jianfeng Gao, and Sharon Li. TRACE: Turn-level reward assignment via credit estimation for long-horizon agents. arXiv preprint arXiv:2607.13988, 2026. https://arxiv.org/abs/2607.13988v1.
- [38]Haixin Wang, Hejie Cui, Chenwei Zhang, Xin Liu, Shouwei Jin, Shijie Geng, Xinyang Zhang, Nasser Zalmout, Zhenyu Shi, and Yizhou Sun. T²PO: Uncertainty-guided exploration control for stable multi-turn agentic reinforcement learning. In Forty-third International Conference on Machine Learning, 2026a. https://openreview.net/forum?id=D1zjvdJN4.
- [39]Lei Wang, Chen Ma, Xueyang Feng, Zeyu Zhang, Hao Yang, Jingsen Zhang, Zhiyuan Chen, Jiakai Tang, Xu Chen, Yankai Lin, Wayne Xin Zhao, Zhewei Wei, and Jirong Wen. A survey on large language model based autonomous agents. Frontiers of Computer Science, 18(6):186345, 2024. doi: 10.1007/s11704-024-40231-1. https://doi.org/10.1007/s11704-024-40231-1.
- [40]Xiaoxuan Wang, Han Zhang, Haixin Wang, Yidan Shi, Ruoyan Li, Kaqiao Han, Chenyi Tong, Haoran Deng, Alexander K Taylor, Renliang Sun, Yanqiao Zhu, Jason Cong, Yizhou Sun, and Wei Wang. ARLArena: A unified framework for stable agentic reinforcement learning. In Forty-third International Conference on Machine Learning, 2026b. https://openreview.net/forum?id=90kxFi9VGP.
- [41]Yinjie Wang, Xuyang Chen, Xiaolong Jin, Mengdi Wang, and Ling Yang. OpenClaw-RL: Train any agent simply by talking. arXiv preprint arXiv:2603.10165, 2026c. https://arxiv.org/abs/2603.10165v2.
- [42]Yunan Wang, Minghui Song, Zihan Zhang, Shaohan Huang, Haizhen Huang, Furu Wei, Weiwei Deng, Feng Sun, and Qi Zhang. Group-graph policy optimization for long-horizon agentic reinforcement learning. arXiv preprint arXiv:2606.22995, 2026d. https://arxiv.org/abs/2606.22995v1.
- [43]Zihan Wang, Kangrui Wang, Qineng Wang, Pingyue Zhang, Linjie Li, Zhengyuan Yang, Xing Jin, Kefan Yu, Minh Nhat Nguyen, Licheng Liu, Eli Gottlieb, Yiping Lu, Kyunghyun Cho, Jiajun Wu, Li Fei-Fei, Lijuan Wang, Yejin Choi, and Manling Li. RAGEN: Understanding self-evolution in LLM agents via multi-turn reinforcement learning. arXiv preprint arXiv:2504.20073, 2025. https://arxiv.org/abs/2504.20073v2.
- [44]Zihan Wang, Chi Gui, Xing Jin, Qineng Wang, Licheng Liu, Kangrui Wang, Shiqi Chen, Linjie Li, Zhengyuan Yang, Pingyue Zhang, Yiping Lu, Jiajun Wu, Li Fei-Fei, Liljuan Wang, Yejin Choi, and Manling Li. RAGEN-2: Reasoning collapse in agentic RL. In Forty-third International Conference on Machine Learning, 2026e. https://openreview.net/forum?id=O1caH9oj7C.arxiv.org/abs/2604.06268
- [45]Shunyu Yao, Howard Chen, John Yang, and Karthik Narasimhan. WebShop: Towards scalable real-world web interaction with grounded language agents. In S. Koyejо, S. Mohamed, A. Agarwal, D. Belgrave, K. Cho, and A. Oh, editors, Advances in Neural Information Processing Systems, volume 35, pages 20744–20757. Curran Associates, Inc., 2022. doi: 10.52202/068431-1508. https://proceedings.neurips.cc/paper_files/paper/2022/file/82ad13e0f19fe44c01cb9814fd7b8c-Paper-Conference.pdf.DOI
- [46]Shunyu Yao, Jeffrey Zhao, Dian Yu, Nan Du, Izhak Shafran, Karthik Narasimhan, and Yuan Cao. ReAct: Synergizing reasoning and acting in language models. In International Conference on Learning Representations, 2023. https://openreview.net/forum?id=WE_vluYUL-X.arxiv.org/abs/2210.03629
- [47]Weiran Yao, Shelby Heinecke, Juan Carlos Niebles, Zhiwei Liu, Yihao Feng, Le Xue, Rithesh Ramapura Narasimha Murthy, Zeyuan Chen, Jianguo Zhang, Devansh Arpit, Ran Xu, Phil Mui, Huan Wang, Caiming Xiong, and Silvio Savarese. Retroformer: Retrospective large language agents with policy gradient optimization. In B. Kim, Y. Yue, S. Chaudhuri, K. Fragkiadaki, M. Khan, and Y. Sun, editors, International Conference on Learning Representations, volume 2024, pages 10091–10111, 2024. https://proceedings.iclr.cc/paper_files/paper/2024/file/29f412fbdcc82aeb349d784d3aaccdb3-Paper-Conference.pdf.arxiv.org/abs/2308.02151
- [48]Deheng Ye, Zhao Liu, Mingfei Sun, Bei Shi, Peilin Zhao, Hao Wu, Hongsheng Yu, Shaojie Yang, Xipeng Wu, Qinwei Guo, Qiaobo Chen, Yinyuting Yin, Hao Zhang, Tengfei Shi, Liang Wang, Qiang Fu, Wei Yang, and Lanxiao Huang. Mastering complex control in MOBA games with deep reinforcement learning. Proceedings of the AAAI Conference on Artificial Intelligence, 34(04):6672–6679, 2020. doi: 10.1609/aaai.v34i04.6144. https://doi.org/10.1609/aaai.v34i04.6144.
- [49]Qijing Yu, Zheng Zhang, Ruofei Zhu, Yufeng Yuan, Xiaowei Zuo, Yu Yue, Weinan Dai, Tiantian Fan, Gaohong Liu, Juncai Liu, Lingjun Liu, Xin Liu, Haibin Lin, Zhiqi Lin, Bole Ma, Guangming Sheng, Yuxuan Tong, Chi Zhang, Mofan Zhang, Ru Zhang, Wang Zhang, Hang Zhu, Jinhua Zhu, Jiaze Chen, Jiangjie Chen, Chengyi Wang, Hongli Yu, Yuxuan Song, Xiangpeng Wei, Hao Zhou, Jingjing Liu, Wei-Ying Ma, Ya-Qin Zhang, Lin Yan, Yonghui Wu, and Mingxuan Wang. DAPO: An open-source LLM reinforcement learning system at scale. In D. Belgrave, C. Zhang, H. Lin, R. Pascanu, P. Koniusz, M. Ghassemi, and N. Chen, editors, Advances in Neural Information Processing Systems, volume 38, pages 113222–113244. Curran Associates, Inc., 2025. doi: 10.52202/085713-3775. https://proceedings.neurips.cc/paper_files/paper/2025/file/a4277440d50f1f15d2cb4c14f7e0cd2-Paper-Conference.pdf.DOI
- [50]Jiazhen Yuan, Zhike Gong, Jinquan Hang, Zhengbiao Bai, and Wei Zhao. Graph-enhanced policy optimization in LLM agent training. arXiv preprint arXiv:2510.26270, 2026. https://arxiv.org/abs/2510.26270v2.
- [52]Guibin Zhang, Hejia Geng, Xiaohang Yu, Zhenfei Yin, Zaibin Zhang, Zelin Tan, Heng Zhou, Zhong-Zhi Li, Xiangyuan Xue, Yijiang Li, Yifan Zhou, Yang Chen, Chen Zhang, Yutao Fan, Zihu Wang, Songtao Huang, Francisco Piedrahita Velez, Yue Liao, Hongru Wang, Mengyue Yang, Heng Ji, Jun Wang, Shuicheng Yan, Philip Torr, and Lei Bai. The landscape of agentic reinforcement learning for LLMs: A survey. Transactions on Machine Learning Research, 2026. ISSN 2835-8856. https://openreview.net/forum?id=RY19y2RI1O. Survey Certification.arxiv.org/abs/2509.02547
- [53]Chujie Zheng, Shixuan Liu, Mingze Li, Xiong-Hui Chen, Bowen Yu, Chang Gao, Kai Dang, Yuqiong Liu, Rui Men, An Yang, Jingren Zhou, and Junyang Lin. Group sequence policy optimization. arXiv preprint arXiv:2507.18071, 2025a. https://arxiv.org/abs/2507.18071v2.
- [54]Yuxiang Zheng, Dayuan Fu, Xiangkun Hu, Xiaojie Cai, Lyumanshan Ye, Pengrui Lu, and Pengfei Liu. DeepResearcher: Scaling deep research via reinforcement learning in real-world environments. In Christos Chrоstidoulopoulos, Tanmoy Chakraborty, Carolyn Rose, and Violet Peng, editors, Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing, pages 414–431, Suzhou, China, November 2025b. Association for Computational Linguistics. ISBN 979-8-89176-332-6. doi: 10.18653/v1/2025.emnlp-main.22. https://aclanthology.org/2025.emnlp-main.22/.
- [55]Shuyan Zhou, Frank F Xu, Hao Zhu, Xuhui Zhou, Robert Lo, Abhishek Sridhar, Xianyi Cheng, Tianyue Ou, Yonatan Bisk, Daniel Fried, Uri Alon, and Graham Neubig. WebArena: A realistic web environment for building autonomous agents. In B. Kim, Y. Yue, S. Chaudhuri, K. Fragkiadaki, M. Khan, and Y. Sun, editors, International Conference on Learning Representations, volume 2024, pages 15585–15606, 2024a. https://proceedings.iclr.cc/paper_files/paper/2024/file/4410c0711e9154a7a2d26f9b3816d1ef-Paper-Conference.pdf.
- [56]Yifei Zhou, Andrea Zanette, Jiayi Pan, Sergey Levine, and Aviral Kumar. ArCHer: Training language model agents via hierarchical multi-turn RL. In Ruslan Salakhutdinov, Zico Kolter, Kathrine Heller, Adrian Weller, Nuria Oliver, Jonathan Scarlett, and Felix Berkenkamp, editors, Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, pages 62178–62209. PMLR, 21–27 Jul 2024b. https://proceedings.mlr.press/v235/zhou24t.html.arxiv.org/abs/2402.19446
- [57]Yifei Zhou, Song Jiang, Yuandong Tian, Jason Weston, Sergey Levine, Sainbayar Sukhbaatar, and Xian Li. SWEET-RL: Training multi-turn LLM agents on collaborative reasoning tasks. arXiv preprint arXiv:2503.15478, 2025. https://arxiv.org/abs/2503.15478v1.








