ICML 2023

Graph Positional and Structural Encoder

Renming Liu, Semih Cantürk, Olivier Lapointe-Gagn'e, Vincent L'etourneau, Guy Wolf, D. Beaini, Ladislav Rampášek

Main figure for Graph Positional and Structural Encoder

Abstract

Positional and structural encodings (PSE) enable better identifiability of nodes within a graph, rendering them essential tools for empowering modern GNNs, and in particular graph Transformers. However, designing PSEs that work optimally for all graph prediction tasks is a challenging and unsolved problem. Here, we present the Graph Positional and Structural Encoder (GPSE), the first-ever graph encoder designed to capture rich PSE representations for augmenting any GNN. GPSE learns an efficient common latent representation for multiple PSEs, and is highly transferable: The encoder trained on a particular graph dataset can be used effectively on datasets drawn from markedly different distributions and modalities. We show that across a wide range of benchmarks, GPSE-enhanced models can significantly outperform those that employ explicitly computed PSEs, and at least match their performance in others. Our results pave the way for the development of foundational pre-trained graph encoders for extracting positional and structural information, and highlight their potential as a more powerful and efficient alternative to explicitly computed PSEs and existing self-supervised pre-training approaches. Our framework and pre-trained models are publicly available at https://github.com/G-Taxonomy-Workgroup/GPSE. For convenience, GPSE has also been integrated into the PyG library to facilitate downstream applications.

Proposed method: MPNN

Benchmark Results

Tested on 2 datasets

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

MoleculeNet

#ModelRMSE ↓Paper
1
SE(3)-I MPPH
0.3540 ±0.0530
2
ECFP-4 + RF
0.5600 ±0.0660
3
GPSE + GPS
0.6820
This paper
4
GPS
0.7430
This paper
69
GIN
2.3460 ±0.1220
#ModelRMSE ↓Paper
1
MemGNN
0.5560 ±0.0230
2
ProtoS-L2
0.5800 ±0.0160
3
ProtoW-L2
0.6040 ±0.0140
5
GPS + GPSE
0.6430
This paper
7
GCN
0.6550 ±0.0360
11
GPS+LapPE
0.6620
This paper
12
GPS + RWSE
0.6710
This paper
22
MPNN
actual #22 vs paper #22
0.7120
actual #22 vs paper #22
paper 0.7120
prev best: Memory-Based Graph Networks (ICLR 2020)

Improvement within reported uncertainty; not highlighted.

paper 0.7120 Δ at pub 0.0030
SOTA performance (not significantly different from the best) Proposed method (this paper) Baseline / comparison (this paper) Global context (other papers)