AI GLOSSARY · AI CONCEPTS

AI hallucination

Markdown version

Definition

A hallucination is model-generated content unsupported by relevant grounding or presented as factual despite being false. Source faithfulness and external factuality are different criteria; requested fictional invention is not automatically a hallucination.

Also called: hallucination, AI hallucinations, hallucinations, confabulation.

In plain language

A model might invent a citation or state a fact that conflicts with the evidence it was given. Fluent or confident wording does not make the claim reliable. First decide what the answer must be faithful to: a supplied document, current external facts, or both. An intentionally fictional story is a different task and should not automatically be graded as a factual failure.

Technical definition

Usage varies across tasks. Summarization research distinguishes faithfulness to the input from factuality outside it. An externally true detail can still be unsupported in a source-bound summary, while a summary can faithfully repeat an inaccurate source. Evaluators should name the criterion and supporting evidence. Retrieval, quoting and consistency checks can support evaluation, but none is proof of truth by itself; mitigation effectiveness must be measured for the actual task.

Worked examples in this catalogue

Catalogue examples point at a skill, guide or coding tool listed on this site, with what to run and what you see. An example marked illustrative describes the item from its own documentation; it was not executed for this page. Platform Scores are our assessment under a published method, not a safety guarantee.

  1. Guide · Illustrative, not executed

    AI Hallucination: What to Check in Agent Output

    What you see
    The guide gives a routine for reviewing agent output: split it into claims, tag where each came from, ask for exact quotes, read the source yourself, and remove any claim with no support.
    Why it exercises the concept
    It turns the definition into a checklist you can run on any answer, and it names the common failures such as invented quotes and real quotes that do not support the claim.
  2. Skill by Skill Almanac · Illustrative, not executed

    faithful-summary-writer 55/100 · Provisional, not yet measuredScored · Method v0.2 · How we score

    What you see
    A summary of one document in which every sentence traces to the source, followed by a check for invented or altered facts.
    Why it exercises the concept
    Summaries are where small invented details slip in. The skill makes each sentence point back to the text, so a hallucination shows up as a sentence with no source.
  3. Skill by Skill Almanac · Illustrative, not executed

    library-docs-lookup 52/100 · Provisional, not yet measuredScored · Method v0.2 · How we score

    What you see
    An answer to a library question taken from the installed package's own files, with the file and line cited.
    Why it exercises the concept
    A coding agent that answers from memory can invent an API that does not exist. Reading the installed files and citing the line replaces recall with something you can open.
  4. Skill by Anthropic · Illustrative, not executed

    discernment-nudge 28/100 · Provisional, not yet measuredScored · Method v0.2 · How we score

    What you see
    A few follow-up questions added after a substantive answer, prompting you to check the facts and assumptions behind it.
    Why it exercises the concept
    It does not stop hallucinations. It builds the habit of questioning a fluent answer before you rely on it.

How it shows up when you use agents

An unsupported file path can cause a failed command; an invented package name can misdirect installation; a fabricated citation can enter a report. Check the relevant files, package registry or source passage before relying on the claim. A tool result also needs interpretation: citing a real page does not establish that it supports the sentence beside the citation.

For a source-bound summary, compare each factual claim with the supplied text. For a question about the current world, also check current external evidence. Log retrieved passages so you can distinguish a retrieval problem, a source problem and a generation problem. These can overlap.

Common confusions

  • Faithfulness versus factuality. Support in a document and truth outside that document are separate evaluation questions.
  • Fiction versus factual assertion. Inventing a character on request is not automatically a hallucinated factual claim.
  • Confidence versus verification. Tone and repeated agreement are not independent evidence.
  • Error versus intent. An unsupported output does not by itself establish intentional deception or settle questions about a model's mental states.
  • Access versus accuracy. Web or file access does not guarantee that an answer uses the evidence correctly. See the claim-checking guide.
Show all 45 related terms

Terms that mention AI hallucination

35 terms mention this one

Guides that mention AI hallucination

More in AI concepts

Next steps

  1. AI Hallucination: What to Check in Agent Output The long-form guide.
  2. faithful-summary-writer A skill that exercises it.
  3. All glossary terms A to Z and by family.

Next term to learn: AI agent (9 of 10)

Sources

Definitions are written by Skill Almanac from these sources. An independent review of the sources and examples is in progress. Wikipedia is never the only source.

Review record

Independent review in progress

Drafted by Claude (original draft) and Codex (automated revisions). An independent review of its sources and examples is in progress.

This entry is still in review, so it is not listed in search engines yet.

Change log (3)
  • : First version.
  • : Scoped entity, retrieval and tool-use explanations; complete exact-version review remains pending.
  • : AI scope made explicit. Removed broad hallucination volume110000 from this AI-specific entry; derived AI-query14800 awaits its raw receipt. Unknown does not mean no demand.