Towards Reliable Latent Knowledge Estimation in LLMs: Zero-Prompt Many-Shot Based Factual Knowledge Extraction
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
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
- 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,919
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
- 2022Survey of Hallucination in Natural Language Generationcited by 2,056
- 2019Language Models as Knowledge Bases?cited by 1,922
- 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,734
- 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,413
- 2019How Can We Know What Language Models Know?cited by 953
20 more
- 2023Quantifying Language Models' Sensitivity to Spurious Features in Prompt Design or: How I learned to start worrying about prompt formattingcited by 778
- 2022Discovering Latent Knowledge in Language Models Without Supervisioncited by 733
- 2020Knowledge Graphscited by 619
- 2019Evaluating the Factual Consistency of Abstractive Text Summarizationcited by 578
- 2023Promptbreeder: Self-Referential Self-Improvement Via Prompt Evolutioncited by 521
- 2020How Can We Know When Language Models Know? On the Calibration of Language Models for Question Answeringcited by 439
- 2023A Survey on Large Language Models for Recommendationcited by 378
- 2023Large Language Models for Information Retrieval: A Surveycited by 331
- 2023Physics of Language Models: Part 3.1, Knowledge Storage and Extractioncited by 264
- 2023FacTool: Factuality Detection in Generative AI -- A Tool Augmented Framework for Multi-Task and Multi-Domain Scenarioscited by 247
- 2023LLM Lies: Hallucinations are not Bugs, but Features as Adversarial Examplescited by 177
- 2023Head-to-Tail: How Knowledgeable are Large Language Models (LLMs)? A.K.A. Will LLMs Replace Knowledge Graphs?cited by 167
- 2022Ask Me Anything: A simple strategy for prompting language modelscited by 155
- 2023What In-Context Learning "Learns" In-Context: Disentangling Task Recognition and Task Learningcited by 149
- 2021Knowledgeable or Educated Guess? Revisiting Language Models as Knowledge Basescited by 107
- 2020Language Models are Open Knowledge Graphscited by 95
- 2019Inducing Relational Knowledge from BERTcited by 75
- 2023On Early Detection of Hallucinations in Factual Question Answeringcited by 54
- 2023Prompting is not a substitute for probability measurements in large language modelscited by 43
- 2021P-Adapters: Robustly Extracting Factual Information from Language Models with Diverse Promptscited by 22
Built on by
Citing papers per year: 2025: 4; 2026: 2.
6 papers.
- 2025Rote Learning Considered Useful: Generalizing over Memorized Data in LLMscited by 5
- 2025Auditing a KB Elicitation of Frontier LLM Knowledge: A Multi-dimensional Analysis of GPTKB v1.5cited by 2
- 2026Fine-tuning vs. In-context Learning in Large Language Models: A Formal Language Learning Perspectivecited by 1
- 2025From Parameters to Prompts: Understanding and Mitigating the Factuality Gap between Fine-Tuned LLMscited by 0
- 2025Noise or Nuance: An Investigation Into Useful Information and Filtering For LLM Driven AKBCcited by 0
- 2026Construction of Knowledge Graph based on Language Modelcited by 0
- 2026Fine-tuning vs. In-context Learning in Large Language Models: A Formal Language Learning Perspective25 Apr 2026
- 2026Construction of Knowledge Graph based on Language Model21 Apr 2026
- 2025Auditing a KB Elicitation of Frontier LLM Knowledge: A Multi-dimensional Analysis of GPTKB v1.58 Oct 2025
- 2025Noise or Nuance: An Investigation Into Useful Information and Filtering For LLM Driven AKBC10 Sep 2025
- 2025Rote Learning Considered Useful: Generalizing over Memorized Data in LLMs29 Jul 2025
- 2025From Parameters to Prompts: Understanding and Mitigating the Factuality Gap between Fine-Tuned LLMs29 May 2025