AI Hallucination: Causes, Examples and Fixes
Published Updated
An AI hallucination is a confidently stated claim that has no factual basis or support in the sources the AI was supposed to use. You can reduce these errors by giving the model reliable sources, allowing it to say it doesn’t know and checking claims before anyone acts on them.
What is AI Hallucination?
When an AI assistant invents a detail, the individual error is also called an AI hallucination. Some researchers use the term confabulation for plausible inventions. The US National Institute of Standards and Technology uses that term in its generative AI risk profile.
Suppose an assistant answers a question about expenses. Each of these responses calls for a different fix.
- It gives a meal allowance that has never appeared in the policy. That’s a hallucination. Check the policy and require the assistant to cite the relevant passage.
- It quotes last year’s allowance accurately from a superseded policy. That’s outdated information. Replace the old source or mark it as superseded.
- It correctly gives the domestic allowance when you meant to ask about an overseas trip. That’s a mismatch between your wording and what you wanted to know. Specify where the employee is travelling.
Why AI Models Hallucinate
A language model generates text one piece at a time by predicting what wording fits the text so far. A model without access to search or another source uses patterns learned during training. Those patterns can produce a fluent sentence even when the claim is false.
The risk rises when a fact rarely appeared in the training data or the question leaves out information the model needs. An ambiguous prompt can also push the model to fill in the missing details. If you ask when a policy changed without naming it, the model might invent a date for the policy it assumes you mean.
Exact names, figures, dates and citations are especially worth checking. A model can learn the format of a court citation from many examples. The particular case name, year and decision number still need to match a real judgment.
In Why Language Models Hallucinate, OpenAI researchers and a Georgia Tech co-author argue that common training and evaluation methods encourage guessing. An evaluation that gives zero points for both a wrong answer and “I don’t know” gives the model a scoring incentive to guess. Newer models can make fewer unsupported claims as training and access to sources improve. They can still guess when the information is missing, including when a search turns up nothing useful.
Examples of AI Hallucinations
In Dayal [2024] FedCFamC2F 1166, an Australian solicitor gave the court a list of nonexistent authorities generated by a tool in his practice software. The solicitor acknowledged that he hadn’t checked the output. The judge referred his conduct to the Victorian Legal Services Board and Commissioner.
In JNE24 v Minister for Immigration and Citizenship [2025] FedCFamC2G 1314, a practitioner filed submissions with fabricated case citations. The court referred the practitioner to the Legal Practice Board of Western Australia and made a personal costs order. The Federal Court’s generative AI practice note expects the person responsible for AI-assisted submissions to confirm that each cited authority exists and supports the point made.
In Moffatt v Air Canada, the airline’s chatbot told a customer they could apply for a reduced bereavement fare after travelling. The airline’s actual policy required the request before travel. The British Columbia Civil Resolution Tribunal found Air Canada liable for negligent misrepresentation because it was responsible for what its chatbot told customers and Moffatt reasonably relied on it. The ruling shows the consequences of a chatbot giving the wrong policy, regardless of how the chatbot produced its answer.
The same sort of error can enter an internal report. In a hypothetical example, a manager asks an assistant to summarise a service trial. The assistant says the trial cut waiting times by 18% and cites a named evaluation report. The records contain staff feedback, the team never measured waiting times and the cited report doesn’t exist.
AI Scribe Errors in Healthcare
An AI scribe takes audio from a consultation, turns the conversation into text and uses it to draft a clinical note. The draft can include findings or medicines nobody discussed, or leave out an agreed follow-up. It can attribute a carer’s words to the patient, record the wrong dose or swap left and right.
Ahpra and the National Boards’ guidance puts responsibility for checking the accuracy and relevance of the note with the practitioner. The Therapeutic Goods Administration’s guidance on digital scribes also assigns responsibility for checking the information entered in the patient’s health record to the healthcare professional.
Read every note before signing it, while the consultation is fresh. Check medicines and doses, then compare the plan and any referrals with what you agreed in the consultation. Add relevant details the scribe left out and correct entries it recorded inaccurately, as the Royal Australian College of General Practitioners’ guidance on AI scribes advises. If you’re considering using one in your practice, start with what an AI medical scribe needs from your clinical workflow.
How to Reduce AI Hallucinations
Give the assistant the evidence it needs to answer and a clear way to stop when it can’t find enough. The checks you add depend on what people will do with the answer.
- Supply authoritative documents. With retrieval-augmented generation (RAG), the system finds relevant passages in your organisation’s documents and gives them to the model when it answers. Ask for citations that take readers to those passages.
- Allow uncertainty. Tell the model to say when the documents don’t answer the question. Count that as a correct outcome on test questions where the answer is genuinely absent.
- Narrow the task and set the output format. Ask for the allowance stated in one current policy, then require an amount and a source field. Leave the amount blank when the policy doesn’t specify one.
- Where the tool exposes a randomness setting, try a lower one if repeated runs give inconsistent answers. This makes the choice of wording more predictable. Retest accuracy separately.
- Compare the answer with its citations. Automatically flag a missing source, an amount that differs from the one in the source or a claim the cited passage doesn’t support. A passage about domestic travel can be genuine and still give no basis for an international allowance.
- Match the human-in-the-loop review to what an error would cost. Sample answers to routine internal questions. Require a person to check consequential output against its sources before it enters a clinical record, a court filing or a customer commitment.
Measuring Hallucination in Your Own Assistant
Before launch, test the assistant with questions that your staff actually ask. For each question with a known answer, record the expected answer and its source passage in your organisation’s documents. Add questions where the source gives no answer and questions that need clarification.
Mark a reply as unsupported if it makes at least one material claim the approved sources don’t back up. In a hypothetical test of 100 replies, four with unsupported claims give you an unsupported-answer rate of 4%. Record correct responses that decline to answer separately from missed answers, so a system can’t look reliable by declining every question.
Set a maximum acceptable rate for each use case before staff rely on the assistant. After launch, sample live replies and use the same scoring criteria. Include the source passages the model saw so reviewers can identify whether the system retrieved the wrong material or the model misread it. Track those failures through AI observability and check the rate again after changes to the model or documents. If a use case exceeds its threshold, send its replies for review until it meets the threshold again.
Related reading
What is RAG in AI? Pipelines, Uses and Limits
Retrieval-augmented generation lets an AI model answer from your own documents. A RAG pipeline has weak points, and agentic RAG helps with some of them.
Human in the Loop: Where AI Needs a Person
Decide where a person must check, approve or override AI work. Human in the loop patterns, when each fits, and how to stop review becoming a rubber stamp.
AI Medical Scribes for Australian Clinicians
An AI medical scribe listens to the consultation and drafts your notes. Consent, accuracy checks and Australian record rules apply before you rely on one.
AI Observability: Tracing, Evaluation and Costs
How do you know your AI assistant or agent works once it is live? Learn what AI observability tracks, from traces and quality scores to cost and drift.
embeddings
Embeddings is an Australian AI consultancy. We design, build and run AI systems inside the software, documents and data organisations already use, from offices in Perth and Melbourne.
About Embeddings