Lune

WWW2024Top-tier venue

Using Model Calibration to Evaluate Link Prediction in Knowledge Graphs

Aishwarya Rao, Narayanan Asuri Krishnan, Carlos R. Rivero

Abstract

Link prediction models assign scores to predict new, plausible edges to complete knowledge graphs. In link prediction evaluation, the score of an existing edge (positive) is ranked w.r.t. the scores of its synthetically corrupted counterparts (negatives). An accurate model ranks positives higher than negatives, assuming ascending order. Since the number of negatives are typically large for a single positive, link prediction evaluation is computationally expensive. As far as we know, only one approach has proposed to replace rank aggregations by a distance between sample positives and negatives. Unfortunately, the distance does not consider individual ranks, so edges in isolation cannot be assessed. In this paper, we propose an alternative protocol based on posterior probabilities of positives rather than ranks. A calibration function assigns posterior probabilities to edges that measure their plausibility. We propose to assess our alternative protocol in various ways, including whether expected semantics are captured when using different strategies to synthetically generate negatives. Our experiments show that posterior probabilities and ranks are highly correlated. Also, the time reduction of our alternative protocol is quite significant: more than 77% compared to rank-based evaluation. We conclude that link prediction evaluation based on posterior probabilities is viable and significantly reduces computational costs.

Ask Lune

Know where this paper stands in minutes, not an afternoon.

Lune can read the top-tier papers that cite it and the ones closest to it, and tells you what it claims, what came after and where it falls short, each point cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

its abstract · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Convergent Privacy Framework for Multi-layer GNNs through Contractive Message PassingYu Zheng, Chenang Li, Zhou Li, Qingsong WangNDSS 2026 · 1 citation

Related papers

  1. Revisiting the Evaluation Protocol of Knowledge Graph Completion Methods for Link PredictionSudhanshu Tiwari, Iti Bansal, Carlos R. RiveroWWW 2021 · 16 citations
  2. Are We Wasting Time? A Fast, Accurate Performance Evaluation Framework for Knowledge Graph Link PredictorsFilip Cornell, Yifei Jin, Jussi Karlgren, Sarunas GirdzijauskasICDE 2025 · 1 citation
  3. LP-DIXIT: Evaluating Explanations for Link Predictions on Knowledge Graphs using Large Language ModelsRoberto Barile, Claudia d'Amato, Nicola FanizziWWW 2025 · 6 citations
  4. Probability Calibration for Knowledge Graph Embedding ModelsPedro Tabacof, Luca CostabelloICLR 2020 · 49 citations
  5. A Method for Assessing Inference Patterns Captured by Embedding Models in Knowledge GraphsNarayanan Asuri Krishnan, Carlos R. RiveroWWW 2024 · 3 citations
Dusk over the sea between two cliffs drawn in fine vertical lines