Certifying Knowledge Comprehension in LLMs
Not on the map. Why?
Abstract (arXiv)
Large Language Models (LLMs) are increasingly deployed in safety-critical systems where they provide answers based on in-context information derived from knowledge bases. As LLMs are increasingly envisioned as superhuman agents, their proficiency in knowledge comprehension-extracting relevant information and reasoning over it to answer questions, a key facet of human intelligence-becomes crucial. However, existing evaluations of LLMs on knowledge comprehension are typically conducted on small test sets, but these datasets represent only a tiny fraction of the vast number of possible queries. Simple empirical evaluations on these limited test sets raises concerns about the reliability and generalizability of the results. In this work, we introduce the first specification and certification framework for knowledge comprehension in LLMs, providing formal probabilistic guarantees for reliability. Instead of a fixed dataset, we design novel specifications that mathematically represent prohibitively large probability distributions of knowledge comprehension prompts with natural noise, using knowledge graphs. From these specifications, we generate quantitative certificates that offer high-confidence, tight bounds on the probability that a given LLM correctly answers any question drawn from the specification distribution. We apply our framework to certify SOTA LLMs in two domains: precision medicine and general question-answering. Our results reveal previously unrecognized vulnerabilities in SOTA LLMs due to natural noise in the prompts. Additionally, we establish performance hierarchies with formal guarantees among the SOTA LLMs, particularly in the context of precision medicine question-answering.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 32 of its 61 references that are in the map. First posted on arXiv 24 Feb 2024.
Builds on
32 of 61 references.
References · 32
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,686
- 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 2,748
- 2022Emergent Abilities of Large Language Modelscited by 2,483
- 2023The Rise and Potential of Large Language Model Based Agents: A Surveycited by 1,422
- 2021MuSiQue: Multihop Questions via Single-hop Question Compositioncited by 893
- 2023Large Language Models Can Be Easily Distracted by Irrelevant Contextcited by 820
- 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 721
- 2020A Survey on Knowledge Graphs: Representation, Acquisition and Applicationscited by 643
- 2022Towards Reasoning in Large Language Models: A Surveycited by 593
- 2023Larger language models do in-context learning differentlycited by 386
- 2019KEPLER: A Unified Model for Knowledge Embedding and Pre-trained Language Representationcited by 356
20 more
- 2020HybridQA: A Dataset of Multi-Hop Question Answering over Tabular and Textual Datacited by 263
- 2024G-Retriever: Retrieval-Augmented Generation for Textual Graph Understanding and Question Answeringcited by 217
- 2017Constructing Datasets for Multi-hop Reading Comprehension Across Documentscited by 190
- 2023Conformal Language Modelingcited by 163
- 2021Simple Entity-Centric Questions Challenge Dense Retrieverscited by 140
- 2023How well do Large Language Models perform in Arithmetic tasks?cited by 130
- 2023Exploring the Limits of ChatGPT for Query or Aspect-based Text Summarizationcited by 122
- 2023An LLM can Fool Itself: A Prompt-Based Adversarial Attackcited by 111
- 2023Are Emergent Abilities in Large Language Models just In-Context Learning?cited by 109
- 2023On the Planning Abilities of Large Language Models (A Critical Investigation with a Proposed Benchmark)cited by 85
- 2020Robustness Verification for Transformerscited by 76
- 2023Bypassing the Safety Training of Open-Source LLMs with Priming Attackscited by 48
- 2023Understanding the Capabilities of Large Language Models for Automated Planningcited by 34
- 2020Scalable Quantitative Verification For Deep Neural Networkscited by 31
- 2021Inductive Relation Prediction by BERTcited by 27
- 2023Self-prompted Chain-of-Thought on Large Language Models for Open-domain Multi-hop Reasoningcited by 21
- 2020Robustness Certification of Generative Modelscited by 19
- 2022Knowledge Graph Question Answering Leaderboard: A Community Resource to Prevent a Replication Crisiscited by 14
- 2019Review-based Question Generation with Adaptive Instance Transfer and Augmentationcited by 8
- 2023Ask To The Point: Open-Domain Entity-Centric Question Generationcited by 2
Built on by
Citing papers per year: 2025: 1.
1 paper.
- 2025Quantitative Certification of Agentic Tool Selectioncited by 2
- 2025Quantitative Certification of Agentic Tool Selection5 Oct 2025