Hallucination
Fluent, confident output that is not grounded in anything real.
Hallucination is the production of plausible, well-formed content that has no basis in fact — a cited source that does not exist, an API method that was never defined, a file path that is invented rather than observed. The term is imperfect (confabulation is closer) but it has stuck.
It is not a bug in the ordinary sense. A Large Language Model generates likely continuations; a fluent wrong answer and a fluent right answer are equally likely-looking from inside the model. Nothing in the objective distinguishes them.
The important consequence is that fluency is not evidence, and specificity is actively misleading: a precise-sounding mechanism reads as more rigorous than an honest "not established", which is exactly the trap described in Plausible Mechanism. Humans make the same error for the same reason, which is why the mitigation is procedural rather than model-specific.
Mitigations that work are all about grounding. Give the model tools to look rather than recall — reading the file beats remembering the file. Validate identifiers against a real catalogue rather than trusting recall. Require citations that can be checked. And design so that unverifiable claims are cheap to detect: an exhaustive claim, an invented path, or a cited test file are each one command away from being falsified. See Ground Truth and Exhaustive Claim.
See also4
Hand-picked in the note itself — the neighbours worth reading next.
Falsifiability
A claim is only worth something if you know what observation would refute it.
Method16 connections
Tool Use
Giving a model a set of callable functions so it can act on the world rather than only describe it.
Agents & Language Models24 connections
Guardrail
A rule constraining what a model may do, enforced by prompt, schema, or surrounding code.
Agents & Language Models13 connections
Nondeterminism
The property that identical inputs may produce different outputs, and what it costs to test around.
Agents & Language Models17 connections
Related2
Nearby in the graph rather than deliberately chosen. Looser, sometimes surprising.
Linked from5
Notes elsewhere in the wiki that reach for this one.
- AssertionTesting & Verification
The statement in a test that must hold, and the only part that can actually fail.
- Exhaustive ClaimMethod
A statement of the form "the last one" or "nothing else does this" — load-bearing, and only as good as the search behind it.
- Large Language ModelAgents & Language Models
A neural network trained to predict text, used as a general-purpose instruction-following system.
- Linguistic RelativityMeaning & Society
The hypothesis that language shapes thought, and the evidence that has narrowed it considerably.
- Plausible MechanismMethod
A causal explanation that was inferred rather than tested, and reads as more rigorous for being specific.