Sub topic 4
Listing Failure Modes and Ranking Their Severity
Assume you understand basic product requirements, user stories, and the idea of an AI model producing variable outputs. This chapter uses a customer-support assistant that answers refund-policy questions as an example.
A quality dimension describes what “good” means, such as accuracy, completeness, or safety. A failure mode describes how the feature can fail against that dimension. Listing failure modes turns broad concerns into cases you can test.
Describe failures from the user’s point of view
Start with the user’s task, not with the model or prompt. Ask:
- What could the user receive that would be wrong?
- What could the assistant leave out?
- What could cause harm or a costly decision?
- What could make the answer unusable even if its facts are correct?
- What could happen only for unusual inputs?
For the refund assistant, possible failure modes include:
| Failure mode | Trigger | Bad behavior | User impact |
|---|---|---|---|
| Unsupported claim | Policy text does not mention an exception | The assistant invents an exception | The customer expects a benefit the company does not offer |
| Contradiction | The policy says returns expire after 30 days | The assistant says a 45-day return is guaranteed | The company may lose money or create a dispute |
| Omission | The item arrived damaged | The answer ignores the damage exception | The customer may abandon a valid claim |
| Ambiguous answer | The policy has multiple conditions | The assistant gives no next step | The customer cannot decide what to do |
| Privacy failure | The user includes an order number and address | The assistant repeats unnecessary personal data | Sensitive information is exposed in the conversation |
Write each failure mode as a short statement with four parts:
- The input or condition that triggers it.
- The output behavior that counts as failure.
- The consequence for the user or business.
- The quality dimension it violates.
This structure prevents vague entries such as “the answer is bad.” It also helps another person create an evaluation case without guessing your meaning.
Separate failure types
Group related failures so that your evaluation does not focus only on factual correctness.
- Grounding failures: The answer makes claims that the available source does not support.
- Factual failures: The answer contradicts a known policy or system record.
- Coverage failures: The answer omits a condition, limitation, or required action.
- Instruction failures: The assistant ignores the requested format, language, or task.
- Safety and privacy failures: The answer creates unacceptable risk or exposes sensitive data.
- Robustness failures: Small changes in wording, spelling, or language produce a materially worse result.
- Interaction failures: The assistant asks unnecessary questions, refuses a valid request, or gives no useful next step.
A single output can have several labels. For example, an invented refund deadline is both a grounding failure and a factual failure. Record the primary failure for reporting, but retain secondary labels for analysis.
Rank severity by consequence
Severity measures the impact when a failure occurs. It does not measure how often the failure happens. Keep those ideas separate:
- Severity: How harmful is one occurrence?
- Likelihood: How often does the failure occur?
- Priority: How urgently should the team fix it?
A practical severity scale is:
| Level | Meaning | Example |
|---|---|---|
| Critical | Could cause legal, safety, financial, privacy, or serious trust harm | States a refund deadline that contradicts policy |
| Major | Prevents the user from completing an important task or creates substantial support cost | Omits the damaged-item exception |
| Minor | Causes friction or reduces quality without serious harm | Uses an awkward but understandable explanation |
Define zero-tolerance rules for critical failures. A high average score should never hide one unacceptable outcome.
Turn the list into testable cases
For every critical or major failure mode, create at least one representative input and one edge case. Include adversarial wording when users might intentionally or accidentally pressure the assistant to guess.
A useful failure record includes:
- A stable identifier.
- The input and relevant context.
- The expected safe behavior.
- The failure labels.
- The severity if the case fails.
- The source or policy used for judgment.
Review the list with support, legal, security, and domain experts when their risks are represented. Product judgment alone may miss consequences that are obvious to those teams.
Exercise
An assistant gives a correct refund answer but repeats the customer’s full address unnecessarily. What failure type and severity might apply?
Show answer
This is a privacy failure. Its severity depends on the data and exposure, but unnecessary disclosure of sensitive personal information may be major or critical even if the policy answer is correct.