Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

HGPROMPT: Bridging Homogeneous and Heterogeneous Graphs for Few-shot Prompt Learning

About

Graph neural networks (GNNs) and heterogeneous graph neural networks (HGNNs) are prominent techniques for homogeneous and heterogeneous graph representation learning, yet their performance in an end-to-end supervised framework greatly depends on the availability of task-specific supervision. To reduce the labeling cost, pre-training on self-supervised pretext tasks has become a popular paradigm,but there is often a gap between the pre-trained model and downstream tasks, stemming from the divergence in their objectives. To bridge the gap, prompt learning has risen as a promising direction especially in few-shot settings, without the need to fully fine-tune the pre-trained model. While there has been some early exploration of prompt-based learning on graphs, they primarily deal with homogeneous graphs, ignoring the heterogeneous graphs that are prevalent in downstream applications. In this paper, we propose HGPROMPT, a novel pre-training and prompting framework to unify not only pre-training and downstream tasks but also homogeneous and heterogeneous graphs via a dual-template design. Moreover, we propose dual-prompt in HGPROMPT to assist a downstream task in locating the most relevant prior to bridge the gaps caused by not only feature variations but also heterogeneity differences across tasks. Finally, we thoroughly evaluate and analyze HGPROMPT through extensive experiments on three public datasets.

Xingtong Yu, Yuan Fang, Zemin Liu, Xinming Zhang• 2023

Related benchmarks

TaskDatasetResultRank
Node ClassificationACM
Macro F172.36
104
Node ClassificationDBLP
Micro-F188.07
94
Node ClassificationAminer
Micro F134.01
46
Node ClassificationFreebase
Macro F140.78
43
Drug trafficking detectionTwitter-HetDrug 10% label setting (train)
Macro F1 Score66.85
24
Drug trafficking detectionTwitter-HetDrug 20% label setting (train)
Macro-F167.97
24
Drug trafficking detectionTwitter-HetDrug 40% label setting (train)
Macro F1 Score69.72
24
Drug trafficking detectionTwitter-HetDrug 10% training ratio 1.0 (test)
Macro F1 Score66.85
8
Drug trafficking detectionTwitter-HetDrug 20% training ratio 1.0 (test)
Macro-F167.97
8
Drug trafficking detectionTwitter-HetDrug 40% training ratio 1.0 (test)
Macro F169.72
8
Showing 10 of 10 rows

Other info

Follow for update