arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2407.09709cs.LGcs.CL
收藏

GOFA:一种用于联合图语言建模的生成式全能模型

GOFA: A Generative One-For-All Model for Joint Graph Language Modeling

Washington University in St. Louis(华盛顿大学圣路易斯分校);Peking University(北京大学)

Lecheng Kong, Jiarui Feng, Hao Liu, Chengsong Huang, Jiaxin Huang, Yixin Chen, Muhan Zhang

AI总结:

针对图基础模型难以兼顾任务通用性与结构感知的问题,提出生成式图语言模型GOFA,通过将GNN层插入冻结的LLM并联合预训练,实现零样本下的结构及上下文任务解决能力。

摘要:

基础模型,如大型语言模型(LLMs)或大型视觉模型(LVMs),已在各自领域成为最强大的工具之一。然而,与文本和图像数据不同,图数据没有确定的结构,这给开发图基础模型(GFM)带来了巨大挑战。例如,当前设计通用图模型的尝试要么将图数据转换为语言格式以供基于LLM的预测,要么仍然训练一个以LLM为辅助的GNN模型。前者可以处理无限的任务,而后者能更好地捕获图结构——然而,现有工作无法同时实现两者。在本文中,我们确定了GFM的三个关键理想属性:自监督预训练、任务流畅性和图感知能力。为了满足这些属性,我们将传统语言建模扩展到图领域,并提出了一种新颖的生成式图语言模型GOFA来解决该问题。该模型将随机初始化的GNN层交错插入到冻结的预训练LLM中,从而有机地结合了语义和结构建模能力。GOFA在新提出的图级下一词预测、问答和结构任务上进行预训练,以获得上述GFM属性。预训练模型进一步在下游任务上进行微调以获得任务解决能力。微调后的模型在多种下游任务上进行了评估,展示了在零样本场景中解决结构和上下文问题的强大能力。代码可在https://github.com/JiaruiFeng/GOFA获取。

英文摘要:

Foundation models, such as Large Language Models (LLMs) or Large Vision Models (LVMs), have emerged as one of the most powerful tools in the respective fields. However, unlike text and image data, graph data do not have a definitive structure, posing great challenges to developing a Graph Foundation Model (GFM). For example, current attempts at designing general graph models either transform graph data into a language format for LLM-based prediction or still train a GNN model with LLM as an assistant. The former can handle unlimited tasks, while the latter captures graph structure much better -- yet, no existing work can achieve both simultaneously. In this paper, we identify three key desirable properties of a GFM: self-supervised pretraining, fluidity in tasks, and graph awareness. To account for these properties, we extend the conventional language modeling to the graph domain and propose a novel generative graph language model GOFA to solve the problem. The model interleaves randomly initialized GNN layers into a frozen pre-trained LLM so that the semantic and structural modeling abilities are organically combined. GOFA is pre-trained on newly proposed graph-level next-word prediction, question-answering, and structural tasks to obtain the above GFM properties. The pre-trained model is further fine-tuned on downstream tasks to obtain task-solving ability. The fine-tuned model is evaluated on various downstream tasks, demonstrating a strong ability to solve structural and contextual problems in zero-shot scenarios. The code is available at https://github.com/JiaruiFeng/GOFA.

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

↑