arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2611.09218cs.SEcs.AI
收藏

BOXBOX:用于长期运行性能优化的递归工具自改进

BOXBOX: Recursive Harness Self-Improvement for Long-Running Performance Optimization

Nanjing University(南京大学);Zhejiang University(浙江大学);Birkbeck, University of London(伦敦大学伯贝克学院);Microsoft(微软)

Yuhao Tan, Hanyun Jiang, Fangkai Yang, Yuan Yao, Taolue Chen, Bo Qiao, Yu Kang, Lu Wang, Pu Zhao, Xiaoxing Ma, Qingwei Lin, Saravan Rajmohan, Qi Zhang

AI总结:

针对开放式长期运行任务中离线优化工具无法解决新问题的痛点,提出BOXBOX工具,通过智能体触发修订与内核热重载保留上下文,在PerfRace基准上实现1.70倍4小时加速比,优于基线。

摘要:

自动化工具优化通过从轨迹和任务反馈中学习来改进智能体。现有离线方法使用参考答案优化工具,以便在保留的任务上复用。然而,许多现实世界任务是开放式的,而长期运行会暴露出离线优化的工具可能无法解决的新困难。为研究这些场景下的工具优化,我们引入PerfRace——一个用于软件项目长期运行性能优化的基准,并探究智能体是否能在正在进行的任务中利用特定任务经验递归改进其工具。为此,我们引入BOXBOX,它支持智能体触发的工具修订和内核管理的热重载,同时保留执行上下文。我们在匹配的测试时间预算下,于PerfRace上评估BOXBOX,将其与Frozen Harness、离线Harness Evolution和Harness Scaling对比。BOXBOX实现了更高的加速比,且更高效利用任务时间和模型成本,其4小时加速比(Speedup@4h)达1.70倍,而最强基线为1.54倍。

英文摘要:

Automated harness optimization improves agents by learning from trajectories and task feedback. Existing offline methods use reference answers to optimize harnesses for reuse on held-out tasks. However, many real-world tasks are open-ended, while long runs expose new difficulties that offline-optimized harnesses may not address. To study harness optimization in these settings, we introduce PerfRace, a benchmark for long-running performance optimization of software projects, and investigate whether agents can use task-specific experience to recursively improve their harnesses during an ongoing task. To this end, we introduce BOXBOX, which enables agent-triggered harness revision and kernel-managed hot reloading while preserving execution context. We evaluate BOXBOX on PerfRace under matched test-time budgets, comparing it with Frozen Harness, offline Harness Evolution, and Harness Scaling. BOXBOX achieves higher speedup with more efficient use of task time and model cost, reaching a Speedup@4h of 1.70x, compared with 1.54x for the strongest baseline.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑