Why do language models make things up, and how can you reduce it?
What a hallucination is, in plain terms
A language model generates text by predicting what should come next, one piece at a time. When it has seen many similar examples, its prediction is usually right. When it has not, it still produces a smooth, plausible answer, and nothing in the text itself signals that the answer is invented.
That is what people mean by a hallucination. The output reads well, sounds sure of itself and may contain names, figures or references that never existed. The problem is not nonsense. The problem is convincing error.
Why it happens
Several factors combine. The model learned from a large body of text that contains errors and gaps. It is trained to produce fluent language, so a fluent answer is rewarded even when the facts are weak. It also has no reliable internal check that tells it when a fact is missing. Unless a system gives it the relevant material, it answers from patterns, and patterns can be wrong.
Situations that make hallucinations more likely
Some situations raise the risk sharply. Recognise them in your own use cases before a problem reaches a customer.
- Missing context, where the question depends on your private policy or your latest price list, which the model never saw.
- Leading questions, where the question assumes something false, such as asking why a product was recalled when it was not.
- Rare or niche facts, such as a local regulation, a small company's history or an obscure product specification.
- Requests for exact figures, dates, case references or quotations, where a plausible value is easy to produce.
- Requests for citations, where the model may invent a document title, an author or a link.
- Very long conversations, where earlier statements drift and get mixed into later answers.
Defences that work, roughly in order of impact
No single technique removes hallucinations. Layering several controls reduces them to a level you can manage, and makes the remaining errors easier to catch.
- Ground the answer in your documents. Retrieve the relevant passages first and tell the model to answer only from them. This is the most effective step for business content.
- Require citations that point to a specific passage identifier, then check in code that the identifier exists and the quoted text appears in it.
- Allow an explicit not found answer. Without that option, a model under pressure to answer will often invent one.
- Constrain the output format, so that dates, amounts and names must come from fields you can validate.
- Run checks in code. Confirm that an order number exists, that a figure matches the source record or that a referenced policy is current.
- Send high-stakes answers, such as anything about money, legal obligations or health, to a person before they reach a customer.
Measuring the problem in your own system
Do not rely on general claims about how accurate a model is. Build a set of real questions from your business, with the correct answers written down by staff. Run the system on that set, label each answer as correct, partly correct or wrong, and track the wrong rate over time. Include questions the system should refuse, because a confident answer to an unanswerable question is a hallucination too.
What not to rely on
Asking a model whether it is sure does not reliably reveal errors, because the same process produces the confident answer and the confident self-assessment. A second model is not automatically a fact checker either. It can share the same blind spots. The dependable checks are the ones tied to your source material and your records, not to how the answer sounds.
How Hundred Seas helps
Hundred Seas is a product studio in Taipei. We build AI agents and AI CRM systems on Claude and on OpenAI models, and we design the controls around the model: what it can read, when it must cite its source, when it must say it does not know, and where a person approves the result. We choose the model for each task on cost, speed, quality and where the client's data has to stay.
Work begins with a scope step of about one week at a fixed price, ending in a written plan and a firm quote. The build follows in weekly releases of working software, and a monthly run plan keeps the controls and the source material current.
Questions
- Can hallucinations be eliminated completely?
- Not with current technology. You can reduce them a great deal by grounding answers in your own documents, requiring citations, checking outputs in code and reviewing high-stakes answers. Treat the remaining risk as something to measure and manage, not something to assume away.
- Does a larger or newer model hallucinate less?
- Sometimes, but not reliably, and the difference depends on the task. Test each candidate model on your own questions, including unanswerable ones, and compare the wrong rates before choosing. Vendor claims are a starting point, not evidence for your use case.
- If the source is right but the answer misreads it, is that a hallucination?
- It is an error of the same family. The model produced a claim the source does not support. Check answers against the cited passage, not only against whether the source exists. Clear, short passages and specific questions reduce this kind of misreading.
- Can I trust the citations an assistant gives me?
- Only after checking. A citation can point to a real document while the quoted text is not in it, or to a document that does not exist. Verify that each identifier resolves and that the passage supports the claim, and have the system reject citations it cannot verify.
- Why does the model sound so certain when it is wrong?
- Fluent, confident wording is what the model learned to produce, and it does not automatically reflect how reliable a claim is. Read the tone as a style, not as evidence. Judge answers by their sources and by your own checks.