NeurIPS 2022

Tree Mover's Distance: Bridging Graph Metrics and Stability of Graph Neural Networks

Ching-Yao Chuang, S. Jegelka

Main figure for Tree Mover's Distance: Bridging Graph Metrics and Stability of Graph Neural Networks

Abstract

Understanding generalization and robustness of machine learning models fundamentally relies on assuming an appropriate metric on the data space. Identifying such a metric is particularly challenging for non-Euclidean data such as graphs. Here, we propose a pseudometric for attributed graphs, the Tree Mover's Distance (TMD), and study its relation to generalization. Via a hierarchical optimal transport problem, TMD reflects the local distribution of node attributes as well as the distribution of local computation trees, which are known to be decisive for the learning behavior of graph neural networks (GNNs). First, we show that TMD captures properties relevant to graph classification: a simple TMD-SVM performs competitively with standard GNNs. Second, we relate TMD to generalization of GNNs under distribution shifts, and show that it correlates well with performance drop under such shifts. The code is available at.

Benchmark Results

Tested on 1 dataset

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
66
TMD L=4
0.9220 ±0.0600
This paper
110
TMD L=3
0.9110 ±0.0540
This paper
197
TMD L=2
0.9000 ±0.0570
This paper
253
TMD L=1
0.8940 ±0.0550
This paper
403
MLP
0.8660 ±0.0495
SOTA performance (not significantly different from the best) Baseline / comparison (this paper) Global context (other papers)