Universal Prompt Tuning for Graph Neural Networks
Taoran FangYunchao ZhangYang YangChunping WangLei Chen
Proposes Graph Prompt Feature, a universal feature-space prompting method for graph neural networks that theoretically unifies diverse pre-training strategies and consistently outperforms fine-tuning across full-shot and few-shot downstream tasks.
Graph neural networks are critical tools for analyzing complex relational data, such as molecular structures and biological networks. However, adapting pre-trained graph models to specific tasks typically relies on fine-tuning, which updates all model parameters. This traditional approach creates major challenges: it risks catastrophic forgetting, demands significant computational resources, performs poorly when labeled data is scarce, and suffers from task misalignment because graphs use diverse pre-training strategies. Prior attempts to implement prompt tuning—a method that modifies input data rather than internal model weights—were heavily specialized for single pre-training objectives, such as edge prediction, leaving no universal solution across different graph architectures.
The article develops and evaluates a universal framework called Graph Prompt Feature (GPF) and its advanced variant (GPF-plus) to adapt pre-trained graph neural networks across any pre-training strategy. The primary objective is to demonstrate that directly modifying the input graph’s feature space can theoretically and empirically match or exceed the performance of traditional fine-tuning and specialized prompt methods while updating only a minute fraction of parameters.
To evaluate this framework, the authors conducted extensive empirical experiments using a standard five-layer Graph Isomorphism Network across chemistry and biology benchmarks, including molecular classification and protein function prediction tasks, as well as social network datasets. The methodology tested five distinct pre-training strategies across full-data scenarios, few-shot environments (50 and 100 labeled samples), and comparative baselines such as linear probing, partial-layer tuning, and existing prompt methods. These empirical evaluations were supported by formal mathematical proofs establishing the universal representational power and loss bounds of the proposed feature-prompting technique.
The investigation produced four central findings. First, GPF and GPF-plus consistently outperform traditional fine-tuning across all pre-training strategies, achieving average performance improvements of approximately 1.4% in full-data settings and 3.2% to 3.4% in few-shot settings. Second, the method delivers extreme parameter efficiency, requiring over 99% fewer tunable parameters than fine-tuning (using approximately 0.02% of parameters for GPF and under 0.7% for GPF-plus). Third, against specialized graph prompting baselines designed specifically for edge prediction, the proposed methods demonstrated substantial advantages, outperforming them by 3% to 13%. Finally, GPF-plus slightly outperforms standard GPF across most benchmark tests due to its ability to assign node-specific prompt features using an attentive basis mechanism.
These findings indicate that organizations can significantly cut computational and storage costs by freezing pre-trained graph backbones and training only lightweight feature prompts. This strategy mitigates overfitting and preserves generalization, making it exceptionally valuable for high-stakes domains with limited labeled samples, such as drug discovery and rare disease research. Organizations deploying graph models should consider adopting universal prompt tuning as a direct replacement for full fine-tuning, choosing standard GPF for simplicity or GPF-plus when maximum task flexibility is required.
While the theoretical proofs and empirical tests provide high confidence across standard graph classification tasks, current evaluations primarily reflect benchmark datasets in chemistry and biology under standard regression and classification assumptions. Future efforts should focus on validating the framework in production environments and exploring automated selection mechanisms for prompt hyper-parameters across broader graph-level and node-level operational tasks.
- Paper: The Power of Scale for Parameter-Efficient Prompt Tuning, Brian Lester et al. (2021). Introduces parameter-efficient prompt tuning with continuous soft prompt vectors on frozen backbones, establishing the foundational tuning paradigm adapted to graph feature spaces.
- Paper: Visual Prompt Tuning, Menglin Jia et al. (2022). Pioneers visual prompt tuning by modifying the input space of frozen vision models, providing the non-text prompt-tuning precursor for input-space graph prompt design.
- Paper: GPT Understands, Too, Xiao Liu et al. (2021). Develops continuous prompt optimization via neural prompt encoders, which informs continuous and basis-attentive prompt feature modeling.
- Paper: Strategies for Pre-training Graph Neural Networks, Weihua Hu et al. (2020). Establishes pre-training and downstream adaptation benchmarks on Graph Isomorphism Networks across chemistry and biology, providing the pre-training paradigms and evaluation setup utilized by the source.
- Paper: How Powerful are Graph Neural Networks?, Keyulu Xu et al. (2019). Introduces the Graph Isomorphism Network (GIN) architecture and multiset representational theory that serves as the backbone model and theoretical basis in the source.
- Paper: Graph Contrastive Learning with Augmentations, Yuning You et al. (2020). Defines self-supervised graph contrastive pre-training strategies that represent key pre-trained baselines tested under universal prompt adaptation.
- Paper: Semi-Supervised Classification with Graph Convolutional Networks, Thomas N. Kipf et al. (2017). Provides the foundational message-passing formulation for semi-supervised graph representation learning underpinning standard GNN backbones.
No sufficiently relevant recommendations were found.
