Evaluating Language Models for Knowledge Base Completion

Research output: Contribution to book/Conference proceedings/Anthology/ReportConference contributionContributedpeer-review

Contributors

Abstract

Structured knowledge bases (KBs) are a foundation of many intelligent applications, yet are notoriously incomplete. Language models (LMs) have recently been proposed for unsupervised knowledge base completion (KBC), yet, despite encouraging initial results, questions regarding their suitability remain open. Existing evaluations often fall short because they only evaluate on popular subjects, or sample already existing facts from KBs. In this work, we introduce a novel, more challenging benchmark dataset, and a methodology tailored for a realistic assessment of the KBC potential of LMs. For automated assessment, we curate a dataset called WD-Known, which provides an unbiased random sample of Wikidata, containing over 3.9 million facts. In a second step, we perform a human evaluation on predictions that are not yet in the KB, as only this provides real insights into the added value over existing KBs. Our key finding is that biases in dataset conception of previous benchmarks lead to a systematic overestimate of LM performance for KBC. However, our results also reveal strong areas of LMs. We could, for example, perform a significant completion of Wikidata on the relations nativeLanguage, by a factor of ∼ 21 (from 260k to 5.8M) at 82 % precision, and citizenOf by a factor of ∼ 0.3 (from 4.2M to 5.3M) at 90% precision. Moreover, we find that LMs possess surprisingly strong generalization capabilities: even on relations where most facts were not directly observed in LM training, prediction quality can be high. We open-source the benchmark dataset and code. (https://github.com/bveseli/LMsForKBC ).

Details

Original languageEnglish
Title of host publicationThe Semantic Web - 20th International Conference, ESWC 2023, Proceedings
EditorsCatia Pesquita, Daniel Faria, Ernesto Jimenez-Ruiz, Jamie McCusker, Mauro Dragoni, Anastasia Dimou, Raphael Troncy, Sven Hertling
PublisherSpringer Science and Business Media B.V.
Pages227-243
Number of pages17
ISBN (print)9783031334542
Publication statusPublished - 2023
Peer-reviewedYes

Publication series

SeriesLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume13870 LNCS
ISSN0302-9743

Conference

Title20th International Conference on The Semantic Web
Abbreviated titleESWC 2023
Conference number20
Duration28 May - 1 June 2023
Website
LocationAldemar Knossos Royal & Royal Villa
CityHersonissos
CountryGreece

External IDs

ORCID /0000-0002-5410-218X/work/185318147

Keywords