HarnessBandit: Joint Learnability-Transferability Scheduling for Multi-Harness Agentic Reinforcement Learning
Organizations: Harbin Institute of Technology · Alibaba Cloud
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.
Figures & tables
| PinchBench | ClawEval | |||
|---|---|---|---|---|
| Method | Mean | Pass 3 | Pass@3 | Avg score |
| Qwen3.5-2B (base) | ( ) | ( ) | ||
| Mixed (OC+Codex) | ( ) | ( ) | ||
| Mixed (6 harnesses) | ( ) | ( ) | ||
| HarnessBandit | ( ) | ( ) | ||
Appendix figures & tables5 assets
Supplementary material from the paper’s appendix.
Appendix
| Item | Value |
|---|---|
| Base model | Qwen3.5-2B |
| Algorithm | GRPO / Dr.GRPO (no std. normalization) |
| Adam learning rate | , constant |
| KL coefficient / type | / low-var KL |
| Rollout batch size | 8 |
| Samples per prompt | 8 |
| Category | Base | Mixed (OC+Codex) | Mixed (6) | HarnessBandit |
|---|---|---|---|---|
| analysis | ||||
| coding | ||||
| csv_analysis | ||||
| integrations | ||||
| log_analysis | ||||
| meeting_analysis |
RL for LLM Agents
Reinforcement learning for large language model agents trains models to plan, use tools, and adapt through feedback from interactive tasks.
See all 608 papers