Metraipolis › archive › dc_4876f303814e
WHALE: A Simple Recipe for Joint Harness-Weight Optimization — arXiv:2609.00196
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.00196
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-17T06:32:50.924Z
- SHA-256 of the archived text
7bee394b275427627449efdc165128bbd29c358e341ddd9332025c8bd0d978d6- Stable URL of this page
https://metraipolis.com/documento/dc_4876f303814e
How to cite
WHALE: A Simple Recipe for Joint Harness-Weight Optimization — arXiv:2609.00196 — arXiv (en), https://arxiv.org/abs/2609.00196 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_4876f303814e (Metraipolis archive dc_4876f303814e, sha256 7bee394b275427627449efdc165128bbd29c358e341ddd9332025c8bd0d978d6)
BibTeX
@misc{dc4876f303814e,
title = {WHALE: A Simple Recipe for Joint Harness-Weight Optimization — arXiv:2609.00196},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.00196},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_4876f303814e; sha256 7bee394b275427627449efdc165128bbd29c358e341ddd9332025c8bd0d978d6},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.00196. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Agent performance depends jointly on the model parameters and the executable harness code that manages context and control flow. Optimizing either component in isolation can leave the system bottlenecked by its frozen counterpart: weight updates can change which harness is effective, while harness updates can change which model capabilities are exposed. Existing joint-adaptation methods optimize weights and textual prompts but leave the broader harness fixed. We propose Weight-Harness Alternating LEarning (WHALE), a simple recipe that alternates two phases: updating the model under the current harness, then searching for a better harness under the updated model. We instantiate these two phases with online rejection-sampling fine-tuning and Meta-Harness, respectively. When to switch is a key design choice: to separate real improvements from noise without over-optimizing against a changing counterpart, WHALE uses either fixed phase durations or an adaptive patience rule over training signals. Using Qwen3.5-2B/4B agents across three domains (search question answering, mathematical reasoning, and chess puzzles), WHALE outperforms weight-only, harness-only, and Fast-Slow Training by 4.15-24.38 percentage points in best mean@8 accuracy. Either component can be the bottleneck: harness search matches peak weight-only accuracy with far fewer rollouts in SearchQA, but improves math accuracy only after a weight update. Small interleaved updates also outperform stagewise weight-then-harness optimization in accuracy and rollout cost. The code is available at this https URL . Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-02 in cs.AI). Categorie arXiv: Machine Learning (cs.LG) ; Artificial Intelligence (cs.AI). Pagina del lavoro: https://arxiv.org/abs/2609.00196 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-17T06:15:12.752Z dalla pagina https://arxiv.org/catchup/cs.AI/2026-09-02?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).