Ranking vs. Classifying: Measuring Knowledge Base Completion Quality
Not on the map. Why?
Abstract (arXiv)
Knowledge base completion (KBC) methods aim at inferring missing facts from the information present in a knowledge base (KB) by estimating the likelihood of candidate facts. In the prevailing evaluation paradigm, models do not actually decide whether a new fact should be accepted or not but are solely judged on the position of true facts in a likelihood ranking with other candidates. We argue that consideration of binary predictions is essential to reflect the actual KBC quality, and propose a novel evaluation paradigm, designed to provide more transparent model selection criteria for a realistic scenario. We construct the data set FB14k-QAQ where instead of single facts, we use KB queries, i.e., facts where one entity is replaced with a variable, and construct corresponding sets of entities that are correct answers. We randomly remove some of these correct answers from the data set, simulating the realistic scenario of real-world entities missing from a KB. This way, we can explicitly measure a model's ability to handle queries that have more correct answers in the real world than in the KB, including the special case of queries without any valid answer. The latter especially contrasts the ranking setting. We evaluate a number of state-of-the-art KB embeddings models on our new benchmark. The differences in relative performance between ranking-based and classification-based evaluation that we observe in our experiments confirm our hypothesis that good performance on the ranking task does not necessarily translate to good performance on the actual completion task. Our results motivate future work on KB embedding models with better prediction separability and, as a first step in that direction, we propose a simple variant of TransE that encourages thresholding and achieves a significant improvement in classification F1 score relative to the original TransE.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 10 of its 21 references that are in the map. First posted on arXiv 2 Feb 2021.
Builds on
10 of 21 references.
References · 10
- 2014Embedding Entities and Relations for Learning and Inference in Knowledge Basescited by 932
- 2016Complex Embeddings for Simple Link Predictioncited by 902
- 2017Convolutional 2D Knowledge Graph Embeddingscited by 730
- 2019KG-BERT: BERT for Knowledge Graph Completioncited by 324
- 2019Learning Attention-based Embeddings for Relation Prediction in Knowledge Graphscited by 125
- 2019A Re-evaluation of Knowledge Graph Completion Methodscited by 73
- 2017Knowledge Base Completion: Baselines Strike Backcited by 39
- 2015TransA: An Adaptive Approach for Knowledge Graph Embeddingcited by 19
- 2018On Evaluating Embedding Models for Knowledge Base Completioncited by 10
- 2019Learning When Not to Answer: A Ternary Reward Structure for Reinforcement Learning based Question Answeringcited by 7
Built on by
Citing papers per year: 2022: 1; 2023: 2; 2024: 1.
4 papers.
- 2022Re-thinking Knowledge Graph Completion Evaluation from an Information Retrieval Perspectivecited by 7
- 2023Can Persistent Homology provide an efficient alternative for Evaluation of Knowledge Graph Completion Methods?cited by 1
- 2023ACTC: Active Threshold Calibration for Cold-Start Knowledge Graph Completioncited by 0
- 2024Are We Wasting Time? A Fast, Accurate Performance Evaluation Framework for Knowledge Graph Link Predictorscited by 0
- 2024Are We Wasting Time? A Fast, Accurate Performance Evaluation Framework for Knowledge Graph Link Predictors25 Jan 2024
- 2023ACTC: Active Threshold Calibration for Cold-Start Knowledge Graph Completion10 May 2023
- 2023Can Persistent Homology provide an efficient alternative for Evaluation of Knowledge Graph Completion Methods?30 Jan 2023
- 2022Re-thinking Knowledge Graph Completion Evaluation from an Information Retrieval Perspective9 May 2022