Lune

ACL2021Top-tier venue

Knowledgeable or Educated Guess? Revisiting Language Models as Knowledge Bases

Boxi Cao, Hongyu Lin, Xianpei Han, Le Sun, Lingyong Yan, Meng Liao, Tong Xue, Jin Xu

Abstract

Previous literatures show that pre-trained masked language models (MLMs) such as BERT can achieve competitive factual knowledge extraction performance on some datasets, indicating that MLMs can potentially be a reliable knowledge source. In this paper, we conduct a rigorous study to explore the underlying predicting mechanisms of MLMs over different extraction paradigms. By investigating the behaviors of MLMs, we find that previous decent performance mainly owes to the biased prompts which overfit dataset artifacts. Furthermore, incorporating illustrative cases and external contexts improve knowledge prediction mainly due to entity type guidance and golden answer leakage. Our findings shed light on the underlying predicting mechanisms of MLMs, and strongly question the previous conclusion that current MLMs can potentially serve as reliable factual knowledge bases 1 .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

37 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • When Not to Trust Language Models: Investigating Effectiveness of Parametric and Non-Parametric Memories cites Language Models are Few-Shot Learners
  • When Not to Trust Language Models: Investigating Effectiveness of Parametric and Non-Parametric Memories cites E-BERT: Efficient-Yet-Effective Entity Embeddings for BERT
  • AutoPrompt: Eliciting Knowledge from Language Models with Automatically Generated Prompts cites Inducing Relational Knowledge from BERT
  • AutoPrompt: Eliciting Knowledge from Language Models with Automatically Generated Prompts cites Language Models are Few-Shot Learners
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers37

  1. When Not to Trust Language Models: Investigating Effectiveness of Parametric and Non-Parametric MemoriesAlex Mallen, Akari Asai, Victor Zhong, Rajarshi Das et al.ACL 2023 · 233 citations
  2. PMET: Precise Model Editing in a TransformerXiaopeng Li, Shasha Li, Shezheng Song, Jing Yang et al.AAAI 2024 · 208 citations
  3. Is Stack Overflow Obsolete? An Empirical Study of the Characteristics of ChatGPT Answers to Stack Overflow QuestionsSamia Kabir, David N. Udo-Imeh, Bonan Kou, Tianyi ZhangCHI 2024 · 149 citations
  4. Mention Memory: incorporating textual knowledge into Transformers through entity mention attentionMichiel de Jong, Yury Zemlyanskiy, Nicholas FitzGerald, Fei Sha et al.ICLR 2022 · 55 citations
  5. Coherence boosting: When your pretrained language model is not paying enough attentionNikolay Malkin, Zhen Wang, Nebojsa JojicACL 2022 · 45 citations

Builds on11

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
  2. AutoPrompt: Eliciting Knowledge from Language Models with Automatically Generated PromptsTaylor Shin, Yasaman Razeghi, Robert L. Logan IV, Eric Wallace et al.EMNLP 2020 · 1,162 citations
  3. Evaluating Commonsense in Pre-Trained Language ModelsXuhui Zhou, Yue Zhang, Leyang Cui, Dandan HuangAAAI 2020 · 198 citations
  4. Inducing Relational Knowledge from BERTZied Bouraoui, José Camacho-Collados, Steven SchockaertAAAI 2020 · 183 citations
  5. E-BERT: Efficient-Yet-Effective Entity Embeddings for BERTNina Pörner, Ulli Waltinger, Hinrich SchützeEMNLP Findings 2020 · 146 citations

Related papers

  1. Pre-training Language Models with Deterministic Factual KnowledgeShaobo Li, Xiaoguang Li, Lifeng Shang, Chengjie Sun et al.EMNLP 2022 · 13 citations
  2. MLMLM: Link Prediction with Mean Likelihood Masked Language ModelLouis Clouâtre, Philippe Trempe, Amal Zouaq, Sarath ChandarACL Findings 2021 · 41 citations
  3. How Pre-trained Language Models Capture Factual Knowledge? A Causal-Inspired AnalysisShaobo Li, Xiaoguang Li, Lifeng Shang, Zhenhua Dong et al.ACL Findings 2022 · 32 citations
  4. Causality-aware Concept Extraction based on Knowledge-guided PromptingSiyu Yuan, Deqing Yang, Jinxi Liu, Shuyu Tian et al.ACL 2023 · 7 citations
  5. Probing Pre-trained Language Models for Semantic Attributes and their ValuesMeriem Beloucif, Chris BiemannEMNLP Findings 2021 · 9 citations
Dusk over the sea between two cliffs drawn in fine vertical lines