Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Self-Pro: A Self-Prompt and Tuning Framework for Graph Neural Networks

About

Graphs have become an important modeling tool for web applications, and Graph Neural Networks (GNNs) have achieved great success in graph representation learning. However, the performance of traditional GNNs heavily relies on a large amount of supervision. Recently, ``pre-train, fine-tune'' has become the paradigm to address the issues of label dependency and poor generalization. However, the pre-training strategies vary for graphs with homophily and heterophily, and the objectives for various downstream tasks also differ. This leads to a gap between pretexts and downstream tasks, resulting in ``negative transfer'' and poor performance. Inspired by prompt learning in Natural Language Processing (NLP), many studies turn to bridge the gap and fully leverage the pre-trained model. However, existing methods for graph prompting are tailored to homophily, neglecting inherent heterophily on graphs. Meanwhile, most of them rely on the randomly initialized prompts, which negatively impact on the stability. Therefore, we propose Self-Prompt, a prompting framework for graphs based on the model and data itself. We first introduce asymmetric graph contrastive learning for pretext to address heterophily and align the objectives of pretext and downstream tasks. Then we reuse the component from pre-training phase as the self adapter and introduce self-prompts based on graph itself for task adaptation. Finally, we conduct extensive experiments on 11 benchmark datasets to demonstrate its superiority. We provide our codes at https://github.com/gongchenghua/Self-Pro.

Chenghua Gong, Xiang Li, Jianxiang Yu, Cheng Yao, Jiaqi Tan, Chengcheng Yu• 2023

Related benchmarks

TaskDatasetResultRank
Graph ClassificationPROTEINS
Accuracy59.17
1383
Graph ClassificationMUTAG
Accuracy73.6
1229
Node ClassificationPubmed
Accuracy39.74
627
Node ClassificationCora
Accuracy56.66
609
Node ClassificationCiteseer
Accuracy53.21
51
Node ClassificationPokec-n
Delta SP0.47
46
Node ClassificationGerman
Accuracy62
40
Node ClassificationGerman 10-shot
Accuracy64
32
Node ClassificationPokec_n 10-shot
Accuracy71.6
32
Node ClassificationCredit 10-shot
Accuracy58.93
32
Showing 10 of 15 rows

Other info

Follow for update