blog & research · glossary · hallucination

what’s an LLM hallucination?

by Tuan Hoang · detection lead · last reviewed 2026-05-16
most dangerous when it sounds right.

A hallucination is an LLM output that is fluent, confident, and syntactically well-formed, but factually wrong or unsupported by the model’s source material.

the term was borrowed from earlier work on neural machine translation and image captioning (where models would “see” objects that weren't there) and applied to LLMs as they began producing convincing-but-fabricated citations, statistics, and biographical details.

SAME FLUENCY, SAME CONFIDENCE[Smith et al., 2024]✓ verifiable[Smith et al., 2024]✗ fabricatedconfident ≠ correct — the tell isn’t in the style.
a hallucination: same fluency, same confidence — one just isn’t true

Ji et al.'s 2023 survey formalized two categories. intrinsic hallucinations contradict the input the model was given, like an LLM summarizing a document and inventing a fact that wasn't there. extrinsic hallucinations can't be verified against the input at all: pure fabrication that sounds plausible.

hallucinations matter for AI detection because they're often the most reliable tell in long-form AI-generated text: fabricated citations, invented court cases, plausible-but-wrong dates. a 2024 Stanford study found that general-purpose LLMs hallucinate on 58-82% of legal queries; even purpose-built legal-research tools hallucinate 17-33% of the time.

LLMs are trained to maximize next-token plausibility, not truth.

hallucinations are most dangerous when they sound right. confidence and fluency are produced by the same machinery as the rest of the text. a fabricated citation reads exactly like a real one.

retrieval-augmented generation (RAG) reduces but does not eliminate hallucination. even with cited sources in the prompt, models sometimes confabulate or misattribute. “the model said it cited this paper, but the citation doesn't exist” is a real failure mode in production RAG systems.

hallucination rate isn't a single number. it depends heavily on the task (factual recall, summarization, reasoning), the domain (legal/medical are worst), and how strictly you grade.

frontier models hallucinate less on common queries but can hallucinate more on niche or adversarial ones, and sounding confident does not mean being correct. as of 2026, hallucination remains built into next-token prediction across mainstream production LLMs.

questions

a hallucination is LLM output that reads as fluent, confident, and well-formed while being factually wrong or unsupported by the model’s sources. it surfaces as fabricated citations, invented court cases, wrong dates, and made-up statistics. the danger is that it looks identical to correct output, since confidence and fluency come from the same machinery that produces the rest of the text.

LLMs train to maximize the plausibility of the next token, not its truth, so thin or contradictory training data still yields confident text instead of an admission of uncertainty. as of 2026, hallucination remains built into next-token prediction across mainstream production LLMs.

RAG lowers hallucination without removing it. even with cited sources placed in the prompt, models still confabulate or misattribute. a model can claim to cite a paper that does not exist, and that failure shows up in production RAG systems. a 2024 Stanford study found purpose-built legal-research tools hallucinated on 17 to 33 percent of queries.

frontier models hallucinate less on common queries, but can hallucinate more on niche or adversarial questions, and sounding confident does not mean being correct. the rate shifts with the task, the domain (legal and medical run worst), and how strictly answers get graded.

sources.

  1. 01
    Ji et al., Survey of Hallucination in Natural Language Generation — ACM Computing Surveys 55(12) 2023
    The taxonomy paper that distinguishes intrinsic vs extrinsic hallucination.
  2. 02
  3. 03
put one through amige →is this AI? →