Skip to content
All articles
Fundamentals 9 min read· by Lars Zimmermann

AI hallucinations: why ChatGPT invents sources and facts

ChatGPT invents sources, figures and legal references; the technical term is hallucination. Why AI makes up facts, what courts say and how to catch it.

In short

When ChatGPT or another AI invents sources, figures, clauses or quotations, it is hallucinating: making a plausible but false statement. Models predict what is probable and are rewarded for guessing in tests. Your own sources, mandatory citations and permission to say “I don’t know” reduce the risk. A human check, graded by risk, has to catch it.

Auf Deutsch lesen: deutsche Fassung

An illustrative example, freely chosen: an employee has an AI assistant prepare the reply to a customer complaint. The draft is polite and well structured. It cites a standard with a clause number and a court ruling with a case number. Everything looks checked. The clause does not exist in that standard, and no court ever handed down that ruling. It will only come to light when the customer looks it up.

Specialists call such errors hallucinations. OpenAI describes them as plausible but false statements generated by a language model. The US agency NIST, in its profile for generative AI, speaks of confabulation: false content presented with confidence. I build AI systems myself and audit them. Here you will find where hallucinations come from, what they look like in a business, what helps and what I want to see as an auditor.

Why an AI would rather guess than stay silent

A language model first learns to predict the next word in huge amounts of text. In a post from September 2025, OpenAI names the catch: these texts carry no “true” or “false” label. The model sees fluent language and learns how it is distributed. Spelling and parentheses follow fixed patterns, and such errors disappear as models grow. A birthday follows no pattern. With a case number or a marginal number in a legal commentary, only the format follows a pattern, the number itself does not. Such individual facts cannot be derived from patterns.

The accompanying paper by Kalai, Nachum, Vempala and Zhang works this through. For facts without a pattern, their calculation says: if a share of them appears only once in the training data, a base model will be wrong at least at that rate after pretraining. The authors’ example: if 20 per cent of birthdays appear only once, hallucinations are to be expected on at least 20 per cent of birthday questions. Asked the same birthday question three times, one model gave the authors three different dates. All three were wrong.

The second reason lies in how models are graded. Most tests count only correct answers. Whoever guesses has a chance of a point. Whoever says “I don’t know” is certain to get zero. A model trained towards such tests learns to guess, like a pupil facing a hard exam. Even so, the authors do not consider hallucinations inevitable. A model can abstain.

How large the difference can be is shown by a table in the same post, measured by the manufacturer on its own models with its own SimpleQA test. An older model almost always answered: 24 per cent right, 75 per cent wrong, 1 per cent abstained. A newer one abstained in 52 per cent of cases: 22 per cent right, 26 per cent wrong. Almost the same hit rate, about a third of the errors. As a buying recommendation, the table is of no use. It shows where the lever sits.

How to choose an AI model by task, data situation and twenty test cases of your own:

Which AI model fits?

For a business this means: AI becomes dangerous with rare, precise details such as case numbers, marginal numbers, clauses of standards or measured values. Exactly these make a text credible.

What AI invents in a business: five forms

In its own help centre, OpenAI lists what ChatGPT can get wrong. It names incorrect definitions, dates and facts, fabricated quotes, studies and citations, as well as overconfident answers to ambiguous questions. From practice, I sort this into five forms.

  • The invented source. A study, ruling, specialist article or link, with author, year and reference. It does not exist.
  • The real source with the wrong content. The work exists, so does the page, but it says something else. This form is more treacherous than the first, because a quick search finds the title.
  • The invented figure. Market size, percentage, deadline, limit value. It comes with a decimal place and sounds like a measurement.
  • The invented clause of a standard or the wrong section of a law. Clause number, marginal number, paragraph. Standards cost money and are rarely freely available online. In my assessment, models guess particularly often in exactly this area.
  • The invented quotation. A sentence in quotation marks that does not appear in the source named.

With your own documents there is a variant. NIST describes outputs that diverge from the input or contradict earlier statements in the same conversation. The summary of a supplier contract then contains a clause that is missing from the contract. According to NIST, models also invent reasoning and citations meant to support a wrong answer. A neatly derived solution therefore proves nothing about the result.

Figures that people spread about AI are checked in a separate article, with four viral examples:

Proof over claim: fact-checking viral AI statistics

Three courts, the same pattern

Hallucinations are best documented in court filings, because courts look things up and write down what they find.

New York, June 2023. In Mata v. Avianca (22-cv-1461 (PKC), U.S. District Court for the Southern District of New York), lawyers had cited decisions that ChatGPT had invented, complete with quotes and citations. The court lists six invented decisions. One of the lawyers had asked ChatGPT whether one of them was real. The program said yes and pointed to the usual legal databases. On 22 June 2023 the court imposed a penalty of USD 5,000. The first paragraph states that using a reliable AI tool for assistance is not inherently improper. The duty to check remains with the lawyer.

London, June 2025. On 6 June 2025 the High Court decided two cases together ([2025] EWHC 1383 (Admin)). In the second, 45 citations had been put before the court. 18 of the cited decisions did not exist. Many of the others did not contain the quotations attributed to them or did not support the proposition. The research came from the client. By his own account, the solicitor had relied on it without verifying it himself. The court requires any AI research to be checked against authoritative sources. And it expressly calls on everyone with leadership responsibility in the profession to take effective measures now.

Cologne, July 2025. In a family law order of 2 July 2025 (312 F 130/25, paras 23 and 24), the Cologne Local Court (Amtsgericht Köln) found that passages in a brief by a certified specialist lawyer were, in the court’s words, “apparently generated by means of artificial intelligence and freely invented”. An author was attributed to a commentary in which he does not write. A cited marginal number 65 does not exist, as the commentary ends at marginal number 36. Under one journal reference sits an article on a completely different topic. The court pointed to Section 43a(3) of the Federal Lawyers’ Act (Bundesrechtsanwaltsordnung, BRAO).

Three times the same picture. The source looks real, the content is not, and nobody who signed the text checked it. An offer with a wrong clause of a standard does not end up in court. The mechanism is the same. Whoever signs answers for the content, whatever tool wrote it.

What helps technically, and where the limit lies

Four levers reduce the risk. None brings it to zero, and the manufacturers say so themselves.

Connect your own sources. The technical term is retrieval-augmented generation: before answering, the system searches your documents for suitable passages and hands them to the model. The method comes from a 2020 paper by Lewis and colleagues. It reduces hallucinations without ruling them out. In 2024, Magesh, Ho and colleagues tested AI research tools from large providers of legal databases that advertised exactly this technique, some even as “hallucination-free”. According to their measurements, the tools hallucinated in 17 to 33 per cent of cases. That is less than a general-purpose chatbot and a long way from the advertising promise. Kalai and colleagues give one reason: if the search finds nothing solid, grading still rewards guessing.

Mandatory citations in the output. In its documentation, Anthropic recommends having the model output a verbatim quotation from the documents for every claim. If it finds none, it should retract the claim. That makes an output checkable. The checking itself is still to be done. A citation remains a claim about a source until someone opens it.

Before you hand your own documents to Copilot, ChatGPT, Gemini or Claude: what happens to the data there, from training to storage location:

AI assistants and your data

Allow “I don’t know”. The same documentation advises explicitly giving the model permission to admit uncertainty. Anyone in a business who rates AI tools by whether they always deliver an answer rebuilds the same wrong reward. “Not found in the documents” is a good result.

Ask more than once. According to Anthropic, inconsistencies between several runs of the same request can point to hallucinations. That is true, but it only works in one direction. Three different birthdays give the error away. Three identical ones could have been just as wrong. Asking the AI whether its source is real checks nothing at all. That is exactly what the lawyer in New York tried.

At the end of its guide, Anthropic writes that the techniques significantly reduce hallucinations but do not eliminate them entirely, and that critical information should always be validated. OpenAI advises using ChatGPT as a first draft and always verifying quotes, data and references to sources. Status: November 2026.

Why a model should not sign off its own work, and why three models that agree count as one source:

The AI does not sign off its own work

What I want to see as an auditor when AI output is used

The word hallucination does not appear in ISO/IEC 42001. I counted: zero hits in the English edition of 2023 and in the German edition DIN EN ISO/IEC 42001:2026-08, and likewise in ISO/IEC 22989, 23894, 42005 and 27090. The standard covers the risk through general requirements. What I want to see in an audit is therefore a procedure. How many cases a sample needs and which records hold up as evidence is covered in two separate articles. This one is about the question that comes first: is the content right?

First, I want to see a grading, because nobody keeps up checking everything to the same depth for long. This is how I grade:

  • Level 1, internal drafts and ideas: whoever reads the text checks along. No reference and no figure leaves the draft unchecked.
  • Level 2, output with facts that leaves the company, such as offers, customer letters and the website: every source is opened. Every quotation is compared with the source, every figure recalculated or backed up. Whoever checks is recorded in the file with name and date.
  • Level 3, statements on law, standards, safety or contracts: a specialist checks against the original before anyone signs. Clauses of standards come from the purchased standard, sections of law from the official text.

The building blocks for this sit in ISO/IEC 42001 at these places. The mapping is my own transfer.

  • 6.1.2 AI risk assessment: wrong outputs belong in the assessment as a risk, per application.
  • A.6.2.4 AI system verification and validation: verification and validation measures and criteria for their use are defined and documented. For me, that includes the error rate you accept, set before deployment.
  • A.6.2.6 AI system operation and monitoring: the elements for ongoing operation are defined, monitoring included. For recurring AI output, that means to me the regular sample against the source.
  • A.8.2 System documentation and information for users: whoever works with the system knows what it is good for and what it is not.
  • A.9.2 and A.9.4, responsible use and intended use: it is settled which output needs which level of checking. A writing assistant for drafts does not quietly turn into a research tool for legal references.
  • 7.2 Competence: whoever releases an AI output can judge it on the subject matter.

How many cases a sample of an AI system needs, and why the error rate has to be fixed in advance:

Sampling AI systems

In the audit I then make three requests. Show me an AI output that has left the company, with its sources and the name of the person who checked it. Show me the rule that decides which output needs which check. And show me the last sample: how many cases, how many errors, what was changed afterwards.

Which records hold up as audit evidence for a language model, and why a screenshot is not one of them:

Audit evidence for a language model

Add one legal point that affects only some businesses. Article 50 of the AI Act, Regulation (EU) 2024/1689, has applied since 2 August 2026. Under Article 50(4), second subparagraph, anyone who uses AI to generate text published to inform the public on matters of public interest must disclose this. The obligation does not apply where the content has undergone human review or editorial control and a natural or legal person holds editorial responsibility. According to the Commission’s guidelines (C/2026/6005, not binding according to para. 5), fact-checking the accuracy of the content is a minimum requirement (para. 134). Spell-checking, automated review processes or cursory sign-off are not enough (para. 135). If an AI substantially changes the text after sign-off, the exception no longer applies (para. 136).

Internal texts, advertising without claims on matters such as health, consumer safety or sustainability, and a consultant’s AI-assisted text for a client fall outside it according to the guidelines (para. 131). For most businesses, the provision is therefore not an everyday issue. As a benchmark for level 3 it still works: a person with expertise checks the content, and a name stands behind it. This is my interpretation from practice. For legal advice, please turn to the appropriate professionals.

What you do on Monday

Take three AI outputs that left the company last week. Open every source, compare every quotation, recalculate every figure. It takes an hour and tells you more about your risk than any slide.

Then put three rules on one page. Which output needs which level of checking? “Not found” is an allowed answer, in the prompt and in how tools are rated. And nobody passes on a reference they have not opened themselves. Everyone who works with AI assistants gets this page.

The sentence “The AI wrote that” has not been accepted as an excuse by any of the courts in New York, London or Cologne. Who in your business opens the source before the text goes out?

How your team works with Copilot and ChatGPT, spots errors and looks up sources, using cases from your own business:

Copilot training for companies

Primary sources

Checking an AI output before passing it on

  1. Set the level of checking

    Internal draft, text going outside, or a statement on law, standards, safety or contracts? This decides how deeply it is checked and who checks it.

  2. Open every source

    Does the source exist, and does it say what is claimed? Finding the title is not enough; read the passage cited.

  3. Compare quotations word for word

    Every sentence in quotation marks is searched for in the source. If it is not there, it goes.

  4. Check figures and clauses against the original

    Recalculate or back up figures, look up clauses of standards in the purchased standard and sections of law in the official text.

  5. Record the check

    File name, date and the references checked. If an AI substantially changes the text afterwards, it is checked again.

Share: LinkedIn E-Mail

Frequently asked questions

What is an AI hallucination?+

A plausible but false statement by a language model, delivered with the same confidence as a correct one. Typical forms are invented sources, real sources with the wrong content, invented figures, wrong clauses of standards and sections of law, and quotations that do not appear in the source named. NIST calls the phenomenon confabulation.

Why does ChatGPT invent sources?+

Language models predict the most probable next word. Rare individual facts such as case numbers or marginal numbers cannot be derived from patterns. On top of that, most tests count only correct answers, so guessing earns more points than “I don’t know”. This is how Kalai and colleagues describe it in their 2025 paper.

Does connecting your own documents prevent hallucinations?+

It reduces the risk without ruling it out. In a 2024 study, AI research tools using this technique were wrong in 17 to 33 per cent of cases, as measured by the authors. What matters is what the system does when your documents contain nothing, and whether it then flags that it is answering from general knowledge.

Can I ask the AI whether its source is correct?+

No, that is not a check. In Mata v. Avianca, a lawyer asked ChatGPT whether a cited decision was real. The program said yes, and the decision did not exist. Checking means opening the source yourself and comparing its content with the claim.

Do I have to label AI-generated texts under Article 50 of the AI Act?+

Only in a narrow case: texts published to inform the public on matters of public interest, and even then not if a human has reviewed the content and someone holds editorial responsibility. Internal texts and advertising without claims on matters such as health or sustainability fall outside it according to guidelines C/2026/6005.

Author & expert review: Lars Zimmermann · ISO/IEC 42001 Senior Lead Auditor & Senior Lead Implementer · ISO/IEC 27001 Lead Auditor & Lead Implementer (PECB)

An auditor with shop-floor experience and managing director of a manufacturing company, who audits and builds AI management systems and information security. Author of “Stallgeruch” (in German). Verify the credential on Credly · More about me.

Last updated: 26 November 2026. Researched and reviewed to the best of my knowledge. This is my interpretation from practice. For legal advice, please turn to the appropriate professionals.

Questions about your own case?

In a free 15-minute intro call we assess where you stand on ISO 42001, ISO 27001 and the EU AI Act, honestly and without a sales pitch.

Continue reading