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

代理自动组合:一种背包方法用于代理组件选择

Automated Composition of Agents: A Knapsack Approach for Agentic Component Selection

AWS Agentic AI(AWS 代理人工智能)

Michelle Yuan, Khushbu Pahwa, Shuaichen Chang, Mustafa Kaba, Jiarong Jiang, Xiaofei Ma, Yi Zhang, Monica Sunkara

AI总结:

本文提出基于背包问题的代理组件自动组合框架,通过动态评估组件性能与成本,提升代理系统在不同场景下的成功率和资源利用效率。

摘要:

设计有效的代理系统需要无缝地将代理、工具和模型在动态和不确定的环境中进行组合和整合。大多数现有方法依赖于静态的语义检索方法来发现工具或代理。然而,由于能力描述不完整以及检索方法的限制,现有组件的有效重用和组合仍然具有挑战性。组件选择的问题在于决策不是基于能力、成本和实时效用。为了解决这些挑战,我们引入了一种结构化的、自动化的框架,该框架受到背包问题的启发。我们的框架使组合代理 agent 能够系统地识别、选择和组装一个最优的代理组件集合,通过同时考虑性能、预算限制和兼容性。通过动态测试候选组件并实时建模其效用,我们的方法简化了代理系统的组装,并促进了资源的可扩展重用。在五个基准数据集上使用Claude 3.5 Sonnet进行经验评估显示,我们的基于在线背包的组合器始终位于帕累托前沿,相较于我们的基线,以显著更低的组件成本实现了更高的成功率。在单代理设置中,相较于检索基线,在线背包组合器的成功率提高了最高31.6%。在多代理系统中,当从包含100多个代理的代理库存中选择代理时,成功率从37%提高到87%。显著的性能差距证实了我们的方法在不同领域和预算限制下的强大适应性。

英文摘要:

Designing effective agentic systems requires the seamless composition and integration of agents, tools, and models within dynamic and uncertain environments. Most existing methods rely on static, semantic retrieval approaches for tool or agent discovery. However, effective reuse and composition of existing components remain challenging due to incomplete capability descriptions and the limitations of retrieval methods. Component selection suffers because the decisions are not based on capability, cost, and real-time utility. To address these challenges, we introduce a structured, automated framework for agentic system composition that is inspired by the knapsack problem. Our framework enables a composer agent to systematically identify, select, and assemble an optimal set of agentic components by jointly considering performance, budget constraints, and compatibility. By dynamically testing candidate components and modeling their utility in real-time, our approach streamlines the assembly of agentic systems and facilitates scalable reuse of resources. Empirical evaluation with Claude 3.5 Sonnet across five benchmarking datasets shows that our online-knapsack-based composer consistently lies on the Pareto frontier, achieving higher success rates at significantly lower component costs compared to our baselines. In the single-agent setup, the online knapsack composer shows a success rate improvement of up to 31.6% in comparison to the retrieval baselines. In multi-agent systems, the online knapsack composer increases success rate from 37% to 87% when agents are selected from an agent inventory of 100+ agents. The substantial performance gap confirms the robust adaptability of our method across diverse domains and budget constraints.

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

↑