[Paper Review] MultiGPrompt for Multi-Task Pre-Training and Prompting on Graphs
This paper proposes MultiGPrompt, a multi-task pre-training and prompting framework for graph neural networks that synergistically integrates multiple pretext tasks using dedicated pretext tokens and a dual-prompt mechanism combining composed and open prompts. The method achieves state-of-the-art performance in few-shot graph learning across six public benchmarks by effectively transferring diverse, comprehensive knowledge from multi-task pre-training to downstream tasks.
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. 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.
Motivation & Objective
- To address the limitation of single-pretext-task pre-training in graph representation learning, which restricts the breadth of generalizable knowledge.
- To develop a method that synergistically leverages multiple diverse pretext tasks—such as node/edge feature reconstruction, link prediction, and subgraph-level pattern learning—during pre-training.
- To design a dual-prompt mechanism that combines task-specific composed prompts and global inter-task knowledge via open prompts for improved few-shot adaptation.
- To improve parameter efficiency and robustness in low-resource (few-shot) downstream graph learning scenarios.
Proposed method
- Introduces a set of learnable pretext tokens that are jointly optimized with multiple self-supervised pretext tasks to enable synergistic multi-task pre-training on graphs.
- Employs a dual-prompt mechanism: composed prompts tailored to specific downstream tasks and open prompts that capture global, inter-task knowledge across all pretext tasks.
- Uses a learnable attention mechanism to dynamically balance the influence of different pretext tokens and prompts across message-passing layers via learnable weights α.
- Applies a multi-task contrastive learning objective that jointly optimizes multiple pretext tasks (e.g., node feature reconstruction, link prediction, subgraph masking) during pre-training.
- Designs a lightweight prompt-based adaptation strategy where only the prompt parameters are fine-tuned, preserving the pre-trained GNN weights.
- Employs a graph encoder with message-passing layers, where both input and output representations are guided by the dual-prompt mechanism to align with downstream objectives.
Experimental results
Research questions
- RQ1Can multi-task pre-training with diverse pretext tasks significantly improve the generalization capacity of graph neural networks compared to single-task pre-training?
- RQ2How can task-specific and global inter-task knowledge be effectively combined in a prompt-based framework for few-shot graph learning?
- RQ3To what extent does the dual-prompt mechanism (composed + open) outperform single-prompt or prompt-free baselines in low-resource settings?
- RQ4How do the hyperparameters controlling prompt weighting across layers affect performance across different types of downstream tasks?
Key findings
- MultiGPrompt achieves state-of-the-art performance on six public graph datasets across both node and graph classification tasks, outperforming existing SOTA methods in few-shot settings.
- The dual-prompt mechanism—combining composed and open prompts—leads to the highest performance, with ablation studies showing that removing either component degrades accuracy.
- The open prompt component is crucial for transferring global, inter-task knowledge, as its absence results in a significant performance drop compared to the full dual-prompt setup.
- Hyperparameter analysis shows that optimal α values differ between node and graph classification tasks, indicating that input-layer (α₀) and output-layer (α₁) prompt weights should be task-specifically tuned.
- MultiGPrompt maintains high parameter efficiency, with only 522 tunable parameters in the downstream adaptation stage—significantly fewer than full fine-tuning or standard classifier adaptation.
- The method demonstrates robustness in few-shot scenarios, where limited labeled data is available, by effectively transferring knowledge from multi-task pre-training through the dual-prompt mechanism.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.