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

PSP:面向图神经网络的预训练与结构提示微调

PSP: Pre-Training and Structure Prompt Tuning for Graph Neural Networks

School of Data Science and Engineering, East China Normal University(华东师范大学数据科学与工程学院);Baidu Inc.(百度公司)

Qingqing Ge, Zeyuan Zhao, Yiding Liu, Anfeng Cheng, Xiang Li, Shuaiqiang Wang, Dawei Yin

AI总结:

提出PSP框架,通过双视图对比学习对齐节点属性与图结构,并在预训练和提示微调阶段一致利用结构信息,有效提升GNNs在同配和异配图少样本场景下的分类性能。

摘要:

图神经网络(GNNs)在学习图数据的语义方面具有强大的能力。最近,一种“预训练与提示”的新范式在利用较少监督数据将GNNs适应于各种任务中展现出了可喜的结果。这种范式的成功可归因于预训练与面向任务的提示微调具有更一致的目标,其中预训练知识可以有效地转移到下游任务中。现有的大多数方法基于类原型向量框架。然而,在少样本场景中,给定少量标记数据,类原型向量难以被准确构建或学习。同时,图的结构信息通常在预训练阶段被利用以学习节点表示,但在提示微调阶段却被忽略,以学习更准确的原型向量。此外,它们通常忽略异配邻域对节点表示的影响,不适用于异配图。为了弥补这些差距,我们提出了一种新颖的面向GNNs的预训练与结构提示微调框架,即PSP,它在预训练和提示微调阶段一致地利用结构信息。具体而言,PSP 1)采用双视图对比学习来对齐节点属性和图结构的潜在语义空间,以及 2)在提示图中结合结构信息以构建更准确的原型向量,并在提示微调中引出更多预训练知识。我们进行了广泛的节点分类和图分类任务实验以评估PSP的有效性。我们表明,PSP在同配图和异配图的少样本场景中均能带来卓越的性能。实现的代码可在 https://github.com/gqq1210/PSP 获取。

英文摘要:

Graph Neural Networks (GNNs) are powerful in learning semantics of graph data. Recently, a new paradigm "pre-train and prompt" has shown promising results in adapting GNNs to various tasks with less supervised data. The success of such paradigm can be attributed to the more consistent objectives of pre-training and task-oriented prompt tuning, where the pre-trained knowledge can be effectively transferred to downstream tasks. Most existing methods are based on the class prototype vector framework. However, in the few-shot scenarios, given few labeled data, class prototype vectors are difficult to be accurately constructed or learned. Meanwhile, the structure information of graph is usually exploited during pre-training for learning node representations, while neglected in the prompt tuning stage for learning more accurate prototype vectors. In addition, they generally ignore the impact of heterophilous neighborhoods on node representation and are not suitable for heterophilous graphs. To bridge these gaps, we propose a novel pre-training and structure prompt tuning framework for GNNs, namely PSP, which consistently exploits structure information in both pre-training and prompt tuning stages. In particular, PSP 1) employs a dual-view contrastive learning to align the latent semantic spaces of node attributes and graph structure, and 2) incorporates structure information in prompted graph to construct more accurate prototype vectors and elicit more pre-trained knowledge in prompt tuning. We conduct extensive experiments on node classification and graph classification tasks to evaluate the effectiveness of PSP. We show that PSP can lead to superior performance in few-shot scenarios on both homophilous and heterophilous graphs. The implemented code is available at https://github.com/gqq1210/PSP.

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

↑