Graph Neural Networks for Link Prediction with Subgraph Sketching
Benjamin Paul Chamberlain, Sergey Shirobokov, Emanuele Rossi, Fabrizio Frasca, Thomas Markovich, Nils Yannick Hammerla, Michael M. Bronstein, Max Hansmire
Abstract
Many Graph Neural Networks (GNNs) perform poorly compared to simple heuristics on Link Prediction (LP) tasks. This is due to limitations in expressive power such as the inability to count triangles (the backbone of most LP heuristics) and because they can not distinguish automorphic nodes (those having identical structural roles). Both expressiveness issues can be alleviated by learning link (rather than node) representations and incorporating structural features such as triangle counts. Since explicit link representations are often prohibitively expensive, recent works resorted to subgraph-based methods, which have achieved state-of-the-art performance for LP, but suffer from poor efficiency due to high levels of redundancy between subgraphs. We analyze the components of subgraph GNN (SGNN) methods for link prediction. Based on our analysis, we propose a novel full-graph GNN called ELPH (Efficient Link Prediction with Hashing) that passes subgraph sketches as messages to approximate the key components of SGNNs without explicit subgraph construction. ELPH is provably more expressive than Message Passing GNNs (MPNNs). It outperforms existing SGNN models on many standard LP benchmarks while being orders of magnitude faster. However, it shares the common GNN limitation that it is only efficient when the dataset fits in GPU memory. Accordingly, we develop a highly scalable model, called BUDDY, which uses feature precomputation to circumvent this limitation without sacrificing predictive performance. Our experiments show that BUDDY also outperforms SGNNs on standard LP benchmarks while being highly scalable and faster than ELPH.
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.
45 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
- 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
- Pure Message Passing Can Estimate Common Neighbor for Link Prediction cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
- Pure Message Passing Can Estimate Common Neighbor for Link Prediction cites Distance Encoding: Design Provably More Powerful Neural Networks for Graph Representation Learning
- Pure Message Passing Can Estimate Common Neighbor for Link Prediction cites Neural Bellman-Ford Networks: A General Graph Neural Network Framework for Link Prediction
- Pure Message Passing Can Estimate Common Neighbor for Link Prediction cites Neural Common Neighbor with Completion for Link Prediction
- Pure Message Passing Can Estimate Common Neighbor for Link Prediction cites Can Graph Neural Networks Count Substructures?
- Distance Encoding: Design Provably More Powerful Neural Networks for Graph Representation Learning cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
- Distance Encoding: Design Provably More Powerful Neural Networks for Graph Representation Learning cites Can Graph Neural Networks Count Substructures?
- Neural Bellman-Ford Networks: A General Graph Neural Network Framework for Link Prediction cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
- Neural Common Neighbor with Completion for Link Prediction cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
- Neural Common Neighbor with Completion for Link Prediction cites Neural Bellman-Ford Networks: A General Graph Neural Network Framework for Link Prediction
- Can Graph Neural Networks Count Substructures? cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
- 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
- Revisiting Link Prediction: a data perspective cites Neural Common Neighbor with Completion for Link Prediction
Cited by top-tier papers45
- Towards Foundation Models for Knowledge Graph ReasoningMikhail Galkin, Xinyu Yuan, Hesham Mostafa, Jian Tang et al.ICLR 2024 · 95 citations
- Neural Common Neighbor with Completion for Link PredictionXiyuan Wang, Haotong Yang, Muhan ZhangICLR 2024 · 89 citations
- Revisiting Link Prediction: a data perspectiveHaitao Mao, Juanhui Li, Harry Shomer, Bingheng Li et al.ICLR 2024 · 40 citations
- Pure Message Passing Can Estimate Common Neighbor for Link PredictionKaiwen Dong, Zhichun Guo, Nitesh V. ChawlaNeurIPS 2024 · 30 citations
- Diffusion-based Negative Sampling on Graphs for Link PredictionTrung-Kien Nguyen, Yuan FangWWW 2024 · 27 citations
Builds on15
- Open Graph Benchmark: Datasets for Machine Learning on GraphsWeihua Hu, Matthias Fey, Marinka Zitnik, Yuxiao Dong et al.NeurIPS 2020 · 3,935 citations
- Understanding over-squashing and bottlenecks on graphs via curvatureJake Topping, Francesco Di Giovanni, Benjamin Paul Chamberlain, Xiaowen Dong et al.ICLR 2022 · 628 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
- Can Graph Neural Networks Count Substructures?Zhengdao Chen, Lei Chen, Soledad Villar, Joan BrunaNeurIPS 2020 · 392 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
- Learning Scalable Structural Representations for Link Prediction with Bloom SignaturesTianyi Zhang, Haoteng Yin, Rongzhe Wei, Pan Li et al.WWW 2024 · 7 citations
- Hashing-Accelerated Graph Neural Networks for Link PredictionWei Wu, Bin Li, Chuan Luo, Wolfgang NejdlWWW 2021 · 49 citations
- MIMO-LP: A Multi-Input Multi-Output Framework for Subgraph-based Link PredictionYixin Song, Guangchi Liu, Xiangyu Xu, Shaofeng Li et al.ICML 2026
- Spectral Basis Learning for Expressive Graph Neural Networks in Link PredictionNiloofar Azizi, Nils M. Kriege, Nicholas J. A. Harvey, Horst BischofAAAI 2026
- Algorithm and System Co-design for Efficient Subgraph-based Graph Representation LearningHaoteng Yin, Muhan Zhang, Yanbang Wang, Jianguo Wang et al.VLDB 2022 · 47 citations
