Skip to main content
QUICK REVIEW

[Paper Review] Link Prediction without Graph Neural Networks

Zexi Huang, Mert Kosan|arXiv (Cornell University)|May 23, 2023
Advanced Graph Neural NetworksComputer Science3 citations
TL;DR

This paper proposes Gelato, a topology-centric framework for link prediction that bypasses Graph Neural Networks (GNNs) by learning an enhanced graph structure from node attributes and applying a topological heuristic (Autocovariance). Gelato achieves 145% higher accuracy, 11× faster training, 6,000× faster inference, and half the parameters compared to state-of-the-art GNNs, while addressing class imbalance via N-pair loss on an unbiased training set.

ABSTRACT

Link prediction, which consists of predicting edges based on graph features, is a fundamental task in many graph applications. As for several related problems, Graph Neural Networks (GNNs), which are based on an attribute-centric message-passing paradigm, have become the predominant framework for link prediction. GNNs have consistently outperformed traditional topology-based heuristics, but what contributes to their performance? Are there simpler approaches that achieve comparable or better results? To answer these questions, we first identify important limitations in how GNN-based link prediction methods handle the intrinsic class imbalance of the problem -- due to the graph sparsity -- in their training and evaluation. Moreover, we propose Gelato, a novel topology-centric framework that applies a topological heuristic to a graph enhanced by attribute information via graph learning. Our model is trained end-to-end with an N-pair loss on an unbiased training set to address class imbalance. Experiments show that Gelato is 145% more accurate, trains 11 times faster, infers 6,000 times faster, and has less than half of the trainable parameters compared to state-of-the-art GNNs for link prediction.

Motivation & Objective

  • To investigate the limitations of GNN-based link prediction in handling class imbalance due to graph sparsity.
  • To challenge the assumption that GNNs are necessary for state-of-the-art performance in link prediction.
  • To develop a simpler, faster, and more accurate alternative to GNNs by leveraging topology-centric learning.
  • To improve training and evaluation practices in link prediction by using unbiased training sets and N-pair loss.
  • To demonstrate that attribute-enhanced topology learning can surpass GNNs in both accuracy and efficiency.

Proposed method

  • Gelato learns a graph structure that integrates node attributes into the topology using end-to-end graph learning.
  • It applies the Autocovariance heuristic—a topological similarity measure—on the learned graph for link prediction.
  • The model is trained with an N-pair loss on a balanced, unbiased set of positive and negative edges to mitigate class imbalance.
  • The framework avoids message-passing and GNNs entirely, focusing on attribute-to-topology integration.
  • Graph learning is optimized end-to-end to minimize the N-pair loss, directly aligning the learned structure with link prediction performance.
  • The method uses a differentiable graph construction process that preserves attribute information while enhancing topological structure.

Experimental results

Research questions

  • RQ1How do class imbalance and biased training/evaluation practices affect the reported performance of GNN-based link prediction models?
  • RQ2Can a topology-centric framework outperform GNN-based models in link prediction without using message-passing or node embeddings?
  • RQ3What is the impact of using an unbiased training set and N-pair loss on link prediction performance and generalization?
  • RQ4How does attribute-enhanced graph learning compare to GNNs in terms of accuracy, training speed, and inference efficiency?
  • RQ5Can a simpler, non-GNN approach achieve state-of-the-art results in link prediction by directly learning a topology-aware graph from attributes?

Key findings

  • Gelato achieves 145% higher accuracy than the best-performing GNN-based method, Neo-GNN, on benchmark datasets.
  • Gelato trains 11 times faster than Neo-GNN, demonstrating superior training efficiency.
  • Inference with Gelato is 6,000 times faster than Neo-GNN, with even greater gains on larger datasets like Computers (25,000× speedup).
  • Gelato uses less than half the number of trainable parameters compared to state-of-the-art GNNs, indicating higher parameter efficiency.
  • The use of N-pair loss with an unbiased training set significantly improves model generalization and reduces bias from class imbalance.
  • The topology-centric design of Gelato outperforms attribute-centric GNNs, suggesting that link prediction benefits more from enhanced topology than from learned node representations.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.