arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2209.15240cs.LGcs.AI
收藏

面向图神经网络的通用提示调优

Universal Prompt Tuning for Graph Neural Networks

Zhejiang University(浙江大学);FinVolution Group(FinVolution集团)

Taoran Fang, Yunchao Zhang, Yang Yang, Chunping Wang, Lei Chen

AI总结:

针对图预训练策略多样导致提示方法不通用的问题,提出作用于输入图特征空间的GPF,可等效任意提示函数,并在全样本与少样本设置下显著优于微调和专门提示方法。

摘要:

近年来,提示调优在适配预训练模型方面引发了研究热潮。与语言领域采用的统一预训练策略不同,图领域呈现出多样化的预训练策略,这给为图神经网络设计合适的基于提示的调优方法带来了挑战。尽管一些开创性工作为采用边预测作为预训练任务的模型设计了专门的提示函数,但这些方法仅限于特定的预训练GNN模型,缺乏更广泛的适用性。本文提出一种名为Graph Prompt Feature(GPF,图提示特征)的通用基于提示的调优方法,适用于任意预训练策略下的预训练GNN模型。GPF作用于输入图的特征空间,理论上能够实现与任何形式提示函数等效的效果。因此,我们不再需要显式说明每种预训练策略对应的提示函数,而是采用GPF以自适应方式获得下游任务的被提示图。我们给出了严格推导,以证明GPF的通用性并保证其有效性。在多种预训练策略下的实验结果表明,该方法优于微调:在全样本场景下平均提升约1.4%,在少样本场景下平均提升约3.2%。此外,当应用于采用现有专门基于提示的调优方法所专长的预训练策略的模型时,我们的方法显著优于这些方法。这些众多优势使该方法成为下游适配中极具吸引力的微调替代方案。

英文摘要:

In recent years, prompt tuning has sparked a research surge in adapting pre-trained models. Unlike the unified pre-training strategy employed in the language field, the graph field exhibits diverse pre-training strategies, posing challenges in designing appropriate prompt-based tuning methods for graph neural networks. While some pioneering work has devised specialized prompting functions for models that employ edge prediction as their pre-training tasks, these methods are limited to specific pre-trained GNN models and lack broader applicability. In this paper, we introduce a universal prompt-based tuning method called Graph Prompt Feature (GPF) for pre-trained GNN models under any pre-training strategy. GPF operates on the input graph's feature space and can theoretically achieve an equivalent effect to any form of prompting function. Consequently, we no longer need to illustrate the prompting function corresponding to each pre-training strategy explicitly. Instead, we employ GPF to obtain the prompted graph for the downstream task in an adaptive manner. We provide rigorous derivations to demonstrate the universality of GPF and make guarantee of its effectiveness. The experimental results under various pre-training strategies indicate that our method performs better than fine-tuning, with an average improvement of about 1.4% in full-shot scenarios and about 3.2% in few-shot scenarios. Moreover, our method significantly outperforms existing specialized prompt-based tuning methods when applied to models utilizing the pre-training strategy they specialize in. These numerous advantages position our method as a compelling alternative to fine-tuning for downstream adaptations.

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

↑