Learned With the Help of a Runtime Setup — Can It Still Do the Job Once You Take the Help Away? A Look at Harness-S

We unpack Harness-S, a reinforcement-learning method that revives tasks a default setup fails by solving them under assistive setups, trains only that behavior into the model, and then re-evaluates it back on the default setup.
← All posts
온
온틀 리서치
2026년 11월 07일 Updated 2026.11.24 35 min read views 11

There's a kind of student who only solves problems with a tutor sitting beside them. Give a hint and they get it; leave them alone and they stall. For that student to count as having "learned" anything, they have to solve the same problem after the tutor is gone. That is exactly the question Harness-S poses. We give an agent the help of a runtime setup so it can clear a task it was stuck on — and then we ask whether the ability survives once that help is removed.

Two terms first. A harness is the runtime setup wrapped around the model: the prompt, the way tools are used, and the rules for handling context and memory all live here. A policy is the model itself — the weights — that decides behavior. The same policy, mounted on a different harness, receives different information and behaves differently. To tie it to the analogy: the tutor is the harness, the student's own mind is the policy.

Harness-S does not try to find one perfect harness that works in every situation. Instead it keeps several variants branched from the same root, rescues only the tasks the default setup fails using those variants, and then gathers what it learns into a single policy.

The full flow: five steps

The order for handling a single task goes like this.

  1. Attempt the task a few times with the default harness.
  2. If all those attempts fail, a router picks a handful of assistive harnesses.
  3. The same policy solves the task again from scratch under those assistive harnesses.
  4. The successful trajectories produced there are used to train the policy.
  5. The trained policy is evaluated on the default harness, with the assistive harnesses removed.

The interesting bit sits between steps 4 and 5. Can behavior learned on top of an assistive setup be pulled back out once that assistive setup is cleared away? If it can, the ability has lodged in the policy; if it can't, it was an illusion leaning on the help. This article keeps that gap at the center and arranges everything else around it.

Why a wardrobe of harnesses instead of one outfit

Here's an example. Say you add a fix to the default harness that lengthens log summaries. Long tasks finally become solvable — but short tasks get worse, because the summarization barges in and gets in the way. That one scene shows three things at once.

The benefit of a fix is tied to the exact failure it targets. Long tasks improved, but short tasks regressed. So no single fix becomes a cure-all; each variant has its own zone where it shines. Run variants that cover different zones together and merge the results, and you solve more tasks than repeating one setup the same number of times — because the variants fill each other's gaps. And yet, as the policy learns to handle summarization well on its own, the advantage of the "longer-summary" setup shrinks or even flips. The variant that was most useful yesterday may not be today.

Here you can see the wall that conventional harness optimization runs into. Try to merge local fixes into one all-purpose harness and the fixes interfere, shaving down each other's strengths. Co-evolving the harness and the policy in alternating turns is costly, and when the policy changes, the old fixes become useless and have to be rebuilt. Harness-S neither merges the variants nor carries them to the finish. It absorbs only the successes the variants draw out into the policy, and discards the variants themselves.

The idea that harness design drives performance is not new. ReAct showed the value of a design that interleaves reasoning and action; SWE-agent showed that how you structure the interface between the agent and the computer decides the outcome. The recent trend is to auto-repair this harness from execution feedback. Harness-S takes one step further: instead of delivering the repaired setup, it leaves the successes that setup drew out inside the model.

Three mechanisms

The sibling harness pool. Starting from the default harness, you look at the records of failed runs and fix a direction — "what to fix" — one at a time. Each variant is edited only slightly, aimed at that single direction: a variant that lengthens log summaries, a variant that breaks tool calls into finer pieces, and so on. Variants that actually work and respect the protocol are collected into a pool, and this pool stays fixed throughout training. They are called siblings because their execution substrate, environment, and task verifier are all identical — only how they help the policy differs. The composition of the pool is written up in Appendix C of the paper: one default harness and nineteen assistive harnesses, twenty in all. Training uses eight of the nineteen assistive ones (Top-8, etc.), while inference ranks all twenty including the default. The "nine siblings" that come up later are just an analysis set grouped separately to inspect coverage — not the pool the router draws from. The point is not the count but the design that secures complementarity through distinct repair directions.

The router. This is the mechanism that decides which variant a stuck task is sent to. You can read its operation this way: freeze the current model for a moment, compare per-setup execution records, and write up a guide describing "which variant helps with which kind of failure." When the policy changes through learning, this guide is rewritten too. Since a variant that helped yesterday may not help today, the rationale is refreshed in step with the policy.

Rescue training. The pool does not open at just any time. Suppose you run a single task eight times with the default harness (the experiment's group size is 8) and all eight fail. In the GRPO that Harness-S uses (a method that attempts a task multiple times and rewards the attempts that did relatively well within that group), this group is useless. Everything scores zero, so there's no telling "which was better," and with no comparison there's no learning signal.

Rescue throws out this failed group wholesale and swaps in a new one.

  • Before rescue: an all-failed group [fail × 8] → nothing to compare, so it is discarded.
  • After rescue: the failed group is thrown out wholesale, and under the assistive harnesses the router picked, the same policy solves the task again from scratch to form a new rollout group (also of size 8). The success/failure comparison happens right inside this new group. When the new group mixes successes and failures, a comparison arises, and only then does it become learning material.

Two things have to be separated here to see the floor of the explanation. First, what goes into training. The context the assistive harness injected is excluded; only the tokens the policy itself produced — the agent's own actions — are trained on. Second, whether that behavior reproduces without help. Honoring the first does not make the second follow automatically, because the behavior may have emerged thanks to context the assistive setup laid down. So the trained policy is put back on the default harness and evaluated. That evaluation is where you confirm whether it survives once the help is removed.

How the experiment was designed

The evaluation models come in two sizes, Qwen3.5-4B and Qwen3.5-9B. The benchmarks are AppWorld, which deals with application APIs; DBBench for databases; and SWE-Gym for software engineering. There are two metrics. Pass@3 counts a task as solved if any one of three attempts clears it, measuring "does it get solved when luck is on your side," while Avg@3 averages the success across the three attempts, measuring "does it get solved consistently." The main-table numbers are averages over three independent runs, and 8 × H800 GPUs were used.

The paper compares against several baselines, but this article focuses on the one contrast where the method's value shows most sharply: the comparison with "rescue GRPO." Rescue GRPO and Harness-S share the exact same trigger — "fire when everything fails" — and the same per-task rescue allocation. The only difference is that Harness-S picks assistive setups complementarily from a fixed pool. So the gap between the two comes close to the contribution of the method itself, not to the benefit of extra sampling. (The harness-only-evolution line, the joint policy-and-harness-evolution line, and the frontier leaderboard are folded away here.)

Splitting the evaluation into two conditions is also indispensable to this design. The same checkpoint is measured both on the default harness (h_b) and on the routed assistive harness (h_r). Splitting it this way is what separates how much of the gain is improvement lodged in the policy versus the power of the assistive setup at inference time. That said, there are things these numbers don't measure. The three benchmarks are specific environments, and Pass@3 and Avg@3 only measure whether a task succeeds — not the safety or cost of the process that got there.

Results

Did the ability lodge in the model?

On the default harness (h_b) — that is, in the original environment with all assistive setups cleared away — Harness-S beats GRPO and rescue GRPO. AppWorld 4B is the representative case. The parentheses show the improvement over plain GRPO.

AppWorld 4B · default harness (success rate %) Pass@3 Avg@3
GRPO (baseline) 60.31 48.98
Rescue GRPO 61.83 (+1.52) 51.91 (+2.93)
Harness-S 67.56 (+7.25) 56.87 (+7.89)

The same direction holds at 9B, reaching Pass@3 72.52 and Avg@3 62.34. Turn routing on as well (h_r) and both metrics rise further without adding execution rollouts. The routed 4B policy beat the 9B rescue GRPO on every reported metric across AppWorld, SWE-Gym, and DBBench. A smaller model surpassed a variant of a model twice its size, on nothing but a difference in how it was trained and run. The routed 9B even passed the frontier-model reference figure on DBBench, though this reversal is confined to DBBench — on AppWorld and SWE-Gym the reference figure is still higher.

What changed in the learning process

The reason it learns better lies in the quality of the training material. The share of "valid groups" that contain both successes and failures is 79.38% for Harness-S on AppWorld 4B, above rescue GRPO's 70.94% and standard GRPO's 64.69%. Measured by the tokens actually used in optimization, Harness-S again leads at 80.88% against rescue GRPO's 72.68%. Starting from the same initial policy and tracking validation success rate under the default harness, Harness-S ends at 63.33%, higher than rescue GRPO's 54.00% and GRPO's 48.00%. The two kinds of fixed-mixture harnesses, by contrast, blipped upward partway through but ultimately settled below GRPO. At least in this experiment, that means diversity paid off only when aimed at "the tasks the default group failed" — not diversity for its own sake.

Does the selection method matter?

The AppWorld 4B analysis that splits rescue strategies apart shows two things. Per-task selection beat random selection across the board, and an adaptive Top-8 that updates the guide during training lifted final Avg@3 by 4.71 percentage points over a Top-8 with the guide frozen. The design principle "refresh the routing rationale in step with the policy" translated into a number. On the coverage side, under the same final policy, individual siblings fix 11–15 of the default harness's failures, while the union of the nine siblings grouped for analysis fixes 29. That is evidence the siblings really do fill in for one another. But those 29 are only the union after running each of those nine siblings once — they should not be read as an upper bound on the full twenty-harness pool the router actually works with. It is better taken as qualitative evidence that complementarity works.

Limits and open questions

The most fundamental tension is the gap between the oracle upper bound and reality. The union after running every sibling is an ideal upper bound you can only get after knowing all the outcomes, whereas the router has to pick without knowing them. The conditions differ, so router performance is structurally lower than such a hindsight union. Moreover, the 29 above are only the union of an analysis set that inspected nine siblings — not even an upper bound on the full twenty-harness pool the router handles. Expectations should be set against actual routing performance, not the hindsight union.

Some questions remain. The evolution stage that builds the sibling pool is an offline cost separate from policy training, so this excerpt alone makes it hard to gauge how that upfront investment amortizes for a small organization. The router's voting mobilizes several external LLMs, and the quality of those external models may, in effect, set the ceiling on routing quality. Also, the three benchmarks are tasks with clear success/failure signals. Whether the "all failed" trigger works the same on open-ended tasks, where success is hard to adjudicate mechanically, is a separate matter. An experiment showing that the improvement holds without further updates even on harnesses not used in training backs the transfer claim — but how much weight the generalization carries depends on how far those "unseen harnesses" sit from the siblings used in training.

If ONTLE did this: test it with a deployment-check task

First we have to separate what we can change from what we can't. A client's ticketing system, approval flow, and log-lookup method are set by the client and not ours to change on a whim. In Harness-S terms, that is the "default harness." On the other hand, the granularity at which the agent reads logs, how many pieces it breaks the check steps into, and how it spaces its retries are runtime settings we can adjust. To put Harness-S on this, one precondition also has to be clear: we have to be able to train that agent's model ourselves.

Let's follow one task that fits this setup all the way through: "confirming a deployment is healthy."

  • Existing failures: tasks where the agent checked deployment status three times and reached the wrong judgment all three. That is exactly the rescue trigger.
  • Success adjudication: signals a machine can split into true/false — the health-check response, the deployed version tag, whether key metrics are within baseline.
  • The help given during training: under assistive setups like reading logs in finer chunks or breaking the check into separate steps, re-solve those failed tasks to produce successful trajectories. What goes into training is only the agent's behavior within those trajectories.
  • The improvement to confirm in the original environment: clear away the assistive setups and see whether it handles the same type of task better in the client's original environment. Only if it rises here has "the ability lodged."

For coordination or communication tasks where a machine can hardly adjudicate success, the first job — before putting this method on at all — is to define "what counts as success" as verifiable signals. The assistive setup is just training wheels in the practice yard, not a deliverable.

Wrapping up

If you're weighing whether to apply it, just nail down three things first. Is this a task where a machine can adjudicate success? Are you ready to split the evaluation into default and assistive and measure both, so you can tell where the gain came from? Have you budgeted separately for the upfront investment of building the sibling pool and the operating cost of refreshing the routing guide? With those three in place, you can start the trial with one small task like a deployment check. The bar for success is a single one: does it do that task better even after the assistive setup is cleared away?

Does a human hand-write the router's "guide"?

No. An LLM reads the behavioral differences in the paired validation runs across variants, writes up "which variant helps in which situations and hurts in which," and several LLMs vote independently to pool a ranking. Recomputing this rationale at every checkpoint against the current policy is the heart of adaptive routing.

How is the sibling pool selected across generations?

Each child harness is edited to target, along a single repair direction, a limited set of related root causes (2–3 related root causes per candidate, per Appendix F Table 8). The parents of the next generation are chosen as the combination that covers the most validation tasks, counting each task only once. It's a mechanism that favors parent sets that cover one another's failures. Children not chosen as parents aren't discarded either, because one passed over now may turn out complementary with another variant later.

Is Rank-1 routing separate from training?

It's a separate inference-time technique. Reusing the same router on an already-trained policy, it picks and runs only the single top variant per task from the full pool — including the default harness — after the final guide update. The characteristic is that it gains extra benefit without increasing the number of execution rollouts.

References

  • Paper: Harness-S: Learning from Sibling Harnesses for Generalizable Agent Training. Kangning Zhang, Wenxiang Jiao, Bowen Fang, Shuai Shao, Jiachen Zhu, Rong Shan, Shijian Wang, Hao Wang et al. (Shanghai Jiao Tong University, Xiaohongshu, Zhongguancun Institute of AI, Southeast University, Carnegie Mellon University)
  • arXiv: https://arxiv.org/abs/2611.04277
  • HuggingFace: https://huggingface.co/papers/2611.04277