Explain the structural reason BLEU fails for open-ended LLM evaluation
Same topic, related formats. Practice these next.
Same topic, related formats. Practice these next.
Explain the structural reason BLEU score is a poor metric for evaluating open-ended LLM outputs. Give a concrete example and suggest a better alternative.
BLEU scores surface n-gram overlap against a fixed reference. Open-ended outputs have many valid phrasings, so correct paraphrases score near zero. Use BERTScore or an LLM judge instead.
Imagine grading an essay by checking how many exact word-pairs match the teacher's model answer. A student who writes a perfect essay in their own words gets a low score, because their phrasing does not line up word for word with the key. That is what BLEU does: it counts shared chunks of words against one fixed answer. For a translation task that mostly works, since good translations look alike. But for open-ended writing there are a thousand correct ways to say the same thing. So a great answer that happens to use different words gets punished, and a clunky answer that parrots the reference gets rewarded. The fix is to grade meaning, not matching words: compare the ideas using embeddings (BERTScore) or have a smart model read both and judge.
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.
5 min: what BLEU computes, the reference-uniqueness assumption, why open-ended generation breaks it, a concrete paraphrase example, and the meaning-aware alternatives plus when BLEU is still fine.
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.
Reporting BLEU as a quality score for chat or summarization outputs. It measures surface overlap with one reference, so correct paraphrases get penalized and the number tracks phrasing, not meaning.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.