Lune

NeurIPS2022Top-tier venue

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

Ching-Yao Chuang, Stefanie Jegelka

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 https://github.com/chingyaoc/TMD .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

29 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Pairwise Alignment Improves Graph Domain Adaptation cites From Local Structures to Size Generalization in Graph Neural Networks
  • From Local Structures to Size Generalization in Graph Neural Networks cites Generalization and Representational Limits of Graph Neural Networks
  • GFT: Graph Foundation Model with Transferable Tree Vocabulary cites Generalization and Representational Limits of Graph Neural Networks
  • On the Stability of Expressive Positional Encodings for Graphs cites Generalization and Representational Limits of Graph Neural Networks
  • On the Stability of Expressive Positional Encodings for Graphs cites How Neural Networks Extrapolate: From Feedforward to Graph Neural Networks
  • On the Stability of Expressive Positional Encodings for Graphs cites Graph Neural Networks with Learnable Structural and Positional Representations
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers29

  1. GFT: Graph Foundation Model with Transferable Tree VocabularyZehong Wang, Zheyuan Zhang, Nitesh V. Chawla, Chuxu Zhang et al.NeurIPS 2024 · 108 citations
  2. Fine-grained Expressivity of Graph Neural NetworksJan Böker, Ron Levie, Ningyuan Huang, Soledad Villar et al.NeurIPS 2023 · 34 citations
  3. On the Stability of Expressive Positional Encodings for GraphsYinan Huang, William Lu, Joshua Robinson, Yu Yang et al.ICLR 2024 · 32 citations
  4. Curvature Filtrations for Graph Generative Model EvaluationJoshua Southern, Jeremy Wayland, Michael M. Bronstein, Bastian RieckNeurIPS 2023 · 30 citations
  5. Pairwise Alignment Improves Graph Domain AdaptationShikun Liu, Deyu Zou, Han Zhao, Pan LiICML 2024 · 27 citations

Builds on11

  1. Spectral Clustering with Graph Neural Networks for Graph PoolingFilippo Maria Bianchi, Daniele Grattarola, Cesare AlippiICML 2020 · 528 citations
  2. Graph Neural Networks with Learnable Structural and Positional RepresentationsVijay Prakash Dwivedi, Anh Tuan Luu, Thomas Laurent, Yoshua Bengio et al.ICLR 2022 · 464 citations
  3. How Neural Networks Extrapolate: From Feedforward to Graph Neural NetworksKeyulu Xu, Mozhi Zhang, Jingling Li, Simon Shaolei Du et al.ICLR 2021 · 364 citations
  4. Generalization and Representational Limits of Graph Neural NetworksVikas K. Garg, Stefanie Jegelka, Tommi S. JaakkolaICML 2020 · 363 citations
  5. From Local Structures to Size Generalization in Graph Neural NetworksGilad Yehudai, Ethan Fetaya, Eli A. Meirom, Gal Chechik et al.ICML 2021 · 167 citations

Related papers

  1. Generalization, Expressivity, and Universality of Graph Neural Networks on Attributed GraphsLevi Rauchwerger, Stefanie Jegelka, Ron LevieICLR 2025
  2. Mitigating Dynamic Graph Distribution Shifts via Mixture of Variational ExpertsQianyu Song, Chao Li, Yeyu Yan, Hui Zhou et al.WWW 2026
  3. From Distribution to Geometry: Stable Graph Generalization via Invariant BarycentersHangyuan Du, Rong Wang, Weihong Zhang, Lu Bai et al.ICML 2026
  4. Graph Out-of-Distribution Generalization via Causal InterventionQitian Wu, Fan Nie, Chenxiao Yang, Tianyi Bao et al.WWW 2024 · 58 citations
  5. Template based Graph Neural Network with Optimal Transport DistancesCédric Vincent-Cuaz, Rémi Flamary, Marco Corneli, Titouan Vayer et al.NeurIPS 2022 · 35 citations
Dusk over the sea between two cliffs drawn in fine vertical lines