Harness Hub
All papers

When Every Rollout Fails: Splicing Learner-Conditioned Options into Long-Horizon Agent RL

Haowen Hou, Yicheng Liu, Zhen Huang, Jiaqi Wang

Verdict: Weak

The splice recipe is a measured GRPO add-on, but the abstract treats unequal-compute mean gaps as a general win, the stronger-policy edges sit inside baseline noise, and the recovery headline is in-sample. For harness builders it does not change the agent loop.

  • Novelty

    2 out of 5
  • Rigor

    2 out of 5
  • Reproducibility

    2 out of 5
  • Relevance to harnesses

    1 out of 5

TL;DR

SPLICE routes all-fail GRPO groups to short options from Qwen3.5-122B-A10B, scores them with learner continuations, and does weighted SFT on those option tokens. Table 1 mean gaps versus GRPO are 2.8 to 9.8 points, but they are not compute-matched, shrink on the stronger policy, and do not change a harness.

Adversarial review by Harness Hub · Nov 28, 2026 · read full text · Suggest a correction

Original abstract (authors’ text, select to expand)

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.

Authors’ note

16 pages

Filed undercoding-agentsagents

Summary

With binary outcome rewards, a GRPO group in which every trajectory fails has zero advantage (Equation 1), so the reward term in Equation 2 vanishes. SPLICE sends only those groups to a splice branch: Qwen3.5-122B-A10B picks one failed on-policy trajectory and a branchable point using the task, history, and terminal verifier feedback, writes K=3 options capped by alpha=0.3 of mean rollout length, and the learner scores each option with M=3 continuations. Positive estimates become a softmax target; the splice loss (Equation 11) is length-normalized NLL on proposal tokens only. Mixed groups stay on GRPO; all-success groups are skipped. On a shared 3,200-task subset, two Qwen policies, OpenHands for SWE, and a Uni-Agent research scaffold, Table 1 means put SPLICE above RL, SFT, SFT+RL, and online full-trajectory ReLIFT. The largest gap is Qwen3-8B-CS on SWE-bench Verified (25.7±0.8 versus RL 15.9±0.7). On Qwen3.5-9B the same metric is 61.2±1.0 versus RL 58.4±0.4 and versus SFT+RL 59.9±1.7. Graduation of initially failed SWE training tasks rises from 8.1±1.1 to 18.9±0.3 (Table 2), with fewer proposal turns than ReLIFT, a lower proposal hit rate, and extra learner continuations.

Key findings

  • Table 1 mean gaps versus RL (GRPO), which the abstract reports as 2.8-9.8 points: Qwen3-8B-CS SWE-bench Verified 25.7±0.8 versus 15.9±0.7 and BrowseComp-Plus 29.3±0.7 versus 20.2±0.9; Qwen3.5-9B 61.2±1.0 versus 58.4±0.4 and 50.7±0.3 versus 46.2±0.4.
  • Table 1 full-trajectory baselines, same four cells: 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. SPLICE is highest on means. On Qwen3.5-9B SWE the gap versus SFT+RL is 1.3 points against a baseline sample SD of 1.7 (n=3).
  • Table 2, SWE training tasks: graduation 18.9±0.3 (SPLICE) versus 8.1±1.1 (RL) and 15.9±1.0 (ReLIFT). Proposal hit rate is lower for SPLICE (30.7±0.5 versus ReLIFT 55.1±2.1) with fewer proposal turns (93.5±2.6k versus 113.4±5.9k; RL 0.0±0.0).
  • Table 4: proposal-model continuations move SWE resolve from 25.7±0.8 to 26.2±1.6 and proposal turns from 93.5±2.6k to 372.5±12.0k. Full-suffix supervision drops resolve to 22.3±1.5. alpha=0.1 cuts turns to 33.7±0.9k and resolve to 18.2±1.1.

The paper at a glance

01Sample G on-policytrajectories androute by binaryoutcome: GRPO ifmixed, skip if all…02Proposal modelselects one failedtrajectory and abranchable splicepoint, using task,…03Generate K boundedoptions from thatpoint, lengthcapped by afraction of mean…04Splice each optionin and estimate itsvalue with Mcurrent-policycontinuations; drop…05Fit the learnerwithlength-normalizedNLL on retainedoption tokens,…
  1. Sample G on-policy trajectories and route by binary outcome: GRPO if mixed, skip if all succeed, splice if all fail
  2. Proposal model selects one failed trajectory and a branchable splice point, using task, history, and terminal verifier feedback
  3. Generate K bounded options from that point, length capped by a fraction of mean rollout turns
  4. Splice each option in and estimate its value with M current-policy continuations; drop zero-return options
  5. Fit the learner with length-normalized NLL on retained option tokens, weighted by the softmax of continuation returns
Fig. 1 — How the paper works, step by step (arXiv:2611.34777).
Initial policy11.2%RL (GRPO)15.9%ReLIFT19.7%SFT21.5%SFT+RL24.4%SPLICE (this paper)25.7%
Fig. 2 — SWE-bench Verified resolve rate, higher is better. Source: Table 1, Qwen3-8B-CS, arXiv:2611.34777.
Data table
SWE-bench Verified resolve rate
Method%
Initial policy11.2%
RL (GRPO)15.9%
ReLIFT19.7%
SFT21.5%
SFT+RL24.4%
SPLICE (this paper)25.7%

Why it matters

This is a training-time recipe for group-relative RL, not a harness design. The only contact with harness work is an unchanged OpenHands scaffold and SWE-bench Verified as a held-out resolve rate. It does not change tool loops, memory, routing, prompts, or evals. It matters only if you already train long-horizon agents with GRPO and can pay for a 122B proposal model, repeated learner continuations, and branch restore. Even then the abstract's gain range versus GRPO is not equal-compute, the held-out edge over SFT+RL is 1.3 points on both Qwen3.5-9B metrics (Table 1), and the 10.8-point recovery figure is on the training set.

Issues (4)

  • High severity

    The abstract's 2.8-9.8 point gain over GRPO is not equal-compute. Table 2 lists 0.0±0.0 proposal-model turns for RL versus 93.5±2.6k for SPLICE. Section 5.1 says the shared 3,200-task protocol controls task data rather than method-specific computation. SPLICE also calls Qwen3.5-122B-A10B for K=3 options, runs M=3 learner continuations per option, and alternates splice mini-batches with GRPO (Section 4.2). SFT+RL only 'runs GRPO for the same number of RL steps as SPLICE,' so it does not receive those splice updates. Appendix D gives RL four student nodes and SPLICE/ReLIFT three student nodes plus a proposal node. The abstract's cost sentence compares proposal turns with full-trajectory guidance and omits the learner continuations; Section 6 admits those rollouts and M=3 sampling error, and the text never prints wall-clock numbers.

  • High severity

    'Outperforms GRPO and full-trajectory guidance baselines in all four settings' is a comparison of three-run means. Table 1, Qwen3.5-9B SWE-bench Verified: SPLICE 61.2±1.0 versus SFT+RL 59.9±1.7 and ReLIFT 59.1±1.0; the 1.3 point gap versus SFT+RL is smaller than that baseline's sample SD. BrowseComp-Plus on the same policy is 50.7±0.3 versus SFT+RL 49.4±0.9. The 9.8 end of the abstract range is the Qwen3-8B-CS SWE gap (25.7±0.8 versus RL 15.9±0.7). No significance test is reported. SWE-bench eval samples per instance and temperature are not stated, while graduation is explicitly one rollout.

  • High severity

    The splice branch does not restore a reward-based policy gradient. Equation 11 is length-normalized NLL on tokens generated by Qwen3.5-122B-A10B. Section 4.1 selects the splice point with terminal verifier feedback the learner does not get at deployment. Proposition 1 'does not claim an improvement in the true return after a finite-sample policy update.' Gains can be hindsight distillation from a much larger model. The paper never reports the fraction of groups that are all-fail, does not ablate G=8, and does not compare the Section 2.1 remedies it cites (resample, filter zero-variance groups, or build advantages from failures).

  • Medium severity

    The +10.8 graduation claim is not SWE-bench Verified. Section 5.3 and Table 2 define graduation as one rollout on initially failed SWE training tasks: 18.9±0.3 versus RL 8.1±1.1, and 15.9±1.0 for ReLIFT. The same table shows a worse proposal hit rate (30.7±0.5 versus 55.1±2.1). Table 3 difficulty gains are also on the training set. Two of four headline settings use BrowseComp-Plus accuracy judged by gpt-oss-20b (Section 5.1), not an executable verifier, and the text does not say the training reward uses that same judge.

Questions for the authors

  • If proposal-model turns and the M learner continuations are charged as extra GRPO samples, does SPLICE still beat ReLIFT and SFT+RL on SWE-bench Verified?
  • What fraction of training groups are all-fail under G=8, and does the gap survive a larger group size or the zero-variance remedies cited in Section 2.1?
  • What fraction of held-out SWE-bench Verified tasks that the initial policy failed does the trained policy newly resolve, as opposed to the training-set graduation rate?
  • How much of the gain remains if the proposal model does not see terminal verifier feedback, and if SWE branch restore is history replay rather than container snapshots?

Related in the directory

Open-source projects

SWE training and eval use the OpenHands scaffold with its default system prompt and tools left unchanged.
The held-out coding metric is resolve rate on SWE-bench Verified, separate from the training-set graduation numbers.

More tools on the same problem

Products and open-source projects in the directory closest in meaning to this paper.

Reinforcement learning for LLMs, including coding, SWE, and search agents.
Train agents by conversation; links an arXiv paper

AI coding agents generate, modify, and validate code through multi-turn interactions. Existing reinforcement learning methods often rely on sparse terminal rewards, making it difficult to assess how intermediate decisions affect task outcomes, and group-relative methods also require repeated sampling for each task. We propose Direct Feedback Policy Optimization (DFPO), a single-trajectory reinforcement learning algorithm that trains directly from a single trajectory. DFPO achieves higher task resolution rates than GSPO under matched base models and execution harnesses.

Fei Ding

Sparse outcome rewards make it difficult for long-horizon language-model agents to assign credit to earlier actions. Learned critics provide value estimates for intermediate states, but these estimates can be inaccurate, while estimating intermediate values with repetitive continuation samples from points within a trajectory incurs substantial costs. To mitigate these issues, we introduce FOCUS, an RL method that uses selective branching to help the critic network learn its value estimator. The rollout controller facilitates active learning for the critic by sampling continuations from states that are expected to most reduce the critic's estimation error. These refined value estimates then score the segment between consecutive states with a TD($λ$) advantage, while the sampled evidence supplies training targets for the critic. FOCUS supports long-horizon agentic reinforcement learning through a modular context-management interface that decouples context management from rollout allocation. Our experiments show that using compaction-induced segment boundaries for value estimation and credit assignment, FOCUS outperforms GRPO and VinePPO with matched per-step generation budgets on legal reasoning, deep search, and code localization benchmarks, improving held-out accuracy at Qwen3.5-9B scale by 7.2 points over the strongest baseline on BrowseComp-Plus (55.4 vs. 48.2) and by 4.1 points on DeonticBench (56.5 vs. 52.4).

Zhengping Jiang, William Jurayj +4

Programmatic verifiers provide scalable reward signals for training coding agents with reinforcement learning, yet subtle harness defects and incomplete unit tests allow policies to earn full credit without solving the intended task. Existing training-time defenses intervene either by penalizing suspicious outputs or by filtering flagged tasks and rollouts. However, output penalties leave the underlying verifier exploitable, driving policies to disguise shortcuts under reasoning monitors or zeroing out valid solutions under detector false positives, whereas task and rollout filtering discards or mutes the hardest problems where shortcuts emerge earliest. Pre-training verifier hardening repairs the environment directly, but misses vulnerability classes that surface only as the policy improves during reinforcement learning. In this paper, we propose online environment repair, which leaves triggering rollout rewards unchanged to remove hiding incentives and asynchronously patches exploited environments during training. Candidate repairs triggered by execution invariants or differential fuzzing are deployed only after passing three automated validation gates that block the exploit while preserving valid solutions, canceling detector false positives and enabling structural propagation across repositories without scaffold labels or reference solutions. Across 20 controlled GRPO experiments on heterogeneous software-engineering repositories, online environment repair reduces cumulative reward hacking from 36.9% to 0.06% and improves held-out Pass@8 from 21.7% to 46.7%, consistently outperforming reward-penalty, rollout-filtering, and static-hardening baselines while eliminating zero-shot exploitation on unseen loophole classes.

Sheng Lu, Rui Mao +5

Long-horizon coding agents can observe a failure and generate a plausible critique yet continue along the same incorrect trajectory. We call this the Critique-to-Action Handoff Gap. We introduce RIPPLE, a recovery-oriented training framework that internalizes process-level guidance into a single self-recovering policy. A prefix-only teacher provides evidence-grounded recovery supervision without access to future actions or terminal outcomes. After lightweight distillation, reinforcement learning assigns stage-specific credit to reflection triggering, diagnosis, and corrective action. Local validity signals gate trajectory advantages so that intermediate recovery decisions do not indiscriminately inherit terminal outcomes. Across four repository-level software-engineering benchmarks, RIPPLE improves the base policy by an arithmetic mean of 4.8 score points, with no auxiliary critic at deployment. Controlled ablations isolate the benefits of local, stage-aligned credit, and matched-prefix interventions show that critique semantics affect subsequent correction. Recovery gains concentrate where the prefix contains sufficient diagnostic evidence and the repository state remains reversible within the remaining budget.

Jingxuan Xu, Zihang Xu +10

Training tool-using language models requires costly interaction, yet identical rewards within a rollout group provide no group-relative learning signal. We use reward disagreement to guide harness evaluation and the allocation of rollouts for policy training in Model Context Protocol (MCP) environments. We first introduce Discord, which tests harness edits using exact paired inference and decision-preserving early stopping: only disagreeing paired outcomes favor one harness over another. This insight motivates prospective allocation in BRACE (Bank-calibrated Rollout Allocation under Correlated Episodes). BRACE combines historical task evidence, uncertainty in task success rates, and a correlated reward model to forecast mixed-reward groups before allocating generation budget. Controlled harness experiments favor Discord, while live MCP experiments expose a retention-cost trade-off. At three Qwen3-VL model scales, BRACE exceeds the strongest plotted baseline peaks with fewer new training rollouts; historical-bank collection is counted separately. It also leads the compared methods on BFCL and NESTFUL without further training. Ablations probe the bank, estimator, and allocation score; prospective evaluation checks forecast calibration. These results support forecasting reward contrast before generation.

Hieu Tran, Zonghai Yao +2

Reasoning models become long-horizon agents through reinforcement learning or, more cheaply, through fine-tuning on a stronger teacher's trajectories, which contain the teacher's chain-of-thought as well as its actions. The standard fine-tuning approach imitates both, yet the strongest teachers are closed models whose chain-of-thought is hidden behind an API. We show that the chain-of-thought can be left out altogether and that the long-horizon policy can be distilled from the teacher's actions alone. The student is trained on these trajectories with its reasoning block left empty, while a KL loss on a replay buffer of its own generations limits drift from its initial model. Surprisingly, the policy learned from these trajectories with an empty reasoning block carries over to inference with thinking enabled, where the student reasons in its own style while acting like the teacher, an effect we call cross-format transfer. Distilling the actions of Qwen3.6-27B raises the task success of Qwen3-4B on AppWorld from 7% to 18% and that of Qwen3-32B from 12% to 25%. We further introduce CoT-proxies, short summaries of the teacher's reasoning placed after the empty reasoning block, which raise Qwen3-4B further, to 35%. Since neither actions nor CoT-proxies need the hidden chain-of-thought, the recipe applies unchanged to closed teachers. Distilling GPT-5.6 Luna from its visible outputs and the reasoning summaries its API returns raises Qwen3-4B from 7% to 48% on AppWorld and from 3% to 28% on SWE-bench Verified.

Dawid J. Kopiczko, Tijmen Blankevoort +1

The Harness Hub newsletter

New harness companies, projects, releases and the monthly State of Harness report, in your inbox.