mlsanityData to 7 Oct 2026

Towards Reliable Latent Knowledge Estimation in LLMs: Zero-Prompt Many-Shot Based Factual Knowledge Extraction

arXiv 2404.12957 ↗First posted 19 Apr 2024cs.CL cs.LGcited by 6

Not on the map. Why?

Abstract (arXiv)

In this paper, we focus on the challenging task of reliably estimating factual knowledge that is embedded inside large language models (LLMs). To avoid reliability concerns with prior approaches, we propose to eliminate prompt engineering when probing LLMs for factual knowledge. Our approach, called Zero-Prompt Latent Knowledge Estimator (ZP-LKE), leverages the in-context learning ability of LLMs to communicate both the factual knowledge question as well as the expected answer format. Our knowledge estimator is both conceptually simpler (i.e., doesn't depend on meta-linguistic judgments of LLMs) and easier to apply (i.e., is not LLM-specific), and we demonstrate that it can surface more of the latent knowledge embedded in LLMs. We also investigate how different design choices affect the performance of ZP-LKE. Using the proposed estimator, we perform a large-scale evaluation of the factual knowledge of a variety of open-source LLMs, like OPT, Pythia, Llama(2), Mistral, Gemma, etc. over a large set of relations and facts from the Wikidata knowledge base. We observe differences in the factual knowledge between different model families and models of different sizes, that some relations are consistently better known than others but that models differ in the precise facts they know, and differences in the knowledge of base models and their finetuned counterparts. Code available at: https://github.com/QinyuanWu0710/ZeroPrompt_LKE

Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 32 of its 51 references that are in the map. First posted on arXiv 19 Apr 2024.

Builds on

32 of 51 references.

References · 32

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2022Training language models to follow instructions with human feedbackcited by 15,712
  3. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  4. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
  5. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
  6. 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,919
  7. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
  8. 2022Survey of Hallucination in Natural Language Generationcited by 2,056
  9. 2019Language Models as Knowledge Bases?cited by 1,922
  10. 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,734
  11. 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,413
  12. 2019How Can We Know What Language Models Know?cited by 953
20 more
  1. 2023Quantifying Language Models' Sensitivity to Spurious Features in Prompt Design or: How I learned to start worrying about prompt formattingcited by 778
  2. 2022Discovering Latent Knowledge in Language Models Without Supervisioncited by 733
  3. 2020Knowledge Graphscited by 619
  4. 2019Evaluating the Factual Consistency of Abstractive Text Summarizationcited by 578
  5. 2023Promptbreeder: Self-Referential Self-Improvement Via Prompt Evolutioncited by 521
  6. 2020How Can We Know When Language Models Know? On the Calibration of Language Models for Question Answeringcited by 439
  7. 2023A Survey on Large Language Models for Recommendationcited by 378
  8. 2023Large Language Models for Information Retrieval: A Surveycited by 331
  9. 2023Physics of Language Models: Part 3.1, Knowledge Storage and Extractioncited by 264
  10. 2023FacTool: Factuality Detection in Generative AI -- A Tool Augmented Framework for Multi-Task and Multi-Domain Scenarioscited by 247
  11. 2023LLM Lies: Hallucinations are not Bugs, but Features as Adversarial Examplescited by 177
  12. 2023Head-to-Tail: How Knowledgeable are Large Language Models (LLMs)? A.K.A. Will LLMs Replace Knowledge Graphs?cited by 167
  13. 2022Ask Me Anything: A simple strategy for prompting language modelscited by 155
  14. 2023What In-Context Learning "Learns" In-Context: Disentangling Task Recognition and Task Learningcited by 149
  15. 2021Knowledgeable or Educated Guess? Revisiting Language Models as Knowledge Basescited by 107
  16. 2020Language Models are Open Knowledge Graphscited by 95
  17. 2019Inducing Relational Knowledge from BERTcited by 75
  18. 2023On Early Detection of Hallucinations in Factual Question Answeringcited by 54
  19. 2023Prompting is not a substitute for probability measurements in large language modelscited by 43
  20. 2021P-Adapters: Robustly Extracting Factual Information from Language Models with Diverse Promptscited by 22

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 4; 2026: 2.

6 papers.