arXiv:2610.25686cs.SIOct 2026

Manuscript Offprint

arXiv:2610.25686

A Theoretical Perspective on Link Prediction Heuristics

Jiajie Shi, David A. Meyer

Abstract

In network analysis, nodes with different degrees are usually weighted differently in tasks such as link prediction. For example, two individuals connected to the same high-degree node (e.g., a celebrity) are often considered less likely to know each other than if they share a low-degree connection. In this paper, we theoretically justify the reasoning behind this heuristic using a graph generation model. In this model, nodes are embedded in a latent metric space, and edges are more likely to form between nearby nodes. We analytically derive degree-based weighting schemes for commonly used link prediction and similarity measures. In particular, we identify the optimal weighting scheme for the Common Neighbors index and extend our analysis to other popular heuristics, including the graph distance. Our theoretical findings align with previous empirical observations, and we further validate them through experiments on both synthetic and real-world networks.

1 INTRODUCTION

Link prediction is an important problem in the fields of network science and graph analysis. Given a graph without extra node features, the key for prediction is to assess the similarity of pairs, which quantifies the resemblance between two nodes. Many heuristic measures have been suggested to measure similarity, such as common neighbors [Newman, 2001], preferential attachment [Barabási et al., 2002], and the Katz index [Katz, 1953].

The number of common neighbors of two nodes, defined as the number of nodes connected to both, has frequently served as a historical benchmark for link prediction, as well as a similarity measure. Empirical findings indicate that assigning lower weights to common nodes with higher degrees brings better link prediction results [Adamic and Adar, 2003, Zhou et al., 2009]. Recent studies also applied different weight schemes to other similarity indices such as the number of l-hop paths [Kovács et al., 2019] and the Katz index [Aziz et al., 2020]. This raises fundamental questions:

Why degree weighting matters in link prediction? And how should we weighting them?

While many link prediction heuristics are well-supported by empirical evidence, there is far less theoretical understanding of their effectiveness. In particular, the role of degree-based weighting remains heuristic in nature. This paper provides a principled justification for such techniques through analysis in a latent space model.

Geometry has demonstrated the potential to help understand complex networks. Latent space models, particularly in Euclidean space, have been used to model network structures, as Sarkar et al. [Sarkar et al., 2011], for example, derived error bounds for some popular link prediction indices within the Euclidean random graph model. However, the Euclidean graph models fail to capture key features of real networks, such as the small world phenomenon, scale-freeness, and power law degree distributions, and also does not explain why some of the link prediction methods outperform others. Krioukov et al. [Krioukov et al., 2010] introduced a hyperbolic random graph (HRG) that can replicate the majority of the aforementioned properties, utilizing a relatively straightforward approach in hyperbolic space. Further studies on hyperbolic random graphs have also found properties that largely align with empirical findings on real-world networks, such as the existence of a giant component [Bode et al., 2013], diameter [Kiwi and Mitsche, 2014, Friedrich and Krohmer, 2018], average distance [Abdullah et al., 2015], separators and treewidth [Bläsius et al., 2016], clique number [Friedrich and Krohmer, 2015], etc. These findings motivate the use of hyperbolic models for analyzing complex networks, as they reflect the structural patterns commonly observed in practice.

References (38)