BEAR: A Unified Framework for Evaluating Relational Knowledge in Causal and Masked Language Models
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
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
- 2019Unsupervised Cross-lingual Representation Learning at Scalecited by 3,907
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
- 2019Language Models as Knowledge Bases?cited by 1,922
- 2022When Not to Trust Language Models: Investigating Effectiveness of Parametric and Non-Parametric Memoriescited by 1,103
- 2019How Can We Know What Language Models Know?cited by 953
- 2022BioGPT: Generative Pre-trained Transformer for Biomedical Text Generation and Miningcited by 531
- 2021Measuring and Improving Consistency in Pretrained Language Modelscited by 361
- 2021Factual Probing Is [MASK]: Learning vs. Learning to Recallcited by 291
- 2021Time-Aware Language Models as Temporal Knowledge Basescited by 290
9 more
- 2022Leveraging Large Language Models for Multiple Choice Question Answeringcited by 199
- 2020X-FACTR: Multilingual Factual Knowledge Retrieval from Pretrained Language Modelscited by 117
- 2021Knowledgeable or Educated Guess? Revisiting Language Models as Knowledge Basescited by 107
- 2019E-BERT: Efficient-Yet-Effective Entity Embeddings for BERTcited by 96
- 2022minicons: Enabling Flexible Behavioral and Representational Analyses of Transformer Language Modelscited by 58
- 2022Entity Cloze By Date: What LMs Know About Unseen Entitiescited by 55
- 2020Blank Language Modelscited by 43
- 2023A Better Way to Do Masked Language Model Scoringcited by 27
- 2023The Life Cycle of Knowledge in Big Language Models: A Surveycited by 23
Built on by
Citing papers per year: 2024: 3; 2025: 6; 2026: 2.
11 papers.
- 2024What Matters in Memorizing and Recalling Facts? Multifaceted Benchmarks for Knowledge Probing in Language Modelscited by 8
- 2024LM-PUB-QUIZ: A Comprehensive Framework for Zero-Shot Evaluation of Relational Knowledge in Language Modelscited by 4
- 2026Hierarchical Text Classification with LLM-Refined Taxonomiescited by 2
- 2025Factual Knowledge in Language Models: Robustness and Anomalies under Simple Temporal Context Variationscited by 1
- 2025Multilingual European Language Models: Benchmarking Approaches and Challengescited by 1
- 2025The quasi-semantic competence of LLMs: a case study on the part-whole relationcited by 1
- 2025What Matters in Linearizing Language Models? A Comparative Study of Architecture, Scale, and Task Adaptationcited by 1
- 2025TextTIGER: Text-based Intelligent Generation with Entity Prompt Refinement for Text-to-Image Generationcited by 1
- 2025From Data to Knowledge: Evaluating How Efficiently Language Models Learn Factscited by 1
- 2026Self-Aware Knowledge Probing: Evaluating Language Models' Relational Knowledge through Confidence Calibrationcited by 1
- 2024BabyHGRN: Exploring RNNs for Sample-Efficient Training of Language Modelscited by 0
- 2026Self-Aware Knowledge Probing: Evaluating Language Models' Relational Knowledge through Confidence Calibration26 Jan 2026
- 2026Hierarchical Text Classification with LLM-Refined Taxonomies26 Jan 2026
- 2025From Data to Knowledge: Evaluating How Efficiently Language Models Learn Facts20 Jun 2025
- 2025TextTIGER: Text-based Intelligent Generation with Entity Prompt Refinement for Text-to-Image Generation25 Apr 2025
- 2025What Matters in Linearizing Language Models? A Comparative Study of Architecture, Scale, and Task Adaptation19 Apr 2025
- 2025The quasi-semantic competence of LLMs: a case study on the part-whole relation3 Apr 2025
- 2025Multilingual European Language Models: Benchmarking Approaches and Challenges18 Feb 2025
- 2025Factual Knowledge in Language Models: Robustness and Anomalies under Simple Temporal Context Variations3 Feb 2025
- 2024BabyHGRN: Exploring RNNs for Sample-Efficient Training of Language Models20 Dec 2024
- 2024LM-PUB-QUIZ: A Comprehensive Framework for Zero-Shot Evaluation of Relational Knowledge in Language Models28 Aug 2024
- 2024What Matters in Memorizing and Recalling Facts? Multifaceted Benchmarks for Knowledge Probing in Language Models18 Jun 2024