Link prediction with hyperbolic geometry

Maksim Kitsak, Ivan Voitalov, Dmitri V. KrioukovPhysical 2019 · DOI

Abstract

Link prediction is a paradigmatic problem in network science with a variety of applications. In latent space network models this problem boils down to ranking pairs of nodes in the order of increasing latent distances between them. The network model with hyperbolic latent spaces has a number of attractive properties suggesting it must be a powerful tool to predict links, but the past work in this direction reported mixed results. Here we perform systematic investigation of the utility of latent hyperbolic geometry for link prediction in networks. We first show that some measures of link prediction accuracy are extremely sensitive with respect to inaccuracies in the inference of latent hyperbolic coordinates of nodes, so that we develop a new coordinate inference method that maximizes the accuracy of such inference. Applying this method to synthetic and real networks, we then find that while there exists a multitude of competitive methods to predict obvious easy-to-predict links, among which hyperbolic link prediction is rarely the best but often competitive, it is the best, often by far, when the task is to predict less obvious missing links that are really hard to predict. These links include missing links in incomplete networks with large fractions of missing links, missing links between nodes that do not have any common neighbors, and missing links between dissimilar nodes at large latent distances. Overall these results suggest that the harder a specific link prediction task is, the more seriously one should consider using hyperbolic geometry.

Link prediction—forecasting whether two nodes in a network should be connected—is a cornerstone of network science, with applications ranging from social tie prediction to drug discovery. Most traditional methods are "local": they assume that if two nodes share many common neighbors, they are likely to be linked.

Conceptual diagram of link prediction as a classification task between connected and unconnected node pairs.

However, local methods fail in "incomplete" networks where many links are missing, or when trying to predict "nonlocal" links (connections between nodes with no mutual friends). Latent space models offer an alternative by embedding nodes into a geometric space where distance represents dissimilarity. Hyperbolic geometry is particularly attractive because it naturally captures the hierarchical, scale-free, and highly clustered nature of real-world networks.

To resolve inconsistencies in previous research, the authors propose a two-step framework:

  1. Hyperbolic Embedding (The HYPERLINK Embedder): A new Maximum Likelihood Estimation (MLE) based method for coordinate inference. To avoid local optima, it uses a nested/layered strategy: first embedding high-degree "core" nodes and then progressively adding lower-degree nodes. It also incorporates variable synthetic noise during optimization to reach a more globally optimal configuration.
  2. Distance-Based Ranking: Once embedded, the probability of a missing link is modeled as a decreasing function of the hyperbolic distance between nodes. Unconnected pairs are ranked by distance, with the closest pairs being the top candidates for missing links.

Metric Sensitivity and the "Hardness" Hypothesis

A key finding of this research is the extreme sensitivity of evaluation metrics. The authors found that AUPR (Area Under Precision-Recall) and Precision are extremely sensitive to even tiny errors in node coordinates. In contrast, AUC (Area Under the ROC Curve) is much more robust. This explains why previous studies, using different metrics, reached conflicting conclusions.

Furthermore, the paper introduces the "Hardness" Hypothesis: Hyperbolic link prediction is rarely the best at predicting "obvious" links (which local methods handle easily). Its true value emerges in difficult scenarios: networks with a high fraction of missing links (up to 90%) and "nonlocal" links. Because the HYPERLINK method uses the global structure of the network to map nodes into a latent space, it can "see" potential connections that local heuristics, like "Common Neighbors," miss.

Comparative Performance

In evaluations on both synthetic Random Hyperbolic Graphs (RHGs) and real-world networks (Human Metabolism, Internet AS-level, PGP Web of Trust), the HYPERLINK method demonstrated significant advantages in challenging tasks.

Performance comparison (AUC, AUPR, Precision) of HYPERLINK against traditional methods across varying network temperatures.

As shown in Figure 5, while many methods perform similarly in terms of AUC at low temperatures (high clustering), the HYPERLINK method maintains superior performance in AUPR and Precision, especially as the network structure becomes more complex. In the most challenging case—predicting nonlocal links in the sparse human metabolic network—the HYPERLINK method outperformed all competitors, including powerful global methods like the Structural Perturbation Method (SPM) and Stochastic Block Models (SBMs).

Conclusion

While hyperbolic geometry might be "overkill" for easy-to-predict links, it is uniquely powerful for "hard" cases. The HYPERLINK embedder provides the high-precision coordinate inference necessary to unlock this potential. Future work aims to develop $O(N)$ embedding methods that maintain this precision, making hyperbolic link prediction viable for massive, billion-node graphs.

Summary updated

BibTeX
@inproceedings{kitsak2019link,
  author = {Maksim Kitsak and Ivan Voitalov and Dmitri V. Krioukov},
  title = {{Link prediction with hyperbolic geometry}},
  booktitle = {Physical},
  year = {2019},
  doi = {10.1103/physrevresearch.2.043113},
}
Figure