mlsanityData to 7 Oct 2026

FactTest: Factuality Testing in Large Language Models with Finite-Sample and Distribution-Free Guarantees

arXiv 2411.02603 ↗First posted 4 Nov 2024cs.CL cs.AI stat.MLcited by 6

Not on the map. Why?

Abstract (arXiv)

The propensity of Large Language Models (LLMs) to generate hallucinations and non-factual content undermines their reliability in high-stakes domains, where rigorous control over Type I errors (the conditional probability of incorrectly classifying hallucinations as truthful content) is essential. Despite its importance, formal verification of LLM factuality with such guarantees remains largely unexplored. In this paper, we introduce FactTest, a novel framework that statistically assesses whether a LLM can confidently provide correct answers to given questions with high-probability correctness guarantees. We formulate factuality testing as hypothesis testing problem to enforce an upper bound of Type I errors at user-specified significance levels. Notably, we prove that our framework also ensures strong Type II error control under mild conditions and can be extended to maintain its effectiveness when covariate shifts exist. Our approach is distribution-free and works for any number of human-annotated samples. It is model-agnostic and applies to any black-box or white-box LM. Extensive experiments on question-answering (QA) and multiple-choice benchmarks demonstrate that FactTest effectively detects hallucinations and improves the model's ability to abstain from answering unknown questions, leading to an over 40% accuracy improvement.

Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 31 of its 47 references that are in the map. First posted on arXiv 4 Nov 2024.

Builds on

31 of 47 references.

References · 31

  1. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,686
  2. 2022Survey of Hallucination in Natural Language Generationcited by 2,056
  3. 2018FEVER: a large-scale dataset for Fact Extraction and VERificationcited by 1,362
  4. 2023Can LLMs Express Their Uncertainty? An Empirical Evaluation of Confidence Elicitation in LLMscited by 946
  5. 2020On Faithfulness and Factuality in Abstractive Summarizationcited by 895
  6. 2023Semantic Uncertainty: Linguistic Invariances for Uncertainty Estimation in Natural Language Generationcited by 795
  7. 2023Just Ask for Calibration: Strategies for Eliciting Calibrated Confidence Scores from Language Models Fine-Tuned with Human Feedbackcited by 788
  8. 2023SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language Modelscited by 787
  9. 2021A Gentle Introduction to Conformal Prediction and Distribution-Free Uncertainty Quantificationcited by 777
  10. 2023CRITIC: Large Language Models Can Self-Correct with Tool-Interactive Critiquingcited by 751
  11. 2023The Internal State of an LLM Knows When It's Lyingcited by 644
  12. 2021Measuring and Improving Consistency in Pretrained Language Modelscited by 361
19 more
  1. 2022Conformal prediction beyond exchangeabilitycited by 348
  2. 2023Generating with Confidence: Uncertainty Quantification for Black-box Large Language Modelscited by 286
  3. 2023Camels in a Changing Climate: Enhancing LM Adaptation with Tulu 2cited by 227
  4. 2023Conformal Language Modelingcited by 163
  5. 2024Kernel Language Entropy: Fine-grained Uncertainty Quantification for LLMs from Semantic Similaritiescited by 156
  6. 2023Shifting Attention to Relevance: Towards the Predictive Uncertainty Quantification of Free-Form Large Language Modelscited by 147
  7. 2023Conformal Prediction with Large Language Models for Multi-Choice Question Answeringcited by 131
  8. 2024Language Models with Conformal Factuality Guaranteescited by 128
  9. 2023Complex Claim Verification with Evidence Retrieved in the Wildcited by 110
  10. 2018The Fact Extraction and VERification (FEVER) Shared Taskcited by 108
  11. 2024SaySelf: Teaching LLMs to Express Confidence with Self-Reflective Rationalescited by 102
  12. 2023LMFlow: An Extensible Toolkit for Finetuning and Inference of Large Foundation Modelscited by 58
  13. 2024Multicalibration for Confidence Scoring in LLMscited by 44
  14. 2019Calibration, Entropy Rates, and Memory in Language Modelscited by 32
  15. 2024Calibrating Long-form Generations from Large Language Modelscited by 31
  16. 2024C-RAG: Certified Generation Risks for Retrieval-Augmented Language Modelscited by 27
  17. 2023TRAQ: Trustworthy Retrieval Augmented Question Answering via Conformal Predictioncited by 23
  18. 2016Neyman-Pearson (NP) classification algorithms and NP receiver operating characteristics (NP-ROC)cited by 18
  19. 2023Defining a New NLP Playgroundcited by 4

Built on by

Cited by year (2026 to 7 Oct)

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

6 papers.