Hou et al. introduce SPLICE, a method for group-based reinforcement learning on long-horizon agent tasks where all sampled trajectories initially fail, yielding zero reward and preventing standard group-relative policy optimization (GRPO) from computing gradients. Instead of supplying expensive full-trajectory demonstrations from a stronger proposal model, SPLICE constructs local training targets online from failed current-policy rollouts. For each all-fail group, the proposal model selects a splice point within a failed trajectory and generates several bounded options—short action sequences—from that point. The method estimates each option's value by executing repeated current-policy continuations, converts positive value estimates into a return-weighted local target, and fits the current policy on these options via supervised learning. Evaluated on two policy families across SWE-bench Verified (software engineering) and BrowseComp-Plus (deep research), SPLICE outperforms GRPO and full-trajectory guidance baselines in all four settings, improving pass rates by 2.8–9.8 percentage points over GRPO. On initially failed SWE tasks, SPLICE increases GRPO's graduation rate by 10.8 percentage points. Ablation experiments confirm that SPLICE achieves these gains while reducing costly proposal-model computation relative to full-trajectory approaches.

Read original