MultiGPrompt for Multi-Task Pre-Training and Prompting on Graphs

Xingtong Yu, Chang Zhou, Yuan Fang, Xinming Zhang
11/28/2023
85 citations
cs.CLcs.LG
gnn

Official code: Nashchou/MultiGPrompt (25 stars, Python, last commit 2024-09-24).

Abstract

Graphs can inherently model interconnected objects on the Web, thereby facilitating a series of Web applications, such as web analyzing and content recommendation. Recently, Graph Neural Networks (GNNs) have emerged as a mainstream technique for graph representation learning.

Show full abstract

However, their efficacy within an end-to-end supervised framework is significantly tied to the availabilityof task-specific labels. To mitigate labeling costs and enhance robustness in few-shot settings, pre-training on self-supervised tasks has emerged as a promising method, while prompting has been proposed to further narrow the objective gap between pretext and downstream tasks. Although there has been some initial exploration of prompt-based learning on graphs, they primarily leverage a single pretext task, resulting in a limited subset of general knowledge that could be learned from the pre-training data. Hence, in this paper, we propose MultiGPrompt, a novel multi-task pre-training and prompting framework to exploit multiple pretext tasks for more comprehensive pre-trained knowledge. First, in pre-training, we design a set of pretext tokens to synergize multiple pretext tasks. Second, we propose a dual-prompt mechanism consisting of composed and open prompts to leverage task-specific and global pre-training knowledge, to guide downstream tasks in few-shot settings. Finally, we conduct extensive experiments on six public datasets to evaluate and analyze MultiGPrompt.

View on arXivView PDF

Code Implementations(1)

254PythonOct 4, 20232 years ago

Similar Papers

Cite this paper

@article{yu2023multigprompt,
  title  = {MultiGPrompt for Multi-Task Pre-Training and Prompting on Graphs},
  author = {Xingtong Yu and Chang Zhou and Yuan Fang and Xinming Zhang},
  year   = {2023},
  eprint = {2312.03731},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2312.03731v7}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2312.03731.svg)](https://codeofpaper.com/paper/2312.03731)

Discussion