Universal Prompt Tuning for Graph Neural Networks
Taoran Fang, Yunchao Zhang, Yang Yang, Chunping Wang, Lei Chen
Abstract
In recent years, prompt tuning has sparked a research surge in adapting pre-trained models. Unlike the unified pre-training strategy employed in the language field, the graph field exhibits diverse pre-training strategies, posing challenges in designing appropriate prompt-based tuning methods for graph neural networks. While some pioneering work has devised specialized prompting functions for models that employ edge prediction as their pre-training tasks, these methods are limited to specific pre-trained GNN models and lack broader applicability. In this paper, we introduce a universal prompt-based tuning method called Graph Prompt Feature (GPF) for pre-trained GNN models under any pre-training strategy. GPF operates on the input graph's feature space and can theoretically achieve an equivalent effect to any form of prompting function. Consequently, we no longer need to illustrate the prompting function corresponding to each pre-training strategy explicitly. Instead, we employ GPF to obtain the prompted graph for the downstream task in an adaptive manner. We provide rigorous derivations to demonstrate the universality of GPF and make guarantee of its effectiveness. The experimental results under various pre-training strategies indicate that our method performs better than fine-tuning, with an average improvement of about 1.4% in full-shot scenarios and about 3.2% in few-shot scenarios. Moreover, our method significantly outperforms existing specialized prompt-based tuning methods when applied to models utilizing the pre-training strategy they specialize in. These numerous advantages position our method as a compelling alternative to fine-tuning for downstream adaptations.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
83 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- MultiGPrompt for Multi-Task Pre-Training and Prompting on Graphs cites Strategies for Pre-training Graph Neural Networks
- MultiGPrompt for Multi-Task Pre-Training and Prompting on Graphs cites InfoGraph: Unsupervised and Semi-supervised Graph-Level Representation Learning via Mutual Information Maximization
- MultiGPrompt for Multi-Task Pre-Training and Prompting on Graphs cites Language Models are Few-Shot Learners
- MultiGPrompt for Multi-Task Pre-Training and Prompting on Graphs cites Graph Contrastive Learning with Augmentations
- Edge Prompt Tuning for Graph Neural Networks cites MultiGPrompt for Multi-Task Pre-Training and Prompting on Graphs
- Edge Prompt Tuning for Graph Neural Networks cites Strategies for Pre-training Graph Neural Networks
- Edge Prompt Tuning for Graph Neural Networks cites InfoGraph: Unsupervised and Semi-supervised Graph-Level Representation Learning via Mutual Information Maximization
- Edge Prompt Tuning for Graph Neural Networks cites HetGPT: Harnessing the Power of Prompt Tuning in Pre-Trained Heterogeneous Graph Neural Networks
- Edge Prompt Tuning for Graph Neural Networks cites Graph Contrastive Learning with Augmentations
- SAMGPT: Text-free Graph Foundation Model for Multi-domain Pre-training and Cross-domain Adaptation cites MultiGPrompt for Multi-Task Pre-Training and Prompting on Graphs
- SAMGPT: Text-free Graph Foundation Model for Multi-domain Pre-training and Cross-domain Adaptation cites InfoGraph: Unsupervised and Semi-supervised Graph-Level Representation Learning via Mutual Information Maximization
- SAMGPT: Text-free Graph Foundation Model for Multi-domain Pre-training and Cross-domain Adaptation cites Graph Contrastive Learning with Augmentations
- Self-Supervised Graph Transformer on Large-Scale Molecular Data cites InfoGraph: Unsupervised and Semi-supervised Graph-Level Representation Learning via Mutual Information Maximization
- Graph Contrastive Learning with Augmentations cites InfoGraph: Unsupervised and Semi-supervised Graph-Level Representation Learning via Mutual Information Maximization
Cited by top-tier papers83
- Edge Prompt Tuning for Graph Neural NetworksXingbo Fu, Yinhan He, Jundong LiICLR 2025 · 140 citations
- GraphTranslator: Aligning Graph Model to Large Language Model for Open-ended TasksMengmei Zhang, Mingwei Sun, Peng Wang, Shen Fan et al.WWW 2024 · 99 citations
- MultiGPrompt for Multi-Task Pre-Training and Prompting on GraphsXingtong Yu, Chang Zhou, Yuan Fang, Xinming ZhangWWW 2024 · 65 citations
- HetGPT: Harnessing the Power of Prompt Tuning in Pre-Trained Heterogeneous Graph Neural NetworksYihong Ma, Ning Yan, Jiayu Li, Masood S. Mortazavi et al.WWW 2024 · 50 citations
- SAMGPT: Text-free Graph Foundation Model for Multi-domain Pre-training and Cross-domain AdaptationXingtong Yu, Zechuan Gong, Chang Zhou, Yuan Fang et al.WWW 2025 · 45 citations
Builds on32
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- Graph Contrastive Learning with AugmentationsYuning You, Tianlong Chen, Yongduo Sui, Ting Chen et al.NeurIPS 2020 · 3,042 citations
- Strategies for Pre-training Graph Neural NetworksWeihua Hu, Bowen Liu, Joseph Gomes, Marinka Zitnik et al.ICLR 2020 · 1,744 citations
- Self-Supervised Graph Transformer on Large-Scale Molecular DataYu Rong, Yatao Bian, Tingyang Xu, Weiyang Xie et al.NeurIPS 2020 · 1,113 citations
- InfoGraph: Unsupervised and Semi-supervised Graph-Level Representation Learning via Mutual Information MaximizationFan-Yun Sun, Jordan Hoffmann, Vikas Verma, Jian TangICLR 2020 · 1,010 citations
Related papers
- GPPT: Graph Pre-training and Prompt Tuning to Generalize Graph Neural NetworksMingchen Sun, Kaixiong Zhou, Xin He, Ying Wang et al.KDD 2022 · 141 citations
- Learning and Editing Universal Graph Prompt Tuning via Reinforcement LearningJinfeng Xu, Zheyu Chen, Shuo Yang, Jinze Li et al.KDD 2026 · 1 citation
- RELIEF: Reinforcement Learning Empowered Graph Feature Prompt TuningJiapeng Zhu, Zichen Ding, Jianxiang Yu, Jiaqi Tan et al.KDD 2025 · 3 citations
- HGPrompt: Bridging Homogeneous and Heterogeneous Graphs for Few-Shot Prompt LearningXingtong Yu, Yuan Fang, Zemin Liu, Xinming ZhangAAAI 2024 · 68 citations
- HeterGP: Bridging Heterogeneity in Graph Neural Networks with Multi-View PromptingFengyu Yan, Xiaobao Wang, Dongxiao He, Longbiao Wang et al.AAAI 2025 · 5 citations
