# Inconsistency of evaluation metrics in link prediction

arXiv: https://arxiv.org/abs/2402.08893 · HTML: https://mlsanity.com/paper/2402.08893/

## Key facts

- Cited by 2 papers in the map (data through 26 Nov 2026).
- Builds on 3 of its 89 references that are in the map.
- Submitted 14 Feb 2024.

## Builds on (most cited first, 3 of 3)

- [Analysis of the Impact of Negative Sampling on Link Prediction in Knowledge Graphs](https://mlsanity.com/paper/1708.06816/) (2017)
- [Comparing discriminating abilities of evaluation metrics in link prediction](https://mlsanity.com/paper/2401.03673/) (2024)
- [Link Prediction Accuracy on Real-World Networks Under Non-Uniform Missing Edge Patterns](https://mlsanity.com/paper/2401.15140/) (2024)

## Built on by (most cited first, 2 of 2)

- [Uncovering multi-order Popularity and Similarity Mechanisms in Link Prediction by graphlet predictors](https://mlsanity.com/paper/2408.09406/) (2024)
- [Quantifying discriminability of evaluation metrics in link prediction for real networks](https://mlsanity.com/paper/2409.20078/) (2024)

## Abstract (arXiv)

Link prediction is a paradigmatic and challenging problem in network science, which aims to predict missing links, future links and temporal links based on known topology. Along with the increasing number of link prediction algorithms, a critical yet previously ignored risk is that the evaluation metrics for algorithm performance are usually chosen at will. This paper implements extensive experiments on hundreds of real networks and 25 well-known algorithms, revealing significant inconsistency among evaluation metrics, namely different metrics probably produce remarkably different rankings of algorithms. Therefore, we conclude that any single metric cannot comprehensively or credibly evaluate algorithm performance. Further analysis suggests the usage of at least two metrics: one is the area under the receiver operating characteristic curve (AUC), and the other is one of the following three candidates, say the area under the precision-recall curve (AUPR), the area under the precision curve (AUC-Precision), and the normalized discounted cumulative gain (NDCG). In addition, as we have proved the essential equivalence of threshold-dependent metrics, if in a link prediction task, some specific thresholds are meaningful, we can consider any one threshold-dependent metric with those thresholds. This work completes a missing part in the landscape of link prediction, and provides a starting point toward a well-accepted criterion or standard to select proper evaluation metrics for link prediction.
