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

精益求精:基于大语言模型的代理的自动化优化

Evolving Excellence: Automated Optimization of LLM-based Agents

University of Leeds(利兹大学);City, University of London(伦敦城市大学);University of West London(西伦敦大学);University of Edinburgh(爱丁堡大学);University of Surrey(萨里大学);University of Warwick(沃里克大学);King's College London(伦敦国王学院)
Paul Brookes, Vardan Voskanyan, Rafail Giavrimis, Matthew Truscott, Mina Ilieva, Chrystalla Pavlou, Alexandru Staicu, Manal Adham, Will Evers- Hood, Jingzhi Gon… 展开作者

Paul Brookes, Vardan Voskanyan, Rafail Giavrimis, Matthew Truscott, Mina Ilieva, Chrystalla Pavlou, Alexandru Staicu, Manal Adham, Will Evers- Hood, Jingzhi Gong, Kejia Zhang, Matvey Fedoseev, Vishal Sharma, Roman Bauer, Zheng Wang, Hema Nair, Wei Jie, Tianhua Xu, Aurora Constantin, Leslie Kanthan, Michail Basios

AI总结:

ARTEMIS通过语义感知的进化算法,自动优化基于大语言模型的代理配置,显著提升多个任务的性能表现。

摘要:

基于大语言模型(LLM)的代理系统在自动化复杂工作流方面具有显著潜力,从软件开发到客户支持。然而,LLM代理往往表现不佳,原因是配置不优;提示、工具描述和参数通常需要数周的手动调整。现有的优化方法要么过于复杂,不适合一般使用,要么将组件孤立处理,忽略了关键的相互依赖关系。我们提出了ARTEMIS,一个无代码的进化优化平台,通过语义感知的遗传算子联合优化代理配置。仅需一个基准脚本和自然语言目标,ARTEMIS会自动发现可配置组件,从执行日志中提取性能信号,并在不需架构修改的情况下进化配置。我们评估了ARTEMIS在四个代表性代理系统上的表现:ALE代理在AtCoder Heuristic Contest上的竞争性编程,实现了接受率的13.6%提升;Mini-SWE代理在SWE-Perf上的代码优化,实现了统计显著的10.1%性能提升;CrewAI代理在Math Odyssey上的成本和数学推理,实现了评估所需标记数的36.9%减少。我们还评估了由较小开源模型(Qwen2.5-7B)驱动的MathTales-Teacher代理在GSM8K初级数学问题上的表现,实现了22%的准确性提升,证明了ARTEMIS能够优化基于商业和本地模型的代理。

英文摘要:

Agentic AI systems built on large language models (LLMs) offer significant potential for automating complex workflows, from software development to customer support. However, LLM agents often underperform due to suboptimal configurations; poorly tuned prompts, tool descriptions, and parameters that typically require weeks of manual refinement. Existing optimization methods either are too complex for general use or treat components in isolation, missing critical interdependencies. We present ARTEMIS, a no-code evolutionary optimization platform that jointly optimizes agent configurations through semantically-aware genetic operators. Given only a benchmark script and natural language goals, ARTEMIS automatically discovers configurable components, extracts performance signals from execution logs, and evolves configurations without requiring architectural modifications. We evaluate ARTEMIS on four representative agent systems: the \emph{ALE Agent} for competitive programming on AtCoder Heuristic Contest, achieving a \textbf{$13.6\%$ improvement} in acceptance rate; the \emph{Mini-SWE Agent} for code optimization on SWE-Perf, with a statistically significant \textbf{10.1\% performance gain}; and the \emph{CrewAI Agent} for cost and mathematical reasoning on Math Odyssey, achieving a statistically significant \textbf{$36.9\%$ reduction} in the number of tokens required for evaluation. We also evaluate the \emph{MathTales-Teacher Agent} powered by a smaller open-source model (Qwen2.5-7B) on GSM8K primary-level mathematics problems, achieving a \textbf{22\% accuracy improvement} and demonstrating that ARTEMIS can optimize agents based on both commercial and local models.

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

↑