paper-with-me

홈 › Papers

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

2024-11-04 · Fan Nie, Xiaotian Hou, Shuhang Lin, James Zou, Huaxiu Yao, Linjun Zhang

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.

📄 PDF Abstract BibTeX arXiv:2411.02603

Code (0)

등록된 구현이 없습니다.

Tasks

Multiple-choiceQuestion Answering

Similar Papers 제목 키워드 기반

FELM: Benchmarking Factuality Evaluation of Large Language Models

2023-10-01 · NeurIPS 2023 11 · Shiqi Chen, Yiran Zhao, Jinghan Zhang, I-Chun Chern 외

Assessing factuality of text generated by large language models (LLMs) is an emerging yet crucial research area, aimed at alerting users to potential errors and guiding the development of more reliable LLMs. Nonetheless,…

BenchmarkingMathRetrievalWorld Knowledge

Evaluation Guidelines to Deal with Implicit Phenomena to Assess Factuality in Data-to-Text Generation

2021-08-01 · ACL (unimplicit) 2021 8 · Roy Eisenstadt, Michael Elhadad

Data-to-text generation systems are trained on large datasets, such as WebNLG, Ro-toWire, E2E or DART. Beyond traditional token-overlap evaluation metrics (BLEU or METEOR), a key concern faced by recent generators is to …

Data-to-Text GenerationText Generation

When Benchmarks Age: Temporal Misalignment through Large Language Model Factuality Evaluation

2025-10-08 · Xunyi Jiang, Dingyi Chang, Julian McAuley, Xin Xu arxiv

The rapid evolution of large language models (LLMs) and the real world has outpaced the static nature of widely used evaluation benchmarks, raising concerns about their reliability for evaluating LLM factuality. While su…

Factuality Enhanced Language Models for Open-Ended Text Generation

2022-06-09 · Nayeon Lee, Wei Ping, Peng Xu, Mostofa Patwary 외

Pretrained language models (LMs) are susceptible to generate text with nonfactual information. In this work, we measure and improve the factual accuracy of large-scale LMs for open-ended text generation. We design the Fa…

MisconceptionsSentenceSentence CompletionText Generation

Are Large Language Models Reliable Judges? A Study on the Factuality Evaluation Capabilities of LLMs

2023-11-01 · Xue-Yong Fu, Md Tahmid Rahman Laskar, Cheng Chen, Shashi Bhushan TN

In recent years, Large Language Models (LLMs) have gained immense attention due to their notable emergent capabilities, surpassing those seen in earlier language models. A particularly intriguing application of LLMs is t…

BenchmarkingQuestion AnsweringText Generation