SGL-PT: A Strong Graph Learner with Graph Prompt Tuning
Abstract
Recently, much exertion has been paid to design graph self-supervised methods to obtain generalized pre-trained models, and adapt pre-trained models onto downstream tasks through standard fine-tuning. But the gap between pretext and downstream tasks can limit pre-trained models' potential, leading to negative transfer. Meanwhile, prompt tuning has seen emerging success in natural language processing (NLP) by aligning pre-training and fine-tuning with consistent training objectives. In this paper, we identify the challenges for graph prompt tuning: The first is the lack of a strong and universal pre-training task across sundry pre-training methods in graph domain. Such a task should be easily emulated by downstream tasks, akin to the Masked Language Modeling (MLM) in the NLP domain. The second challenge lies in the difficulty of designing a consistent training objective for both pre-training and downstream tasks due to the inherent abstraction of graph data. To overcome above obstacles, we propose a novel framework named SGL-PT which follows the learning strategy ``Pre-train, Prompt, and Predict''. Specifically, we raise a strong and universal pre-training task coined as SGL that acquires the complementary merits of generative and contrastive self-supervised graph learning. And motivated by prompt design in NLP, we reformulate the downstream task as maksed node prediction by designing a novel verbalizer-free prompting function, resulting in unifying the objectives of pre-text and downstream tasks. Empirical results show that our pre-training method surpasses other baselines under unsupervised setting, and our prompt tuning method can significantly facilitate models on biological datasets over standard fine-tuning and other graph prompt methods.
Benchmark Results
Tested on 3 datasets 17 baseline values reported too low
Tables show presented results in global context (best 3 papers + GCN + MLP).
TU Dortmund
| # | Model | Accuracy ↑ | Paper |
|---|---|---|---|
| 1 | MSH-GNN | 0.9910
±0.0030 | |
| 2 | ID-GNN+BEC | 0.9830
±0.0360 | |
| 3 | SupCosine | 0.9830
±0.0250 | |
| 39 | GIN | 0.9330
±0.0290 best reported | best at pub: ProtGNN: Towards Self-Explaining Graph Neural Networks (AAAI 2021) Difference within reported uncertainty; not counted as underperformance. |
| 63 | GCN | 0.9220
±0.0440 best reported | best at pub: Breaking the Limits of Message Passing Graph Neural Networks (ICML 2021) best today: Depth-Adaptive Graph Neural Networks via Learnable Bakry-Émery Curvature (KDD 2025) Difference within reported uncertainty; not counted as underperformance. |
| 105 | InfoGCL | 0.9120
±0.0130 | This paper |
| 159 | WL | 0.9040
±0.0570 best reported | best at pub: How Powerful are $K$-hop Message Passing Graph Neural Networks (NeurIPS 2022) |
| 158 | GraphSAGE | 0.9040
±0.0780 | |
| 199 | MVGRL | 0.8993
±0.0616 best reported | best at pub: Graph Self-Supervised Learning: A Survey (2021) best today: Improving Expressivity of GNNs with Subgraph-specific Factor Embedded Normalization (KDD 2023) Difference within reported uncertainty; not counted as underperformance. |
| 239 | DiffPool | 0.8940
±0.0460 best reported | best at pub: Total Variation Graph Neural Networks (ICML 2022) best today: Graph Classification via Reference Distribution Learning: Theory and Practice (NeurIPS 2024) Difference within reported uncertainty; not counted as underperformance. |
| 257 | InfoGraph | 0.8930
±0.0514 best reported | best at pub: Graph Contrastive Learning Automated (ICML 2021) best today: Improving Expressivity of GNNs with Subgraph-specific Factor Embedded Normalization (KDD 2023) Difference within reported uncertainty; not counted as underperformance. |
| 258 | GraphMAE | 0.8930
±0.0110 best reported | best at pub: GraphMAE: Self-Supervised Masked Graph Autoencoders (KDD 2022) best today: Revisiting Graph Autoencoders as Implicit Contrastive Learners (KDD 2024) Difference within reported uncertainty; not counted as underperformance. |
| 272 | SimGRACE | 0.8910
±0.0140 best reported | best at pub: SimGRACE: A Simple Framework for Graph Contrastive Learning without Data Augmentation (WWW 2022) best today: GPS: graph contrastive learning via multi-scale augmented views from adversarial pooling (2024) Difference within reported uncertainty; not counted as underperformance. |
| 293 | SGL | 0.8883
±0.0144 | This paper |
| 351 | JOAO | 0.8770
±0.0080 best reported | best at pub: Graph Self-Supervised Learning: A Survey (2021) best today: Learning Graph Augmentations to Learn Graph Representations (2022) Difference within reported uncertainty; not counted as underperformance. |
| 354 | GraphCL | 0.8766
±0.0103 best reported | best at pub: Graph Masked Autoencoders with Transformers (2022) Difference within reported uncertainty; not counted as underperformance. |
| 365 | DGK | 0.8744
±0.0272 | This paper |
| 403 | MLP | 0.8660
±0.0495 | |
| 407 | graph2vec | 0.8644
±0.0125 best reported | best at pub: Graph Masked Autoencoders with Transformers (2022) Difference within reported uncertainty; not counted as underperformance. |
| 444 | GL | 0.8520
±0.0090 best reported | best at pub: On Valid Optimal Assignment Kernels and Applications to Graph Classification (NeurIPS 2016) |
| 471 | EdgePred | 0.8449
±0.0156 | This paper |
| 472 | Sub2Vec | 0.8447
±0.0037 best reported | best at pub: Graph Masked Autoencoders with Transformers (2022) Difference within reported uncertainty; not counted as underperformance. |
| # | Model | Accuracy ↑ | Paper |
|---|---|---|---|
| 1 | WL-MLP | 0.9954 | |
| 2 | GIN | 0.9934 best reported | best at pub: 1-WL Expressiveness Is (Almost) All You Need (2022) |
| 3 | GCN | 0.9727 best reported | best at pub: 1-WL Expressiveness Is (Almost) All You Need (2022) |
| 12 | WL | 0.8590
±0.0010 best reported | best at pub: Propagation Kernels (2014) |
| 104 | GraphCL | 0.8250
±0.0013 best reported | best at pub: Label-invariant Augmentation for Semi-Supervised Graph Classification (NeurIPS 2022) |
| 131 | GraphSAGE | 0.8200
±0.0100 | |
| 141 | SimGRACE | 0.8180
±0.0015 best reported | best at pub: Label-invariant Augmentation for Semi-Supervised Graph Classification (NeurIPS 2022) |
| 182 | SGL | 0.8091
±0.0042 | This paper |
| 200 | GraphMAE | 0.8042
±0.0035 best reported | best at pub: GraphMAE: Self-Supervised Masked Graph Autoencoders (KDD 2022) best today: Self-Supervised Graph Learning via Spectral Bootstrapping and Laplacian-Based Augmentations (2025) Difference within reported uncertainty; not counted as underperformance. |
| 210 | DGK | 0.8031
±0.0046 | This paper |
| 215 | InfoGCL | 0.8020
±0.0060 | This paper |
| 301 | JOAO | 0.7840
±0.0050 best reported | best at pub: Omni-Granular Ego-Semantic Propagation for Self-Supervised Graph Representation Learning (ICML 2022) Difference within reported uncertainty; not counted as underperformance. |
| 326 | EdgePred | 0.7782
±0.0295 best reported | best today: Cross-Domain Graph Data Scaling: A Showcase with Diffusion Models (NeurIPS 2024) |
| 338 | InfoGraph | 0.7750
±0.0074 best reported | best at pub: Graph Masked Autoencoders with Transformers (2022) Difference within reported uncertainty; not counted as underperformance. |
| 406 | graph2vec | 0.7540
±0.0120 best reported | best at pub: InfoGCL: Information-Aware Graph Contrastive Learning (NeurIPS 2021) Difference within reported uncertainty; not counted as underperformance. |
| 557 | Sub2Vec | 0.5976
±0.0035 best reported | best at pub: Graph Masked Autoencoders with Transformers (2022) |
| # | Model | Accuracy ↑ | Paper |
|---|---|---|---|
| 1 | WL-MLP | 0.9792 | |
| 2 | MSH-GNN | 0.9640
±0.0070 | |
| 3 | CoCN | 0.8722
±0.0013 | |
| 6 | graph2vec | 0.8558 best reported | best at pub: CogDL: A Comprehensive Library for Graph Deep Learning (WWW 2021) |
| 22 | GraphMAE | 0.8270
±0.0100 best reported | best at pub: GraphMAE: Self-Supervised Masked Graph Autoencoders (KDD 2022) best today: Revisiting Graph Autoencoders as Implicit Contrastive Learners (KDD 2024) |
| 23 | GCN | 0.8260
±0.0220 best reported | best at pub: Fast Graph Representation Learning with PyTorch Geometric (ICLR 2019) best today: Scalable Expressiveness through Preprocessed Graph Perturbations (2024) |
| 30 | GIN | 0.8220
±0.0210 best reported | best at pub: On the Equivalence between Graph Isomorphism Testing and Function Approximation with GNNs (NeurIPS 2019) best today: Scalable Expressiveness through Preprocessed Graph Perturbations (2024) Difference within reported uncertainty; not counted as underperformance. |
| 33 | DiffPool | 0.8213
±0.0043 best reported | best at pub: CogDL: A Comprehensive Library for Graph Deep Learning (WWW 2021) best today: Scalable Graph Compressed Convolutions (2024) Difference within reported uncertainty; not counted as underperformance. |
| 37 | SimGRACE | 0.8188
±0.0023 best reported | best at pub: Label-invariant Augmentation for Semi-Supervised Graph Classification (NeurIPS 2022) |
| 80 | GraphCL | 0.8108
±0.0017 best reported | best at pub: Label-invariant Augmentation for Semi-Supervised Graph Classification (NeurIPS 2022) |
| 90 | SGL | 0.8080
±0.0023 | This paper |
| 136 | GraphSAGE | 0.7970
±0.0170 | |
| 146 | InfoGraph | 0.7940 best reported | best at pub: CogDL: A Comprehensive Library for Graph Deep Learning (WWW 2021) |
| 151 | MLP | 0.7920
±0.0240 | |
| 153 | WL | 0.7910
±0.0010 best reported | best at pub: On Valid Optimal Assignment Kernels and Applications to Graph Classification (NeurIPS 2016) |
| 248 | JOAO | 0.7535
±0.0093 best reported | best at pub: Spectral Augmentation for Self-Supervised Learning on Graphs (ICLR 2022) |
| 256 | EdgePred | 0.7464
±0.0224 best reported | best today: Cross-Domain Graph Data Scaling: A Showcase with Diffusion Models (NeurIPS 2024) |
| 274 | DGK | 0.7310
±0.0030 best reported | best at pub: Wasserstein Embedding for Graph Learning (ICLR 2020) best today: InfoGCL: Information-Aware Graph Contrastive Learning (NeurIPS 2021) |
| 321 | GL | 0.6470
±0.0010 best reported | best at pub: On Valid Optimal Assignment Kernels and Applications to Graph Classification (NeurIPS 2016) |
| 325 | Sub2Vec | 0.6210
±0.0140 best reported | best at pub: Self-Supervised Representation Learning via Latent Graph Prediction (ICML 2022) |
