arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.09750cs.SEcs.AIcs.HCcs.MA
收藏

SAGE:可扩展多智能体环境中基于工具的LLM任务解决策略

SAGE: Tool-Augmented LLM Task Solving Strategies in Scalable Multi-Agent Environments

Technische Universität Berlin(柏林技术大学);DAI-Labor, TU Berlin, Chair of Agent Technologies(柏林技术大学DAI实验室,代理技术系);GT-ARC gGmbH(GT-ARC公司)

Robert K. Strehlow, Tobias Küster, Oskar F. Kupke, Brandon Llanque Kurps, Fikret Sivrikaya, Sahin Albayrak

AI总结:

SAGE通过OPACA框架实现动态工具整合,提供灵活的任务解决策略,提升LLM在多智能体环境中的效率与适应性。

摘要:

大型语言模型(LLM)在问答场景中已证明其有效性,但现实应用往往需要访问工具以获取实时信息或执行操作。为此,LLM可以扩展工具,这些工具通常在事前定义,也允许针对特定用途进行微调。然而,快速演变的软件生态和个别服务要求持续开发和整合新工具。领域或公司特定的工具可以显著提高LLM的实用性,但此类定制工具可能难以整合,或LLM可能无法可靠地理解和使用它们。为此,我们需要策略来定义新工具并动态地将其整合到LLM中,以及鲁棒且可扩展的零样本提示方法,能够高效地利用这些工具。在本文中,我们提出了SAGE,一个专门的对话式AI接口,基于OPACA框架进行工具发现和执行。与OPACA的整合使为LLM添加新工具或服务变得容易,而SAGE本身提供了丰富的可扩展性和模块性。这不仅提供了无缝切换不同模型(如GPT、LLAMA)的能力,还允许添加和选择提示方法,涉及不同提示设置的智能体以选择和执行工具并评估结果。我们实现了一种任务解决策略,利用代理概念和提示方法在不同程度的复杂性中使用,并将这些策略与全面的基准服务进行评估。结果令人鼓舞,突显了不同任务解决策略的各自优势和劣势。SAGE和OPACA框架,以及不同的基准服务和结果,均已作为开源/开放数据在GitHub上发布。

英文摘要:

Large language models (LLMs) have proven to work well in question-answering scenarios, but real-world applications often require access to tools for live information or actuation. For this, LLMs can be extended with tools, which are often defined in advance, also allowing for some fine-tuning for specific use cases. However, rapidly evolving software landscapes and individual services require the constant development and integration of new tools. Domain- or company-specific tools can greatly elevate the usefulness of an LLM, but such custom tools can be problematic to integrate, or the LLM may fail to reliably understand and use them. For this, we need strategies to define new tools and integrate them into the LLM dynamically, as well as robust and scalable zero-shot prompting methods that can make use of those tools in an efficient manner. In this paper, we present SAGE, a specialized conversational AI interface, based on the OPACA framework for tool discovery and execution. The integration with OPACA makes it easy to add new tools or services for the LLM to use, while SAGE itself presents rich extensibility and modularity. This not only provides the ability to seamlessly switch between different models (e.g. GPT, LLAMA), but also to add and select prompting methods, involving various setups of differently prompted agents for selecting and executing tools and evaluating the results. We implemented a number of task-solving strategies, making use of agentic concepts and prompting methods in various degrees of complexity, and evaluated those against a comprehensive set of benchmark services. The results are promising and highlight the distinct strengths and weaknesses of different task-solving strategies. Both SAGE and the OPACA framework, as well as the different benchmark services and results, are available as Open Source/Open Data on GitHub.

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

↑