ICLR 2022

Agent-based Graph Neural Networks

Karolis Martinkus, P. Papp, Benedikt Schesch, Roger Wattenhofer

Main figure for Agent-based Graph Neural Networks

Abstract

We present a novel graph neural network we call AgentNet, which is designed specifically for graph-level tasks. AgentNet is inspired by sublinear algorithms, featuring a computational complexity that is independent of the graph size. The architecture of AgentNet differs fundamentally from the architectures of traditional graph neural networks. In AgentNet, some trained neural agents intelligently walk the graph, and then collectively decide on the output. We provide an extensive theoretical analysis of AgentNet: We show that the agents can learn to systematically explore their neighborhood and that AgentNet can distinguish some structures that are even indistinguishable by 2-WL. Moreover, AgentNet is able to separate any two graphs which are sufficiently different in terms of subgraphs. We confirm these theoretical results with synthetic experiments on hard-to-distinguish graphs and real-world graph classification tasks. In both cases, we compare favorably not only to standard GNNs but also to computationally more expensive GNN extensions.

Benchmark Results

Tested on 5 datasets 1 baseline value 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
35
AgentNet
0.9360 ±0.0860
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
63
GCN
0.9220 ±0.0440
140
PPGN
0.9060 ±0.0870
This paper
162
CRaWl
0.9040 ±0.0710
This paper
248
1-AgentNet
0.8940 ±0.1090
This paper
294
1-2-3 GNN
actual #294 vs paper #294
0.8880 ±0.0700
actual #294 vs paper #294
paper 0.8880 ±0.0700
prev best: Provably Powerful Graph Networks (NeurIPS 2019)

Improvement within reported uncertainty; not highlighted.

paper 0.8880 ±0.0700 Δ at pub 0.0270
403
MLP
0.8660 ±0.0495
#ModelAccuracy ↑Paper
1
OEPG
0.9630 ±0.0090
2
MSH-GNN
0.9580 ±0.0090
3
GNN-AK+
0.9480 ±0.0080
4
AgentNet
0.9420 ±0.0120
This paper
7
ESAN
0.9330 ±0.0130
This paper
9
CRaWl
0.9280 ±0.0220
This paper
13
GIN
0.9240 ±0.0250
This paper
41
DropGIN
0.8990 ±0.0170
This paper
74
1-AgentNet
0.7790 ±0.0300
This paper
84
GCN
0.7060 ±0.0369

OGB

#ModelROC-AUC ↑Paper
1
Multi-RF Fusion with Multi-GNN Blending
0.8476 ±0.0002
2
HyperFusion
0.8475 ±0.0003
3
PAS+FPs
0.8420 ±0.0015
9
GatedGCN
0.8090 ±0.0160
89
AgentNet
0.7833 ±0.0069
This paper
101
ESAN
0.7800 ±0.0142
This paper
109
GIN
actual #109 vs paper #221 112 places worse
0.7780 ±0.0182
best reported
actual #109 vs paper #221 112 places worse
paper 0.7558 ±0.0140

Difference within reported uncertainty; not counted as underperformance.

paper 0.7558 ±0.0140 Δ at pub 0.0222
110
CRaWl
0.7778 ±0.0087
This paper
146
GIN+virtual node
actual #146 vs paper #150 4 places worse
0.7710 ±0.0150
best reported
actual #146 vs paper #150 4 places worse
paper 0.7707 ±0.0149

Difference within reported uncertainty; not counted as underperformance.

paper 0.7707 ±0.0149 Δ at pub 0.0003
160
GraphSAGE
0.7690 ±0.0136
#ModelAP ↑Paper
1
GRPE-Large
0.3150 ±0.0010
2
Graphormer
0.3140
3
Graphormer-FLAG
0.3139 ±0.0032
9
CRaWl
0.2986 ±0.0025
This paper
31
GIN
actual #31 vs paper #90 59 places worse
0.2902 ±0.0017
best reported
actual #31 vs paper #90 59 places worse
paper 0.2266 ±0.0028
paper 0.2266 ±0.0028 Δ at pub 0.0636
53
GIN+virtual node
0.2703 ±0.0023
This paper
56
GCN
0.2690 ±0.0020
59
ESAN
0.2664 ±0.0027
This paper
72
AgentNet
0.2549 ±0.0027
This paper
#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
24
AgentNet
0.7233 ±0.0062
This paper
33
GIN
actual #33 vs paper #37 4 places worse
0.7037 ±0.0107
best reported
actual #33 vs paper #37 4 places worse
paper 0.6892 ±0.0100

Difference within reported uncertainty; not counted as underperformance.

paper 0.6892 ±0.0100 Δ today 0.0145
35
GIN+virtual node
0.7037 ±0.0107
This paper
37
CRaWl
0.7025 ±0.0052
This paper
38
GCN
0.6857 ±0.0061
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)