Concepts / Evaluating AI Application Quality

Evaluating AI Application Quality

Track both before deciding that an application is succeeding.

  • Programming

A Chatbot Without a Definition of Success

Imagine you have just finished building an AI application on your own. Perhaps it is a chatbot that answers questions from people who write to a company's support desk. The model runs, the answers look reasonable in a few demos, and you feel ready to show it to the world. Before you do, there is a question that is easy to skip: how will you know whether the application is succeeding?

Without a definition of success, you cannot tell a useful launch from an expensive experiment, and you cannot tell which changes made things better. This article explains how to define that success in advance, which families of metrics to draw on, and how to decide whether a measured result is good enough for a particular use.

Definition

A success metric is a number, or a small set of numbers, that you agree on in advance and then track. Success metrics begin with the business the application is meant to serve, and then widen to cover the experience of the people who use it and the practical limits of running it.

Business Metrics: Measuring the Job Being Done

The first metric family to define is the business metric, meaning a measure of how the application changes what the business actually does. For a customer support chatbot, the questions a team can ask are concrete. What share of incoming customer messages does the bot handle without a person getting involved? How many more messages can the operation process once the bot is running? How quickly do customers get a reply compared with before? How much human labor is freed up for work that needs a person?

Notice that every item on that list is written as a question about the business, not about the model. The four measures that come out of those questions are automation rate, throughput, response time, and labor saved. A business metric tells you whether the application is doing its job in the setting where it is deployed. That is why it is usually treated as the most important of the metric families. The other families exist to support it.

Customer Satisfaction Is Separate Evidence

A tempting shortcut is to assume that if the bot resolves more messages, customers must be happier. The source warns against that assumption. A chatbot can answer a larger volume of questions and still leave people frustrated, for example if the answers are unhelpful and customers have to write in again. Higher volume of answered messages does not by itself show that users are happy.

For this reason customer satisfaction and customer feedback need their own place in the set of metrics. Feedback channels are one way to hear that signal directly. Satisfaction evidence and business evidence are separate: one can look strong while the other is weak, so the team should track both.

The Usefulness Threshold as a Release Gate

Business and satisfaction metrics describe what happens after an application is live. A second question comes earlier: how good must the application be before anyone is allowed to use it at all? The answer is the usefulness threshold, which is the minimum level of performance an AI application needs in order to be worth putting in front of people. Setting this threshold in advance protects you from shipping a product that is not ready, because you have already written down what ready means.

The usefulness threshold is not a single number. It is built from metric groups. The source names three that belong to it: quality, latency, and cost. A fourth group, covering properties such as interpretability and fairness, is also listed as something to consider. The diagram below traces what happens to a draft as it is checked against the threshold.

Read the diagram as a loop. A draft is measured and found short of the bar. The team does not release it. Instead it works on the weak metric and measures again. The product only leaves this loop when the measured performance clears the threshold. The practical value of writing the threshold down early is that the decision to ship no longer depends on how impressive a demo feels on a given afternoon.

Quality, Latency, and Cost

The three named groups answer different questions, and an application can do well on one while failing another. The groups are summarized in the comparison below, and each is then described in turn.

A response can be accurate but arrive too slowly to help a customer in the middle of a chat. A fast, accurate system can still be too expensive to run at the volume the business needs. Because of these trade-offs, a threshold should name all three groups rather than only the one that looks best.

How the Metric Families Connect

The metric families are not a flat list. They are connected. Business metrics describe the purpose of the application. Customer satisfaction checks whether that purpose is being served from the user's side. The usefulness threshold sets the minimum standard, and it is made of quality, latency, and cost. Interpretability and fairness sit alongside that standard as further things to consider. The concept map below shows how these pieces relate.

Acceptable Performance Depends on the Use Case

There is no universal number for acceptable latency. What counts as acceptable depends on your use case, and the right bar is set by what the current process delivers to users. The source illustrates this with a comparison. Suppose every customer request is currently handled by a human, and the median response time is one hour. In that setting, a bot that answers in a few seconds is a large improvement, and even a slower bot could be good enough.

What do you think happens?

If the current human median response time is one hour, does a bot that answers in a few seconds clear the bar for response speed?

  • Yes, it is a large improvement over the current process

  • No, a few seconds is never fast enough

  • It cannot be decided without knowing the exact cost

Reveal answer
Answer:

Yes, it is a large improvement over the current process

The bar is set by what people are comparing against. When the baseline is a one-hour median human response, a bot answering in seconds is a large gain, and even a slower bot could be good enough.

SettingBaseline the users compare againstWhat a fast reply means
Human-only support deskMedian one-hour wait for a personA bot answering in seconds is a large improvement
Application where users already get near-instant repliesSeconds-level response from the current processA slow bot may fall short even if it is accurate

The same latency value can pass in one setting and fail in another, because the baseline changes.

Worked example

Reasoning about a threshold for a support chatbot (illustrative)

A team is preparing a support chatbot. The numbers below are hypothetical and chosen only to show the reasoning. Decide whether a candidate draft clears a threshold built from business, quality, latency, and cost measures.

  1. 1
    Identify the baseline

    The current process has every request handled by a person, with a median response time of one hour. This is the comparison the users actually experience.

  2. 2
    Set business targets

    The team picks illustrative targets: an automation rate of at least a chosen share of messages, and a meaningful reduction in human labor on routine questions.

  3. 3
    Set a latency target against the baseline

    Because the baseline is an hour, a target of a few seconds to the first token is a plausible bar. The team also tracks total latency so long answers are not hidden.

  4. 4
    Check the quality and cost groups

    The draft must give correct and helpful answers, and its cost per inference request must be affordable at the expected volume. A fast draft that fails either check does not clear the threshold.

  5. 5
    Check satisfaction separately

    Even if the business numbers look good, the team still reviews feedback to confirm customers are not writing in again because the answers were unhelpful.

Result

The draft clears the threshold only if all groups pass together. Strong business numbers with weak satisfaction or poor cost would mean the draft goes back into the improvement loop rather than being released.

Common Mistakes When Judging an AI Application

  • Common mistake

    Treating a demo as proof of readiness

    Why it fails

    A few impressive demos do not show how the application performs against a defined bar. The decision to ship should depend on the threshold, not on how a given afternoon went.

    Do this instead

    Write the usefulness threshold down before launch and check the draft against it.

  • Common mistake

    Assuming more resolved messages means happier customers

    What it looks like

    A bot answers many questions, but customers keep writing back because the answers were unhelpful.

    Why it fails

    Volume measures activity. Satisfaction and feedback are separate evidence.

    Do this instead

    Track customer satisfaction and feedback alongside business metrics.

  • Common mistake

    Using one universal latency number

    Why it fails

    The source states there is no universal acceptable latency. The baseline users compare against determines the bar.

    Do this instead

    Set the latency target against what the current process delivers.

  • Common mistake

    Judging only the group that looks best

    What it looks like

    A system is accurate and fast but too expensive for the volume the business needs.

    Why it fails

    Quality, latency, and cost answer different questions, and an application can pass one while failing another.

    Do this instead

    Check all three groups before deciding a draft clears the threshold.

Practice: Setting a Threshold for a Support Chatbot

MEDIUM

A company is about to launch a chatbot for its support desk. Currently every message is answered by a person, with a median response time of one hour. Name one business metric, one customer satisfaction check, and one measure from each of the quality, latency, and cost groups that you would include in the usefulness threshold. For the latency measure, explain what baseline you compared against and why.

Hints
  • Business metrics are written as questions about the operation, such as how many messages are handled without a person.
  • Satisfaction evidence is separate from volume. Think about how you would hear whether customers were actually helped.
  • Latency has three named measures: TTFT, TPOT, and total latency. Pick one and say what it captures.
  • The bar depends on the baseline. Compare the bot to the one-hour human median, not to an abstract ideal.

Summary of Evaluation Families

  1. 1
    Success metrics are a small set of numbers agreed on in advance, beginning with business metrics such as automation rate, throughput, response time, and labor saved.
  2. 2
    Customer satisfaction and feedback are separate evidence; a higher volume of answered messages does not by itself show users are happy.
  3. 3
    The usefulness threshold is the minimum acceptable performance, built from quality, latency, and cost, with interpretability and fairness also worth considering, and it is set before launch.
  4. 4
    Acceptable performance depends on the use case: latency bars are set by what the current process delivers to users.

At a glance

  • Success metrics are a small set of numbers agreed on in advance, beginning with business metrics such as automation rate, throughput, response time, and labor saved.
  • Customer satisfaction and feedback are separate evidence, so higher volume of answered messages does not by itself show users are happy.
  • The usefulness threshold is the minimum acceptable performance, built from quality, latency, and cost metric groups, and it is set before a product reaches customers.
  • Quality measures response correctness and helpfulness, latency covers TTFT, TPOT, and total latency, and cost is the cost per inference request.
  • Acceptable performance depends on the use case, so a threshold must be reasoned about against what the current process delivers.

More concepts starting with E