Skip to main content
QUICK REVIEW

[Paper Review] Language Models As or For Knowledge Bases

Simon Razniewski, Andrew Yates|arXiv (Cornell University)|Oct 10, 2021
Topic ModelingComputer Science27 references16 citations
TL;DR

This paper argues that while large language models (LMs) cannot replace structured knowledge bases (KBs) due to inherent uncertainty and hallucination, they are highly valuable for KB curation by providing a 'second opinion' to validate or refute candidate facts. The authors propose using LMs to probe new assertions, leveraging their external textual knowledge to improve KB quality and reduce errors during knowledge base maintenance.

ABSTRACT

Pre-trained language models (LMs) have recently gained attention for their potential as an alternative to (or proxy for) explicit knowledge bases (KBs). In this position paper, we examine this hypothesis, identify strengths and limitations of both LMs and KBs, and discuss the complementary nature of the two paradigms. In particular, we offer qualitative arguments that latent LMs are not suitable as a substitute for explicit KBs, but could play a major role for augmenting and curating KBs.

Motivation & Objective

  • To evaluate whether pre-trained language models (LMs) can serve as viable alternatives to explicit knowledge bases (KBs) in terms of accuracy, reliability, and maintainability.
  • To identify the core limitations of LMs as KBs, including hallucination, lack of provenance, and inability to distinguish between facts and correlations.
  • To investigate how LMs can be leveraged to improve KB quality during curation, particularly in detecting duplicate entities, validating new facts, and ensuring consistency.
  • To contrast the strengths and weaknesses of LMs and KBs in terms of knowledge representation, schema flexibility, and maintenance overhead.
  • To advocate for a complementary role where LMs act as external validators for KB assertions, rather than as standalone knowledge repositories.

Proposed method

  • Using GPT-3 as the primary LM, the authors conduct zero-shot prompting (e.g., 'Alan Turing was born in ___') to elicit subject-predicate-object triples as model completions.
  • The confidence scores assigned by the LM to each completion are used as evidence for the plausibility of candidate facts, with high confidence indicating potential validity.
  • The method evaluates candidate KB assertions by probing the LM with natural language prompts and analyzing the top-ranked predictions and their associated probabilities.
  • The approach treats LMs as external validators: if the LM assigns low confidence to a candidate fact, it is flagged for review or rejection.
  • The framework supports both verification (checking existing facts) and candidate generation (using LMs to suggest new facts), though the latter requires further refinement.
  • The method emphasizes the use of LMs to detect inconsistencies and hallucinations—such as false spouses or incorrect awards—by comparing predictions against known KB facts.

Experimental results

Research questions

  • RQ1Can language models reliably replace structured knowledge bases in terms of factual accuracy and consistency?
  • RQ2To what extent do language models hallucinate or produce false positives when queried about factual knowledge?
  • RQ3How do the confidence scores of language models correlate with the truth of the generated facts, especially in cases of rare or singleton values?
  • RQ4Can language models serve as an independent source of evidence to validate or refute candidate facts during KB curation?
  • RQ5What are the key limitations of using LMs as KBs, particularly regarding knowledge provenance, schema flexibility, and maintenance?

Key findings

  • GPT-3 assigns a high confidence score (83%) to the fact that Alan Turing was born in London, but also generates incorrect assertions such as 'Sara Lavington' as his spouse with 21% confidence.
  • The LM incorrectly predicts that Alan Turing won the Nobel Prize (with 26% confidence) and the 'war' as an award, demonstrating systematic bias toward co-occurring terms.
  • For the prompt 'the first woman on the moon was', GPT-3 generates false names like Sally Ride and Eileen Collins, despite no woman having landed on the moon, highlighting the model’s inability to recognize absence of facts.
  • The LM fails to correctly identify the address of the Turing Institute in London, outputting 'Dilly’s Den' instead of the correct address, indicating poor performance on rare or singleton factual values.
  • When prompted to list Turing Award winners, GPT-3 returns a mix of correct and incorrect names, requiring deep ranking to retrieve all 73 winners, and lacks a clear stopping point for validity.
  • In contrast, Wikidata explicitly states that Alan Turing had no spouse, using a 'no value' statement, which is impossible for LMs to express due to their latent, probabilistic nature.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.