AI systems and agents

Why does AI make mistakes? A map of common failure modes

Five places where context, evidence, models and systems can produce a wrong result

A violet-lit face studies a projected error message against a dark background.

A wrong output is a symptom, not a diagnosis. To understand why an AI system failed, inspect the full path: the task it received, the evidence available, the model, any connected sources or tools, and the workflow that turns its output into a decision or action.

Start with the symptom, then find the cause

AI makes mistakes because it does not automatically observe reality, understand a business situation or verify every output before returning it.

It operates inside a system that selects data, instructions, sources and tools. A wrong result can enter at five points:

  1. the task or context is wrong;
  2. the evidence or data is incomplete, stale or unrepresentative;
  3. the model misclassifies, predicts badly or generates a false result;
  4. retrieval or a connected tool returns or uses the wrong thing;
  5. the surrounding workflow lacks appropriate checks, limits and accountability.

“The AI was wrong” tells you what happened. It does not yet tell you why.

Five diagnostic layersWhere error can enter

Five places to inspect before automatically attributing the problem to the model.

  1. Task and context

    Failure example

    Ambiguous request or use outside the intended scope

    Check first

    Did the system receive the correct task, constraints and business meaning?

  2. Evidence and data

    Failure example

    Outdated procedure or incomplete data

    Check first

    Are the sources current, complete and suitable for the decision?

  3. Model and generation

    Failure example

    A plausible false claim (hallucination)

    Check first

    Does the result go beyond what the available evidence supports?

  4. Retrieval and tools

    Failure example

    The wrong passage, tool or parameter

    Check first

    What was retrieved, called and returned?

  5. Workflow and human use

    Failure example

    Unverified output or a missing handover

    Check first

    Were appropriate checks, limits and responsibilities in place?

M4TIC explanatory synthesis · layers can overlap · not every failure fits only one category

“The AI was wrong” is not a diagnosis

Artificial intelligence is a broad category. A classifier assigning a label, a predictive model estimating an outcome, a generative system producing text and an agent using tools can fail in different ways.

The first useful question is therefore not “why is AI wrong in general?” It is: which system was expected to perform which task, under which conditions?

The NIST AI Risk Management Framework treats validity and reliability as properties relative to intended use and operating conditions. A result that is tolerable in a low-consequence drafting task may be unacceptable elsewhere. A system can also perform well on the cases for which it was designed and degrade when the context changes.

That is why the output alone cannot prove that the model was the root cause. The failure may have entered before or after it.

Failure 1: the task or context is wrong

A system cannot reliably recover business meaning that it was never given and cannot observe.

The request may be ambiguous. It may omit the current customer state, an authority limit, the meaning of “urgent” or the policy that applies to this case. The system may also be used outside the scope for which it was designed.

A better prompt can repair missing instructions. It cannot reliably invent an absent business fact or choose a rule that the organisation has not defined.

Inspect the original request and system instructions, the observable result that should count as completion, known constraints and assumptions, and the authorised scope of the task.

When a system must choose among tools or actions as conditions change, you are evaluating more than an answer. You are evaluating a wider agentic system. AI agents: what they are and when to use them in business explains that distinction.

Failure 2: the evidence is weak, stale or unrepresentative

A model can process information correctly even when that information no longer describes reality.

A repository may contain an outdated policy. A dataset may underrepresent a group or a rare condition. A record may be incomplete or wrong. A predictive system may encounter circumstances unlike those used in development and evaluation.

The NIST AI RMF Playbook treats data quality, representativeness and provenance as part of risk measurement. That does not imply that a perfect dataset exists. It means reliability depends partly on what the system could see and whether that material remains suitable for the current case.

Check where records and documents came from, when they were updated, which cases or groups may be missing, whether credible evidence conflicts and whether the current case differs from evaluated conditions.

Changing the model while leaving a faulty source untouched may produce a more polished version of the same mistake.

Failure 3: the model predicts or generates the wrong result

Even with a clear task and relevant evidence, the model can fail. A classifier may assign the wrong category. A predictive model may generalise poorly. A generative system may make a reasoning error or produce a plausible statement that the evidence does not support.

For generative language models, that last behaviour is often called hallucination or confabulation. It is an important failure type, but it does not explain every wrong AI result and does not apply in the same way to every AI system. AI hallucinations: what they are and how to verify an answer covers that narrower question.

Confident wording is not evidence of correctness. OpenAI’s research explanation of why language models hallucinate discusses prediction, uncertainty, abstention and incentives to guess. It concerns language models; it is not a universal explanation for all artificial intelligence.

At the model layer, examine the output, uncertainty or abstention behaviour and reproducibility under equivalent inputs. Do not infer the root cause from tone alone.

Failure 4: retrieval or tools fail

Connecting a model to documents, databases or APIs does not guarantee that it will use the right evidence in the right way.

The system may retrieve an irrelevant passage, omit the required document, query a stale index or apply the wrong filter. It may receive sufficient context and still fail to use it well. A tool may time out, return a partial result or be called with incorrect parameters.

Google Research’s work on sufficient context in retrieval-augmented generation separates wrong answers caused by insufficient retrieved context from failures that occur even when sufficient information is available. Long-context research, including Lost in the Middle, has also shown that information availability did not guarantee robust use across the models and tasks studied. Performance changes by model and task; the operational lesson is to inspect what was actually retrieved and used.

Check the retrieved passages or records, query and filters, tool call and parameters, and resulting system state—not only the final message. If an agent says it updated a booking, the sentence is not the evidence. The correct booking in the intended state is.

Failure 5: the workflow turns a limitation into harm

Not every AI error has to become an operational error. The workflow determines whether the output is checked, contained, corrected or applied without scrutiny.

A system may hide the source, fail to signal uncertainty, act without approval or leave exceptions without an owner. A person may accept a persuasive answer because the process presents it as final. The NIST Generative AI Profile treats human–AI configuration, information integrity and confabulation as related socio-technical risks, not model properties in isolation.

Human review is not a magic control. The reviewer needs time, competence, accessible evidence and authority to stop or correct the result. Otherwise, “human in the loop” adds a formal step without necessarily reducing risk.

Assess who can accept, change or block the output; which results need independent verification; how sources, limitations and tool state are exposed; what happens when information is missing; and who owns exceptions and subsequent improvement.

Reliability should be measured in the real workflow, not through the number of people using the tool. That is the central distinction in AI adoption is not a business outcome.

Failures can propagate and compound

The five categories are a diagnostic map, not isolated boxes.

Imagine an assistant answering a question about a refund policy. The request does not identify the contract type. The knowledge base contains an old version of the policy. Retrieval selects a generic passage. The model fills the gap with a plausible answer. The workflow sends it without exposing the source or requiring review.

The final message is wrong, but calling it only a hallucination hides four earlier opportunities to prevent the failure.

The more useful question is: where did the available evidence first stop matching the real task? Fixing that point reduces risk upstream. Fixing only the final wording may conceal it.

Where to inspect first

No sequence can identify every root cause with certainty. This order does reduce the temptation to jump straight to the most visible explanation:

  1. Define the expected result. Which task and final state should have been satisfied?
  2. Check context and evidence. Was the information correct, current and sufficient?
  3. Inspect retrieval and tools. Which documents, records, calls and parameters were actually used?
  4. Examine model behaviour. Did it infer beyond the evidence, misclassify or ignore available context?
  5. Assess the workflow. Why was the error not signalled, contained or corrected before it created a consequence?

Verification effort should rise with consequence, irreversibility and the difficulty of detecting an error. Medical, legal, financial, employment and rights-affecting decisions require qualified professional review; this map does not replace domain expertise.

There is no universal AI error rate that determines when an output is trustworthy. The question must remain tied to a particular system, task, version and operating condition.

Move from diagnosis to evidence

Once you have identified the likely layer, turn the failure into a repeatable case: input, available sources, tools, expected result, authority boundary and consequence if it fails.

If the system is an agent that uses tools or changes records, the practical next step is How to test an AI agent before launch. It explains how to collect evidence for outcomes, grounding, actions, escalation and recovery without treating a polished demo or one universal score as a launch gate.

Sources and further reading

Primary guidance behind this article.

  1. AI Risks and TrustworthinessNIST

    Defines validity and reliability relative to intended use and operating conditions.

  2. AI RMF CoreNIST

    Connects validity, safety, generalisation and interpretation of outputs to context of use.

  3. AI RMF Playbook — MeasureNIST

    Guidance on data, representativeness, provenance, drift and socio-technical system measurement.

  4. Generative Artificial Intelligence ProfileNIST

    July 2024 profile covering confabulation, data quality, human–AI configuration and information integrity.

  5. Sufficient Context: A New Lens on Retrieval Augmented Generation SystemsGoogle Research

    ICLR 2025 research separating insufficient retrieved context from failure to use sufficient context.

  6. Lost in the MiddleLiu et al., TACL

    Experimental evidence, bounded to the models and tasks studied, on limitations in using information within long contexts.

  7. Why language models hallucinateOpenAI

    2025 research explanation covering prediction, uncertainty, abstention and incentives to guess.

  8. A Survey on Hallucination in Large Language ModelsZhang et al., Computational Linguistics

    Survey of hallucination definitions and causes in language models; the detailed topic remains reserved for INS-0007.