Group-based reinforcement learning with verifiable rewards often yields all-fail groups on long-horizon agent tasks: every sampled trajectory receives zero reward, leaving group-relative methods without a reward-based policy gradient. A common remedy supplies complete solutions from a stronger model, but full trajectories are expensive and expose the learner to long off-policy histories. We introduce SPLICE, which constructs local training targets from failed current-policy trajectories online. For each all-fail group, a proposal model selects a splice point in a current-policy trajectory and generates several bounded options from that point. We estimate each option's value using repeated current-policy continuations, convert positive estimates into a return-weighted local target, and fit the current policy on the options. We evaluate SPLICE across two policy families on two long-horizon agent tasks, Software Engineering with SWE-bench Verified and Deep Research with BrowseComp-Plus. SPLICE outperforms GRPO and full-trajectory guidance baselines in all four settings, improving over GRPO by 2.8--9.8 percentage points. On initially failed SWE tasks, it raises GRPO's graduation rate by 10.8 percentage points. Further experiments show that SPLICE improves performance while reducing costly proposal-model computation.
Figures & tables
Figure 1: Method overview. (a) We route each group of G on-policy rollouts according to its binary outcomes. (b) The splice branch constructs a learner-conditioned target from short proposed options and current-policy continuations. We then fit the current policy to this target.
Qwen3-8B-CS
Qwen3.5-9B
Method
SWE-bench Verified
BrowseComp- Plus
SWE-bench Verified
BrowseComp- Plus
Initial policy
11.2
16.4
53.2
42.5
SFT
21.5±1.4
24.2±0.7
57.9±0.8
48.2±0.9
RL
15.9±0.7
20.2±0.9
58.4±0.4
46.2±0.4
SFT+RL
24.4±1.1
26.7±0.4
59.9±1.7
49.4±0.9
ReLIFT
19.7±0.6
23.5±0.6
59.1±1.0
47.6±1.9
Table 1: Main results on SWE-bench Verified and BrowseComp-Plus. Qwen3-8B-CS is the cold-start checkpoint described in Appendix C .
Method
Proposal hit
Graduation
πρ Turns (k)
RL
N/A
8.1±1.1
0.0±0.0
ReLIFT
55.1±2.1
15.9±1.0
113.4±5.9
SPLICE
30.7±0.5
18.9±0.3
93.5±2.6
Table 2: Recovery and proposal-model cost on SWE training tasks. Proposal hit and graduation rates are percentages.
Method
Easy
Medium
Hard
( n=342 )
( n=1,087 )
( n=1,771 )
Initial
99.4
0.5
0.2
RL
99.3±0.2
10.9±1.0
6.4±1.6
SPLICE
99.3±0.2
24.8±1.0
15.4±0.4
Table 3: Resolve rates (%) by task difficulty on the SWE training set.
Figure 2: Training dynamics and cost. (a) Resolve rate every 10 RL steps. (b,c) Resolve rate versus proposal-model turns and total wall-clock time, respectively. Higher and further left is better.
Continuation evaluation and option weighting
Setting
Resolve
Graduation
SPLICE
25.7±0.8
18.9±0.3
Single option
21.2±0.4
12.3±1.1
Hard top- Q
24.3±0.6
17.7±0.2
Uniform positive
23.7±0.2
17.1±1.1
Table 4: Mechanism ablations. Bold text marks the default configuration.
Figure 3: A case sampled from training with summarized trajectory steps. (a) Recorded actions and verifier feedback from a failed rollout. (b) Options from the proposal model, followed by current-policy continuations.
Appendix figures & tables2 assets
Supplementary material from the paper’s appendix.
Appendix
Initial checkpoint
SWE-bench Verified (%)
BrowseComp-Plus (%)
Qwen3-8B (released)
8.6
12.7
Qwen3-8B-CS
11.2
16.4
Appendix
Table 5: Qwen3-8B performance before method-specific training.
Splice-point selection
Resolve
Graduation
Random
24.4±0.4
17.8±2.3
Highest entropy
23.9±1.5
17.2±0.8
Proposal model
25.7±0.8
18.9±0.3
Appendix
Table 6: Splice-point selection ablation. Resolve is the SWE-bench Verified resolve rate, and Graduation is the success rate on initially failed SWE training tasks. Both are percentages.
Group-based policy optimization has been increasingly used to train large language model (LLM) agents from sparse outcome rewards by comparing trajectories or steps within a group. However, on difficult long-horizon agentic tasks, we found this comparison suffers from a sampling imbalance: repeated or low-effect actions dominate the high-probability region of the policy, leaving useful state-changing actions under-sampled. This imbalance produces many all-failed rollout groups, where the relative advantages within such a group provide no direction for updating the policy. Consequently, the sampling imbalance and the all-failed groups collapse into a self-perpetuating credit trap: failure-dominated sampling yields no learning signal, allowing repeated low-effect actions to persist. To break this trap, we propose Coverage-conditioned Group Policy Optimization (CovGPO), which uses first-visit observation coverage only when all samples in a group receive zero outcome reward. Specifically, within such groups, CovGPO assigns higher relative advantages to state-exploring actions without corrupting the original reward signal, as reaching new observations is a prerequisite for task success. Experiments on two challenging agentic benchmarks, ALFWorld and WebShop, show that CovGPO consistently improves over group-based baselines, with particularly large gains on hard tasks.
Kaibing Yang, Guangfeng Cai, Shengtian Yang +6
Southeast University · Kuaishou Technology · Meituan
Long-horizon LLM agents require reinforcement learning methods that can assign credit to intermediate decisions under sparse and delayed rewards. Existing group-based methods such as GRPO and GiGPO alleviate this issue by comparing rollout returns or repeated anchor states, but they still fail when the compared returns have no variation. We identify this failure mode as zero-credit failure: during early training, many failed rollouts contain useful prefixes, yet existing methods assign them no task-discriminative advantage. To address this issue, we propose Milestone Viability Potential Policy Optimization (MVPO), a potential-routed policy optimization algorithm that learns from viable failure prefixes. MVPO estimates prefix potential over Union-Find viability regions, repairs zero-credit groups with potential-difference advantages, and attenuates the potential branch according to relative performance progress. Experiments with Qwen2.5-1.5B-Instruct show that MVPO outperforms eight strong baselines, including GRPO and GiGPO. Under the same training length, MVPO improves over the GiGPO baseline by +4.4 success points on ALFWorld and +5.3 on WebShop, while adding only 0.16%-0.20% advantage-construction overhead.
Group-based reinforcement learning such as GRPO trains LLM agents by comparing rollouts sampled for each task, without a learned critic. In long-horizon settings, these rollouts revisit shared anchor states, offering cross-rollout evidence for step-level credit. Ideally, step-level credit should incorporate evidence beyond the realized suffixes observed at an anchor while aggregating alternative continuations according to their empirical frequencies. Visit-local averaging pools realized suffix returns at shared anchors and respects observed frequencies, but does not recursively propagate evidence across rollouts, whereas shortest-path estimators have global reach but allow a rarely observed route to dominate an anchor's value. We introduce Cross-Rollout Bellman Closure (CRBC), which merges each rollout group into a finite empirical process with absorbing success and failure boundaries and evaluates its behavior-policy Bellman fixed point with one linear solve. This fixed point uses the same empirical action and transition frequencies to propagate evidence through shared anchors and aggregate alternative continuations. Backing up the resulting state values through observed transitions yields action values, whose gain over the corresponding state value provides step-level credit. A corresponding finite-depth family recovers visit-local return averaging at zero depth and converges to the exact closure as depth increases. The normalized closure credit is combined with the trajectory-level group advantage for policy optimization, without additional environment rollouts. Across ALFWorld, WebShop, and Sokoban benchmarks with multiple model scales, CRBC consistently improves final performance and learning efficiency. For example, CRBC outperforms the strongest evaluated baseline by 5.59 percentage points on ALFWorld with Qwen2.5-1.5B-Instruct.
Yangyang Ren, Haodong Zhu, Linlin Yang +3
Beihang University · Zhongguancun Academy · Communication University of China +2