WWW 2025

Graph Self-Supervised Learning with Learnable Structural and Positional Encodings

Asiri Wijesinghe, Hao Zhu, Piotr Koniusz

Main figure for Graph Self-Supervised Learning with Learnable Structural and Positional Encodings

Abstract

Traditional Graph Self-Supervised Learning (GSSL) struggles to capture complex structural properties well. This limitation stems from two main factors: (1) the inadequacy of conventional Graph Neural Networks (GNNs) in representing sophisticated topological features, and (2) the focus of self-supervised learning solely on final graph representations. To address these issues, we introduce GenHopNet, a GNN framework that integrates a $k$-hop message-passing scheme, enhancing its ability to capture local structural information without explicit substructure extraction. We theoretically demonstrate that GenHopNet surpasses the expressiveness of the classical Weisfeiler-Lehman (WL) test for graph isomorphism. Furthermore, we propose a structural- and positional-aware GSSL framework that incorporates topological information throughout the learning process. This approach enables the learning of representations that are both sensitive to graph topology and invariant to specific structural and feature augmentations. Comprehensive experiments on graph classification datasets, including those designed to test structural sensitivity, show that our method consistently outperforms the existing approaches and maintains computational efficiency. Our work significantly advances GSSL's capability in distinguishing graphs with similar local structures but different global topologies.

Benchmark Results

Tested on 9 datasets 11 baseline values reported too low Non-standard metric on 3 datasets

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

TU Dortmund

#ModelAccuracy ↑Paper
1
MSH-GNN
0.9910 ±0.0030
2
ID-GNN+BEC
0.9830 ±0.0360
3
SupCosine
0.9830 ±0.0250
39
GIN*
actual #39 vs paper #237 198 places worse
0.9330 ±0.0290
best reported
actual #39 vs paper #237 198 places worse
paper 0.8940 ±0.0560

Difference within reported uncertainty; not counted as underperformance.

paper 0.8940 ±0.0560 Δ at pub 0.0390
46
StructPosGSSL-SA
0.9300 ±0.0530
This paper
55
PATCHY-SAN
0.9260 ±0.0420
This paper
63
GCN
0.9220 ±0.0440
91
StructPosGSSL-FA
0.9150 ±0.0250
This paper
109
GALOPA
0.9110 ±0.0120
This paper
146
P-WL
actual #146 vs paper #146
0.9051 ±0.0134
best reported
actual #146 vs paper #146
paper 0.9050 ±0.0130

Difference within reported uncertainty; not counted as underperformance.

paper 0.9050 ±0.0130 Δ at pub 0.0001
155
GCS
actual #155 vs paper #157 2 places worse
0.9045 ±0.0081
best reported
actual #155 vs paper #157 2 places worse
paper 0.9040 ±0.0080

Difference within reported uncertainty; not counted as underperformance.

paper 0.9040 ±0.0080 Δ at pub 0.0005
175
RetGK
0.9030 ±0.0110
This paper
176
GA2C
0.9030 ±0.0030
This paper
199
MVGRL
actual #199 vs paper #213 14 places worse
0.8993 ±0.0616
best reported
actual #199 vs paper #213 14 places worse
paper 0.8970 ±0.0110

Difference within reported uncertainty; not counted as underperformance.

paper 0.8970 ±0.0110 Δ at pub 0.0023
204
G3N
0.8990 ±0.0800
This paper
285
GraphCL+HTML
0.8890 ±0.0180
This paper
301
CapsGNN
actual #301 vs paper #402 101 places worse
0.8867 ±0.0688
best reported
actual #301 vs paper #402 101 places worse
paper 0.8660 ±0.0150

Difference within reported uncertainty; not counted as underperformance.

paper 0.8660 ±0.0150 Δ at pub 0.0207
353
WL-PM
0.8770 ±0.0080
This paper
354
GraphCL
actual #354 vs paper #396 42 places worse
0.8766 ±0.0103
best reported
actual #354 vs paper #396 42 places worse
paper 0.8680 ±0.0130

Difference within reported uncertainty; not counted as underperformance.

paper 0.8680 ±0.0130 Δ at pub 0.0086
388
WL-OA
actual #388 vs paper #466 78 places worse
0.8715 ±0.0182
best reported
actual #388 vs paper #466 78 places worse
paper 0.8450 ±0.0170
paper 0.8450 ±0.0170 Δ at pub 0.0265
403
MLP
0.8660 ±0.0495
#ModelAccuracy ↑Paper
1
WL-MLP
0.9954
2
GIN
actual #2 vs paper #91 89 places worse
0.9934
best reported
actual #2 vs paper #91 89 places worse
paper 0.8270 ±0.0170
paper 0.8270 ±0.0170 Δ at pub 0.1664
3
GCN
0.9727
7
WL-PM
0.8640 ±0.0020
This paper
8
WL-OA
0.8610 ±0.0020
This paper
18
P-WL
0.8540 ±0.0010
This paper
31
RetGK
0.8450 ±0.0020
This paper
79
StructPosGSSL-SA
0.8290 ±0.0380
This paper
106
StructPosGSSL-FA
0.8250 ±0.0350
This paper
104
GraphCL
actual #104 vs paper #325 221 places worse
0.8250 ±0.0013
best reported
actual #104 vs paper #325 221 places worse
paper 0.7790 ±0.0040
paper 0.7790 ±0.0040 Δ at pub 0.0460
118
G3N
0.8230 ±0.0520
This paper
131
GraphSAGE
0.8200 ±0.0100
189
GA2C
0.8060 ±0.0030
This paper
279
GraphCL+HTML
0.7870 ±0.0070
This paper
288
PATCHY-SAN
0.7860 ±0.0190
This paper
302
CapsGNN
actual #302 vs paper #305 3 places worse
0.7840 ±0.0160
best reported
actual #302 vs paper #305 3 places worse
paper 0.7830 ±0.0130

Difference within reported uncertainty; not counted as underperformance.

paper 0.7830 ±0.0130 Δ at pub 0.0010
328
GALOPA
0.7780 ±0.0030
This paper
344
GCS
actual #344 vs paper #344
0.7737 ±0.0030
best reported
actual #344 vs paper #344
paper 0.7730 ±0.0030

Difference within reported uncertainty; not counted as underperformance.

paper 0.7730 ±0.0030 Δ at pub 0.0007
356
MVGRL
0.7700 ±0.0080
This paper
#ModelAccuracy ↑Paper
1
MSH-GNN
0.9410 ±0.0330
2
GRDL
0.8260 ±0.0120
3
GMN
0.8225
32
GIN
actual #32 vs paper #235 203 places worse
0.7880 ±0.0410
best reported
actual #32 vs paper #235 203 places worse
paper 0.7510 ±0.0510

Difference within reported uncertainty; not counted as underperformance.

paper 0.7510 ±0.0510 Δ at pub 0.0370
67
SAGE
0.7726 ±0.0228
89
GALOPA
0.7690 ±0.0010
This paper
117
WL-OA
actual #117 vs paper #303 186 places worse
0.7640 ±0.0040
best reported
actual #117 vs paper #303 186 places worse
paper 0.7420 ±0.0040
paper 0.7420 ±0.0040 Δ at pub 0.0220
126
CapsGNN
actual #126 vs paper #360 234 places worse
0.7630 ±0.0360
best reported
actual #126 vs paper #360 234 places worse
paper 0.7310 ±0.0480

Difference within reported uncertainty; not counted as underperformance.

paper 0.7310 ±0.0480 Δ at pub 0.0320
139
RetGK
actual #139 vs paper #398 259 places worse
0.7620 ±0.0050
best reported
actual #139 vs paper #398 259 places worse
paper 0.7230 ±0.0060
paper 0.7230 ±0.0060 Δ at pub 0.0390
150
GA2C
0.7600 ±0.0010
This paper
149
MLP
0.7600 ±0.0320
167
StructPosGSSL-SA
0.7580 ±0.0260
This paper
212
P-WL
actual #212 vs paper #453 241 places worse
0.7531 ±0.0073
best reported
actual #212 vs paper #453 241 places worse
paper 0.7040 ±0.0010
paper 0.7040 ±0.0010 Δ at pub 0.0491
215
StructPosGSSL-FA
0.7530 ±0.0290
This paper
237
PATCHY-SAN
actual #237 vs paper #360 123 places worse
0.7510 ±0.0330
best reported
actual #237 vs paper #360 123 places worse
paper 0.7310 ±0.0240

Difference within reported uncertainty; not counted as underperformance.

paper 0.7310 ±0.0240 Δ at pub 0.0200
245
GCS
actual #245 vs paper #245
0.7502 ±0.0081
best reported
actual #245 vs paper #245
paper 0.7500 ±0.0030

Difference within reported uncertainty; not counted as underperformance.

paper 0.7500 ±0.0030 Δ at pub 0.0002
262
GraphCL+HTML
0.7490 ±0.0030
This paper
265
GraphCL
actual #265 vs paper #294 29 places worse
0.7489 ±0.0065
best reported
actual #265 vs paper #294 29 places worse
paper 0.7440 ±0.0040

Difference within reported uncertainty; not counted as underperformance.

paper 0.7440 ±0.0040 Δ at pub 0.0049
336
WL-PM
0.7360 ±0.0020
This paper
337
G3N
0.7360 ±0.0530
This paper
#ModelAccuracy ↑Paper
1
WL-MLP
0.9792
2
MSH-GNN
0.9640 ±0.0070
3
CoCN
0.8722 ±0.0013
23
GCN
0.8260 ±0.0220
30
GIN
actual #30 vs paper #111 81 places worse
0.8220 ±0.0210
best reported
actual #30 vs paper #111 81 places worse
paper 0.8020 ±0.0190

Difference within reported uncertainty; not counted as underperformance.

paper 0.8020 ±0.0190 Δ at pub 0.0200
50
WL-PM
0.8150 ±0.0050
This paper
80
GraphCL
actual #80 vs paper #289 209 places worse
0.8108 ±0.0017
best reported
actual #80 vs paper #289 209 places worse
paper 0.7140 ±0.0120
paper 0.7140 ±0.0120 Δ at pub 0.0968
82
RetGK
0.8100 ±0.0030
This paper
94
WL-OA
0.8070 ±0.0010
This paper
104
MVGRL
actual #104 vs paper #227 123 places worse
0.8048 ±0.0029
best reported
actual #104 vs paper #227 123 places worse
paper 0.7600 ±0.0120
paper 0.7600 ±0.0120 Δ at pub 0.0448
140
CapsGNN
actual #140 vs paper #140
0.7962 ±0.0091
best reported
actual #140 vs paper #140
paper 0.7960 ±0.0290

Difference within reported uncertainty; not counted as underperformance.

paper 0.7960 ±0.0290 Δ at pub 0.0002 Δ today 0.0002
151
MLP
0.7920 ±0.0240
219
StructPosGSSL-SA
0.7650 ±0.0360
This paper
227
StructPosGSSL-FA
0.7610 ±0.0330
This paper
275
PATCHY-SAN
actual #275 vs paper #279 4 places worse
0.7310 ±0.0270
best reported
actual #275 vs paper #279 4 places worse
paper 0.7260 ±0.0220

Difference within reported uncertainty; not counted as underperformance.

paper 0.7260 ±0.0220 Δ at pub 0.0050

OGB

ogbg-molhiv

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
MPNNs
0.9800
2
non-convex counterparts
0.9600
3
StructPosGSSL-FA
0.7900 ±0.0243
This paper
4
StructPosGSSL-SA
0.7880 ±0.0227
This paper
5
GraphSNN
0.7851 ±0.0170
This paper
6
Policy-Learn
0.7849 ±0.0101
This paper
7
GSN
0.7799 ±0.0100
This paper
8
DS-GNN (EGO+)
0.7740 ±0.0219
This paper
9
DSS-GNN (EGO+)
0.7678 ±0.0166
This paper
10
GIN+VN
0.7520 ±0.0130
This paper

ogbg-molpcba

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

Sorted by Accuracy. Highlighted rows are from other papers.

#ModelAccuracy ↑Paper
1
StructPosGSSL-FA
0.2745 ±0.0195
This paper
2
StructPosGSSL-SA
0.2710 ±0.0165
This paper
3
GIN+VN
0.2703 ±0.0023
This paper
5
GraphSNN
0.2496 ±0.0150
This paper
9
GCN
0.2020 ±0.0024
#ModelAccuracy ↑Paper
1
A-NLSF
0.8149 ±0.0067
2
differential encoding
0.8096 ±0.0029
3
MPNN + VN + NoPE
0.8055 ±0.0038
16
GatedGCN
0.7531 ±0.0083
29
StructPosGSSL-FA
0.7090 ±0.0186
This paper
30
StructPosGSSL-SA
0.7081 ±0.0145
This paper
31
GraphSNN
0.7066 ±0.0165
This paper
34
GIN+VN
0.7037 ±0.0107
This paper
33
GIN
0.7037 ±0.0107

MoleculeNet

Tox21

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
GraphSNN
actual #1 vs paper #44 43 places worse
0.9224 ±0.0059
best reported
actual #1 vs paper #44 43 places worse
paper 0.6540 ±0.0071
best at pub: Union Subgraph Neural Networks (AAAI 2023)
paper 0.6540 ±0.0071 Δ at pub 0.2684
2
UnionSNN
0.9176 ±0.0085
3
GIN
0.9174 ±0.0095
14
GCN
0.9010 ±0.0077
27
DSS-GNN (EGO+)
0.7795 ±0.0040
This paper
28
Policy-Learn
0.7736 ±0.0060
This paper
33
DS-GNN (EGO+)
0.7639 ±0.0118
This paper
42
StructPosGSSL-FA
0.6700 ±0.0220
This paper
43
StructPosGSSL-SA
0.6650 ±0.0260
This paper
44
GIN+VN
0.6618 ±0.0068
This paper

GNNBenchmark

#ModelAccuracy ↑Paper
8
GCN
actual #8 vs paper #72 64 places worse
1.0000
best reported
actual #8 vs paper #72 64 places worse
paper 0.1000
best at pub: GNNBenchmark (JMLR 2023)
paper 0.1000 Δ at pub 0.9000
1
PPGN
1.0000
2
RW-AgentNet
1.0000
3
AgentNet
1.0000
35
GraphSAGE
0.9993 ±0.0047
40
GIN
actual #40 vs paper #72 32 places worse
0.9933 ±0.0133
best reported
actual #40 vs paper #72 32 places worse
paper 0.1000
best at pub: GNNBenchmark (JMLR 2023)
paper 0.1000 Δ at pub 0.8933
42
StructPosGSSL-SA
0.9860 ±0.0280
This paper
44
StructPosGSSL-FA
0.9830 ±0.0250
This paper
46
3WLGNN
0.9780 ±0.1090
This paper
48
3-GCN
0.9570 ±0.1480
This paper
71
GCN-RNI
0.1600
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 result worse than the best known when published (best reported in green)