Concepts / Collecting User Feedback

Collecting User Feedback

Feedback that agrees with your automatic scores builds confidence in them, while feedback that disagrees points to a criterion your metrics may be missing.

  • Programming

One Score Cannot Answer Every Question

Imagine you are responsible for an AI application that answers customer questions. You want to know three things about each reply. Is it safe? Does it address what the customer actually asked? Are the facts it states correct? A single score is unlikely to capture all three. Each question pulls toward a different way of checking the output, and choosing that way is the task this article addresses.

What do you think happens?

Before reading on: if you had to check whether a customer reply is toxic, would you use the same method you would use to check whether it is factually correct? Why or why not?

  • Yes, one general-purpose scorer can handle both

  • No, each quality needs a method suited to it

Reveal answer
Answer:

No, each quality needs a method suited to it

The source makes the point that different quality criteria may require different evaluation methods. A criterion is the quality you care about, and a method is the mechanism that produces a judgment about it.

Matching Criteria to Methods

A criterion is the quality you care about. A method is the mechanism that produces a judgment about that quality. The mapping between them is not one to one by default, so the useful question is which mechanism suits which quality. The source names three criteria that show how different they can be.

Toxicity detection can be handled by a small, specialized toxicity classifier, which is a model built for that single narrow job. Relevance, meaning how closely the response matches the user's original question, can be measured with semantic similarity. Factual consistency, meaning whether the response agrees with the whole context it was given, can be judged by an AI judge, which is a model asked to assess the output.

ToxicityIs the reply harmful?Toxicity classifierSmall, specialized modelRelevanceDoes it match the question?Semantic similarityCompares meaning of replyand questionFactual consistencyDoes it agree with thecontext?AI judgeA model asked to assess theoutputmeasured bymeasured bymeasured by
Which evaluation method fits each quality criterion, and how do the criteria differ in what they need to measure?
Key point

The method should follow the criterion. Ask what the quality means and then ask which mechanism can produce a judgment about that specific meaning.

Tracing One Output Through a Cheap Scorer and an AI Judge

Choosing a method is not always a single either-or decision. The source notes that you can mix and match methods for the same criterion. One pattern it describes pairs a cheap classifier, which produces a low-quality signal on every item in your data, with an expensive AI judge, which produces a high-quality signal on only a small fraction, such as 1 percent.

The reason this works is cost. A cheap automatic scorer can cover all outputs, while the costly AI judge checks a small sample, which keeps the total cost manageable. Follow a single output through the process in the diagram below. Every output passes through the cheap scorer. Only the outputs selected for the sample reach the AI judge.

Every model outputAll items in your dataCheap automaticscorerRuns on every itemSelected for sample?Roughly 1 percent in thesource patternAI judgeHigh-quality signal on thesampleLow-quality signalonlyKept from the cheap scorerpasses throughproduces a signalyesno
How does a cheap scorer decide whether an output needs an expensive AI judge, and what happens to the outputs that go either way?

Reading Logprobs as a Confidence Signal

When a model is asked to choose among several options, it does not only pick one. Internally it assigns a likelihood to each candidate. Logprobs are the logarithms of those probabilities, and they let you inspect those likelihoods. The source's guidance is direct: when logprobs are available, use them. They can measure how confident a model is about a generated token, which is especially useful for classification tasks.

Formula, step by step
  1. 1
    p is the probability the model assigns to one candidate, a number between 0 and 1
  2. 2
    log takes the logarithm of that probability, so the logprob is the value you read from the model output
  3. 3
    Because p is at most 1, the logprob is zero or negative, and a probability near 1 gives a logprob near 0

The contrast between two situations is the core of the idea. A flat spread of probability across the candidates signals hesitation, while one dominant probability signals conviction. Because that confidence is visible in the numbers, you can use it as an evaluation signal without asking anyone to read every output.

safelogprob about -0.02(dominant)safelogprob about -1.1 (flat)unsafelogprob about -3.9unsafelogprob about -1.1unclearlogprob about -4.6unclearlogprob about -1.1
How do logprob values map to probabilities, and what does a value near 0 versus a large negative value tell me about the model's confidence?

Worked Example: Routing a Customer Reply

Worked example

Choosing Methods for a Customer Support Reply

Your support assistant produces a reply to a customer. You need to check three criteria: toxicity, relevance to the question, and factual consistency with the context the assistant was given. Which method would you assign to each, and how would you control cost?

  1. 1
    Assign toxicity to a specialized classifier

    Toxicity is a narrow, well-defined job, which the source says a small, specialized toxicity classifier can handle. Run it on every reply because it is cheap.

  2. 2
    Assign relevance to semantic similarity

    Relevance means how closely the reply matches the customer's original question. The source names semantic similarity as a way to measure this, so compare the meaning of the reply with the meaning of the question.

  3. 3
    Assign factual consistency to an AI judge

    Factual consistency asks whether the reply agrees with the whole context. The source names an AI judge for this. Because the judge is costly, it should not run on every reply.

  4. 4
    Pair the cheap and costly methods for factual consistency

    Add a cheap scorer that runs on every reply and an AI judge that runs on a small sample, such as 1 percent. This follows the mix-and-match pattern in the source and keeps total cost manageable.

Result

Toxicity uses a classifier, relevance uses semantic similarity, and factual consistency uses a cheap scorer on all replies plus an AI judge on a small sample. The three criteria end up with three different methods, and the costly method is applied only where needed.

Mistakes Beginners Make When Choosing Evaluations

  • Common mistake

    Using one score to judge every quality

    What it looks like

    Taking a single overall rating and treating it as proof that a reply is safe, relevant, and factually correct.

    Why it fails

    Each criterion asks a different question, and each question pulls toward a different way of checking the output.

    Do this instead

    Name each criterion separately and match it to a method suited to what that criterion measures.

  • Common mistake

    Running the AI judge on every output

    What it looks like

    Sending every reply to an expensive AI judge because it seems the most accurate option.

    Why it fails

    The source pattern pairs a cheap scorer on all items with an AI judge on a small fraction, because the judge is costly.

    Do this instead

    Let the cheap automatic scorer cover all outputs and reserve the AI judge for a sample.

  • Common mistake

    Treating high logprob confidence as proof of correctness

    What it looks like

    Seeing a dominant probability on one label and concluding that the label must be right.

    Why it fails

    Confidence is not the same as correctness. A model can be confident and still wrong.

    Do this instead

    Use logprobs as a signal of confidence and check correctness with a method suited to factual consistency.

  • Common mistake

    Dropping human review once the application is in production

Why Humans and Users Stay in the Loop

Automatic metrics should carry most of the load, since they are cheap and can run continuously. The source is equally clear, however, that you should not be afraid to fall back on human evaluation, even after an application is in production. Having human experts manually judge a model's quality is a long-standing practice in AI, and it remains valuable because open-ended responses are hard to score automatically.

Many teams treat human evaluation as a North Star metric that steers development. A practical routine is to have experts review a subset of each day's outputs. This daily sample can reveal changes in performance or unusual patterns in how people use the application. The source gives one concrete case: LinkedIn built a process to manually evaluate up to 500 daily conversations with its AI systems.

The right setup also depends on when you are evaluating. During experimentation you often possess reference data, meaning known good answers you can compare outputs against. In production that reference data may not be immediately available. Production has a different advantage: you have real users, whose behavior and feedback are evidence that a lab setting cannot supply. Feedback that agrees with your automatic scores builds confidence in them, while feedback that disagrees points to a criterion your metrics may be missing. The source states that the collection techniques themselves are covered in Chapter 10, so this article only explains why feedback matters when choosing evaluations.

Choosing Methods for Your Own Criteria

MEDIUM

An application answers questions about a product. For each criterion below, name the evaluation method you would use: (a) whether the reply contains abusive language, (b) whether the reply addresses the question that was asked, (c) whether the reply agrees with the product documentation it was given. Then say which of these you would pair with a cheap scorer on every output and an AI judge on a small sample.

Hints
  • Look back at the three criteria in the matching section and ask which one is a narrow, specialized job.
  • Semantic similarity is the source's suggestion for relevance, and an AI judge is the source's suggestion for checking agreement with the whole context.
  • Only the costly method needs to be limited to a sample. Ask which criterion benefits most from pairing.

Key Takeaways

  • Different quality criteria, such as toxicity, relevance, and factual consistency, can call for different evaluation methods, so each criterion should be matched to a method suited to it.
  • Cheap automatic scorers can cover every output while a costly AI judge checks a small sample, and the two can be combined for the same criterion to keep cost manageable.
  • Logprobs are the logarithms of the model's candidate probabilities. A flat spread signals uncertainty, a dominant probability signals confidence, and confidence is not the same as correctness.
  • Human evaluation and user feedback remain valuable in production, where reference data may be unavailable and real users provide evidence that automatic metrics may miss.

More concepts starting with C