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

让我们问问GNN:赋能大语言模型进行图上下文学习

Let's Ask GNN: Empowering Large Language Model for Graph In-Context Learning

Northwestern University(西北大学);Worcester Polytechnic Institute(沃思堡理工大学);MeiTuan(美团)

Zhengyu Hu, Yichuan Li, Zhengyu Chen, Jingang Wang, Han Liu, Kyumin Lee, Kaize Ding

AI总结:

AskGNN通过GNN驱动的结构增强检索器和学习检索算法,将图数据与任务信息集成到大语言模型的上下文学习中,在多个任务和LLMs上验证了无需大量微调即可提升图任务性能的有效性。

摘要:

文本属性图(TAGs)对于建模复杂的现实世界系统至关重要,然而由于顺序文本处理与图结构数据之间的差距,利用大语言模型(LLMs)处理TAGs带来了独特的挑战。我们提出了AskGNN,这是一种新颖的方法,通过利用上下文学习(ICL)将图数据和任务特定信息集成到LLMs中,从而弥合这一差距。AskGNN采用了一个由图神经网络(GNN)驱动的结构增强检索器,用于跨图选择带标签的节点,融合复杂的图结构及其监督信号。我们的学习检索算法优化了该检索器,以选择能够最大化LLM在图任务上性能的示例节点。在三个任务和七个LLMs上的实验表明,AskGNN在图任务性能上具有卓越的有效性,为无需大量微调即可将LLMs应用于图结构数据开辟了新途径。

英文摘要:

Textual Attributed Graphs (TAGs) are crucial for modeling complex real-world systems, yet leveraging large language models (LLMs) for TAGs presents unique challenges due to the gap between sequential text processing and graph-structured data. We introduce AskGNN, a novel approach that bridges this gap by leveraging In-Context Learning (ICL) to integrate graph data and task-specific information into LLMs. AskGNN employs a Graph Neural Network (GNN)-powered structure-enhanced retriever to select labeled nodes across graphs, incorporating complex graph structures and their supervision signals. Our learning-to-retrieve algorithm optimizes the retriever to select example nodes that maximize LLM performance on graph. Experiments across three tasks and seven LLMs demonstrate AskGNN's superior effectiveness in graph task performance, opening new avenues for applying LLMs to graph-structured data without extensive fine-tuning.

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

↑