arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2506.06017cs.CL
收藏

AgentSwift: 通过价值引导的分层搜索高效设计LLM代理

AgentSwift: Efficient LLM Agent Design via Value-guided Hierarchical Search

Yu Li, Lehui Li, Zhihao Wu, Qingmin Liao, Jianye Hao, Kun Shao, Fengli Xu, Yong Li

AI总结:

AgentSwift通过价值引导的分层搜索高效设计LLM代理,实现8.34%的性能提升。

摘要:

大型语言模型(LLM)代理在多样领域中展示了强大的能力,但自动代理设计仍是一个重大挑战。当前的自动代理设计方法往往受限于有限的搜索空间,主要优化工作流,但无法整合关键的人工设计组件,如记忆、规划和工具使用。此外,这些方法受到高评估成本的阻碍,因为评估甚至一个新代理在基准上的表现可能需要数十美元。这种探索的难度进一步加剧了由于低效的搜索策略,难以有效导航大规模的设计空间,使发现新代理变得缓慢且资源密集。为了解决这些挑战,我们提出AgentSwift,一种新的自动代理设计框架。我们正式化了一个分层搜索空间,共同建模代理工作流和可组合的功能组件。这种结构超越了仅优化工作流,通过共同优化功能组件,使发现更复杂和有效的代理架构成为可能。为了使在该广阔空间内的探索成为可能,我们通过一种新的策略结合组合覆盖和平衡贝叶斯采样来训练一个价值模型,以降低评估成本。整个过程由分层MCTS策略引导,该策略受到不确定性的影响,以高效地导航搜索空间。在涵盖具身、数学、网络、工具和游戏领域的综合七项基准测试中,AgentSwift发现的代理在现有自动代理搜索方法和人工设计代理上平均性能提升了8.34%。我们的框架为研究人员提供了一个快速发现强大代理架构的平台。

英文摘要:

Large language model (LLM) agents have demonstrated strong capabilities across diverse domains, yet automated agent design remains a significant challenge. Current automated agent design approaches are often constrained by limited search spaces that primarily optimize workflows but fail to integrate crucial human-designed components like memory, planning, and tool use. Furthermore, these methods are hampered by high evaluation costs, as evaluating even a single new agent on a benchmark can require tens of dollars. The difficulty of this exploration is further exacerbated by inefficient search strategies that struggle to navigate the large design space effectively, making the discovery of novel agents a slow and resource-intensive process. To address these challenges, we propose AgentSwift, a novel framework for automated agent design. We formalize a hierarchical search space that jointly models agentic workflow and composable functional components. This structure moves beyond optimizing workflows alone by co-optimizing functional components, which enables the discovery of more complex and effective agent architectures. To make exploration within this expansive space feasible, we mitigate high evaluation costs by training a value model on a high-quality dataset, generated via a novel strategy combining combinatorial coverage and balanced Bayesian sampling for low-cost evaluation. Guiding the entire process is a hierarchical MCTS strategy, which is informed by uncertainty to efficiently navigate the search space. Evaluated across a comprehensive set of seven benchmarks spanning embodied, math, web, tool, and game domains, AgentSwift discovers agents that achieve an average performance gain of 8.34\% over both existing automated agent search methods and manually designed agents. Our framework serves as a launchpad for researchers to rapidly discover powerful agent architectures.

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

↑