arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.06617cs.CLcs.AI
收藏

学习演化工具以支持大型语言模型

Learning Evolving Tools for Large Language Models

Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);Tsinghua University(清华大学);Renmin University of China(中国人民大学)

Guoxin Chen, Zhong Zhang, Xin Cong, Fangda Guo, Yesai Wu, Yankai Lin, Wenzheng Feng, Yasheng Wang

AI总结:

针对工具动态变化问题,提出ToolEVO框架,利用蒙特卡洛树搜索增强LLM适应与反思能力,并构建ToolQA-D基准验证其有效性。

摘要:

工具学习使大型语言模型(LLMs)能够与外部工具和API交互,极大地扩展了LLMs的应用范围。然而,由于外部环境的动态性,这些工具和API可能随时间而过时,阻碍LLMs正确调用工具。现有研究主要关注静态环境,忽视了这一问题,限制了LLMs在现实应用中的适应性。在本文中,我们提出ToolEVO,一个新颖框架,旨在增强LLMs应对工具变异的适应性和反思能力。通过利用蒙特卡洛树搜索,ToolEVO促进LLMs在动态环境中的主动探索和交互,允许基于环境反馈自主进行自我反思和自我更新工具使用。此外,我们引入ToolQA-D,一个专门设计用于评估工具变异影响的基准。大量实验证明了我们方法的有效性和稳定性,强调了适应工具变异对有效工具学习的重要性。代码:https://github.com/Chen-GX/ToolEVO

英文摘要:

Tool learning enables large language models (LLMs) to interact with external tools and APIs, greatly expanding the application scope of LLMs. However, due to the dynamic nature of external environments, these tools and APIs may become outdated over time, preventing LLMs from correctly invoking tools. Existing research primarily focuses on static environments and overlooks this issue, limiting the adaptability of LLMs in real-world applications. In this paper, we propose ToolEVO, a novel framework designed to enhance the adaptive and reflective capabilities of LLMs against tool variability. By leveraging Monte Carlo Tree Search, ToolEVO facilitates active exploration and interaction of LLMs within dynamic environments, allowing for autonomous self-reflection and self-updating of tool usage based on environmental feedback. Additionally, we introduce ToolQA-D, a benchmark specifically designed to evaluate the impact of tool variability. Extensive experiments demonstrate the effectiveness and stability of our approach, highlighting the importance of adaptability to tool variability for effective tool learning. Code: https://github.com/Chen-GX/ToolEVO

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

↑