基于提示的节点特征提取器用于文本属性图上的少样本学习
Prompt-based Node Feature Extractor for Few-shot Learning on Text-Attributed Graphs
AI总结:
针对文本属性图少样本学习,提出G-Prompt框架,结合图适配器与任务提示提取可解释节点特征,在少样本和零样本节点分类中优于现有方法。
摘要:
文本属性图(TAGs)在现实世界中普遍存在,例如社交网络和引文网络,由文本描述表示的节点组成。目前,TAGs上的主流机器学习方法涉及两阶段建模方法:(1)使用预训练语言模型(PLMs)进行无监督节点特征提取;(2)使用图神经网络(GNNs)进行监督学习。然而,我们观察到,经过大规模预训练的这些表示在训练样本有限的情况下并未显著提高性能。主要问题在于现有方法未能同时有效整合来自图的信息和下游任务的信息。在本文中,我们提出了一种名为G-Prompt的新框架,该框架结合了图适配器和任务特定提示来提取节点特征。首先,G-Prompt在PLMs的末端引入一个可学习的GNN层(即适配器),该层经过微调以更好地捕获考虑图邻域信息的掩码标记。在适配器训练完成后,G-Prompt结合任务特定提示以获得用于下游任务的\textit{可解释}节点表示。我们的实验结果表明,我们提出的方法在少样本节点分类上优于当前最先进(SOTA)方法。更重要的是,在零样本设置中,G-Prompt嵌入不仅能提供比原始PLMs更好的任务可解释性,而且能达到与全监督基线相当的性能。
英文摘要:
Text-attributed Graphs (TAGs) are commonly found in the real world, such as social networks and citation networks, and consist of nodes represented by textual descriptions. Currently, mainstream machine learning methods on TAGs involve a two-stage modeling approach: (1) unsupervised node feature extraction with pre-trained language models (PLMs); and (2) supervised learning using Graph Neural Networks (GNNs). However, we observe that these representations, which have undergone large-scale pre-training, do not significantly improve performance with a limited amount of training samples. The main issue is that existing methods have not effectively integrated information from the graph and downstream tasks simultaneously. In this paper, we propose a novel framework called G-Prompt, which combines a graph adapter and task-specific prompts to extract node features. First, G-Prompt introduces a learnable GNN layer (\emph{i.e.,} adaptor) at the end of PLMs, which is fine-tuned to better capture the masked tokens considering graph neighborhood information. After the adapter is trained, G-Prompt incorporates task-specific prompts to obtain \emph{interpretable} node representations for the downstream task. Our experiment results demonstrate that our proposed method outperforms current state-of-the-art (SOTA) methods on few-shot node classification. More importantly, in zero-shot settings, the G-Prompt embeddings can not only provide better task interpretability than vanilla PLMs but also achieve comparable performance with fully-supervised baselines.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。