Skip to content
Chapter navigation

Chapter 3 of 5 · Understanding LLM Reliability and Limitations

Large language models can generate fluent and convincing responses, but fluency does not guarantee factual accuracy. Understanding this distinction is essential when considering AI for business applications.

This chapter examines why language models sometimes produce incorrect or unsupported information and what those limitations mean for enterprise use. Focus on the relationship between model behaviour, reliability, evaluation and appropriate safeguards. Consider why different applications require different levels of accuracy, verification and human oversight.

AI Foundations

Why Large Language Models Hallucinate

Why AI can produce convincing but unsupported answers, what causes those failures, and how organisations can manage them.

The cases that never existed

In June 2023, a federal judge in New York sanctioned two lawyers after they submitted a legal filing containing references to judicial decisions that did not exist.

The lawyers had relied on ChatGPT to assist with legal research. The system produced case names, citations and descriptions of judicial opinions that appeared credible enough to be included in a court submission. When the opposing lawyers and the court attempted to locate the cited authorities, they could not find them. The court's sanctions order documented fabricated opinions and quotations, along with the lawyers' failure to verify the material they submitted. [1]

What made the incident particularly revealing was not simply that the information was wrong. The invented cases were presented in the familiar language and structure of legal research. They looked like the sort of material a lawyer might reasonably expect to encounter. Their apparent authority came partly from the form in which they were delivered.

The problem was discovered because someone tried to verify the sources.

The case, Mata v. Avianca, became a widely discussed example of AI hallucination, the generation of content that appears plausible but is false, fabricated or unsupported by the available evidence. It also illustrates a separate failure. The lawyers treated generated material as though it had already been checked against real judicial decisions. The model's fabrication and the professionals' failure to verify it were different parts of the same incident.

There is something unsettling about this kind of error. A search system might return an irrelevant document or fail to find an answer. A language model can instead construct an answer that resembles the information being sought, complete with details that make it appear authoritative.

To understand why this happens, we need to examine the distinction between producing a plausible response and establishing whether that response is true. That distinction matters wherever organisations use language models to interpret documents, answer questions, support decisions or communicate with customers.

What do we mean by hallucination?

The word hallucination is convenient, although imperfect. It borrows a term associated with human perception to describe a machine-generated output. Researchers do not use it in exactly the same way across every task, and it should not suggest that a model is having a human experience. In practical terms, the concern is that a generated statement may contradict information it was supposed to use, add details not supported by that information, or assert something factually incorrect. Research on natural-language generation distinguishes contradictions of source material from unsupported additions. [2]

Imagine a procurement manager asking an AI assistant to review a supplier agreement. The agreement allows either party to terminate after a material breach that remains unresolved for a specified period. The assistant replies that the company can terminate for convenience with 30 days' notice. No such right appears in the agreement.

The answer might be a fabrication based on common contractual patterns, a misreading of a different clause or a consequence of missing context. Those possibilities require different diagnoses. What matters immediately is that the claim is unsupported by the agreement and could lead to a costly decision.

Contract clause compared with an unsupported generated claim and an evidence check.

A generated contract claim compared with source evidence

Figure 1. A generated contract claim compared with source evidence An illustrative contract example showing why a plausible generated claim must be checked against the underlying source.

This illustration is hypothetical and conceptual.

Not every wrong answer is necessarily a hallucination. An assistant could faithfully repeat an outdated company policy retrieved from a document repository. The answer would be wrong for today's decision, but the underlying problem might be document governance rather than unsupported generation. A chatbot might also be programmed with an incorrect rule. Calling every failure a hallucination hides the distinction between model behaviour, information quality and application design.

Why can a language model invent an answer?

A modern autoregressive language model learns statistical relationships from large amounts of training data. During pretraining, a common objective is to predict tokens from preceding context. Over many examples, the model's parameters become useful for producing coherent language and representing an extraordinary range of patterns and knowledge. Subsequent training can shape its ability to follow instructions and respond helpfully.

But the generation mechanism is not, by itself, a fact-checking procedure. The model does not automatically consult a verified database whenever it names a legal decision or interprets a contract clause. It produces output using learned parameters and the information available in the current context. A sentence can be statistically plausible without being supported by a real source.

Consider the fabricated citations in Mata v. Avianca. The model could reproduce the conventions of legal citation, including case names, courts and authoritative-sounding summaries. Those conventions are patterns a language model can learn. Their presence in an answer does not establish that the underlying decisions exist. A convincing format is not evidence.

This does not mean that next-token prediction explains every hallucination or that all models behave identically. Errors can also arise from gaps and inconsistencies in training data, missing context, ambiguity, generation behaviour and application design. Research identifies several contributing mechanisms rather than a single universal cause. [2]

Contributing factors including learned patterns, context, generation and application design.

Contributing factors to unsupported AI answers

Figure 2. Contributing factors to unsupported AI answers Four interacting sources of reliability problems. Their importance varies by model, task and application.

This illustration is hypothetical and conceptual.

The procurement example makes these differences tangible. If the agreement is not supplied, the model may fall back on general patterns about commercial contracts. If only part is supplied, a relevant exception might be missing. If the document is poorly extracted, a clause might be distorted before the model sees it. And even with the correct passage present, the model may still misinterpret it or add a qualification that is not there.

An organisation cannot fix all four situations by adjusting the wording of one prompt.

Why fluent answers can be difficult to challenge

People often use presentation as a rough guide to credibility. A carefully written report with familiar terminology and an orderly argument feels more trustworthy than a fragmented answer.

Language models are particularly good at reproducing that surface form. The result can be an unfortunate mismatch between how persuasive an answer sounds and how much evidence supports it.

A model may say that a termination clause is clear, that a cited case is well established or that a particular policy applies. The strength of that language should not be mistaken for a measured probability that the claim is correct. A model's verbal expressions of certainty are not automatically calibrated to real-world accuracy.

The problem is especially serious when users lack the time or expertise to check the answer. A procurement manager may know the supplier relationship well but not the legal significance of every clause. A customer-service agent may assess tone and completeness while overlooking a wrong policy detail. A junior analyst may find an invented reference plausible because it resembles citations in legitimate reports.

This suggests a design question more useful than simply asking users to be careful: how can the application make supporting evidence easy to inspect at the moment a decision is made?

The Mata incident also illustrates why verification must be independent. Asking the same model whether its own invented authority is real is not equivalent to locating that authority in a trusted legal source. Evidence must come from somewhere other than the unsupported assertion itself.

When incorrect information becomes an organisational responsibility

In 2024, the British Columbia Civil Resolution Tribunal considered a dispute involving an Air Canada customer who received incorrect information about bereavement fares through the airline's website chatbot. The chatbot indicated that a reduced fare could be requested retroactively, while the airline's policy did not allow the requested treatment in those circumstances. The tribunal found Air Canada liable for negligent misrepresentation. [3]

The distinction matters: the available decision does not establish that this chatbot was powered by a large language model. The case should therefore not be presented as a proven example of LLM hallucination. It instead illustrates the wider responsibility an organisation bears for information delivered through its digital channels.

A customer does not ordinarily distinguish between a company's website, its chatbot and the internal systems from which that chatbot draws information. From the customer's perspective, the answer is part of the company's service. The organisation needs controls over what the system is allowed to say, how policy information is maintained, how errors are corrected and when a customer should be transferred to a person.

For enterprises deploying LLM-based assistants, the implication is similar. A wrong answer can become a customer complaint, an operational mistake, a compliance issue or a contractual dispute, regardless of whether the error originated in a model, a retrieval system or an outdated document.

Can providing sources solve the problem?

One useful way to improve an LLM application's factual grounding is to supply relevant information at the time of the request. In retrieval-augmented generation, or RAG, an application searches an external information source, selects relevant material and provides that material to a generative model as context for its answer. [4]

Return to the supplier agreement. Instead of asking the model to answer from general training, the application can retrieve the termination clause and instruct the model to explain the contractual position using that text. It can also display the clause so the manager can inspect the evidence directly.

This can improve the system, but it does not turn the answer into a verified conclusion. Retrieval may return the wrong document, miss an exception, select an obsolete version or expose information that the user should not access. Even when retrieval is correct, the model may summarise the passage inaccurately or cite a section that does not support its claim.

Source retrieval, generated answer and separate verification questions.

Retrieval, grounding and independent verification

Figure 3. Retrieval, grounding and independent verification Retrieved evidence can support generation, but document selection and the resulting claims still require validation.

This illustration is hypothetical and conceptual.

It helps to separate three questions. Was the right evidence retrieved? Did the generated answer accurately reflect it? Is the evidence itself authoritative and current for the decision? These are related but different tests. A citation is useful only when the cited material supports the claim and is suitable for the task.

The same logic applies to tools that query databases or browse the web. Access to an external source creates an opportunity to verify information; it does not guarantee that the system will use the source correctly.

What would a reliable system do differently?

There is no single hallucination percentage that tells an organisation whether a language model is safe for every purpose. Performance depends on the model, task, evidence available, evaluation method and consequences of error. A system adequate for brainstorming meeting questions may be unsuitable for approving a contract change or advising a customer about their rights.

The starting point is to define what a reliable answer means for the use case. For a contract assistant, this might include identifying relevant clauses, quoting them accurately, distinguishing contractual wording from interpretation and declining to make a definitive claim when evidence is insufficient. For customer service, reliability may require consistent policy answers, appropriate escalation and prevention of unauthorised commitments.

Evaluation should use realistic examples, including difficult and ambiguous cases. A procurement team could prepare a test set of agreements with known provisions and expert-reviewed interpretations. It should measure not only whether the assistant identifies the correct clause, but also whether it invents rights, overlooks exceptions or presents uncertain interpretations as settled facts. Tests should include cases where the appropriate answer is that information is unavailable.

A system also needs ways to respond to uncertainty. Depending on the task, it may quote a passage without offering a legal conclusion, ask for a missing document, refer the question to an expert or decline to answer. Appropriate abstention is often more valuable than requiring a complete response every time.

Reliability must also be monitored after deployment. Contracts change, policies are updated, retrieval indexes become stale and users ask unexpected questions. Organisations need ownership for maintaining sources, reviewing failures, updating controls and deciding when a system should be restricted or withdrawn.

Enterprise controls for risk definition, evaluation, operations and monitoring.

Layered enterprise reliability controls

Figure 4. Layered enterprise reliability controls Reliability depends on risk definition, testing, operational controls and continued monitoring, with clear human accountability.

This illustration is hypothetical and conceptual.

These controls are not equally necessary for every application. A low-stakes drafting assistant may require lightweight review. A system influencing financial commitments, legal obligations or safety decisions needs stronger evidence and approval processes. The appropriate level of assurance follows from the use case and the harm an incorrect answer could cause.

The difference between a helpful assistant and a dependable one

The invented legal authorities in Mata v. Avianca were not exposed by the style of the writing. They were exposed when the supposed sources were checked. That is an uncomfortable but useful lesson for anyone deploying language models in professional work.

An LLM can help a lawyer organise research, a procurement manager locate relevant clauses or a service agent find policy information. Those capabilities are valuable precisely because they make complex information easier to work with. The danger arises when the organisation treats ease of generation as evidence of correctness.

The practical goal is not to demand that a model never make a mistake. It is to design a system in which important claims can be traced to appropriate evidence, uncertainty is handled sensibly and errors are likely to be detected before they cause harm. The model is one component of that system. Information management, workflow design, evaluation and human accountability complete it.

Before allowing an AI-generated answer to influence a consequential decision, an organisation should be able to answer a simple question: what would demonstrate that this particular claim is true? If the system cannot provide a credible route to that evidence, the answer may still be useful as a starting point. It should not yet be treated as a conclusion.

References

  1. United States District Court, Southern District of New York (22 June 2023). Mata v. Avianca, Inc., Opinion and Order on Sanctions, Document 54. https://law.justia.com/cases/federal/district-courts/new-york/nysdce/1%3A2022cv01461/575368/54/

    Return to citation: 1

  2. Ji, Z. et al. (2023). Survey of Hallucination in Natural Language Generation. ACM Computing Surveys, 55(12), Article 3571730. https://doi.org/10.1145/3571730

    Return to citation: 12

  3. British Columbia Civil Resolution Tribunal (14 February 2024). Moffatt v. Air Canada, 2024 BCCRT 149. https://www.canlii.org/en/bc/bccrt/doc/2024/2024bccrt149/2024bccrt149.html

    Return to citation: 1

  4. Lewis, P. et al. (2020). Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks. https://arxiv.org/abs/2005.11401

    Return to citation: 1

Editorial disclosure: The supplier-contract example is hypothetical. The Air Canada decision illustrates application accountability, not proof that its chatbot used an LLM. The diagrams are original educational illustrations.

Key Takeaways

  • A language model can instead construct an answer that resembles the information being sought, complete with details that make it appear authoritative.
  • A model's verbal expressions of certainty are not automatically calibrated to real-world accuracy.
  • Retrieval may return the wrong document, miss an exception, select an obsolete version or expose information that the user should not access.
  • Organisations need ownership for maintaining sources, reviewing failures, updating controls and deciding when a system should be restricted or withdrawn.

About the author

Mohit Sharma

Mohit Sharma

About the founder and editor