Efficient Knowledge Probing of Large Language Models by Adapting Pre-trained Embeddings
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) acquire knowledge across diverse domains such as science, history, and geography encountered during generative pre-training. However, due to their stochasticity, it is difficult to predict what LLMs have acquired. Prior work has developed different ways to probe this knowledge by investigating the hidden representations, crafting specific task prompts, curating representative samples, and estimating their uncertainty. However, these methods require making forward passes through the underlying model to probe the LLM's knowledge about a specific fact, making them computationally expensive and time-consuming. To bridge this gap, we propose PEEK or Proxy Embeddings to Estimate Knowledge of LLMs, by leveraging the pre-trained embedding models that effectively encode factual knowledge as text or graphs as proxies for LLMs. First, we identify a training set of facts known by LLMs through various probing strategies and then adapt embedding models to predict the LLM outputs with a linear decoder layer. Comprehensive evaluation on 3 Wikipedia-derived datasets, 4 LLMs, and 7 embedding models shows that embeddings can predict LLM knowledge on a held-out set with up to 90 % accuracy. Furthermore, we find that sentence embedding models are more suitable than graph embeddings to predict LLM knowledge, shedding light on the underlying representation of the factual landscape. Thus, we believe that knowledge-adapted embeddings can be used to identify knowledge gaps in LLMs at scale and can provide deeper insights into LLMs' internal inductive bias. The code and data are made available at https://github.com/claws-lab/peek.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 66 of its 79 references that are in the map. First posted on arXiv 8 Aug 2025.
Builds on
66 of 79 references.
References · 66
- 2023GPT-4 Technical Reportcited by 18,396
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,374
- 2021On the Opportunities and Risks of Foundation Modelscited by 4,033
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,754
- 2022Locating and Editing Factual Associations in GPTcited by 2,691
- 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,183
- 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,141
- 2019Language Models as Knowledge Bases?cited by 1,936
38 more
- 2022Large Language Models Encode Clinical Knowledgecited by 1,830
- 2023A Survey on Hallucination in Large Language Models: Principles, Taxonomy, Challenges, and Open Questionscited by 1,601
- 2018FEVER: a large-scale dataset for Fact Extraction and VERificationcited by 1,375
- 2023Inference-Time Intervention: Eliciting Truthful Answers from a Language Modelcited by 1,302
- 2023FActScore: Fine-grained Atomic Evaluation of Factual Precision in Long Form Text Generationcited by 1,282
- 2021BEIR: A Heterogenous Benchmark for Zero-shot Evaluation of Information Retrieval Modelscited by 1,252
- 2020MPNet: Masked and Permuted Pre-training for Language Understandingcited by 981
- 2019How Can We Know What Language Models Know?cited by 959
- 2023SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language Modelscited by 810
- 2019Generalization through Memorization: Nearest Neighbor Language Modelscited by 800
- 2022Teaching Models to Express Their Uncertainty in Wordscited by 751
- 2023Towards General Text Embeddings with Multi-stage Contrastive Learningcited by 723
- 2020How Much Knowledge Can You Pack Into the Parameters of a Language Model?cited by 719
- 2023The Internal State of an LLM Knows When It's Lyingcited by 659
- 2022MTEB: Massive Text Embedding Benchmarkcited by 640
- 2021Fast Model Editing at Scalecited by 498
- 2024NV-Embed: Improved Techniques for Training LLMs as Generalist Embedding Modelscited by 472
- 2022Large Language Models Struggle to Learn Long-Tail Knowledgecited by 458
- 2024LLM2Vec: Large Language Models Are Secretly Powerful Text Encoderscited by 404
- 2024Gemma Scope: Open Sparse Autoencoders Everywhere All At Once on Gemma 2cited by 394
- 2023HaluEval: A Large-Scale Hallucination Evaluation Benchmark for Large Language Modelscited by 341
- 2023LegalBench: A Collaboratively Built Benchmark for Measuring Legal Reasoning in Large Language Modelscited by 336
- 2023Explainability for Large Language Models: A Surveycited by 333
- 2023RECOMP: Improving Retrieval-Augmented LMs with Compression and Selective Augmentationcited by 256
- 2023Model evaluation for extreme riskscited by 177
- 2023Head-to-Tail: How Knowledgeable are Large Language Models (LLMs)? A.K.A. Will LLMs Replace Knowledge Graphs?cited by 168
- 2021Investigating the Limitations of Transformers with Simple Arithmetic Taskscited by 139
- 2024LLM-SR: Scientific Equation Discovery via Programming with Large Language Modelscited by 133
- 2024Benchmarking Uncertainty Quantification Methods for Large Language Models with LM-Polygraphcited by 105
- 2023Lift Yourself Up: Retrieval-augmented Text Generation with Self Memorycited by 103
- 2023AnglE-optimized Text Embeddingscited by 99
- 2024Stable LM 2 1.6B Technical Reportcited by 90
- 2023Towards Foundation Models for Knowledge Graph Reasoningcited by 86
- 2024LLM and Simulation as Bilevel Optimizers: A New Paradigm to Advance Physical Scientific Discoverycited by 86
- 2024CompAct: Compressing Retrieved Documents Actively for Question Answeringcited by 64
- 2023Cognitive Dissonance: Why Do Language Model Outputs Disagree with Internal Representations of Truthfulness?cited by 62
- 2024LLMs as Zero-shot Graph Learners: Alignment of GNN Representations with LLM Token Embeddingscited by 61
- 2024Do LLMs Know about Hallucination? An Empirical Investigation of LLM's Hidden Statescited by 52
50 most cited of 66 All 66 (JSON)
Built on by
Citing papers per year: 2026: 3.
3 papers.