Concepts / Failure Mode Analysis for AI Systems

Failure Mode Analysis for AI Systems

A validation gate is a checkpoint that measures how a system performs before it is deployed, and it comes before a pilot rather than after it.

  • Programming

A Tempting Shortcut Before Launch

Picture a team that has spent months building an AI system for a retail customer. The product is nearly ready. The sponsor inside the customer's company is eager to see it working. Someone proposes a simple plan: skip the formal checking stage and run a small pilot in a single store. The pilot will feel like progress. Customers will talk to the system, staff will react to it, and everyone will have something real to point at.

This article follows a situation where a team was tempted by exactly that plan and chose a different path. The path it chose is called a validation gate, and by the end you should be able to explain why that gate has to come before the pilot, how the test material for it is built, and how its results drive a decision to launch or hold back.

Pilot Versus Validation Gate

Definition

A validation gate is a checkpoint that measures how a system performs before it is deployed, and it comes before a pilot rather than after it.

The belief behind the shortcut is that a pilot counts as testing. A pilot does put the system in front of real people, and that is useful for learning how users behave. But a pilot produces excitement, while a validation report produces evidence about whether the system meets a standard. A pilot tells you the system is being used. A validation gate tells you whether it is good enough to be used.

QuestionPilot launchValidation gate
What it showsThat people use the systemWhether the system meets a measured threshold
What it producesReal-world reactions and excitementA measured result that can be compared against a standard
Decision it supportsLearning how users behaveWhether the system is good enough to proceed to the pilot
Where it sitsAfter the gate is passedBefore the pilot begins

A pilot and a validation gate answer different questions, so one cannot stand in for the other.

Key point

A pilot shows that people use a system. A validation gate shows whether the system meets a measured threshold. The two are not interchangeable, and running a pilot first does not supply the evidence the gate is designed to produce.

The gate's job is not to confirm what the team hopes is true. Its job is to expose gaps in performance that the team cannot see from the inside. Because the gate produces a measured result, the team gets something concrete to fix and something concrete to retest against. A pilot, by contrast, can look successful while the underlying performance gaps remain hidden.

Where the Gate Sits in the Sequence

The order of events matters. The validation gate is placed before the pilot, not after it. The timeline below shows the sequence the retail case followed, with the gate standing between the build and the pilot. A system that has not cleared the gate does not move on to the pilot stage at all.

BuildSystem is nearly readyValidation gateMeasured against thresholdPilotSingle store, real usersDeploymentExpanded laterthenonly if threshold clearedthen
In what order do build, validation gate, pilot, and deployment occur, and where exactly does the gate sit in that sequence?

Read the sequence as a gate with a single passage through it. The gate sits between the build and the pilot. In the source case, the system's failures were discovered at the gate, and the pilot was not allowed to begin until the threshold was met.

Building the Evaluation Set

A validation gate needs test material, and the material in this engagement was called an evaluation set. It was assembled in week three from two sources. The first source was real interactions. Eighty cases came from actual conversations between customers and associates, transcribed from the company's call recordings. The second source was expectation. Twenty cases came from questions the company's own training material listed as common.

Call recordingsCustomer and associateconversations80 real casesTranscribed interactionsTraining materialQuestions listed as common20 common questionsExpected questionsEvaluation setLabeled test casesTwo senior associatesAssigned by customer COOtranscribedlisted as commoncombinedcombinedlabel cases
Which sources feed into the evaluation set, and how do real cases and common questions combine into one test set?
Key point

The design mixes the messy conversations customers actually have with the questions staff already expect. Real cases show what the system will really face, while common questions make sure the standard practice is also covered. Together they make the test reflect the work the system will do.

Finding Where Performance Is Lost

Worked example

Reading the evaluation results in the retail case

The evaluation did not return one disappointing number. What did it reveal about where the system was failing?

  1. 1
    Check the strong area

    The system handled product information lookup well. This was not where the failures lay.

  2. 2
    Examine the first gap

    The system could not reliably tell loyalty-program members apart from walk-in customers. That distinction changed the correct answer to a return question, because the answer depended on the customer's loyalty tier.

  3. 3
    Examine the second gap

    The system could not handle the company's clearance markdowns. These followed a rule set that changed every Friday, and the rules had not been placed in the prompt context.

  4. 4
    Name each failure mode

    Each gap is now a named failure mode with a specific cause. Naming them turns a vague poor score into targets for repair.

Result

Two distinct failure modes were identified: loyalty-tier confusion affecting return answers, and stale or missing clearance-markdown rules. The source notes that both looked obvious in hindsight, yet neither had been visible during scoping.

The lesson of this step is that a single aggregate score hides structure. The team needed the gate to show where performance was lost, not merely that it was lost. Only named failure modes can direct targeted repairs.

From Failure Modes to a Go or No-Go Decision

Once the failure modes were named, the team spent two weeks repairing them. The loyalty-tier problem required tighter integration with the company's CRM, along with an explicit instruction in the prompt for handling the tiers. The clearance-markdown problem required a daily refresh of the rule information into the agent's tool-use context, so the system worked from current rules rather than stale ones. The retest run at the end of week five reached 73 percent, and the threshold was cleared.

Evaluation runMeasured against theevaluation setMeets threshold?Measured result compared tostandardNamed failure modesLoyalty tier, clearancemarkdownsTargeted repairsCRM integration, daily rulerefreshRetestSame standard as beforeGo: pilot beginsThreshold clearedresultnodirect fixesthencompare againyes
After evaluation results come in, what happens next, and where does the loop of fix and retest branch into a go or no-go decision?

Read the diagram as a loop with one exit. The decision point asks whether the measured result meets the threshold. A failing result sends the work back through naming, repair, and retesting. Only a passing result allows the pilot to begin. The team stayed at the decision point until the threshold was cleared.

Mistakes Teams Make With the Gate

  • Common mistake

    Treating a successful pilot as proof the system meets the standard

    What it looks like

    Customers talk to the system, staff react positively, and the team concludes testing is complete.

    Why it fails

    A pilot shows that people use the system. It does not measure the system against a threshold.

    Do this instead

    Run the validation gate first, and treat the pilot as a later stage that begins only after the threshold is cleared.

  • Common mistake

    Building the test only from what the team expects

    What it looks like

    The evaluation set contains only the questions the team imagined customers would ask.

    Why it fails

    Expected questions alone miss the messy conversations customers actually have, and those can expose failures scoping never predicted.

    Do this instead

    Combine real interaction cases with common questions, as the retail case did with 80 real cases and 20 common questions.

  • Common mistake

    Reading one aggregate score as the full diagnosis

    What it looks like

    The result is recorded as a single disappointing number and the team tries to improve everything at once.

    Why it fails

    The evaluation revealed where performance was lost, and that structure is what makes targeted repair possible.

    Do this instead

    Name each failure mode separately, such as the loyalty-tier gap and the clearance-markdown gap, and repair those specific causes.

  • Common mistake

    Skipping the retest after repairs

    What it looks like

    The team applies fixes and assumes the system is now good enough to launch.

    Why it fails

    Without a retest against the same standard, improvement is assumed rather than confirmed.

    Do this instead

    Rerun the evaluation set against the same standard and let the decision depend on that result.

Predicting the Gate's Verdict

What do you think happens?

A pilot in one store runs smoothly, customers are enthusiastic, and staff are happy. Has the system passed the validation gate?

  • Yes, the pilot proves the standard is met

  • No, a pilot does not measure performance against a threshold

Reveal answer
Answer:

No, a pilot does not measure performance against a threshold

A pilot shows that people use the system, while a validation gate shows whether the system meets a measured threshold. A smooth pilot does not replace the gate.

MEDIUM

A team's evaluation set has 100 cases, all taken from interactions the team wrote itself to imitate customers. Explain what is missing from this design, using the retail case as your reference, and describe what the team should change before running the gate.

Hints
  • Compare the source of the cases with the 80 real cases and 20 common questions in the retail case.
  • Think about whether invented conversations can reveal the failures that real conversations exposed.

Key Takeaways

  • A validation gate measures how a system performs before deployment and comes before a pilot; a pilot shows that people use a system but does not show whether it meets a measured threshold.
  • An evaluation set combines real customer interactions with common questions, which exposes failure modes that scoping alone can miss.
  • Named failure modes direct targeted repairs, and each repair is confirmed by a retest against the same standard.
  • The go or no-go decision depends on the retest result: a failing result loops back through repair, and only a passing result allows the pilot to begin.