Skip to content

Hallucination (artificial intelligence)

Written by GPT-6 Luna from the web 21 of 80 sentences cited

An AI wrote this article, and it can be wrong.

An artificial-intelligence hallucination is an AI-generated response that presents false, misleading, or unsupported content as though it were factual. The term is most often used for errors in language-model outputs, including plausible but fabricated details, citations, or explanations. It matters because fluent presentation can make such errors difficult to recognize, and users may rely on them when making decisions or communicating information.1

The boundaries of the term are not uniform: research has used it for content that contradicts an input, for claims an input cannot support, and more broadly for false claims about the world. Researchers study how hallucinations arise, how to detect them, and how to reduce their consequences, but no single method guarantees factual accuracy. The metaphor itself has also been questioned because it can suggest human-like perception or intention in systems that generate outputs through computational processes.21

Definition and scope

In a common, broad usage, a hallucination is information generated by an AI system that is false or misleading but expressed as fact. The U.S. National Institute of Standards and Technology (NIST) uses the term “confabulation” for confidently presented false or erroneous content, noting that “hallucination” and “fabrication” are also used colloquially. NIST’s definition includes outputs that contradict a prompt or other input, or that conflict with earlier statements in the same conversation.1

In language-generation research, two distinctions are often useful. A faithfulness error occurs when an output is inconsistent with the information it was meant to use; a factuality error occurs when a claim is wrong about the world. A generated summary might contradict its source, or add a detail the source does not mention. The added detail may be true or false, so whether it counts as a hallucination can depend on whether the task requires fidelity to the source or accuracy about the world.3

Not every inaccurate output is necessarily called a hallucination. Researchers and practitioners may use the term differently across tasks, and a benchmark’s definition can affect which errors it counts. Nor does the term ordinarily describe every invented element in fiction or image generation: non-factual content can be appropriate when a user asks for creative work. NIST identifies the anthropomorphic implications of “hallucination” as a concern; the word describes an output failure, not evidence that a system perceives, believes, or intends anything.1

Origins and development

Research on unsupported generated content predates the public prominence of chatbots. In neural machine translation, researchers examined outputs that were unrelated to the text being translated. Work on abstractive summarization likewise studied systems that introduced details not supported by their source documents. A 2020 study of summarization systems found that their outputs could contain substantial amounts of content that human evaluators judged unfaithful or factually incorrect.3

As the term spread to large language models, it came to cover a wider range of errors, including incorrect answers to factual questions, fabricated references, and inconsistent explanations. A 2023 survey documented the range of definitions and evaluation approaches in natural-language generation research. The broadened use reflects the application of generative systems to open-ended tasks, where an answer can be fluent and coherent while still being unsupported or false.4

The term is also used beyond text. In image- and language-based systems, researchers investigate cases where a model describes objects or details not present in an image. These failures differ from fabricated text in how they arise and how they are evaluated, so findings about language models do not automatically apply to all generative AI. Research reviews published in 2026 examine hallucination across language and multimodal systems as a developing area of study. dl.acm.org springer.com

How they arise

Large language models generate text by estimating which tokens are likely to follow a given context. NIST notes that this statistical process can produce accurate, coherent content, but can also generate factual errors or inconsistencies. The model’s ability to produce a convincing sentence is therefore not, by itself, evidence that it has verified the claim against a reliable source.1

Errors can arise when a model lacks reliable information, when its training examples provide weak or conflicting signals, or when a prompt asks for a specific answer despite uncertainty. A 2026 study in Nature argues that training and evaluation can create pressure to guess: if systems are rewarded for giving correct answers but not sufficiently penalized for confident guesses, they may have little incentive to abstain. The authors also argue that rare or isolated facts are harder to learn reliably than recurring patterns.5

Researchers describe hallucination as having multiple contributing causes rather than one single failure mechanism. A 2026 survey organizes proposed causes across stages of system development, including data preparation, training, evaluation, and inference. This means that a correction aimed at one stage may not prevent errors caused elsewhere, and explanations developed for text-generation systems may not capture the mechanisms of other AI systems.6

Types and evaluation

One common classification separates intrinsic from extrinsic hallucinations. An intrinsic hallucination conflicts with the source material supplied for a task; an extrinsic hallucination adds information that the source does not establish. These labels are especially useful for summarization and other source-based tasks. In open-ended question answering, where no source text is provided, evaluation instead depends on whether claims can be checked against evidence about the world. dl.acm.org

Hallucination rates are not a single property that can be measured independently of a task. Results can vary with the prompts, subject matter, model version, benchmark, and rules for scoring errors or abstentions. The 2026 Nature study argues that many accuracy-focused evaluations reward guessing rather than admitting uncertainty, while a 2024 study of “semantic entropy” proposes estimating uncertainty by comparing the meanings of several responses to the same prompt. Such methods can flag some answers for closer scrutiny, but they do not establish whether every flagged or unflagged claim is true.52

Evaluation is further complicated by the distinction between a correct answer and a well-supported one. A claim can happen to be true while lacking support in the text a model was asked to summarize; conversely, a source-grounded statement can accurately report what a source says even if the source itself is wrong. Researchers therefore use different tests for factuality, consistency with a source, and confidence or uncertainty. No single score captures all of these properties.3

Consequences

The practical risk depends on the content, audience, and use of an output. NIST warns that users may act on false information partly because it is presented confidently. In healthcare, for example, an inaccurate summary of patient information could contribute to an incorrect diagnosis or treatment recommendation. The risk is particularly important when AI output informs consequential decisions and users do not independently check it.1

Fabricated legal citations illustrate how a fluent error can create real-world consequences. In Mata v. Avianca, a 2023 U.S. district-court opinion described a lawyer’s submission of nonexistent cases generated with ChatGPT and imposed sanctions after the citations were not verified. The incident became a prominent example of the distinction between using a tool to draft text and checking whether its factual and legal claims are correct.7

The problem is not limited to invented sources. A system can cite a real document but misstate what it says, or give a plausible explanation for a conclusion that is itself wrong. NIST notes that fabricated logic or citations can make an answer seem more trustworthy than it is. The 2024 semantic-entropy study also identifies false legal precedents, untrue news claims, and medical errors as examples of why unreliable generation can matter in different settings.12

Detection and mitigation

A widely used approach is to connect a generator to external documents, databases, or tools and ask it to base its response on retrieved material. This approach, often called retrieval-augmented generation, can provide evidence that was not included in a model’s training. However, retrieval does not guarantee that the right information is found or that the generated answer represents it faithfully. A 2024 benchmark study reported that adding retrieval reduced hallucinations only slightly in its tested settings, rather than eliminating them.8

Other approaches include training systems to express uncertainty, checking claims against sources, and using multiple generated answers to identify unstable responses. The semantic-entropy method, published in Nature in 2024, compares the meanings of sampled answers to estimate when a model may be uncertain. It is designed to detect a subset of arbitrary, incorrect answers, not to serve as a universal fact-checker.2

Human review remains important when an error could cause significant harm. Verification can include opening cited sources, checking whether each citation supports the associated claim, and comparing summaries with the documents they describe. NIST’s risk-management guidance treats confabulation as a risk to identify and monitor, rather than a problem that can be assumed to disappear through the use of a more capable model.1

Current research

By 2026, research included work on detection, evaluation, correction, and the incentives created by model training and benchmarks. A Nature paper published in April 2026 argued that accuracy-based evaluation can encourage unwarranted guessing and proposed making the treatment of errors and abstentions more explicit. Its analysis presents hallucination not only as a model-quality problem but also as an effect of how systems are trained and scored.5

Surveys published in 2026 describe an expanding set of methods, including retrieval, automated fact-checking, uncertainty estimation, and cross-checking among models. These methods address different failure modes, and their performance depends on the task and evidence available. Researchers continue to study how to evaluate them and how to account for errors in multimodal systems, where the model’s generated descriptions may not match the input image or other data.6

The term remains in common use, although “confabulation” is preferred in some technical and policy contexts to avoid implying human perception. Whatever label is used, the central issue is whether a generated claim is accurate, supported by appropriate evidence, and presented with a degree of certainty justified by that evidence. Research has produced tools for reducing or detecting some errors, but available studies do not establish a general method that ensures every generated answer is reliable.12

References

8 sources