OOD Link Prediction Generalization Capabilities of Message-Passing GNNs in Larger Test Graphs
Abstract
This work provides the first theoretical study on the ability of graph Message Passing Neural Networks (gMPNNs) -- such as Graph Neural Networks (GNNs) -- to perform inductive out-of-distribution (OOD) link prediction tasks, where deployment (test) graph sizes are larger than training graphs. We first prove non-asymptotic bounds showing that link predictors based on permutation-equivariant (structural) node embeddings obtained by gMPNNs can converge to a random guess as test graphs get larger. We then propose a theoretically-sound gMPNN that outputs structural pairwise (2-node) embeddings and prove non-asymptotic bounds showing that, as test graphs grow, these embeddings converge to embeddings of a continuous function that retains its ability to predict links OOD. Empirical results on random graphs show agreement with our theoretical results.
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.
24 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Does Invariant Graph Learning via Environment Augmentation Learn Invariance? cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
- Does Invariant Graph Learning via Environment Augmentation Learn Invariance? cites FLOOD: A Flexible Invariant Learning Framework for Out-of-Distribution Generalization on Graphs
- Towards Foundation Models for Knowledge Graph Reasoning cites Distance Encoding: Design Provably More Powerful Neural Networks for Graph Representation Learning
- Towards Foundation Models for Knowledge Graph Reasoning cites Neural Bellman-Ford Networks: A General Graph Neural Network Framework for Link Prediction
- Distance Encoding: Design Provably More Powerful Neural Networks for Graph Representation Learning cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
- Neural Bellman-Ford Networks: A General Graph Neural Network Framework for Link Prediction cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
- Rethinking Graph Transformers with Spectral Attention cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
- Rethinking Graph Transformers with Spectral Attention cites Distance Encoding: Design Provably More Powerful Neural Networks for Graph Representation Learning
- Revisiting Link Prediction: a data perspective cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
- Revisiting Link Prediction: a data perspective cites Neural Bellman-Ford Networks: A General Graph Neural Network Framework for Link Prediction
- Graph Neural Networks with Learnable Structural and Positional Representations cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
- Graph Neural Networks with Learnable Structural and Positional Representations cites Distance Encoding: Design Provably More Powerful Neural Networks for Graph Representation Learning
- Graph Neural Networks with Learnable Structural and Positional Representations cites Rethinking Graph Transformers with Spectral Attention
Cited by top-tier papers24
- Deciphering Spatio-Temporal Graph Forecasting: A Causal Lens and TreatmentYutong Xia, Yuxuan Liang, Haomin Wen, Xu Liu et al.NeurIPS 2023 · 110 citations
- Towards Foundation Models for Knowledge Graph ReasoningMikhail Galkin, Xinyu Yuan, Hesham Mostafa, Jian Tang et al.ICLR 2024 · 95 citations
- Does Invariant Graph Learning via Environment Augmentation Learn Invariance?Yongqiang Chen, Yatao Bian, Kaiwen Zhou, Binghui Xie et al.NeurIPS 2023 · 71 citations
- Revisiting Link Prediction: a data perspectiveHaitao Mao, Juanhui Li, Harry Shomer, Bingheng Li et al.ICLR 2024 · 40 citations
- FLOOD: A Flexible Invariant Learning Framework for Out-of-Distribution Generalization on GraphsYang Liu, Xiang Ao, Fuli Feng, Yunshan Ma et al.KDD 2023 · 40 citations
Builds on18
- Open Graph Benchmark: Datasets for Machine Learning on GraphsWeihua Hu, Matthias Fey, Marinka Zitnik, Yuxiao Dong et al.NeurIPS 2020 · 3,935 citations
- Rethinking Graph Transformers with Spectral AttentionDevin Kreuzer, Dominique Beaini, William L. Hamilton, Vincent Létourneau et al.NeurIPS 2021 · 854 citations
- Neural Bellman-Ford Networks: A General Graph Neural Network Framework for Link PredictionZhaocheng Zhu, Zuobai Zhang, Louis-Pascal A. C. Xhonneux, Jian TangNeurIPS 2021 · 546 citations
- Graph Neural Networks with Learnable Structural and Positional RepresentationsVijay Prakash Dwivedi, Anh Tuan Luu, Thomas Laurent, Yoshua Bengio et al.ICLR 2022 · 464 citations
- Distance Encoding: Design Provably More Powerful Neural Networks for Graph Representation LearningPan Li, Yanbang Wang, Hongwei Wang, Jure LeskovecNeurIPS 2020 · 391 citations
Related papers
- Generalization Analysis of Message Passing Neural Networks on Large Random GraphsSohir Maskey, Ron Levie, Yunseok Lee, Gitta KutyniokNeurIPS 2022 · 73 citations
- A Structure-aware Invariant Learning Framework for Node-level Graph OOD GeneralizationRuiwen Yuan, Yongqiang Tang, Wensheng ZhangKDD 2025 · 4 citations
- Pure Message Passing Can Estimate Common Neighbor for Link PredictionKaiwen Dong, Zhichun Guo, Nitesh V. ChawlaNeurIPS 2024 · 30 citations
- Graph Neural Networks are Inherently Good Generalizers: Insights by Bridging GNNs and MLPsChenxiao Yang, Qitian Wu, Jiahua Wang, Junchi YanICLR 2023 · 16 citations
- Generalization and Representational Limits of Graph Neural NetworksVikas K. Garg, Stefanie Jegelka, Tommi S. JaakkolaICML 2020 · 363 citations
