arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2304.11116cs.AIcs.LG
收藏

Graph-ToolFormer:通过ChatGPT增强的提示赋予大语言模型图推理能力

Graph-ToolFormer: To Empower LLMs with Graph Reasoning Ability via Prompt Augmented by ChatGPT

University of California, Davis(加州大学戴维斯分校)

Jiawei Zhang

AI总结:

本文提出Graph-ToolFormer框架,通过ChatGPT增强提示教会大语言模型使用外部图推理API工具,以解决其在多步逻辑推理、精确计算及空间时间感知上的缺陷,从而提升复杂图数据推理能力。

摘要:

在本文中,我们旨在开发一种能够在复杂图数据上进行推理的大型语言模型(LLM)。目前,LLM在各种自然语言学习任务上取得了非常令人印象深刻的表现,其扩展也已应用于多模态数据的视觉任务研究。然而,当涉及图学习任务时,现有的LLM由于其固有的几个弱点而表现出非常严重的缺陷,这些弱点包括执行多步逻辑推理、精确的数学计算以及对空间和时间因素的感知。为了解决这些挑战,在本文中,我们将研究原理、方法论和算法,以赋予现有LLM图推理能力,这将极大地影响当前LLM和图学习的研究。受最新的ChatGPT和Toolformer模型的启发,我们提出了Graph-ToolFormer(面向图推理的Toolformer)框架,通过ChatGPT增强的提示来教LLM自身使用外部图推理API工具。具体来说,在本文中我们将研究教Graph-ToolFormer处理各种图数据推理任务,包括(1)非常基础的图数据加载和图属性推理任务,范围从简单的图的阶和大小到图的直径和外围,以及(2)在真实世界图数据上的更高级推理任务,如书目网络、蛋白质分子、序列推荐系统、社交网络和知识图谱。

英文摘要:

In this paper, we aim to develop a large language model (LLM) with the reasoning ability on complex graph data. Currently, LLMs have achieved very impressive performance on various natural language learning tasks, extensions of which have also been applied to study the vision tasks with multi-modal data. However, when it comes to the graph learning tasks, existing LLMs present very serious flaws due to their several inherited weaknesses in performing {multi-step logic reasoning}, {precise mathematical calculation} and {perception about the spatial and temporal factors}. To address such challenges, in this paper, we will investigate the principles, methodologies and algorithms to empower existing LLMs with graph reasoning ability, which will have tremendous impacts on the current research of both LLMs and graph learning. Inspired by the latest ChatGPT and Toolformer models, we propose the Graph-ToolFormer (Graph Reasoning oriented Toolformer) framework to teach LLMs themselves with prompts augmented by ChatGPT to use external graph reasoning API tools. Specifically, we will investigate to teach Graph-ToolFormer to handle various graph data reasoning tasks in this paper, including both (1) very basic graph data loading and graph property reasoning tasks, ranging from simple graph order and size to the graph diameter and periphery, and (2) more advanced reasoning tasks on real-world graph data, such as bibliographic networks, protein molecules, sequential recommender systems, social networks and knowledge graphs.

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

↑