← Back to Paper Radar

HarnessBandit: Joint Learnability-Transferability Scheduling for Multi-Harness Agentic Reinforcement Learning

Hong-Liang Wei, Xiao-Bing Tu, Ying-Gui Wang, Zheng-Xi Liu, Rong Xue, Jin-Kui Ren, Xian-Tao Zhang, Derek Zhao, Xiao-Peng Fan
arXiv.org | 2026

Reading guide · Based on sections of the original paper

The authors treat multi-harness agentic RL as a non-stationary bandit over execution interfaces. Their scheduler, HarnessBandit, gives each GRPO step to a single harness, chosen by fusing advantage-based learnability with cosine similarity between sketched gradients across harnesses.

Why read this

Practitioners running GRPO on tool-using agents across several scaffolds can use it to decide whether a cheap scheduling layer beats shuffling harnesses into mixed batches.

What the authors found

  • The authors report a PinchBench mean of 0.506 for HarnessBandit (147 held-out tasks, one run each, under the in-distribution OpenClaw harness). Comparators were 0.493 for an OpenClaw+Codex mixed loader, 0.331 for a six-harness mixed loader and 0.330 for the base model, all on Qwen3.5-2B with a matched 150-step budget. The six-harness mixture shows no gain over the base model. 5.3 Results
  • On ClawEval (161 tasks, 3 trials, unseen native loop), HarnessBandit reached 41.6% pass@3 and a mean score of 0.556. The base model scored 36.0% and 0.534, and the six-harness mixture 38.5% and 0.510. On Pass^3, HarnessBandit tied the base at 43/161, while both mixtures fell below the base. 5.3 Results
  • Training diagnostics show the two signals rank harnesses differently; for example, Pi scores high on learnability but mid-range on transferability. The schedule ended as a mild tilt, with visits ranging from 21 to 32, rather than collapsing onto one harness. 5.4 Bandit behavior

Main limitation

The gains are narrow and depend on the metric. The PinchBench edge over the two-harness mixture is 1.3 points. On ClawEval, strict Pass^3 only matches the untuned base model. The supplied sections report a single training run and no ablation that uses only one of the two signals. 5.3 Results

Where to start

Appendix B PinchBench category means · Check the per-category PinchBench scores. The two-harness mixture beats HarnessBandit on coding, CSV analysis, meeting analysis and memory (0.913 vs 0.637), so the advantage depends on workload.

Abstract

Language-model agents are increasingly deployed through diverse harnesses that differ in system prompts, tool schemas, control loops, and trajectory formats. The same model can perform unevenly across these interfaces, making robustness to harness variation an important objective. A natural approach is to train a shared policy through multiple harnesses, but doing so introduces a scheduling problem: each training step should favor a harness that currently provides a useful learning signal while also producing an update that benefits the other harnesses. We develop HarnessBandit, an online scheduler that selects one harness per optimizer step. After a group-relative policy optimization (GRPO) update, it observes learnability -- the mean absolute advantage on the batch -- and transferability -- the cosine between a low-dimensional gradient sketch of the current harness and exponential moving averages of the remaining harnesses. The two signals are fused after pooled sliding-window min-max normalization and sampled with a visit-dependent bonus and an explicit exploration floor. We train Qwen3.5-2B across six harnesses on ClawGym and evaluate on PinchBench (held-out tasks, in-distribution OpenClaw) and ClawEval (held-out tasks and harness). HarnessBandit improves over mixed-batch multi-harness training on both benchmarks, while training diagnostics indicate that learnability and transferability provide distinct, evolving signals.

Generated automatically from paper sections on 2026-11-28.