Notes

BLEU

A translation can be fluent, faithful and still score badly; another can be clumsy and score well. BLEU sits at the centre of that complaint, and it is still the first number reported when a translation system is described.

How the score is built
BLEU compares generated text against one or more reference translations by counting shared n-grams of length one to four. Each count is clipped at the maximum times that n-gram appears in any reference, so padding the output with the the the cannot buy precision. The four clipped precisions are combined as a geometric mean, then multiplied by a brevity penalty that punishes output shorter than the reference — without it, a system could win by emitting only the words it was sure of. The whole thing is computed over a corpus, not averaged per sentence, because one sentence holds too few 4-grams to be stable.

What it cannot see
BLEU matches surface strings. A correct synonym, a legitimate reordering, a different but valid register — each counts as an error, and there is no recall term at all. A BLEU number is also only comparable within one tokenisation and reference set, which is why sacreBLEU exists: it fixes the tokenisation and emits a signature string so two papers' figures mean the same thing.

Why it survives
It is cheap, deterministic and reproducible, and at system level it tracks human judgement well enough to drive a development loop. Use it to watch one system improve; reach for chrF, METEOR, BERTScore or human raters when comparing systems of different style, or on summarisation and dialogue, where many good answers share almost no n-grams with a reference.

BLEU scores generated text by its n-gram overlap with one or more reference translations: clipped precisions for n-grams up to length four, combined as a geometric mean and multiplied by a brevity penalty for output shorter than the reference. Computed over a corpus rather than per sentence, it is cheap, deterministic and the default report for machine translation. It rewards surface matching only, so a correct synonym or a valid reordering counts as an error.

Imagine marking a translation by laying it beside one a professional produced and counting the runs of words that match — single words, then pairs, then triples. The more overlap, the higher the mark. Writing something very short would be an easy way to cheat, so the score is docked for answers that come out too brief.

That is BLEU, the oldest quick way to grade machine translation. It is fast, costs nothing, and never gets tired. But it only knows about matching words, so a translation saying car where the professional wrote automobile loses marks for being right in the wrong words. Which is why people still read the output themselves.