mlsanityData to 7 Oct 2026

BEAR: A Unified Framework for Evaluating Relational Knowledge in Causal and Masked Language Models

arXiv 2404.04113 ↗First posted 5 Apr 2024cs.CLcited by 11

Not on the map. Why?

Abstract (arXiv)

Knowledge probing assesses to which degree a language model (LM) has successfully learned relational knowledge during pre-training. Probing is an inexpensive way to compare LMs of different sizes and training configurations. However, previous approaches rely on the objective function used in pre-training LMs and are thus applicable only to masked or causal LMs. As a result, comparing different types of LMs becomes impossible. To address this, we propose an approach that uses an LM's inherent ability to estimate the log-likelihood of any given textual statement. We carefully design an evaluation dataset of 7,731 instances (40,916 in a larger variant) from which we produce alternative statements for each relational fact, one of which is correct. We then evaluate whether an LM correctly assigns the highest log-likelihood to the correct statement. Our experimental evaluation of 22 common LMs shows that our proposed framework, BEAR, can effectively probe for knowledge across different LM types. We release the BEAR datasets and an open-source framework that implements the probing approach to the research community to facilitate the evaluation and development of LMs.

Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). Builds on 21 of its 34 references that are in the map. First posted on arXiv 5 Apr 2024.

Builds on

21 of 34 references.

References · 21

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  3. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
  4. 2019Unsupervised Cross-lingual Representation Learning at Scalecited by 3,907
  5. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
  6. 2019Language Models as Knowledge Bases?cited by 1,922
  7. 2022When Not to Trust Language Models: Investigating Effectiveness of Parametric and Non-Parametric Memoriescited by 1,103
  8. 2019How Can We Know What Language Models Know?cited by 953
  9. 2022BioGPT: Generative Pre-trained Transformer for Biomedical Text Generation and Miningcited by 531
  10. 2021Measuring and Improving Consistency in Pretrained Language Modelscited by 361
  11. 2021Factual Probing Is [MASK]: Learning vs. Learning to Recallcited by 291
  12. 2021Time-Aware Language Models as Temporal Knowledge Basescited by 290
9 more
  1. 2022Leveraging Large Language Models for Multiple Choice Question Answeringcited by 199
  2. 2020X-FACTR: Multilingual Factual Knowledge Retrieval from Pretrained Language Modelscited by 117
  3. 2021Knowledgeable or Educated Guess? Revisiting Language Models as Knowledge Basescited by 107
  4. 2019E-BERT: Efficient-Yet-Effective Entity Embeddings for BERTcited by 96
  5. 2022minicons: Enabling Flexible Behavioral and Representational Analyses of Transformer Language Modelscited by 58
  6. 2022Entity Cloze By Date: What LMs Know About Unseen Entitiescited by 55
  7. 2020Blank Language Modelscited by 43
  8. 2023A Better Way to Do Masked Language Model Scoringcited by 27
  9. 2023The Life Cycle of Knowledge in Big Language Models: A Surveycited by 23

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 3; 2025: 6; 2026: 2.

11 papers.