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

Ching-Yao Chuang, Stefanie Jegelka
10/4/2022
cs.LGstat.ML
gnn

Official code: chingyaoc/TMD (37 stars, Python, MIT, last commit 2023-08-04).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

chingyaoc/TMDOfficial100%
MIT

NeurIPS 2022: Tree Mover’s Distance: Bridging Graph Metrics and Stability of Graph Neural Networks

373PythonOct 3, 20223 years agoMIT

Similar Papers

Cite this paper

@article{chuang2022tree,
  title  = {Tree Mover's Distance: Bridging Graph Metrics and Stability of Graph Neural Networks},
  author = {Ching-Yao Chuang and Stefanie Jegelka},
  year   = {2022},
  eprint = {2210.01906},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.01906}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2210.01906.svg)](https://codeofpaper.com/paper/2210.01906)

Discussion