Why string-match accuracy fails as an LLM evaluation metric
Same topic, related formats. Practice these next.
Same topic, related formats. Practice these next.
Open-ended outputs have many valid wordings and no single ground truth, quality is subjective and multi-dimensional, and the reliable signal, human grading, is slow and costly.
Imagine grading a class who all wrote essays answering 'why is the sky blue?'. There is no single correct sentence. One student writes a tidy paragraph, another a longer one, both are right. A grading machine that only checks 'does this match my one answer key word for word?' would fail almost everyone, even the good essays. That is what string-match does to language models: it has one reference answer and marks everything else wrong, even correct rephrasings. To grade fairly you need a thoughtful reader who weighs accuracy, clarity, and tone. But hiring human readers for thousands of essays is slow and expensive, which is exactly why grading open-ended answers is genuinely hard.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example.
Everything important, quickly.
3 min: no single ground truth, quality is multi-dimensional and subjective, human labels are expensive, so eval combines automated checks, an LLM judge, and human spot-checks.
Real products, models, and research that use this idea.
What an interviewer would ask next. Try answering before peeking at the approach.
Red flags and common mistakes that signal junior thinking. Click to expand.
Assuming a single reference answer plus exact match is enough. Open-ended outputs have many valid wordings, so string-match marks correct paraphrases wrong and reports a misleading score.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.