ULTRA-DP: Unifying Graph Pre-training with Multi-task Graph Dual Prompt

Mouxiang Chen, Zemin Liu, Chenghao Liu, Jundong Li, Qiheng Mao, Jianling Sun

Main figure for ULTRA-DP: Unifying Graph Pre-training with Multi-task Graph Dual Prompt

Abstract

Recent research has demonstrated the efficacy of pre-training graph neural networks (GNNs) to capture the transferable graph semantics and enhance the performance of various downstream tasks. However, the semantic knowledge learned from pretext tasks might be unrelated to the downstream task, leading to a semantic gap that limits the application of graph pre-training. To reduce this gap, traditional approaches propose hybrid pre-training to combine various pretext tasks together in a multi-task learning fashion and learn multi-grained knowledge, which, however, cannot distinguish tasks and results in some transferable task-specific knowledge distortion by each other. Moreover, most GNNs cannot distinguish nodes located in different parts of the graph, making them fail to learn position-specific knowledge and lead to suboptimal performance. In this work, inspired by the prompt-based tuning in natural language processing, we propose a unified framework for graph hybrid pre-training which injects the task identification and position identification into GNNs through a prompt mechanism, namely multi-task graph dual prompt. Based on this framework, we propose a prompt-based transferability test to find the most relevant pretext task in order to reduce the semantic gap. To implement the hybrid pre-training tasks, beyond the classical edge prediction task (node-node level), we further propose a novel pre-training paradigm based on a group of $k$-nearest neighbors (node-group level). The combination of them across different scales is able to comprehensively express more structural semantics and derive richer multi-grained knowledge. Extensive experiments show that our proposed can significantly enhance the performance of hybrid pre-training methods and show the generalizability to other pre-training tasks and backbone architectures..

Benchmark Results

Tested on 1 dataset

Tables show presented results in global context (best 3 papers + GCN + MLP).

Heterogeneous Graph Benchmarks

#ModelMicro-F1 ↑Paper
1
LMSPS
0.9566 ±0.0020
2
PSHGCN
0.9561 ±0.0012
3
RpHGNN
0.9555 ±0.0029
21
GCN
0.9460 ±0.0031
142
ULTRA-DP (Edge + k-NN)
0.7850 ±0.0070
This paper
145
GPT-GNN
0.7790 ±0.0020
This paper
147
CL
0.7730 ±0.0060
This paper
150
GPPT (Edge)
0.7660 ±0.0010
This paper
152
Hybrid (Edge + k-NN)
0.7630 ±0.0070
This paper
154
K-NN
0.7540 ±0.0030
This paper
160
No Pre-train
0.7330 ±0.0070
This paper
176
MLP
0.6447 ±0.0136
SOTA performance (not significantly different from the best) Proposed method (this paper) Baseline / comparison (this paper) Global context (other papers)