NeurIPS 2025

GraphTOP: Graph Topology-Oriented Prompting for Graph Neural Networks

Xingbo Fu, Zhenyu Lei, Zihan Chen, Binchi Zhang, Chuxu Zhang, Jundong Li

Main figure for GraphTOP: Graph Topology-Oriented Prompting for Graph Neural Networks

Abstract

Graph Neural Networks (GNNs) have revolutionized the field of graph learning by learning expressive graph representations from massive graph data. As a common pattern to train powerful GNNs, the "pre-training, adaptation" scheme first pre-trains GNNs over unlabeled graph data and subsequently adapts them to specific downstream tasks. In the adaptation phase, graph prompting is an effective strategy that modifies input graph data with learnable prompts while keeping pre-trained GNN models frozen. Typically, existing graph prompting studies mainly focus on feature-oriented methods that apply graph prompts to node features or hidden representations. However, these studies often achieve suboptimal performance, as they consistently overlook the potential of topology-oriented prompting, which adapts pre-trained GNNs by modifying the graph topology. In this study, we conduct a pioneering investigation of graph prompting in terms of graph topology. We propose the first Graph Topology-Oriented Prompting (GraphTOP) framework to effectively adapt pre-trained GNN models for downstream tasks. More specifically, we reformulate topology-oriented prompting as an edge rewiring problem within multi-hop local subgraphs and relax it into the continuous probability space through reparameterization while ensuring tight relaxation and preserving graph sparsity. Extensive experiments on five graph datasets under four pre-training strategies demonstrate that our proposed GraphTOP outshines six baselines on multiple node classification datasets. Our code is available at.

Proposed method: GraphTOP

Benchmark Results

Tested on 2 datasets Non-standard metric on 1 dataset

Tables show presented results in global context (best 3 papers + GCN + MLP).

Heterophily Benchmark

#ModelAccuracy ↑Paper
1
UniGAP
0.6375 ±0.0110
2
H2GCN + HalfHop
0.5961 ±0.0100
3
GraphSAGE + HalfHop
0.5897 ±0.0150
12
SAGE
0.5569 ±0.0023
84
MLP
0.5058
200
GraphTOP
0.2743 ±0.0702
This paper
201
GPPT
actual #201 vs paper #201
0.2427 ±0.0374
actual #201 vs paper #201
paper 0.2427 ±0.0374
202
ProNoG
actual #202 vs paper #202
0.2326 ±0.0242
actual #202 vs paper #202
paper 0.2326 ±0.0242
203
Linear Probe
0.2319 ±0.0721
This paper
204
All-In-One
actual #204 vs paper #204
0.2282 ±0.0609
actual #204 vs paper #204
paper 0.2282 ±0.0609

Improvement within reported uncertainty; not highlighted.

paper 0.2282 ±0.0609 Δ at pub 0.0463
205
GraphPrompt
0.2171 ±0.0293
This paper

Minesweeper

Global leaderboard →
Non-default metric. This paper reports Accuracy; the dataset default is ROC-AUC. Values below use Accuracy only.

Sorted by Accuracy. Highlighted rows are from other papers.

#ModelAccuracy ↑Paper
1
GraphTARIF
0.9903 ±0.0019
2
BuNN
0.9899 ±0.0016
3
M3Dphormer
0.9827 ±0.0020
9
GCN
0.9744 ±0.0017
43
MLP
0.8000
51
GraphTOP
0.6825 ±0.0714
This paper
52
Linear Probe
0.6759 ±0.0630
This paper
53
ProNoG
0.6548 ±0.0340
This paper
54
GPPT
0.6544 ±0.0897
This paper
55
All-In-One
0.6382 ±0.0863
This paper
56
GraphPrompt
0.6119 ±0.0350
This paper
SOTA performance (not significantly different from the best) Proposed method (this paper) Baseline / comparison (this paper) Global context (other papers) Best at pub — reported value improved over the best known when published