通过蒙特卡洛树搜索优化代理技能
Bilevel Optimization of Agent Skills via Monte Carlo Tree Search
AI总结:
本文提出通过蒙特卡洛树搜索优化代理技能的双层优化框架,提升任务性能。
摘要:
代理技能是结构化的指令、工具和支撑资源的集合,用于帮助大型语言模型代理执行特定任务。实证证据表明,技能设计对代理任务性能有重大影响,但系统性优化技能仍具挑战性。由于技能包含指令、工具和支撑资源的结构化方式,优化需同时确定这些组件的结构和内容。为此,本文将这两个耦合决策表示为技能结构和组件内容,并将技能优化建模为双层优化问题。提出一个双层优化框架,外层使用蒙特卡洛树搜索确定技能结构,内层在所选结构内优化组件内容。在两个循环中均使用LLM辅助优化过程。在开源运筹学问答数据集上评估该框架,实验结果表明,双层优化框架提高了优化技能的代理性能。
英文摘要:
Agent \texttt{skills} are structured collections of instructions, tools, and supporting resources that help large language model (LLM) agents perform particular classes of tasks. Empirical evidence shows that the design of \texttt{skills} can materially affect agent task performance, yet systematically optimizing \texttt{skills} remains challenging. Since a \texttt{skill} comprises instructions, tools, and supporting resources in a structured way, optimizing it requires jointly determining both the structure of these components and the content each component contains. This gives rise to a complex decision space with strong interdependence across structure and components. We therefore represent these two coupled decisions as \texttt{skill} structure and component content, and formulate \texttt{skill} optimization as a bilevel optimization problem. We propose a bilevel optimization framework in which an outer loop employs Monte Carlo Tree Search to determine the \texttt{skill} structure, while an inner loop refines the component content within the structure selected by the outer loop. In both loops, we employ LLMs to assist the optimization procedure. We evaluate the proposed framework on an open-source Operations Research Question Answering dataset, and the experimental results suggest that the bilevel optimization framework improves the performance of the agents with the optimized \texttt{skill}.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。