arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2503.03313cs.LGcs.CL
收藏

大语言模型作为图神经网络:面向文本属性图基础模型的图词汇学习

LLM as GNN: Graph Vocabulary Learning for Text-Attributed Graph Foundation Models

Rutgers University(罗格斯大学);Mohamed bin Zayed University of Artificial Intelligence (MBZUAI)(穆罕默德·本·扎耶德人工智能大学);University of Science and Technology of China(中国科学技术大学);Meta AI;North Carolina State University(北卡罗来纳州立大学)

Xi Zhu, Haochen Xue, Ziwei Zhao, Wujiang Xu, Jingyuan Huang, Minghao Guo, Qifan Wang, Kaixiong Zhou, Imran Razzak, Yongfeng Zhang

AI总结:

该研究针对文本属性图基础模型的跨图跨任务迁移难题,提出基于图词汇学习的PromptGFM模型,通过图理解与图推理模块实现LLM与GNN的深度集成,在多图多任务上展现出优越性能与迁移性。

摘要:

文本属性图(TAGs)是指每个节点都关联有文本描述的图,在现实场景中十分普遍。这类图通常呈现出独特的结构与领域特定知识,促使人们开发能够跨不同图和任务泛化的图基础模型(GFM)。尽管已有大量研究致力于将大语言模型(LLMs)与图神经网络(GNNs)集成以处理文本属性图,但现有方法存在架构解耦且采用两阶段对齐的问题,限制了二者的协同潜力。更严重的是,现有方法会将图节点分配为词汇表外(OOV)标记,导致出现图特定语义、标记爆炸,且无法适配面向任务的提示模板,阻碍了跨图和跨任务的迁移能力。为解决这些挑战,我们提出了PromptGFM,这是一种基于图词汇学习的通用文本属性图基础模型。PromptGFM包含两个关键组件:(1)图理解模块,该模块显式提示LLMs在文本空间中复刻最精细的GNN工作流程,促进GNN与LLM的无缝集成以及图-文本的优雅对齐;(2)图推理模块,该模块建立了基于语言的图词汇表,确保模型的表达能力、迁移性和可扩展性,为LLM微调提供可读指令。大量实验表明,我们的方法在不同图和任务上均展现出优越性和迁移性,代码可在指定URL获取。

英文摘要:

Text-Attributed Graphs (TAGs), where each node is associated with text descriptions, are ubiquitous in real-world scenarios. They typically exhibit distinctive structure and domain-specific knowledge, motivating the development of a Graph Foundation Model (GFM) that generalizes across diverse graphs and tasks. Despite large efforts to integrate Large Language Models (LLMs) and Graph Neural Networks (GNNs) for TAGs, existing approaches suffer from decoupled architectures with two-stage alignment, limiting their synergistic potential. Even worse, existing methods assign out-of-vocabulary (OOV) tokens to graph nodes, leading to graph-specific semantics, token explosion, and incompatibility with task-oriented prompt templates, which hinders cross-graph and cross-task transferability. To address these challenges, we propose PromptGFM, a versatile GFM for TAGs grounded in graph vocabulary learning. PromptGFM comprises two key components: (1) Graph Understanding Module, which explicitly prompts LLMs to replicate the finest GNN workflow within the text space, facilitating seamless GNN-LLM integration and elegant graph-text alignment; (2) Graph Inference Module, which establishes a language-based graph vocabulary ensuring expressiveness, transferability, and scalability, enabling readable instructions for LLM fine-tuning. Extensive experiments demonstrate our superiority and transferability across diverse graphs and tasks. The code is available at this: https://github.com/agiresearch/PromptGFM.

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

↑