arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.14318cs.CL
收藏

CREATOR:用于解耦大语言模型抽象与具象推理的工具创建方法

CREATOR: Tool Creation for Disentangling Abstract and Concrete Reasoning of Large Language Models

Tsinghua University(清华大学);University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)

Cheng Qian, Chi Han, Yi R. Fung, Yujia Qin, Zhiyuan Liu, Heng Ji

AI总结:

针对大语言模型工具使用受API限制、隐式推理不稳定的问题,提出解耦抽象工具创建与具象执行的CREATOR框架,在多项基准上优于现有基线,并构建数据集验证该能力的价值与知识迁移作用。

摘要:

大语言模型(LLMs)在工具使用方面已取得显著进展,但其能力受限于API可用性以及隐式推理的不稳定性,尤其当同时涉及规划与执行时问题更为突出。为克服这些局限,我们提出CREATOR——一种新型框架,可让LLMs利用文档和代码实现创建自己的工具。CREATOR将抽象的工具创建与具象的决策执行解耦,从而提升了性能。我们在MATH和TabMWP基准上对CREATOR进行评估,这两个基准分别包含高难度数学竞赛题和多样化表格内容。值得注意的是,CREATOR的表现优于现有的思维链、思维程序以及工具使用基线方法。此外,我们提出了包含2000个多样化问题的Creation Challenge数据集,以凸显LLMs工具创建能力的必要性与优势。进一步研究表明,将LLMs用作工具创建者可促进知识迁移,且LLMs展现出不同水平的工具创建能力,使其能够适应多样化场景。工具创建能力革新了LLM的问题解决范式,推动我们更接近人工智能的下一个前沿。所有代码与数据均已公开。

英文摘要:

Large Language Models (LLMs) have made significant progress in utilizing tools, but their ability is limited by API availability and the instability of implicit reasoning, particularly when both planning and execution are involved. To overcome these limitations, we propose CREATOR, a novel framework that enables LLMs to create their own tools using documentation and code realization. CREATOR disentangles abstract tool creation and concrete decision execution, resulting in improved performance. We evaluate CREATOR on MATH and TabMWP benchmarks, respectively consisting of challenging math competition problems and diverse tabular contents. Remarkably, CREATOR outperforms existing chain-of-thought, program-of-thought, and tool-using baselines. Additionally, we introduce the Creation Challenge dataset, featuring 2K diverse questions, to emphasize the necessity and benefits of LLMs' tool creation ability. Further research demonstrates that leveraging LLMs as tool creators facilitates knowledge transfer, and LLMs exhibit varying levels of tool creation abilities, enabling them to adapt to diverse situations. The tool creation ability revolutionizes the LLM's problem-solving paradigm, driving us closer to the next frontier of artificial intelligence. All the codes and data are released.

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

↑