Range-aware Positional Encoding via High-order Pretraining: Theory and Practice

Viet Anh Nguyen, Nhat-Khang Ngô, T. Hy

Main figure for Range-aware Positional Encoding via High-order Pretraining: Theory and Practice

Abstract

Unsupervised pre-training on vast amounts of graph data is critical in real-world applications wherein labeled data is limited, such as molecule properties prediction or materials science. Existing approaches pre-train models for specific graph domains, neglecting the inherent connections within networks. This limits their ability to transfer knowledge to various supervised tasks. In this work, we propose a novel pre-training strategy on graphs that focuses on modeling their multi-resolution structural information, allowing us to capture global information of the whole graph while preserving local structures around its nodes. We extend the work of Wave}let Positional Encoding (WavePE) from (Ngo et al., 2023) by pretraining a High-Order Permutation-Equivariant Autoencoder (HOPE-WavePE) to reconstruct node connectivities from their multi-resolution wavelet signals. Unlike existing positional encodings, our method is designed to become sensitivity to the input graph size in downstream tasks, which efficiently capture global structure on graphs. Since our approach relies solely on the graph structure, it is also domain-agnostic and adaptable to datasets from various domains, therefore paving the wave for developing general graph structure encoders and graph foundation models. We theoretically demonstrate that there exists a parametrization of such architecture that it can predict the output adjacency up to arbitrarily low error. We also evaluate HOPE-WavePE on graph-level prediction tasks of different areas and show its superiority compared to other methods.

Benchmark Results

Tested on 4 datasets 7 baseline values reported too low

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
26
CIN
actual #26 vs paper #48 22 places worse
0.9440 ±0.0370
best reported
actual #26 vs paper #48 22 places worse
paper 0.9270 ±0.0610

Difference within reported uncertainty; not counted as underperformance.

paper 0.9270 ±0.0610 Δ at pub 0.0170
36
GIN + HOPE-WavePE
0.9360 ±0.0580
This paper
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
64
GSN
0.9220 ±0.0750
This paper
63
GCN
0.9220 ±0.0440
139
PPGNs
0.9060 ±0.0870
This paper
164
WL kernel
0.9040 ±0.0570
This paper
244
Natural GN
0.8940 ±0.0160
This paper
403
MLP
0.8660 ±0.0495
425
DGCNN
actual #425 vs paper #425
0.8583 ±0.0116
best reported
actual #425 vs paper #425
paper 0.8580 ±0.0180

Difference within reported uncertainty; not counted as underperformance.

paper 0.8580 ±0.0180 Δ at pub 0.0003 Δ today 0.0003
467
PK
actual #467 vs paper #695 228 places worse
0.8450 ±0.0060
best reported
actual #467 vs paper #695 228 places worse
paper 0.7600 ±0.0270
best at pub: Propagation Kernels (2014)
paper 0.7600 ±0.0270 Δ at pub 0.0850
492
IGN
0.8390 ±0.1300
This paper
584
GK (k=3)
0.8140 ±0.0170
This paper
643
RWK
0.7920 ±0.0210
This paper
#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
10
WL kernel
0.8600 ±0.0180
This paper
19
CIN
actual #19 vs paper #47 28 places worse
0.8530 ±0.0120
best reported
actual #19 vs paper #47 28 places worse
paper 0.8360 ±0.0140

Difference within reported uncertainty; not counted as underperformance.

paper 0.8360 ±0.0140 Δ at pub 0.0170 Δ today 0.0170
30
GIN + HOPE-WavePE
0.8450 ±0.0200
This paper
50
GSN
0.8350 ±0.0200
This paper
64
PPGNs
0.8320 ±0.0110
This paper
82
SIN
actual #82 vs paper #91 9 places worse
0.8280 ±0.0220
best reported
actual #82 vs paper #91 9 places worse
paper 0.8270 ±0.0210

Difference within reported uncertainty; not counted as underperformance.

paper 0.8270 ±0.0210 Δ at pub 0.0010
109
Natural GN
0.8240 ±0.0130
This paper
131
GraphSAGE
0.8200 ±0.0100
373
DGCNN
actual #373 vs paper #424 51 places worse
0.7650 ±0.0190
best reported
actual #373 vs paper #424 51 places worse
paper 0.7440 ±0.0050

Difference within reported uncertainty; not counted as underperformance.

paper 0.7440 ±0.0050 Δ at pub 0.0210
428
IGN
actual #428 vs paper #430 2 places worse
0.7433 ±0.0271
best reported
actual #428 vs paper #430 2 places worse
paper 0.7430 ±0.0270

Difference within reported uncertainty; not counted as underperformance.

paper 0.7430 ±0.0270 Δ at pub 0.0003
540
DCNN
actual #540 vs paper #566 26 places worse
0.6261
best reported
actual #540 vs paper #566 26 places worse
paper 0.5660 ±0.0100

GNNBenchmark

#ModelAccuracy ↑Paper
1
Schrödinger
0.9913 ±0.0004
2
CNN
0.9907 ±0.0007
3
MPNN
0.9895 ±0.0006
11
GatedGCN
actual #11 vs paper #90 79 places worse
0.9855 ±0.0002
best reported
actual #11 vs paper #90 79 places worse
paper 0.9734 ±0.0014
paper 0.9734 ±0.0014 Δ at pub 0.0121
30
Graph MLP-Mixer
actual #30 vs paper #30
0.9835 ±0.0010
actual #30 vs paper #30
paper 0.9835 ±0.0010

Improvement within reported uncertainty; not highlighted.

paper 0.9835 ±0.0010 Δ at pub 0.0003
32
GIN
actual #32 vs paper #110 78 places worse
0.9833 ±0.0011
best reported
actual #32 vs paper #110 78 places worse
paper 0.9649 ±0.0025
best at pub: Graph-Coupled Oscillator Networks (ICML 2022)
paper 0.9649 ±0.0025 Δ at pub 0.0074 Δ today 0.0184
49
GPS + HOPE-WavePE
0.9815 ±0.0011
This paper
63
GPS + none
0.9805
This paper
64
GPS + (RWSE/LapPE)
0.9805 ±0.0013
This paper
86
GAT
actual #86 vs paper #123 37 places worse
0.9755 ±0.0003
best reported
actual #86 vs paper #123 37 places worse
paper 0.9553 ±0.0020
paper 0.9553 ±0.0020 Δ at pub 0.0202
95
GraphSAGE
0.9731 ±0.0010
126
MLP
0.9534 ±0.0014
#ModelAccuracy ↑Paper
1
RandAlign
0.7942 ±0.0007
2
differential encoding
0.7907 ±0.0027
3
PPGT
0.7856 ±0.0070
30
Graph MLP-Mixer
actual #30 vs paper #43 13 places worse
0.7396 ±0.0033
best reported
actual #30 vs paper #43 13 places worse
paper 0.7246 ±0.0036
paper 0.7246 ±0.0036 Δ at pub 0.0150
39
GPS + HOPE-WavePE
0.7301 ±0.0081
This paper
49
GPS + (RWSE/LapPE)
0.7230 ±0.0036
This paper
59
GPS + none
0.7176 ±0.0001
This paper
62
GatedGCN
actual #62 vs paper #91 29 places worse
0.7133 ±0.0039
best reported
actual #62 vs paper #91 29 places worse
paper 0.6731 ±0.0031
paper 0.6731 ±0.0031 Δ at pub 0.0402
92
GraphSAGE
0.6690 ±0.0020
101
GAT
actual #101 vs paper #114 13 places worse
0.6611 ±0.0098
best reported
actual #101 vs paper #114 13 places worse
paper 0.6422 ±0.0045
paper 0.6422 ±0.0045 Δ at pub 0.0189
109
GIN
actual #109 vs paper #129 20 places worse
0.6510 ±0.0050
best reported
actual #109 vs paper #129 20 places worse
paper 0.5526 ±0.0153
paper 0.5526 ±0.0153 Δ at pub 0.0984
126
MLP
0.5634 ±0.0018
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)