arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2503.10071cs.AI
收藏

高级工具学习与选择系统(ATLASS):一种使用大语言模型的闭环框架

Advanced Tool Learning and Selection System (ATLASS): A Closed-Loop Framework Using LLM

Clark Atlanta University(克拉克亚特兰大大学);Daffodil International University(达福尔国际大学);Ahsanullah University of Science and Technology(阿沙努拉大学科学与技术学院)

Mohd Ariful Haque, Justin Williams, Sunzida Siddique, Md. Hujaifa Islam, Hasmot Ali, Kishor Datta Gupta, Roy George

AI总结:

针对人工预定义工具灵活性不足的问题,本文提出闭环框架ATLASS,支持大语言模型按需动态生成、复用工具,解决复杂工具生成难题,为复杂任务求解提供实用方案。

摘要:

大语言模型(LLM)智能体与外部工具的结合,使模型能够解决超出其知识库范围的复杂任务。人工设计的工具灵活性不足,仅能提供专家预先创建的工具范围内的解决方案。为解决这一问题,我们提出ATLASS——一种设计为闭环框架的高级工具学习与选择系统,它支持大语言模型按需动态生成外部工具来解决问题。在该框架中,智能体承担工具选择、执行和优化的协调工作,保障自适应问题求解能力。ATLASS的运行分为三个阶段:第一阶段为工具需求理解,由智能体判断是否需要工具并明确工具功能;第二阶段为工具检索/生成,由智能体根据工具可用性检索或生成工具;第三阶段为任务求解,组合完成初始任务所需的所有组件工具。工具数据集用于存储已生成的工具,保障可复用性并最小化推理成本。当前基于大语言模型的工具生成系统难以创建需要API或外部包的复杂工具,在ATLASS中,我们通过自动配置环境、在线获取相关API文档、使用Python解释器创建适配更广泛场景的可靠通用工具来解决该问题。系统采用OpenAI GPT-4.0作为大语言模型智能体,在执行生成代码前通过人类反馈处理安全与伦理问题。通过解决预定义工具集的局限性并提升适应性,ATLASS成为一种实用解决方案,可为用户提供动态生成的工具以支持复杂问题求解。

英文摘要:

The combination of LLM agents with external tools enables models to solve complex tasks beyond their knowledge base. Human-designed tools are inflexible and restricted to solutions within the scope of pre-existing tools created by experts. To address this problem, we propose ATLASS, an advanced tool learning and selection system designed as a closed-loop framework. It enables the LLM to solve problems by dynamically generating external tools on demand. In this framework, agents play a crucial role in orchestrating tool selection, execution, and refinement, ensuring adaptive problem-solving capabilities. The operation of ATLASS follows three phases: The first phase, Understanding Tool Requirements, involves the Agents determining whether tools are required and specifying their functionality; the second phase, Tool Retrieval/Generation, involves the Agents retrieving or generating tools based on their availability; and the third phase, Task Solving, involves combining all the component tools necessary to complete the initial task. The Tool Dataset stores the generated tools, ensuring reusability and minimizing inference cost. Current LLM-based tool generation systems have difficulty creating complex tools that need APIs or external packages. In ATLASS, we solve the problem by automatically setting up the environment, fetching relevant API documentation online, and using a Python interpreter to create a reliable, versatile tool that works in a wider range of situations. OpenAI GPT-4.0 is used as the LLM agent, and safety and ethical concerns are handled through human feedback before executing generated code. By addressing the limitations of predefined toolsets and enhancing adaptability, ATLASS serves as a real-world solution that empowers users with dynamically generated tools for complex problem-solving.

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

↑