HARBOR:自动化Harness优化
HARBOR: Automated Harness Optimization
AI总结:
本文提出HARBOR框架,通过约束噪声贝叶斯优化解决Harness配置问题,强调自动化配置优于手动堆叠,并在生产编码代理中实例化。
摘要:
长周期语言模型代理的性能主要受其封装的Harness影响,而非底层模型。本文主张Harness设计是机器学习的核心问题,提出HARBOR框架,通过块加性SAAS代理、多保真度成本感知获取和TuRBO信任区域进行约束噪声贝叶斯优化,解决混合变量、成本异质的配置空间问题,并在生产编码代理中进行了四轮手动调优实验。
英文摘要:
Long-horizon language-model agents are dominated, in lines of code and in operational complexity, not by their underlying model but by the harness that wraps it: context compaction, tool caching, semantic memory, trajectory reuse, speculative tool prediction, and the glue that binds the model to a sandboxed execution environment. We argue that harness design is a first-class machine-learning problem and that automated configuration search dominates manual stacking once the flag space exceeds a handful of bits. We defend this claim in two steps. First, we formalize automated harness optimization as constrained noisy Bayesian optimization over a mixed-variable, cost-heterogeneous configuration space with cold-start-corrected rewards and a posterior chance-constrained safety check, and give a reference solver, HARBOR (Harness Axis-aligned Regularized Bayesian Optimization Routine), built from a block-additive SAAS surrogate, multi-fidelity cost-aware acquisition, and TuRBO trust regions. Second, we instantiate the problem in a flag-gated harness over a production coding agent and report a controlled four-round manual-tuning case study against a fixed task suite and an end-to-end HARBOR run. The formulation itself is task-class agnostic: the configuration space, reward correction, acquisition, and safety check apply to any agent harness with a bounded flag space and a reproducible task suite.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。