Skip to main content
QUICK REVIEW

[Paper Review] Linkless Link Prediction via Relational Distillation

Zhichun Guo, William Shiao|arXiv (Cornell University)|Oct 11, 2022
Advanced Graph Neural NetworksComputer Science8 citations
TL;DR

This paper proposes Linkless Link Prediction (LLP), a relational knowledge distillation framework that transfers graph-structural knowledge from GNNs to MLPs for link prediction. By matching rank-ordered and distributional relationships between anchor nodes and context nodes, LLP boosts MLP performance to surpass teacher GNNs on 7/8 benchmarks and achieves 70.68× faster inference on OGB datasets.

ABSTRACT

Graph Neural Networks (GNNs) have shown exceptional performance in the task of link prediction. Despite their effectiveness, the high latency brought by non-trivial neighborhood data dependency limits GNNs in practical deployments. Conversely, the known efficient MLPs are much less effective than GNNs due to the lack of relational knowledge. In this work, to combine the advantages of GNNs and MLPs, we start with exploring direct knowledge distillation (KD) methods for link prediction, i.e., predicted logit-based matching and node representation-based matching. Upon observing direct KD analogs do not perform well for link prediction, we propose a relational KD framework, Linkless Link Prediction (LLP), to distill knowledge for link prediction with MLPs. Unlike simple KD methods that match independent link logits or node representations, LLP distills relational knowledge that is centered around each (anchor) node to the student MLP. Specifically, we propose rank-based matching and distribution-based matching strategies that complement each other. Extensive experiments demonstrate that LLP boosts the link prediction performance of MLPs with significant margins, and even outperforms the teacher GNNs on 7 out of 8 benchmarks. LLP also achieves a 70.68x speedup in link prediction inference compared to GNNs on the large-scale OGB dataset.

Motivation & Objective

  • To address the performance-latency trade-off in link prediction by combining GNN accuracy with MLP efficiency.
  • To explore whether direct knowledge distillation (logit or representation matching) can effectively transfer GNN knowledge to MLPs for link prediction.
  • To develop a relational distillation framework that captures topology-aware relational knowledge beyond individual node pairs.
  • To enable high-speed, low-latency inference for link prediction in real-world applications like recommendation systems.

Proposed method

  • Proposes a relational distillation framework, LLP, that focuses on knowledge centered at each anchor node rather than individual links or node representations.
  • Introduces rank-based matching to preserve the relative ordering of context nodes' link probabilities, ensuring top-K recommendations remain accurate.
  • Employs distribution-based matching to align the full probability distribution of link predictions from teacher and student models.
  • Uses a dual-loss training objective combining supervised learning, rank-based matching, and distribution-based matching for comprehensive knowledge transfer.
  • Samples context nodes within a fixed hop distance from each anchor node to limit computational cost while preserving relational structure.
  • Applies a learnable temperature scaling and margin-based loss in the rank-based matching to handle similar nodes within the same hop.

Experimental results

Research questions

  • RQ1Can direct knowledge distillation methods (logit or representation matching) effectively transfer GNN knowledge to MLPs for link prediction?
  • RQ2Why do standard distillation approaches fail for link prediction, and what relational inductive bias is missing?
  • RQ3Can preserving the relative ranking and probability distribution of links from a GNN teacher improve MLP performance?
  • RQ4Does relational distillation enable MLPs to outperform GNNs in link prediction while maintaining low inference latency?

Key findings

  • LLP outperforms the teacher GNN on 7 out of 8 benchmark datasets in link prediction performance, measured by Hits@20.
  • On the OGB-Products dataset, LLP achieves a 70.68× speedup in inference time compared to GNNs while maintaining state-of-the-art performance.
  • The proposed rank-based matching loss ($\mathcal{L}_{\textsf{LLP}\_R}$) consistently outperforms ListNet, a standard ranking loss, across all datasets.
  • Distribution-based matching complements rank-based matching, with ablation studies showing both components are essential for optimal performance.
  • Even with larger MLPs (2–4× wider than the teacher), LLP inference remains significantly faster than GNNs, with 18.9× and 147× speedups on Collab and Citation2, respectively.

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.