Limitations & Failure Modes

What models get wrong and why — so you know when to add RAG, tools, guardrails, or a human.

Knowing how models fail tells you what to add around them. None of these are bugs — they follow from how LLMs work.

The main failure modes

Failure modeWhat it isMitigation
HallucinationConfident but false or unsupported outputRAG + citations; ask for “I don’t know”
Knowledge cutoffNo knowledge of recent or private factsRAG, tools, web search
Bad at exact math / countingPredicts plausible tokens, doesn’t computeGive it tools / code
Non-determinismSame prompt → different answersLower temperature, constrain output, evaluate
Prompt sensitivitySmall wording changes shift resultsTest prompts against an eval set
BiasReflects biases in training dataResponsible AI review, human oversight
Context limitsForgets or drops info beyond the windowContext engineering

The pattern

flowchart LR
    H[Hallucination / cutoff] --> RAG[Ground with RAG + citations]
    M[Bad math / counting] --> Tools[Use tools and code]
    ND[Non-determinism] --> Eval[Constrain + evaluate]
    B[Bias / safety] --> Gov[Guardrails + human oversight]

The takeaway

A model alone is unreliable for facts, math, and consistency. You make it reliable by surrounding it — grounding it in data, giving it tools, constraining its output, and measuring it. That’s what the rest of this stage is about.

Sources

  • Ji et al., Survey of Hallucination in Natural Language Generation (2022) — arXiv:2202.03629