ICLR 2021

Graph Neural Networks with Learnable Structural and Positional Representations

Vijay Prakash Dwivedi, A. Luu, T. Laurent, Yoshua Bengio, X. Bresson

Main figure for Graph Neural Networks with Learnable Structural and Positional Representations

Abstract

Graph neural networks (GNNs) have become the standard learning architectures for graphs. GNNs have been applied to numerous domains ranging from quantum chemistry, recommender systems to knowledge graphs and natural language processing. A major issue with arbitrary graphs is the absence of canonical positional information of nodes, which decreases the representation power of GNNs to distinguish e.g. isomorphic nodes and other graph symmetries. An approach to tackle this issue is to introduce Positional Encoding (PE) of nodes, and inject it into the input layer, like in Transformers. Possible graph PE are Laplacian eigenvectors. In this work, we propose to decouple structural and positional representations to make easy for the network to learn these two essential properties. We introduce a novel generic architecture which we call LSPE (Learnable Structural and Positional Encodings). We investigate several sparse and fully-connected (Transformer-like) GNNs, and observe a performance increase for molecular datasets, from $1.79\ up to $64.14\ when considering learnable PE for both GNN classes.

Benchmark Results

Tested on 4 datasets 2 baseline values reported too low

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

TU Dortmund

#ModelAccuracy ↑Paper
1
GraphSNN
0.7790 ±0.0360
2
SIN
0.7560 ±0.0320
3
CIN
0.7560 ±0.0370
5
GIN
0.7510 ±0.0510
100
GatedGCN-LSPE
0.4647 ±0.0400
This paper
99
GatedGCN+RWSE
0.4647 ±0.0400
This paper
104
GatedGCN
0.4577 ±0.0491
This paper

OGB

#ModelAP ↑Paper
1
GRPE-Large
0.3150 ±0.0010
2
Graphormer
0.3140
3
Graphormer-FLAG
0.3139 ±0.0032
31
GIN
0.2902 ±0.0017
37
PNA-LSPE
0.2840 ±0.0021
This paper

MoleculeNet

#ModelROC-AUC ↑Paper
1
HIMP
0.8740 ±0.0050
2
GINE w/ VN
0.8720 ±0.0030
3
NaiveGINe+ K=3 w/ VN
0.8700 ±0.0040
14
GCN
actual #14 vs paper #216 202 places worse
0.8400 ±0.0040
best reported
actual #14 vs paper #216 202 places worse
paper 0.7529 ±0.0069
paper 0.7529 ±0.0069 Δ at pub 0.0871
24
GIN
actual #24 vs paper #234 210 places worse
0.8290 ±0.0069
best reported
actual #24 vs paper #234 210 places worse
paper 0.7491 ±0.0051
paper 0.7491 ±0.0051 Δ at pub 0.0799
128
GIN-VN
0.7757 ±0.0062
This paper
129
GatedGCN-LSPE
0.7754 ±0.0032
This paper
134
GCN-VN
0.7746 ±0.0086
This paper
135
GraphSAGE
0.7744 ±0.0038
136
GatedGCN-LapPE
0.7743 ±0.0073
This paper

GNNBenchmark

#ModelAccuracy ↑Paper
1
RandAlign
0.7942 ±0.0007
2
differential encoding
0.7907 ±0.0027
3
PPGT
0.7856 ±0.0070
62
GatedGCN
0.7133 ±0.0039
65
GatedGCN-LSPE
0.7086 ±0.0063
This paper
92
GraphSAGE
0.6690 ±0.0020
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)