arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2611.07372cs.AIcs.CL
收藏

EnvOpt:智能体环境的自动化优化

EnvOpt: Automated Optimization for Agent Environments

Mingxuan Li, Huanzhi Mao, Qiuyang Mang, Hanchen Li, Joseph E. Gonzalez, Alex Dimakis

AI总结:

研究提出EnvOpt方法,可自动化优化智能体的静态环境,无需评分器或参考答案,能降低智能体成本并提升或维持通过率,且可迁移至不同模型与测试框架。

摘要:

大语言模型(LLM)智能体的成本与成功率取决于其模型、测试框架(harness)以及环境。除了被广泛研究的参数调优和测试框架优化方向外,我们提出了第三个方向:对静态环境的优化。智能体通常部署在被多个任务共享的复杂环境中,例如公司的Slack工作区或由数据源、文档、工单组成的复杂集合,我们将这类环境称为静态环境。我们提出了EnvOpt,这是一种针对任意给定模型和测试框架,利用真实或合成任务对静态环境进行自动化端到端优化的方法,无需任何评分器或参考答案。在AutomationBench上,EnvOpt将Claude Haiku 4.5的成本降低了72.7%,并将其通过率提高了14.34%;相同的环境迁移到Opus 5时,成本降低了68.1%,同时获得1.34%的提升。在Meta-Harness针对Haiku 4.5优化后的测试框架基础上,EnvOpt进一步将成本降低了83.4%,相比单独使用Meta-Harness的准确率提升了11.17%。在5个基准测试中,EnvOpt显著降低了智能体的成本,同时提高或保持了通过率,并且可迁移到不同的模型和测试框架。我们还讨论了自动化优化过程中常见的成功与被拒绝的环境优化策略。更广泛地说,我们的结果表明,向智能体呈现信息的方式会同时影响其成本和成功率,因此除了参数和测试框架外,环境也值得优化。

英文摘要:

An LLM agent's cost and success depend on its model, its harness, and its environment. In addition to the widely studied directions of parameter tuning and harness optimization, we propose the third direction: optimization over stationary environments. Agents are often deployed in rich environments shared by many tasks, such as a company's Slack workspace or a complex collection of data sources, documents or tickets. We call these environments stationary environments. We introduce EnvOpt, a method for automated end-to-end optimization of stationary environments for any given model and harness, using real or synthetic tasks without needing any graders or reference answers. On AutomationBench, EnvOpt reduces the cost of Claude Haiku 4.5 by 72.7% and raises its pass rate by 14.34%. The same environment transfers to Opus 5, cutting its cost by 68.1% with a 1.34% gain. Added on top of Meta-Harness's optimized harness for Haiku 4.5, it lowers cost by a further 83.4% and adds 11.17% accuracy over Meta-Harness alone. Across 5 benchmarks, EnvOpt significantly reduces the cost of agents while improving or maintaining pass rate, and is transferable to different models and different harnesses. We also discuss common successful and rejected environment optimization strategies during automated optimization. More broadly, our results show that how information is represented to an agent shapes both its cost and its success, making the environment worth optimizing in addition to the parameters and the harness.

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

↑