Concepts / Building a Reliable Evaluation Pipeline for Open-Ended Applications

Building a Reliable Evaluation Pipeline for Open-Ended Applications

Foundation models are open-ended and powerful, which makes them harder to evaluate than traditional ML models, and investment in evaluation still lags behind model and application development.

  • Programming

Why an Automatic Score Feels Like Proof

Many people who build with AI start from a comfortable assumption. Once a model is wrapped in an automatic scoring routine, its output seems to become an objective yardstick. You run the model, a judge assigns a number, and that number tells you whether the system improved. This assumption is the first thing a reliable evaluation pipeline has to examine, because foundation models break the simple picture in which a test has one right answer and a score can be read straight off the result.

What do you think happens?

Suppose two different AI judges each score a set of responses. Can you directly compare a score from one judge with a score from the other?

  • Yes, a score of 8 always means the same thing regardless of which judge produced it

  • Not reliably, because AI judge scores may not be comparable across different judges

  • Yes, as long as both judges use the same numeric scale

Reveal answer
Answer:

Not reliably, because AI judge scores may not be comparable across different judges.

An AI judge is a subjective evaluator, and its score is shaped by the judge model and the context in which it is used. Two judges with the same numeric scale can still be measuring different things, so a score has to be read against the specific judge that produced it.

The reason evaluation matters so much is tied to capability. The more capable a model becomes, the more serious its possible failures can be, which raises the importance of evaluating it well. The same capability, however, is what makes evaluation difficult. The rest of this article follows that tension step by step: first by looking at what an open-ended output is, then by sorting the evaluation methods, then by tracing how an AI judge's score moves through a pipeline and how comparative rankings are built.

Why One Prompt Has Many Acceptable Answers

A traditional machine learning model often answers a narrow question with a narrow output. Checking that output against an expected value is therefore straightforward: the test has a fixed target, and the model either hits it or it does not. A foundation model is open-ended. It can write essays, summarize documents, hold conversations, and produce many valid responses to the same request. For most requests there is rarely a single correct string to compare against.

Single user promptone requestValid response Aa summarySingle expectedstringone reference answerValid response Bdifferent wordingValid response Cdifferent structurecan producecan producecan producematches only if identical
How one prompt maps to several valid responses, and why a single expected string cannot cover all of them.

The diagram shows the core problem. Each valid response may be different from the others, and a reference string captures only one of them. An exact string comparison would mark a perfectly acceptable response as wrong simply because it used different words. This is why the simple picture of a test with one right answer breaks down for foundation models, and why evaluation needs methods that can judge responses that were never written down in advance.

Why Evaluation Lags Behind Building

The source points to an imbalance in effort. Investment in evaluation still lags behind investment in building models and applications, even though many new evaluation techniques are being developed. The gap is visible in everyday practice. A 2023 study by a16z found that 6 out of 70 decision makers evaluated models by word of mouth, a practice sometimes called a vibe check.

The emphasis on evaluation has also been noticed outside research papers. In December 2023, OpenAI cofounder Greg Brockman wrote that evals are surprisingly often all you need. When Terence Tao compared working with GPT-o1 to working with a mediocre but not completely incompetent graduate student, many people joked that qualified evaluators would soon be scarce, since judging future models could require the brightest human minds.

Many teams respond to the difficulty by turning toward human evaluation. The source treats humans in the loop as useful for sanity checks, and in many cases essential. Its own focus, however, is on automatic approaches, because those are the approaches that can be repeated and scaled, and because they lead directly to the question of how far an automatic score can be trusted.

Exact and Subjective Evaluation

The source groups the approaches to evaluating open-ended responses into three families: functional correctness, similarity scores, and AI as a judge. The first two are exact. The third is subjective. This split is the key to the rest of the topic, because the two families behave differently when you try to trust their numbers. Exact approaches produce scores that come from a fixed rule applied to the output. Subjective approaches produce scores that depend on a judgment, and that judgment is shaped by the judge that made it.

ApproachGroupWhat the score depends onKey trust concern
Functional correctnessExactWhether the output meets a defined correctness conditionLimited to outputs that a fixed condition can check
Similarity scoresExactA hand-designed measurement of how close the output is to a referenceSimilar wording is not the same as a good response
AI as a judgeSubjectiveThe judgment of a judge model, shaped by the context it is used inScores depend on the specific judge and can shift when the judge is revised

Exact and subjective evaluation approaches named in the source

The table makes the contrast concrete. Exact approaches are predictable because the same rule gives the same result. AI as a judge is attractive because it can assess open-ended responses that exact checks cannot handle, but that flexibility is exactly what makes its score harder to interpret. The source is explicit that the two families should not be read in the same way.

Tracing a Judge Score Through the Process

To see why an AI judge's score needs care, follow one response from the moment it is generated to the moment a number is reported. The steps below trace the path the source describes. Each step adds a condition that the final number depends on.

  1. 1
    The model generates a response to a prompt. Because the task is open-ended, this response is one of many valid answers that could have been produced.
  2. 2
    A judge model reads the response. The judge is itself a model, and it applies a subjective judgment rather than a fixed rule.
  3. 3
    The judge assigns a score. That score is shaped by the judge model and by the context in which the judge is being used.
  4. 4
    The score is reported as a result. Read on its own, it cannot be treated as a universal measurement, because it belongs to the specific judge that produced it.
  5. 5
    The score is compared over time. If the judge has been revised since the last run, the same response may now receive a different score, so the change may reflect the judge rather than the application.

The Limits of AI as a Judge

AI as a judge is promising, but the source is careful about its weaknesses. Two limits matter most: a judge's score depends on the judge that produced it, and a judge's score can drift over time. Together they explain why the source concludes that AI judges should be supplemented with exact evaluation, human evaluation, or both.

Ranking Models Without Absolute Scores

There are two broad ways to compare several models. You can evaluate each model independently and then rank them by their scores. Or you can rank them using comparative signals, asking a direct question about a pair: which of the two models is better? The second approach is comparative evaluation. It is common in sports, especially chess, and it is gaining traction in AI evaluation.

Model Awins two comparisonsRank 1: Model AModel Bwins one comparisonRank 2: Model BModel Cwins no comparisonsRank 3: Model Cpreferred overpreferred overpreferred overranked by winsranked by winsranked by wins
Pairwise preferences between three models produce a ranking even though no model receives an absolute score.
Worked example

Ranking three models from pairwise preferences

Three models, A, B, and C, each answer the same prompt. Human or judge preferences are collected for every pair. A is preferred over B, A is preferred over C, and B is preferred over C. What ranking does this produce, and does it need any absolute score?

  1. 1
    List the pairwise results

    There are three pairs. A beats B, A beats C, and B beats C. Each comparison answers only which of the two responses is better.

  2. 2
    Count wins for each model

    Model A wins two comparisons, Model B wins one, and Model C wins none.

  3. 3
    Order by wins

    Sorting by win count gives A first, B second, and C third.

  4. 4
    Check for absolute scores

    No model received a number on a fixed scale. The ranking came entirely from direct comparisons between pairs.

Result

The ranking is A, then B, then C. It was produced by pairwise signals alone, without any absolute score for any single output.

Comparative evaluation depends on preference signals, and so does the post-training alignment process. These signals are expensive to collect. That cost motivated the development of preference models, which are specialized AI judges that predict which response users prefer. Preference models are used both in comparative evaluation and in post-training alignment. Since they are AI judges, they inherit the caution from the previous section: their predictions are only as trustworthy as the process that built and checks them.

Building the Layered Pipeline

Put the pieces together and the evaluation process becomes a set of layers rather than a single score. Exact checks give results that a fixed rule can reproduce. AI judges extend coverage to open-ended responses, but their scores need supplementing. Human review corrects and sanity-checks the judge. Comparative ranking then orders models by pairwise signals. The diagram below shows one way to arrange these layers. The order is a design sketch for illustration, not a sequence the source prescribes.

Exact checksfunctional correctness,similarityAI judge scoressubjective, judge-dependentHuman reviewsanity checks andcorrectionsComparative rankingpairwise preference signalspasses results toflagged cases go tovalidated outputs feed
Each layer passes its results forward, and the AI judge's score is checked by exact or human evaluation rather than trusted on its own.

Mistakes Teams Make With Automatic Scores

  • Common mistake

    Treating an AI judge's score as an objective yardstick

    What it looks like

    A team reports that a new version scored higher on the judge and concludes the application is better.

    Why it fails

    An AI judge's judgment is subjective and shaped by the judge model and context. The score belongs to that judge.

    Do this instead

    Read the score as one subjective input and supplement it with exact evaluation or human review.

  • Common mistake

    Comparing scores across different judges

    What it looks like

    Last quarter's scores came from one judge, and this quarter's scores come from a newer judge, but the numbers are plotted on one chart as if they were the same measure.

    Why it fails

    AI judge scores may not be comparable across different judges.

    Do this instead

    Keep the judge fixed when tracking change, or re-score the earlier outputs with the new judge before comparing.

  • Common mistake

    Using a judge as a fixed benchmark when the judge keeps changing

    What it looks like

    A team uses an AI judge that is revised every few weeks and reads each change in its score as a change in the application.

    Why it fails

    Because AI judges are systems that get revised, their judgments can shift, which undermines using them as a fixed benchmark.

    Do this instead

    Pin the judge version for a comparison, or anchor the benchmark with exact checks that do not drift.

  • Common mistake

    Expecting one reference string to cover every valid response

    What it looks like

    An open-ended summarization task is graded by exact string match against one stored summary, and acceptable summaries with different wording are marked wrong.

    Why it fails

    A foundation model can produce many valid responses to the same request, so a single correct string does not represent the full set of acceptable outputs.

    Do this instead

    Use evaluation approaches that can judge responses beyond exact matching, and supplement them with human or comparative checks.

  • Common mistake

    Assuming that comparative rankings need absolute scores to be meaningful

Practice: Choosing an Evaluation Method

MEDIUM

A team builds an application that writes short product descriptions. They want to know whether a new model version is better than the current one. They have two options: score each description with an AI judge on a fixed rubric, or ask reviewers to compare the old and new descriptions for each product. Which approach would you start with, and what would you add to make the result trustworthy? Explain your reasoning in terms of exact versus subjective evaluation, judge dependence, and comparative ranking.

Hints
  • Decide first which family the AI judge belongs to, exact or subjective.
  • Ask whether the judge will stay fixed for the whole comparison.
  • Think about whether pairwise preferences between the old and new descriptions answer the question without absolute scores.

Key Takeaways

  • Foundation models are open-ended and powerful, so one prompt can have many valid responses, and a single reference answer cannot capture them all. This is why they are harder to evaluate than traditional models with fixed targets.
  • Functional correctness and similarity scores are exact approaches, while AI as a judge is subjective. The two families behave differently when their numbers are trusted.
  • AI judge scores depend on the specific judge and may not be comparable across judges. Because judges are revised, they are unreliable as long-term benchmarks and should be supplemented with exact or human evaluation.
  • Comparative evaluation ranks models by pairwise preferences without absolute scores. Preference models are specialized AI judges that predict which response users prefer, but preference signals are expensive to collect.

Related concepts

More concepts starting with B