Language Models as Knowledge Bases: On Entity Representations, Storage Capacity, and Paraphrased Queries

By Benjamin Heinzerling, Kentaro Inui. 2020

156 citations recorded by the source corpus.

Pretrained language models have been suggested as a possible alternative or complement to structured knowledge bases. However, this emerging LM-as-KB paradigm has so far only been considered in a very limited setting, which only allows handling 21k entities whose name is found in common LM vocabularies. Furthermore, a major benefit of this paradigm, i.e., querying the KB using natural language paraphrases, is underexplored. Here we formulate two basic requirements for treating LMs as KBs: (i) the ability to store a large number facts involving a large number of entities and (ii) the ability to query stored facts. We explore three entity representations that allow LMs to handle millions of entities and present a detailed case study on paraphrased querying of facts stored in LMs, thereby providing a proof-of-concept that language models can indeed serve as knowledge bases.

Subfields: Artificial Intelligence, Management Science and Operations Research, Large Language Models, Knowledge Graphs & Representation

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Mohit Bansal
  2. Yoav Goldberg
  3. Noah A. Smith
  4. Yejin Choi
  5. Luke S. Zettlemoyer
  6. Graham Neubig
  7. Asli Celikyilmaz
  8. Jianfeng Gao

In Management Science and Operations Research

  1. Mohit Bansal
  2. Mona T. Diab
  3. Asli Celikyilmaz
  4. Veselin Stoyanov
  5. Srini Iyer
  6. Byron C. Wallace
  7. Diyi Yang
  8. Yoav Goldberg

In Large Language Models

  1. Mohit Bansal
  2. Yoav Goldberg
  3. Mona T. Diab
  4. Danai Koutra
  5. Tara Safavi
  6. Asli Celikyilmaz
  7. Xian Li
  8. Diyi Yang

In Knowledge Graphs & Representation

  1. Mohit Bansal
  2. Zornitsa Kozareva
  3. Veselin Stoyanov
  4. Byron C. Wallace
  5. Diyi Yang
  6. Yoav Goldberg
  7. Rohit Sridhar
  8. K. Pichotta

Citations in the corpus