Harness-S Trains Agents Across Related Setups
- •Harness-S trains an agent with sibling execution setups to recover from failed attempts
- •The method selects auxiliary setups only after all initial attempts under the base setup fail
- •Tests across AppWorld, SWE-Gym and DBBench found gains under the original setup
Researchers introduced Harness-S, a training method that uses related execution setups called sibling harnesses to help an AI agent recover from failed tasks. The work was published on November 3 and submitted to Hugging Face Papers on November 6 by researchers from Shanghai Jiao Tong University. Harness-S aims to train one policy that remains effective when returned to the original execution setup, rather than finding one universally superior harness.
The researchers describe harness variants as having locality, complementarity and nonstationarity: different variants repair different failures, and their usefulness changes as the policy learns. Harness-S first develops specialized sibling harnesses along distinct repair directions and keeps this pool fixed during training. It calls on the pool only when every initial attempt under the base harness fails; the same policy then produces replacement attempts under selected auxiliary harnesses, and those trajectories are used for reinforcement learning.
An Adaptive Harness Router chooses the top-k variants using Harness Behavior Profiles and votes from multiple large language models. The method refreshes the profile evidence as the policy learns. Across AppWorld, SWE-Gym and DBBench, the trained policy substantially outperformed policy-only training when evaluated again under the original base harness. Behavioral analyses and held-out cases supported the researchers’ interpretation that behaviors prompted by sibling harnesses transferred into the policy. Reusing the router for Rank-1 inference also produced additional gains while keeping the executor rollout count the same.
A commenter reported that on Qwen3.5-9B in AppWorld, Pass@3 rose from 64.89 with plain GRPO to 72.52 under the original H0 harness, and cited an average Pass@3 gain of about 7.89 over GRPO with about 18% more rollouts. The commenter also said the AppWorld 4B Pass@3 gap between Rank-1 and H0 narrowed from 14.21 to 0.76 after training. The authors replied that they would investigate how capability transfer varies with different harness modifications.
The fastest, most reliable AI news, straight to your inbox