IJCAI 2020

Multi-hop Attention Graph Neural Networks

Guangtao Wang, Rex Ying, Jing Huang, J. Leskovec

Main figure for Multi-hop Attention Graph Neural Networks

Abstract

Self-attention mechanism in graph neural networks (GNNs) led to state-of-the-art performance on many graph representation learning tasks. Currently, at every layer, a node computes attention independently for each of its graph neighbors. However, such attention mechanism is limited as it does not consider nodes that are not connected by an edge but can provide important network context information. Here we propose Multi-hop Attention Graph Neural Network (MAGNA), a principled way to incorporate multi-hop context information into every layer of GNN attention computation. MAGNA diffuses the attention scores across the network, which increases the ``receptive field'' for every layer of the GNN. Unlike previous approaches, MAGNA uses a diffusion prior on attention values, to efficiently account for all paths between the pair of not-connected nodes. We demonstrate theoretically and experimentally that MAGNA captures large-scale structural information in every layer, and has a low-pass effect that eliminates noisy high-frequency information from the graph. Experimental results on node classification as well as knowledge graph completion benchmarks show that MAGNA achieves state-of-the-art results: MAGNA achieves up to $5.7\

Benchmark Results

Tested on 5 datasets 8 baseline values reported too low

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

Classic

#ModelAccuracy ↑Paper
1
GraphSAGE+CNA
0.9418 ±0.0033
2
GCN+CNA
0.9366 ±0.0048
3
TransformerConv
0.9350 ±0.0058
21
GCN
0.9004
55
JKNet
actual #55 vs paper #599 544 places worse
0.8870
best reported
actual #55 vs paper #599 544 places worse
paper 0.8110
paper 0.8110 Δ at pub 0.0760
108
APPNP
actual #108 vs paper #269 161 places worse
0.8787
best reported
actual #108 vs paper #269 161 places worse
paper 0.8430 ±0.0020
paper 0.8430 ±0.0020 Δ at pub 0.0340 Δ today 0.0357
208
MAGNA
0.8540 ±0.0060
This paper
347
Diff-GCN
0.8360 ±0.0020
This paper
356
Diffusion-GCN (PPR)
0.8360 ±0.0020
This paper
367
DualGCN
0.8350
This paper
422
GAT (hidden dimension = 512)
0.8310 ±0.0050
This paper
592
Cheby
0.8120
This paper
724
MLP
0.7768
#ModelAccuracy ↑Paper
1
CNA
0.9575 ±0.0058
2
IS-GIB
0.9390 ±0.0187
3
EERM
0.9112 ±0.0145
20
APPNP
actual #20 vs paper #550 530 places worse
0.8142 ±0.0026
best reported
actual #20 vs paper #550 530 places worse
paper 0.7110 ±0.0040
paper 0.7110 ±0.0040 Δ at pub 0.0940 Δ today 0.1032
44
GCN
0.8033 ±0.0088
62
JKNet
actual #62 vs paper #630 568 places worse
0.7920
best reported
actual #62 vs paper #630 568 places worse
paper 0.6980
paper 0.6980 Δ at pub 0.0940
254
MAGNA
0.7370 ±0.0050
This paper
284
Diff-GCN
0.7340 ±0.0030
This paper
288
Diffusion-GCN (PPR)
0.7340 ±0.0030
This paper
350
MLP
0.7289 ±0.0010
377
DualGCN
0.7260
This paper
612
Cheby
actual #612 vs paper #630 18 places worse
0.7020 ±0.0100
best reported
actual #612 vs paper #630 18 places worse
paper 0.6980
paper 0.6980 Δ at pub 0.0040
#ModelAccuracy ↑Paper
1
LGTL
0.9518 ±0.0011
2
MixHop (LO)
0.9513 ±0.0038
3
GraphSAGE (LO)
0.9511 ±0.0036
17
APPNP
actual #17 vs paper #482 465 places worse
0.9355 ±0.0060
best reported
actual #17 vs paper #482 465 places worse
paper 0.7970 ±0.0030
18
GCN
0.9296 ±0.0015
24
JKNet
actual #24 vs paper #668 644 places worse
0.9160
best reported
actual #24 vs paper #668 644 places worse
paper 0.7810
paper 0.7810 Δ at pub 0.1350
210
MLP
0.8690 ±0.0074
351
MAGNA
0.8140 ±0.0020
This paper
451
DualGCN
0.8000
This paper
492
Diff-GCN
0.7960 ±0.0040
This paper
650
Cheby
actual #650 vs paper #806 156 places worse
0.7840 ±0.0040
best reported
actual #650 vs paper #806 156 places worse
paper 0.7440
paper 0.7440 Δ at pub 0.0400

Knowledge Graphs

#ModelMRR ↑Paper
1
FedSage
0.8426 ±0.0026
2
FED-PUB
0.8348 ±0.0025
3
FedAvg
0.8252 ±0.0023
7
GCN
0.8171 ±0.0030
39
MAGNA + DistMult
0.5020
This paper
42
ROTH
0.4960
This paper
44
OTE
0.4910
This paper
46
AutoSF
0.4900
This paper
48
QuatE
0.4880
This paper
62
RotatE
actual #62 vs paper #62
0.4770
best reported
actual #62 vs paper #62
paper 0.4760
paper 0.4760 Δ at pub 0.0010 Δ today 0.0010
64
CoKE
0.4750
This paper
68
TuckER
0.4700
This paper
69
SACN
0.4700
This paper
79
DistMult
actual #79 vs paper #87 8 places worse
0.4550
best reported
actual #79 vs paper #87 8 places worse
paper 0.4300
best at pub: Knowledge Graphs (AAAI 2017)
paper 0.4300 Δ today 0.0250
81
A2N
0.4500
This paper
84
ComplEx
0.4400
This paper
89
ConvE
0.4300
This paper
100
TransE
actual #100 vs paper #101 1 place worse
0.2310
best reported
actual #100 vs paper #101 1 place worse
paper 0.2260
#ModelMRR ↑Paper
1
sum, Msg_r^3, f(t)=0
0.8500
2
sum, Msg_r^3, f(t)=t
0.8440
3
PNA, Msg_r^1, f(t)=0
0.8010
21
MAGNA + DistMult
0.3690
This paper
23
QuatE
0.3660
This paper
27
OTE
0.3610
This paper
28
CoKE
0.3610
This paper
30
AutoSF
0.3600
This paper
33
DistMult
actual #33 vs paper #92 59 places worse
0.3580
best reported
actual #33 vs paper #92 59 places worse
paper 0.2410
best at pub: Knowledge Graphs (AAAI 2017)
paper 0.2410 Δ today 0.1170
32
TuckER
0.3580
This paper
45
SACN
0.3500
This paper
47
ComplEx
actual #47 vs paper #91 44 places worse
0.3460
best reported
actual #47 vs paper #91 44 places worse
paper 0.2470
best at pub: Knowledge Graphs (AAAI 2017)
paper 0.2470 Δ today 0.0990
51
ROTH
0.3440
This paper
58
RotatE
0.3380
This paper
67
TransE
actual #67 vs paper #79 12 places worse
0.3300
best reported
actual #67 vs paper #79 12 places worse
paper 0.2940
71
ConvE
0.3250
This paper
78
A2N
0.3170
This paper
89
R-GCN
actual #89 vs paper #89
0.2490
actual #89 vs paper #89
paper 0.2490
prev best: Knowledge Graphs (AAAI 2017)
paper 0.2490 Δ at pub 0.0010
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) Best at pub — reported value improved over the best known when published Best today — OK at publication; today's leaderboard best is elsewhere