Self-HPO: Self-Evolving Coding Agents via Harness-Policy OptimizationSelf-Evolving Coding Agents via Harness-Policy Optimization
Translation in progress — untranslated text is omitted.
Self-HPO alternately optimizes the coding agent's harness and policy, raising Qwen3.5-35B-A3B's average solve rate on three coding benchmarks from 57.8% to 64.8%. In each round, the current policy analyzes failures and proposes harness candidates, then the policy is updated with reinforcement learning under the selected harness, and hard tasks enter the next round's search set. The method also improves Pass@1 and Pass@k, and performance improves further when Opus 4.8 is used as the harness proposer.
- A coding agent's results depend jointly on the policy and the harness through which it interacts with the environment. Tuning only the harness cannot change the model, while training only the policy can only see trajectories elicited by a fixed harness; when both sides are optimized together, the external proposer also faces constantly changing failure modes.
- Self-HPO alternates H-steps and P-steps. The frozen policy analyzes failures and proposes K=6 harnesses, selecting the best by the search set; then RL is done with GRPO and BAR, and unsolved problems become the next search set. Opus 4.8 can serve as an external proposer.
- Self-HPO raises Qwen3.5-35B-A3B's average resolve rate across the three benchmarks from 57.8% to 64.8%, higher than RLVR and Self-Harness on all three. HPO with Opus 4.8 proposing the harness is 71.6% on SWE-Verified.
- The paper does not specifically discuss limitations. The experimental policy is Qwen3.5-35B-A3B, and the external proposer is Opus 4.8; training uses 2,484 problems from Python projects, evaluation uses three SWE-Bench suites, alternating for two rounds, and the main result is avg@3.
Related events and news
1 events · 1 news mentions
News that mentions this paper
Recursive发布首个模型Flint,称主要由AI打造
- WIRED Security and AIcites the paper's id or link初创公司 Recursive 全力押注递归自我改进,其首个模型 Flint 表现惊艳
for instance, showing how an AI coding agent can recursively improve itself by modifying the software harness that turns reasoning into useful action and its own model’s weights.