A Unified Framework for Rank-based Evaluation Metrics for Link Prediction in Knowledge Graphs

Charles Tapley Hoyt, Max Berrendorf, Mikhail Galkin, Volker Tresp, Benjamin M. Gyori
3/14/2022
29 citations
cs.LGcs.AI

Official code: pykeen/pykeen (2,049 stars, Python, MIT, last commit 2026-11-13). 1 more implementation below.

Abstract

The link prediction task on knowledge graphs without explicit negative triples in the training data motivates the usage of rank-based metrics. Here, we review existing rank-based metrics and propose desiderata for improved metrics to address lack of interpretability and comparability of existing metrics to datasets of different sizes and properties.

Show full abstract

We introduce a simple theoretical framework for rank-based metrics upon which we investigate two avenues for improvements to existing metrics via alternative aggregation functions and concepts from probability theory. We finally propose several new rank-based metrics that are more easily interpreted and compared accompanied by a demonstration of their usage in a benchmarking of knowledge graph embedding models.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
pykeen/pykeenOfficial2,049PythonMIT2026-11-13
pykeen/ranking-metrics-manuscriptOfficial11PythonCC0-1.02022-04-06
pykeen/pykeenOfficial100%
MIT

🤖 A Python library for learning and evaluating knowledge graph embeddings

2,049232Python, Jupyter NotebookFeb 24, 20202 weeks agoMIT
cudadeep-learningknowledge-base-completionknowledge-graph-embeddingsknowledge-graphs+5 more
CC0-1.0

📐 Results for the Ranking Metrics submission @ GLB 2022

110PythonMar 10, 20224 years agoCC0-1.0
benchmarkingdeep-learningknowledge-graphspykeenranking

Similar Papers

Cite this paper

@article{hoyt2022unified,
  title  = {A Unified Framework for Rank-based Evaluation Metrics for Link Prediction in Knowledge Graphs},
  author = {Charles Tapley Hoyt and Max Berrendorf and Mikhail Galkin and Volker Tresp and Benjamin M. Gyori},
  year   = {2022},
  eprint = {2203.07544},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.07544}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2203.07544.svg)](https://codeofpaper.com/paper/2203.07544)

Discussion