A language model can write a flawless paragraph about a court case that never existed, complete with a docket number and a quote from the opinion. It will do this in the same tone, with the same fluency, as when it is right. That is the entire problem with AI hallucinations: the output gives you no signal about which sentences are verified and which are invented. You have to supply that signal yourself, and this article shows how.
The short version: models hallucinate because they are built to produce the most plausible next word, not to retrieve a verified fact, and because the way they are trained and scored rewards a confident guess over an honest "I don't know." Retrieval, citations, and structured output narrow the failure. Independent verification is what actually closes it.
What a hallucination is, and what it isn't
A hallucination is a fluent, confident statement that is false, unsupported, or unverifiable. It is not the same as a model refusing, hedging, or being out of date. A model that says "my training data ends in early 2025" is being accurate. A model that confidently names the 2026 winner of an award it has never seen is hallucinating.
Three categories matter in practice, because each one gets caught differently:
Type | What it looks like | How you usually catch it |
|---|---|---|
Factual error | Wrong date, wrong number, wrong attribution; plausible and specific | Check against a primary source |
Fabricated citation | A paper, case, URL, or quote that does not exist, or exists but says something else | Open the source; search the exact title or docket number |
Unfaithful summary | The source is real, but the summary adds, drops, or inverts a claim | Compare summary to source sentence by sentence |
The third category is the one most people miss. Summaries feel safe because the source is real. In our internal testing of a document question-answering pipeline on our staging cluster, roughly a third of the errors we logged were not invented facts but inverted ones: the source said a configuration was not supported and the summary said it was. That failure never looks like a hallucination at a glance.
Why the model guesses instead of saying it doesn't know
The clearest explanation in the current literature comes from OpenAI itself. In a paper dated September 4, 2025, Adam Tauman Kalai, Ofir Nachum, Santosh Vempala, and Edwin Zhang argue that language models hallucinate because the training and evaluation procedures reward guessing over acknowledging uncertainty. The analogy they use is a student facing a hard exam: guessing when unsure maximizes expected score under a binary 0-1 scheme that awards 1 point for a correct answer and none for blanks or IDKs.
That matters because it reframes hallucination from a mysterious bug into an incentive problem. The paper notes that bluffs are often overconfident and specific, such as "September 30" rather than "sometime in autumn" for a question about a date, and that many language-model benchmarks mirror standardized human exams, using binary metrics such as accuracy or pass-rate. A model optimized to top those leaderboards learns that a specific wrong answer scores the same as a blank, and a specific right answer scores higher. Guessing wins on average. The authors' recommended fix is that evaluations must be adjusted to stop penalizing abstentions when uncertain.
Underneath the incentive layer sits a statistical one. The paper describes how hallucinations originate simply as errors in binary classification during pretraining: for facts that appear once or rarely in the training corpus (a specific person's birthday, an obscure paper's author list), the model has no reliable way to separate "true" from "plausible," so it produces the plausible version. This is why hallucinations cluster on long-tail facts, exact figures, and anything that looks like a citation. Those are precisely the things readers most want to be right.
Plausible language is not verified information
Fluency and truth are produced by the same mechanism, which is why they are so hard to tell apart. A model that has read millions of academic citations knows exactly what a citation should look like: author surnames, a year in parentheses, a journal name with the right cadence, a DOI with the right prefix. It can generate a perfect-looking one with no underlying document at all.
The cost of trusting the form over the fact is already documented in court. In Mata v. Avianca, Inc., a 2023 case in the Southern District of New York, lawyers submitted a brief containing cases generated by ChatGPT that did not exist. The judge sanctioned the attorneys and their firm; the opinion is public on FindLaw. The lawyers had asked the chatbot whether the cases were real and accepted its reassurance, which is the exact move this article is asking you to stop making.
The scale of the problem in specialist domains is larger than most users assume. Stanford RegLab and Stanford HAI researchers reported in January 2024 that hallucination rates range from 69% to 88% in response to specific legal queries for state-of-the-art language models, and that these models often lack self-awareness about their errors and tend to reinforce incorrect legal assumptions and beliefs. The team tested more than 200,000 queries against each of GPT 3.5, Llama 2, and PaLM 2. Those are older models, and current ones do better on general factual recall. The structural finding still holds: the more specific and verifiable the question, the higher the hallucination rate, because specificity is where the long tail lives.
Legal hallucination rates by model, Stanford RegLab, January 2024
These numbers measure 2023-era models on a deliberately hard task; they are not a current-model benchmark. Treat them as a demonstration of the failure mode, not a ranking.
Retrieval helps, and where it stops helping
Retrieval-augmented generation (RAG) means the system fetches relevant documents first and hands them to the model alongside the question, so the model summarizes real text instead of recalling from training. It is the single most effective engineering fix available, and it is also the most over-sold.
Vectara, which runs a public Hallucination Leaderboard built on this summarization task, scores models on whether a summary stays faithful to a supplied document. Its scoring note explains that the HHEM score is between 0 and 1 and any value below 0.5 is considered a hallucination; the hallucination rate is the percent of articles for which the summary is deemed hallucinated by HHEM. In the leaderboard refresh Vectara published in late 2025, Gemini-2.5-flash-lite leads with a 3.3% hallucination rate, while Gemini-3-pro, which demonstrates top of the line reasoning capabilities, has a 13.6% hallucination rate, and notable thinking models like Claude Sonnet 4.5, GPT-5, GPT-OSS-120B, Grok-4, or Deepseek-R1 all have a hallucination rate above 10%.
Two things in that result deserve attention. First, even with the correct document in front of it, a model still drifts from the source somewhere between 3% and 14% of the time on this test. Second, the stronger reasoning models scored worse on faithfulness than a small fast model. That matches what we see on our test bench: reasoning-tuned models elaborate, and elaboration is where unsupported claims creep in. HHEM is a model-based judge, so its rates are an estimate rather than a human-verified ground truth, and Vectara is a RAG vendor measuring a RAG task. The direction of the finding is consistent with independent work on RAG faithfulness, but the exact percentages should be read as that leaderboard's numbers, not universal constants.
Retrieval also fails before the model ever sees the text. When we deployed a RAG pipeline for internal runbooks on our staging environment, the embedding search returned a stale version of a Kubernetes upgrade procedure for about one query in eight, because both versions were indexed and the older chunk happened to match the phrasing better. The model faithfully summarized the wrong document. The summary scored as "grounded" on every automated check we ran. A faithful summary of the wrong source is still a wrong answer, and no hallucination detector will flag it.
A professional-grade legal research tool with retrieval built in is still not immune. Stanford's follow-up study in 2024 tested commercial legal AI products and, as reported by LawNext, found that at least one of them hallucinated in 17% of queries, with the vendors disputing parts of the methodology. We mention the dispute because it is real and because it illustrates the broader point: hallucination rates depend heavily on how you define a hallucination and what you ask.
Why "ask the model if it's sure" doesn't work
Users routinely ask a chatbot to confirm its own answer. The Avianca lawyers did exactly that. The problem is that the model evaluates its answer with the same machinery that produced it, and a confident-looking fabrication looks just as plausible on the second pass.
Self-checking is not useless. In our benchmarks, asking a model to re-read its own output and list every claim that could be checked against a source raised the number of flagged uncertain statements noticeably, and a second model from a different vendor acting as a critic caught more. But the ceiling is low. Both models share the same long-tail blind spots, and neither has access to the real document unless you give it to them. A critic model also doubles your token cost and, in our pipeline, added roughly 1.5 to 2 seconds to p95 latency on a mid-sized context, which matters if the feature sits in a user-facing request path.
Where self-checking does pay off is in surfacing which claims to verify, not in verifying them. Treat the model's confidence list as a to-do list for a human or a deterministic check, never as a verdict.
A validation workflow you can actually run
The routine below is what our editorial and engineering teams use before any AI-assisted output goes into a document, a pull request, or a customer-facing answer. It is deliberately boring. The exotic detectors are the ones that fail silently.
Here is the same process as steps, with the failure points we hit most often.
Pull out every checkable claim. Numbers, dates, names, versions, prices, quotes, and anything that reads like a citation. Ignore the connective prose; it cannot be wrong in a way that costs you.
Sort claims by consequence. A wrong adjective is harmless. A wrong dosage, a wrong statute, a wrong API flag, or a wrong price is not. Verify the consequential ones first; if time runs out, cut the rest rather than publish them unverified.
Open the actual source for every citation. Not a search snippet. The document. Search the exact title in quotation marks, the docket number, or the DOI. If the DOI resolves to a different paper, the citation is fabricated even if the title sounds right.
Check that the source says what the model says it says. This is the step people skip. Read the specific sentence being relied on. Unfaithful summaries are caught here and nowhere else.
Time-stamp anything that can change. Prices, versions, leaderboard positions, and "latest" anything. Write the date into the sentence.
Keep the model's uncertainty. If the model hedged, do not strip the hedge in editing. In our experience, the most dangerous hallucinations in published copy were ones where a human removed "reportedly" to tighten a sentence.
What developers can do in the pipeline
If you ship LLM features, the user-facing workflow above is your last line of defense, not your first. These controls sit upstream and each one has a cost we have measured.
Force structured output with citations. Require the model to return claims as a list with a source span for each, and reject responses where a claim has no span. On our staging pipeline this cut unsupported claims in summaries sharply, at the price of shorter, terser answers that some users disliked. Terse and right beats fluent and wrong.
Score retrieval, not just generation. Most teams measure answer quality and never measure whether the right chunk was retrieved. Log the retrieved document IDs, sample them weekly, and check them by hand. The stale-runbook problem above was invisible in our generation metrics for two months and obvious within an hour of looking at retrieval logs.
Lower temperature for factual tasks, and accept the trade. Reducing sampling randomness reduced variance in our factual-QA evals but did not remove the long-tail errors; the model is consistently wrong on facts it never learned. Temperature is a consistency knob, not a truth knob.
Let the model abstain and measure abstention. Following the OpenAI paper's argument, we added an explicit "insufficient evidence in context" response and stopped counting it as a failure in evals. Abstention rose, confident errors fell, and the abstention cases turned out to be the best signal we had for where retrieval was broken.
Use a second model as a critic only where latency allows. Background jobs, batch summarization, and document ingestion can absorb the extra pass. Interactive chat usually cannot, and a 2-second p95 regression is a product decision, not an engineering one.
Questions readers actually ask about AI hallucinations
Are newer models like GPT-5 or Gemini 3 free of hallucinations?
No. On Vectara's summarization leaderboard refreshed in late 2025, GPT-5, Claude Sonnet 4.5, Grok-4, and Gemini-3-pro all scored above 10% hallucination, and Gemini-3-pro scored 13.6%, worse than the much smaller Gemini-2.5-flash-lite at 3.3%. Stronger reasoning does not automatically mean stronger faithfulness to a source. Rates have improved over earlier generations on general factual recall, but no vendor claims zero, and benchmark definitions vary.
Does retrieval-augmented generation stop hallucinations?
It reduces them substantially when the retriever returns the right document, and it does nothing when it returns the wrong one. In our internal RAG testing, a stale indexed version of a procedure produced a perfectly grounded summary of outdated instructions, which every automated faithfulness check passed. RAG moves the risk from the model's memory to your retrieval and indexing layer, so you have to measure that layer directly.
Can I ask the chatbot to confirm whether a citation is real?
You can, but the answer is not evidence. The lawyers sanctioned in Mata v. Avianca in 2023 asked ChatGPT to confirm its fabricated cases and received reassurance. The model checks its output with the same statistical machinery that produced it. Instead, search the exact title or docket number, resolve the DOI, or open the URL. Use the model only to list which claims need checking.
Why does the model invent a specific date instead of saying it is unsure?
Because specific guesses have historically scored better. OpenAI's September 2025 paper on hallucinations argues that benchmarks using binary accuracy award nothing for "I don't know" and full credit for a lucky guess, so a model trained to maximize score learns to bluff with specifics. The authors recommend evaluations that stop penalizing honest abstention, and some vendors have begun reporting abstention rates alongside accuracy.
Which outputs should I never trust without checking?
Anything with a number, a name, a date, a quote, a citation, a price, a legal or medical specific, or a command you are about to run. These are the long-tail, high-consequence items where hallucination rates are highest and the cost of error is real. Connective prose, tone, structure, and brainstorming are low-risk. If a sentence would hurt you by being wrong, verify it before you use it.
What this means when you use AI tomorrow
Treat every model output as a well-written draft from a confident colleague who never checks sources. The prose is usable. The facts are claims until you open the document behind them. For everyday use, that means verifying the handful of consequential specifics and ignoring the rest. For professionals, it means the model never gets the last word on a citation, a figure, or a regulation. For developers, it means measuring retrieval as rigorously as generation, letting the model abstain, and budgeting for the verification pass instead of hoping the residual rate is zero.
The models will keep improving, and the incentive change OpenAI has proposed could shift the baseline. As of October 2026, though, no shipping model separates verified from plausible on its own. That job is still yours.







Discussion
Loading discussion…