Revisiting Link Prediction: A Data Perspective

Haitao Mao, Juanhui Li, Harry Shomer, Bingheng Li, Wenqi Fan, Yao Ma, Tong Zhao, Neil Shah, Jiliang Tang

TL;DR

This paper shifts the focus of link prediction from model architecture to a data-centric perspective, identifying three core drivers of link formation: local structural proximity, global structural proximity, and feature proximity. The authors uncover a fundamental "incompatibility" between feature and structural similarity, revealing that modern Graph Neural Networks (GNNs) often fail on links primarily driven by node features rather than graph structure.

What Problem Does This Paper Address?

Link prediction—predicting whether two nodes in a graph (like people in a social network or proteins in a cell) should be connected—is a cornerstone of graph machine learning. However, researchers have long noticed a frustrating reality: there is no "universal" best algorithm. A model that excels at recommending friends on Facebook might fail miserably at predicting drug interactions.

The authors argue that this performance disparity exists because different datasets rely on different underlying mechanisms for link formation. While recent research has focused on making GNNs more complex to capture structural patterns, it has largely ignored how these models interact with different types of data. Specifically, the paper addresses why advanced GNNs for Link Prediction (GNN4LP) sometimes underperform compared to simple baselines on certain types of edges.

Methods

The authors investigate link prediction through a "lens" of three fundamental data factors:

  1. Local Structural Proximity (LSP): The "friend of a friend" effect (e.g., Common Neighbors).
  2. Global Structural Proximity (GSP): Long-range connectivity (e.g., the Katz index).
  3. Feature Proximity (FP): Similarity in node attributes (e.g., two users liking the same music).

They use a two-pronged approach:

  • Empirical Analysis: They use simple heuristic algorithms representing each factor to analyze how much they overlap and where they succeed.
  • Theoretical Latent Space Model: They propose a mathematical framework to prove how these factors bound the probability of link formation.

To solve the identified issues, they propose a Decoupled SEAL architecture. Unlike the original SEAL model, which mixes node features and structural labels in a single GNN, the decoupled version processes them through separate channels to prevent conflicting signals.

Datasets

The study utilizes a wide array of benchmarks to capture diverse link formation mechanisms:

  • Academic/Citation: Cora, CiteSeer, PubMed, and OGBL-Collab.
  • Biological/Chemical: OGBL-PPA and OGBL-DDI.
  • New Benchmarks: The authors introduced POWER (an electrical grid graph dominated by global structure) and PHOTO (an Amazon co-purchase graph dominated by both local structure and features) to fill gaps in existing benchmarks.
  • Others: Reddit, Flicker, USAir, and various biological networks (E.coli, Yeast) are discussed in the appendix.

Key Insights and Ideas

  • GSP is the "Backup": Theoretical and empirical results show that Global Structural Proximity (GSP) only becomes significantly effective when Local Structural Proximity (LSP) is deficient—essentially, when the graph is too sparse for "common neighbor" logic to work.
  • The Incompatibility Principle: One of the most striking findings is that high feature similarity and high local structural similarity rarely coexist on the same edge. As shown in their analysis, if a link is formed because two nodes are very similar (FP), they are less likely to share many common neighbors (LSP), and vice versa.
  • GNN Vulnerability: Because of this incompatibility, modern GNNs—which are heavily biased toward learning structural patterns—systematically fail on edges where feature proximity is the primary driver. They essentially "overlook" feature-based links in favor of structural ones.
Figure 1: Distribution disparity of Common Neighbors across datasets.
Figure 1: Shows how different domains have vastly different structural densities, with DDI and PPA having many common neighbors, while PubMed is much sparser.

Key Results

  • Heuristic Overlap: The authors found very low overlap between top-ranked edges predicted by structural heuristics vs. feature heuristics (often less than 1%), confirming they capture unique information.
  • GNN4LP vs. Vanilla GNNs: Advanced models like BUDDY and NCNC consistently beat vanilla GraphSAGE on structurally-dominated edges but actually lost to it on feature-dominated edges.
  • Decoupled SEAL Success: By separating feature and structural learning, the proposed Decoupled SEAL achieved gains of up to 1.03% on the large OGBL-Collab dataset and showed a significantly reduced performance drop on feature-dominated node pairs.
  • The Power of Katz: On the newly introduced POWER dataset, the classic Katz heuristic (a 70-year-old algorithm) outperformed modern deep learning models, highlighting the importance of matching the model to the data's dominant factor.
Figure 3: Overlapping ratio between top-ranked edges on different heuristic algorithms. Diagonals are the comparison between two heuristics within the same factor, while others compare heuristics from different factors. FP is ignored on OGBL-DDI and OGBL-PPA due to no or weak feature quality. MRR is selected as the metric. More results on hit@10 metric can be found in Appendix D.
Figure 3: Demonstrates the low overlap between GSP, LSP, and FP, proving that these factors provide unique, non-redundant perspectives on link formation.

Limitations and Future Work

  • Theoretical Assumptions: The current latent space model treats feature proximity as a noise parameter rather than an adaptively combined feature, which the authors acknowledge as a simplification.
  • Identifying Factors in the Wild: In real-world scenarios, we don't have "test edges" to tell us which factor dominates a dataset. The authors suggest using validation sets for this purpose, but more robust methods are needed.
  • Temporal Dynamics: The study focuses on static graphs. Extending this data-centric view to Network Evolution (how links form and break over time) is a key next step.
  • Fairness: The authors note that structural bias in GNNs could lead to unfair recommendations (e.g., "introverts" with few friends receiving lower-quality suggestions), suggesting a need for fairness-aware link prediction designs.

Summary updated

BibTeX
@inproceedings{mao2024revisiting,
  author = {Haitao Mao and Juanhui Li and Harry Shomer and Bingheng Li and Wenqi Fan and Yao Ma and Tong Zhao and Neil Shah and Jiliang Tang},
  title = {{Revisiting Link Prediction: A Data Perspective}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=8Ur2xmuw7w},
}
Figure