ICML 2024

--Leman at the margin: When more expressivity matters

B. J. Franks, Christopher Morris, A. Velingker, F. Geerts

Main figure for --Leman at the margin: When more expressivity matters

Abstract

The Weisfeiler--Leman algorithm ($1$-WL) is a well-studied heuristic for the graph isomorphism problem. Recently, the algorithm has played a prominent role in understanding the expressive power of message-passing graph neural networks (MPNNs) and being effective as a graph kernel. Despite its success, $1$-WL faces challenges in distinguishing non-isomorphic graphs, leading to the development of more expressive MPNN and kernel architectures. However, the relationship between enhanced expressivity and improved generalization performance remains unclear. Here, we show that an architecture's expressivity offers limited insights into its generalization performance when viewed through graph isomorphism. Moreover, we focus on augmenting $1$-WL and MPNNs with subgraph information and employ classical margin theory to investigate the conditions under which an architecture's increased expressivity aligns with improved generalization performance. In addition, we show that gradient flow pushes the MPNN's weights toward the maximum margin solution. Further, we introduce variations of expressive $1$-WL-based kernel and MPNN architectures with provable generalization properties. Our empirical study confirms the validity of our theoretical findings.

Benchmark Results

Tested on 2 datasets

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
39
GIN
0.9330 ±0.0290
403
MLP
0.8660 ±0.0495
502
1-WL
0.8370 ±0.0210
This paper
514
1-WL_F
0.8330 ±0.0200
This paper
542
1-WLOA
0.8260 ±0.0200
This paper
#ModelAccuracy ↑Paper
1
GMN
0.7866
2
MemGNN
0.7550
3
TFGW SP
0.7510 ±0.0500
17
GatedGCN
0.7000 ±0.0494
26
GraphSAGE
0.6817 ±0.0545
124
MLP
0.5583 ±0.0352
197
1-WL_F
0.3790 ±0.0180
This paper
214
1-WL
0.3410 ±0.0170
This paper
220
1-WLOA
0.3230 ±0.0170
This paper
SOTA performance (not significantly different from the best) Baseline / comparison (this paper) Global context (other papers)