AI fundamentals

Hallucination

AI-assisted editorial review:

In AI reliability, hallucination refers to an AI model, typically a large language model (LLM), generating information that is false or unsupported while presenting it fluently, as if it were fact.[1][2]

What does Hallucination mean in simple terms?

A hallucination is when an AI does not say "I don't know" and instead makes up a plausible answer. OpenAI compares it to a multiple-choice test: if a blank answer scores zero, guessing looks like the better strategy, and models trained and graded on accuracy learn to guess in the same way.[2] Imagine a colleague who cites a report or a court case that does not exist, with a confident tone and a realistic-looking title. If such content goes straight into a report or a client presentation, trust can collapse at once. Make it a habit to check the numbers, names and sources in any AI answer separately before you use them.

How can Hallucination be explained with an analogy?

It is like a new hire with an impressive résumé who confidently writes figures they do not actually know into a report.

Where is Hallucination used?

Case 1

Mata v. Avianca — Fake case law from ChatGPT submitted to a U.S. court

In a personal-injury lawsuit against the airline Avianca in the U.S. District Court for the Southern District of New York, a lawyer filed a brief citing court decisions he had found with ChatGPT.[3] The court found that six cited opinions, including "Varghese v. China Southern Airlines," did not exist; the quotes and citations had been fabricated by ChatGPT.[3] On June 22, 2023, Judge P. Kevin Castel imposed a USD 5,000 penalty, jointly on two lawyers and their law firm, and ordered them to send letters to the plaintiff and to each judge falsely named as the author of a fake opinion.[3] The court noted that the lawyer who used ChatGPT had practiced for about 30 years.[3]
Result: USD 5,000 penalty plus notification letters (court order, 2023-06-22).[3]

Case 2

Air Canada — An airline held responsible for its chatbot's wrong answer

In November 2022, after his grandmother died, Jake Moffatt asked the chatbot on Air Canada's website about bereavement fares. The chatbot said he could submit his ticket for a reduced rate within 90 days of the ticket being issued, but the airline's own bereavement policy page said refunds could not be requested after travel.[4] On February 14, 2024, British Columbia's Civil Resolution Tribunal rejected Air Canada's argument that the chatbot was a separate entity, stating that the company is responsible for all information on its website, and ordered it to pay CAD 812.02 (damages, interest and fees).[4] The decision did not describe what technology the chatbot used, but legal commentators noted it may be the first case to apply this principle to chatbot information.[4][5]
Result: CAD 812.02 ordered (CAD 650.88 damages + interest + tribunal fees).[4]

Case 3

Korea — The "Sejong MacBook-throwing incident" meme

In February 2023, Korean users asked ChatGPT about "King Sejong throwing a MacBook Pro, as recorded in the Annals of the Joseon Dynasty," an event that never happened. ChatGPT answered seriously that the 15th-century king had thrown a MacBook Pro in anger while drafting Hangul.[6] Hankook Ilbo explained that the model picks the statistically most suitable words based on its training data, so it can give a plausible answer instead of saying it does not know. Professor Zhang Byoung-Tak of Seoul National University's AI Institute said that pushing that probability to an extreme would make the model build sentences only from source text and lose its difference from ordinary search.[6] The article also warned that errors may be more frequent in Korean services, where training data is scarcer, but it did not present measurements.[6]
Result: A false-premise question produced a detailed, fabricated "historical record" (newspaper report, 2023-02-23).[6]

Case 4

OpenAI GPT-5 — Fewer, but not zero, hallucinations (company-reported)

In its GPT-5 system card (August 2025), OpenAI reported that on prompts representative of ChatGPT production traffic with browsing enabled, gpt-5-main had a claim-level hallucination rate 26% lower than GPT-4o, and gpt-5-thinking 65% lower than OpenAI o3.[7] On the LongFact and FActScore benchmarks, gpt-5-thinking made over five times fewer factual errors than o3, with browsing both on and off.[7] On SimpleQA without web access, however, gpt-5-thinking still had a hallucination rate of 0.40 (o3: 0.46), showing clear limits when the model relies only on internal knowledge.[7]
Result (company-reported): Responses with at least one major factual error 78% fewer for gpt-5-thinking than o3 on production-like prompts.[7]

Try it today

  1. Copy names, case numbers and statistics from an AI answer into a search engine and confirm they actually exist.
  2. Ask the same question to two or more models (for example Claude, GPT and Gemini) and mark points where the answers differ as possible hallucinations.
  3. For questions about internal documents, move from a standalone model to a RAG setup (retrieval-augmented generation: the model reads relevant documents before answering), and instruct it to include a source link with every answer.
  4. Add an instruction to the system prompt such as "If you are not sure, say you cannot confirm it." This can help reduce the risk but does not remove it.[2]
  5. For reports that will be shared externally, use AI answers only as a first draft. Have a person check them against primary sources (papers, court decisions, official documents) before approval.

Limits and direction

Hallucination is less a side effect than a structural property of LLMs. Models learn to predict the next word from large amounts of text without true/false labels, and evaluations that score only accuracy reward guessing over admitting uncertainty.[2] OpenAI's view is that accuracy will never reach 100%, but models can learn to abstain when uncertain.[2] On Vectara's hallucination leaderboard for short-document summarization (updated September 22, 2026), even the best listed model still had a hallucination rate of 1.8%, and no model reached 0%.[9] In a 2024 study by Stanford RegLab and HAI researchers, RAG-based legal research tools marketed as avoiding hallucinations still gave incorrect information more than 17% (Lexis+ AI, Ask Practical Law AI) and more than 34% (Westlaw AI-Assisted Research) of the time; the team's earlier study had found 58–82% for general-purpose chatbots on legal queries.[8]

Mitigation is moving in three directions. First, RAG, which retrieves documents at answer time, has become a common pattern.[13] POSCO Group has run P-GPT, which combines ChatGPT with internal knowledge, since September 2023; by late 2025 about 20,000 employees at 37 group companies used it, and the company describes it as RAG-based.[10] Second, training and evaluation are being adjusted: RLHF-trained InstructGPT made up facts less often than GPT-3, and OpenAI now argues that scoreboards should penalize confident errors more than expressions of uncertainty.[11][2] Third, reasoning models are reducing error rates, as in OpenAI's GPT-5 results.[7] These approaches treat hallucination as something to measure and reduce, so important decision documents still need a person to check them against primary sources.[2][7]

How has Hallucination evolved?

2020-05-22
RAG proposed
Researchers proposed combining a language model with document retrieval to produce more factual, source-grounded text.[13]
2022-01-27
InstructGPT and RLHF
OpenAI reported that RLHF-trained InstructGPT made up facts less often than GPT-3.[11]
2022-11-30
ChatGPT launch
OpenAI noted at launch that ChatGPT sometimes writes plausible-sounding but incorrect answers.[12]
2023-06-22
Mata v. Avianca sanctions
A U.S. court penalized lawyers for submitting fake case law generated by ChatGPT.[3]
2025-08-07
Reasoning models and verification
OpenAI reported large reductions in factual errors for gpt-5-thinking compared with o3.[7]

Which concepts are related to Hallucination?

  • Foundation
    LLMHallucinations stem from how LLMs learn to predict the next word.[2]
  • Next step
    RAGA mitigation that grounds answers in retrieved documents, though it does not remove errors entirely.[8][13]
  • Similar concept
    AI SafetyReducing hallucinations is one of the core goals of making AI reliable and safe.[2]
  • Key technique
    RLHFTraining with human feedback helped InstructGPT make up facts less often.[11]
  • Related field
    AI AlignmentResearch on making models behave as their users intend, including being truthful.[11]

RAG vs Fine-tuning (for reducing hallucinations)

ComparisonRAGFine-tuning
ApproachRetrieves documents, then answers[13]Trains knowledge or style into the model
Source trackingCan show the source behind an answer[13]Hard to trace which data an answer came from
FreshnessUpdated by replacing documents[13]Requires retraining
Hallucination controlGrounded answers, but errors remain (17%+ in legal tools tested)[8]Better suited to domain tone and format than to fact control
Typical useInternal assistants, customer supportStyle and specialized-domain adaptation

Which sources explain Hallucination?

  1. Ji et al. (arXiv / ACM Computing Surveys) — Survey of Hallucination in Natural Language Generation (2022-02-08) — https://arxiv.org/abs/2202.03629
  2. OpenAI — Why language models hallucinate (2025-09-05) — https://openai.com/index/why-language-models-hallucinate/
  3. U.S. District Court, S.D.N.Y. (via Justia) — Mata v. Avianca, Inc., Opinion and Order on Sanctions (2023-06-22) — https://law.justia.com/cases/federal/district-courts/new-york/nysdce/1:2022cv01461/575368/54/
  4. Civil Resolution Tribunal of British Columbia — Moffatt v. Air Canada, 2024 BCCRT 149 (2024-02-14) — https://decisions.civilresolutionbc.ca/crt/crtd/en/525448/1/document.do
  5. McCarthy Tétrault — Moffatt v. Air Canada: A Misrepresentation by an AI Chatbot (2024-02-19) — https://www.mccarthy.ca/en/insights/blogs/techlex/moffatt-v-air-canada-misrepresentation-ai-chatbot
  6. Hankook Ilbo — ChatGPT's odd answer to "the Sejong MacBook-throwing incident" becomes a meme (2023-02-23) — https://www.hankookilbo.com/News/Read/A2023022215200000727
  7. OpenAI — GPT-5 System Card (2025-08-07) — https://arxiv.org/html/2601.03267
  8. Stanford HAI — AI on Trial: Legal Models Hallucinate in 1 out of 6 (or More) Benchmarking Queries (2024-05-23, updated 2024-05-30) — https://hai.stanford.edu/news/ai-trial-legal-models-hallucinate-1-out-6-or-more-benchmarking-queries
  9. Vectara — Hallucination Leaderboard (updated 2026-09-22) — https://github.com/vectara/hallucination-leaderboard
  10. POSCO Group Newsroom — POSCO DX launches P-GPT 2.1 (2025-12-31) — https://newsroom.posco.com/kr/?p=126506
  11. OpenAI — Aligning language models to follow instructions (2022-01-27) — https://openai.com/index/instruction-following/
  12. OpenAI — Introducing ChatGPT (2022-11-30) — https://openai.com/index/chatgpt/
  13. Lewis et al. (arXiv) — Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks (2020-05-22) — https://arxiv.org/abs/2005.11401