Skip to content
The Internet Compass

Topic Modeling

SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language Models

Potsawee Manakul, Adian Liusie, Mark Gales

Topic ModelingText Readability and SimplificationMachine Learning in Healthcare
Published January 1, 2023Read PDF ↗View on arXiv ↗

Abstract

Generative Large Language Models (LLMs) such as GPT-3 are capable of generating highly fluent responses to a wide variety of user prompts. However, LLMs are known to hallucinate facts and make non-factual statements which can undermine trust in their output. Existing fact-checking approaches either require access to the output probability distribution (which may not be available for systems such as ChatGPT) or external databases that are interfaced via separate, often complex, modules. In this work, we propose "SelfCheckGPT", a simple sampling-based approach that can be used to fact-check the responses of black-box models in a zero-resource fashion, i.e. without an external database. SelfCheckGPT leverages the simple idea that if an LLM has knowledge of a given concept, sampled responses are likely to be similar and contain consistent facts. However, for hallucinated facts, stochastically sampled responses are likely to diverge and contradict one another. We investigate this approach by using GPT-3 to generate passages about individuals from the WikiBio dataset, and manually annotate the factuality of the generated passages. We demonstrate that SelfCheck-GPT can: i) detect non-factual and factual sentences; and ii) rank passages in terms of factuality. We compare our approach to several baselines and show that our approach has considerably higher AUC-PR scores in sentence-level hallucination detection and higher correlation scores in passage-level factuality assessment compared to grey-box methods.

Sourced from arXiv · Updated September 2, 2026

Thank you to arXiv for use of its open access interoperability.

View original source ↗Spot an error on this page? Let us know →

FAQ

Common questions

What is "SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language Models" about?

Generative Large Language Models (LLMs) such as GPT-3 are capable of generating highly fluent responses to a wide variety of user prompts. However, LLMs are known to hallucinate facts and make non-factual statements which can undermine trust in their output. Existing fact-checkin

Who wrote this paper?

Potsawee Manakul, Adian Liusie, Mark Gales

Where can I read the full paper?

The full text is available as a PDF on arXiv (linked above), published January 1, 2023.

Does this paper have a DOI?

Yes: https://doi.org/10.18653/v1/2023.emnlp-main.557.