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

通过从 GitHub 自主集成工具增强 LLM 的开放域任务求解能力

Enhancing Open-Domain Task-Solving Capability of LLMs via Autonomous Tool Integration from GitHub

Tsinghua University(清华大学);Renmin University of China(中国人民大学);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Shanghai Jiao Tong University(上海交通大学)

Bohan Lyu, Xin Cong, Heyang Yu, Pan Yang, Yujia Qin, Yining Ye, Yaxi Lu, Zhong Zhang, Yukun Yan, Yankai Lin, Zhiyuan Liu, Maosong Sun

AI总结:

本文构建涵盖 7 个领域、339 题的 OpenAct 基准,并提出可从 GitHub 自主集成专用工具的层级智能体 OpenAgent,显著提升 LLM 的开放域任务求解表现。

摘要:

大型语言模型(LLM)在传统自然语言处理任务中表现出色,但在处理需要复杂领域特定计算或仿真的问题时存在困难。尽管为 LLM 配备外部工具以构建基于 LLM 的智能体可以增强其能力,但现有方法缺乏应对开放域中多样且不断演变的用户查询的灵活性。目前,也没有现成数据集评估 LLM 在需要借助工具求解的开放域知识方面的表现。为此,我们提出 OpenAct 基准,用于评估开放域任务求解能力;该基准基于人类专家咨询和 GitHub 上的代码仓库构建,包含横跨 7 个不同领域的 339 个问题,这些问题需要使用领域特定方法来解决。在我们的实验中,即使是最先进的 LLM 和基于 LLM 的智能体也表现出不令人满意的成功率,这凸显了提出新方法的必要性。此外,我们提出 OpenAgent,这是一种新型的基于 LLM 的智能体系统,能够通过自主集成来自 GitHub 的专用工具来处理开放域中不断演变的查询。OpenAgent 采用:1)层级框架,其中专用智能体处理特定任务,并可将任务分配给下级智能体;2)双层经验学习机制,从人类经验和自身经验中学习,以应对工具缺陷。实验证明了其卓越的有效性和效率,显著优于基线。我们的数据和代码已在 https://github.com/OpenBMB/OpenAct 开源。

英文摘要:

Large Language Models (LLMs) excel in traditional natural language processing tasks but struggle with problems that require complex domain-specific calculations or simulations. While equipping LLMs with external tools to build LLM-based agents can enhance their capabilities, existing approaches lack the flexibility to address diverse and ever-evolving user queries in open domains. Currently, there is also no existing dataset that evaluates LLMs on open-domain knowledge that requires tools to solve. To this end, we introduce OpenAct benchmark to evaluate the open-domain task-solving capability, which is built on human expert consultation and repositories in GitHub. It comprises 339 questions spanning 7 diverse domains that need to be solved with domain-specific methods. In our experiments, even state-of-the-art LLMs and LLM-based agents demonstrate unsatisfactory success rates, underscoring the need for a novel approach. Furthermore, we present OpenAgent, a novel LLM-based agent system that can tackle evolving queries in open domains through autonomously integrating specialized tools from GitHub. OpenAgent employs 1) a hierarchical framework where specialized agents handle specific tasks and can assign tasks to inferior agents, 2) a bi-level experience learning mechanism to learn from both humans' and its own experiences to tackle tool flaws. Experiments demonstrate its superior effectiveness and efficiency, which significantly outperforms baselines. Our data and code are open-source at https://github.com/OpenBMB/OpenAct.

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

↑