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

GraphText:文本空间中的图推理

GraphText: Graph Reasoning in Text Space

Mila - Québec AI Institute(米拉-魁北克人工智能研究所);Université de Montréal(蒙特利尔大学);Beihang University(北京航空航天大学);MIT-IBM Watson AI Lab(麻省理工学院-IBM沃森人工智能实验室);Genentech Inc.(基因泰克公司);University of Oxford(牛津大学);HEC Montréal(蒙特利尔高等商学院);Canadian Institute for Advanced Research (CIFAR)(加拿大高等研究院)

Jianan Zhao, Le Zhuo, Yikang Shen, Meng Qu, Kai Liu, Michael Bronstein, Zhaocheng Zhu, Jian Tang

AI总结:

针对大语言模型难以处理图结构数据的问题,提出GraphText框架,将图转化为自然语言文本序列,实现免训练的图推理与交互式推理,性能可媲美甚至超越有监督图神经网络。

摘要:

大语言模型(LLMs)已具备吸收人类知识、支持与人类及其他LLM进行自然语言交互的能力。然而尽管取得了瞩目成果,LLMs在图机器学习领域尚未实现显著进展。这一局限源于图包含独特的关系型数据,难以将其转化为LLM可理解的自然语言。本文提出一种名为GraphText的新型框架填补了这一空白,该框架可将图转化为自然语言。GraphText为每张图生成包含节点属性与节点间关系的图语法树,遍历该树可得到图文本序列,随后由LLM处理该序列,将图任务转化为文本生成任务。值得注意的是,GraphText具备多重优势:它实现了免训练的图推理,即便未在图数据上训练,搭载ChatGPT的GraphText通过上下文学习(ICL)就能达到甚至超越有监督训练的图神经网络的性能。此外,GraphText为交互式图推理铺平了道路,支持人类与LLM通过自然语言与模型无缝交互。这些能力凸显了LLM在图机器学习领域尚未被发掘的巨大潜力。

英文摘要:

Large Language Models (LLMs) have gained the ability to assimilate human knowledge and facilitate natural language interactions with both humans and other LLMs. However, despite their impressive achievements, LLMs have not made significant advancements in the realm of graph machine learning. This limitation arises because graphs encapsulate distinct relational data, making it challenging to transform them into natural language that LLMs understand. In this paper, we bridge this gap with a novel framework, GraphText, that translates graphs into natural language. GraphText derives a graph-syntax tree for each graph that encapsulates both the node attributes and inter-node relationships. Traversal of the tree yields a graph text sequence, which is then processed by an LLM to treat graph tasks as text generation tasks. Notably, GraphText offers multiple advantages. It introduces training-free graph reasoning: even without training on graph data, GraphText with ChatGPT can achieve on par with, or even surpassing, the performance of supervised-trained graph neural networks through in-context learning (ICL). Furthermore, GraphText paves the way for interactive graph reasoning, allowing both humans and LLMs to communicate with the model seamlessly using natural language. These capabilities underscore the vast, yet-to-be-explored potential of LLMs in the domain of graph machine learning.

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

↑