Skip to content
When the interviewer asked "How do you know it got better," I was actually waiting for a counterexample.

When the interviewer asked "How do you know it got better," I was actually waiting for a counterexample.

In a mock interview I asked a very ordinary question: once this rewriting feature ships, how do you judge that the new version is better than the old one.

He said look at user feedback and retention. I pressed on what the feedback looks like, how long retention takes to show, and if the prompt and the entry point placement were changed at the same time during that period, how do you attribute it. Three questions in, the answer shrank to “we’ll keep watching.”

This isn’t just his problem. Evaluation is often talked about lightly in AI products, as if running a score before launch and checking retention after launch is all there is to it. Anyone who has actually done it probably knows it’s the foundation of whether this role can make decisions. Without it, all discussion about “better” is just exchanging tones.

The eval set is fished out of logs, not written by yourself

The most common approach I’ve seen is opening the dialog box, making up twenty inputs yourself, running them once, and feeling the results are good.

The problem is those twenty inputs are too clean. Real users make typos, send half a sentence, paste a table from Excel whose structure is already broken, and put three requests in the same sentence. The gap between how the model performs on clean inputs and on these things is an order of magnitude.

My eval sets all come from online logs: sampled, desensitized, frozen, with version numbers starting from v1. There’s only one rule: only add, never modify. Delete one or change one, and historical scores can never be matched up again. What you lose isn’t one sample, it’s the comparability of all past conclusions.

Coverage has to be layered. High-frequency intents take the bulk, long tail keeps a portion, and a separate small block holds known failures: things users have complained about, things we’ve discussed but haven’t fixed. That last category is the most valuable, because it’s the only thing that prevents “the score went up but users are still complaining.”

On scale, I don’t chase big. One or two hundred covering the main intents, a few minutes per run, enough for daily regression. The thousands-scale kind is for training; the product side can’t maintain it, and it gets abandoned halfway through labeling.

Labeling criteria matter more than sample size. State clearly in one sentence what counts as correct—for example, the rewriting feature isn’t “reads smoothly,” it’s “facts unchanged, tone meets requirements, no new information added.” The standards three people each understand can differ by thirty percent. So at least two people label, disagreements are adjudicated on the spot, and the reasoning for the adjudication goes into the spec. That spec will look ugly, all special cases, but it is the team’s definition of “good.”

One more easily overlooked thing: the eval set needs an owner. If anyone can add a sample and no one is responsible for cleaning up, three months later it won’t match the online distribution, and no one can say which day it started drifting.

End-to-end scores are conclusions, not diagnoses

When you only have a total score, you can’t tell where the problem is.

A RAG (retrieval-augmented generation) Q&A breaks—it could be that nothing was retrieved; it could be that something was retrieved but ranking pushed the right one down; it could be that the context was stuffed in and the model ignored it; or it could be that the model answered correctly but the citation points to the wrong paragraph. The fixes for these four failure modes are completely different, and the end-to-end score only tells you “it got worse.”

So I split evaluation into stages: retrieval hit, whether the citation actually supports the conclusion, whether the format is legal, and the final answer. The first few stages are deterministic and can run automatically; only the last stage needs a human or a model to judge. Once split, changing a prompt immediately shows which stage moved, instead of waiting for the total score to wobble and then guessing.

Splitting has a cost too—the longer the chain, the higher the maintenance cost. For small teams I generally suggest splitting only two stages: retrieval and final answer. Split until you can attribute, then stop; don’t split for completeness.

The end-to-end layer still has to exist, but it’s a conclusion for humans to read, not a diagnosis for engineering to locate problems. Mix the two, and the team will use the total score for attribution, then sink into arguments about “did it go up this time because the samples changed.”

Before letting a model be the judge, measure how unreliable it is

Batch scoring with a model is the realistic choice; human labeling can’t afford that volume. But I won’t trust its scores directly.

There are three known biases, all very concrete: position bias, where swapping the order of A and B changes the conclusion; length preference, where longer answers are more likely to be judged good; and self-preference, where the same vendor’s model favors its own outputs. Stack these three and the optimization direction quietly drifts. The team unconsciously writes longer, because the score likes long.

My approach is to take a batch of human-labeled samples, have the judge model label them too, and compute the agreement rate. When agreement isn’t high enough, it can only do coarse screening: pick out the obviously bad ones and hand the rest to humans. This step is tedious, but without it, all the numbers afterward don’t hold up.

If the agreement rate won’t go up no matter how you tune it, it’s probably not that the judge model isn’t strong enough, but that the task’s standard itself was never clearly defined. When this signal appears, what should be revised is the labeling spec, not swapping in a bigger model.

One more easily missed point: changing the judge model is like changing the ruler. Historical scores can’t be compared directly; you need to keep an overlapping sample for conversion, otherwise you’ll see a baffling “big improvement.”

The online part: averages lie the most

The offline eval set can only cover situations you can think of; the real distribution is always dirtier.

Conventional A/B doesn’t work well on AI features. Quality differences are often small, and detecting a significant difference requires a large sample size; users have a learning period for new features, and the novelty in the first few days lifts the data; more troublesome is that experience is continuous—a version that’s “occasionally very dumb” may not lose retention, but users will reduce usage frequency, and that signal takes weeks to show.

So I look more at these: adoption rate (used directly after generation), edit distance (how much they changed before daring to use it), retry rate, handoff-to-human rate, task completion rate. They’re harder than satisfaction ratings because they don’t require users to express anything extra.

But always look in layers. New users and old users, short inputs and long inputs, free and paid—averaged together, the worst tier gets covered by the good data. I’ve been burned by this: overall adoption rose two points, but breaking it down showed the long-document scenario dropped badly, just that those users were a small share.

Every single metric has gaps, so I look at two or three at once. When directions disagree, don’t rush to a conclusion—that usually means something else is happening to some layer of users.

The crudest and most effective method is to manually read a few dozen real conversations every day. Don’t pick the good-looking ones; take them randomly from the latest batch. After reading, you’ll know what users are actually doing with it, which no dashboard can give you.

Drift is the norm; regression must be routine

Vendors upgrade models, adjust safety policies, change default parameters—none of this requires notifying you. I’ve encountered a case where not a single word of the prompt changed, but one day the answers suddenly became verbose; it turned out the model’s minor version had changed.

So a fixed eval set isn’t something you run once before launch; it has to go into CI: run it every time you change a prompt, swap a model, or adjust retrieval parameters. Model version and prompt version also go into the request logs, so when a problem occurs you can trace it back to which change caused it.

To control cost, sample the runs, cache results, and run the full set only on the subset related to the change. These engineering details don’t sound like a product manager’s job, but if you don’t handle them, no one else will, and eventually evaluation degrades into a spreadsheet three months out of date. Conversely, when a team is just starting out, don’t build the whole thing at once—first fix the eval set, watch one key segmented metric, run it for two full months, then talk about automation.

Two questions I would press on

The first is: what is this evaluation setup most easily fooled by.

People who can answer this have usually actually been fooled by it. For example, the judge model favors long answers, so the team keeps writing longer answers until users complain about verbosity; for example, the eval set is all short questions, and the long-document scenario was never covered; for example, no one ever defined the word “accurate” in the labeling spec, and two people’s labels can differ widely.

The second is: what was the situation the last time evaluation said it got better but online it got worse.

There’s no standard answer to this question, but it reveals whether someone treats evaluation as a living system. The answer that stuck with me most went roughly like this: that evaluation set had no tabular inputs, because the earliest batch of users were all plain-text users, and once sales signed the first enterprise customer, the input distribution changed entirely.

The value of evaluation isn’t in proving you’re right, but in making sure you know what you’re betting on before the next change.

So when I hear “we’ll keep monitoring” in an interview, I generally don’t mark it down right away, but I follow up: monitor what, how often, and what would make you roll back. Only someone who can answer that has actually shipped something. It’s fine if they can’t — it just makes me wonder where all those past “we improved performance by X” numbers came from.

Further reading: The passing line for AI products has to be drawn by someone willing to sign off, When asked to add an AI feature, I first ask whether we should add it

About this Post

This post is written by Lu's Blog, licensed under CC BY-NC 4.0.

#AI Products #Assessment #Interviews

Comments