Graph Neural Networks for Link Prediction with Subgraph Sketching

Benjamin Paul Chamberlain, Sergey Shirobokov, Emanuele Rossi, Fabrizio Frasca, Thomas Markovich +3 more
9/30/2022
cs.LGcs.IR
gnn

Official code: melifluos/subgraph-sketching (103 stars, Python, Apache-2.0, last commit 2023-12-29).

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).

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

code for Graph Neural Networks for Link Prediction with Subgraph Sketching https://arxiv.org/abs/2209.15486

10319PythonFeb 23, 20232 years agoApache-2.0

Similar Papers

Cite this paper

@article{chamberlain2022graph,
  title  = {Graph Neural Networks for Link Prediction with Subgraph Sketching},
  author = {Benjamin Paul Chamberlain and Sergey Shirobokov and Emanuele Rossi and Fabrizio Frasca and Thomas Markovich and Nils Hammerla and Michael M. Bronstein and Max Hansmire},
  year   = {2022},
  eprint = {2209.15486},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2209.15486}
}

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/2209.15486.svg)](https://codeofpaper.com/paper/2209.15486)

Discussion