BLEU 2026-11-05
BLEU is a reference-based metric for evaluating machine translation. It combines modified n-gram precision at several lengths using a geometric mean, then applies a brevity penalty to discourage very short outputs. Kishore Papineni and colleagues introduced it as a way to make repeated translation evaluation less costly than repeatedly collecting human judgments.[ref]
For each candidate n-gram, count matches only up to its maximum occurrence count in a single reference. Sum these clipped matches across the corpus and divide by the total number of candidate n-grams of that length to obtain . This clipping prevents repeated use of a common word from earning unlimited matches. Corpus aggregation uses counts, rather than simply averaging independently calculated sentence scores.[ref]
BLEU: a Method for Automatic Evaluation of Machine Translation by Kishore Papineni and others. §2.1, footnote 2; §2.1.1, corpus modified precision
With candidate length , effective reference length and weights summing to one,The original baseline uses and . Effective reference length sums the closest reference sentence lengths for the candidates.[ref]
For a synthetic one-pair calculation, take reference
the cat is on the mat and candidate the cat is on mat. The clipped precisions areHere , and the precision product is , givingThis is about on a scale multiplied by one hundred; it is not translation accuracy.The unsmoothed score becomes zero when a required precision is zero. Short sentences make this particularly conspicuous, while legitimate rephrasing can reduce overlap. State tokenization, casing, reference set, smoothing and scale when comparing results. The example illustrates the arithmetic; the paper emphasizes corpus-level use rather than treating each sentence score as an independent human-quality judgment.[ref]
Brevity penalty 2026-11-05
The brevity penalty in BLEU reduces the score of a candidate translation corpus that is too short relative to its references. Matching a few reference phrases can give excellent modified n-gram precision while omitting much of the intended translation; the length factor addresses that particular failure.[ref]
BLEU: a Method for Automatic Evaluation of Machine Translation by Kishore Papineni and others. §2.2.2, motivation and sentence brevity penalty
For positive total candidate length and effective reference length ,Equivalently, . The effective reference length sums closest reference sentence lengths across the corpus; the penalty is then applied to the corpus totals.[ref]
For an own example, use reference
the cat is on the mat and candidate the cat is on. Every candidate n-gram of lengths one through four matches the reference, so all four modified precisions are one. Nevertheless, and giveWith the usual four equal weights, the full score in this example is also , because its precision geometric mean is one. Perfect candidate precision has not made an incomplete prefix a perfect translation.At , the factor is one. It remains one for longer candidates; their unmatched or repeated material can instead lower precision. A brevity penalty is therefore a length correction within a combined metric, not a complete measure of translation adequacy.
Kishore Papineni 2026-11-05
Kishore Papineni is a machine translation researcher who coauthored the 2002 paper introducing BLEU. Its original byline places the authors at IBM's research center. The method supplied an automatic way to compare machine output with human reference translations, making repeated evaluation less dependent on commissioning a fresh human assessment for every system change.[ref]
BLEU: a Method for Automatic Evaluation of Machine Translation by Kishore Papineni and others. Page311: original byline, affiliation, Abstract and motivation
One key idea is modified n-gram precision. Repeating a common word cannot earn unlimited matching credit, because the candidate's matched counts are clipped by the counts available in the references. This connects a cheap string-counting procedure with an explicit defense against a trivial way to inflate ordinary overlap.[ref]
BLEU: a Method for Automatic Evaluation of Machine Translation by Kishore Papineni and others. Section2.1: clipped n-gram counts
For an original unigram example, let the candidate be
red red red blue and the reference be red blue green white. Both candidate word types appear in the reference, but clipping permits only one occurrence of red and one of blue, giving . This is only the unigram component: the full BLEU calculation also combines higher-order n-gram precisions through a geometric mean and applies a brevity penalty.The original method aggregates counts over a corpus. It is not simply the arithmetic mean of independently scored sentences, and a short example explaining one component should not be presented as the complete metric. Its usefulness as an automatic comparison also does not turn word-sequence overlap into a direct proof that every sentence conveys the correct meaning.[ref]
BLEU: a Method for Automatic Evaluation of Machine Translation by Kishore Papineni and others. Section2.1.1: corpus aggregation; Sections2.2.2–2.3: brevity penalty and combined score
Modified n-gram precision 2026-11-05
Modified n-gram precision measures reference-matched candidate n-grams while clipping repeated occurrences to the evidence available in the references. It is the precision component of BLEU. Merely asking whether a word appears anywhere in a reference would otherwise reward repeating that word indefinitely.[ref]
BLEU: a Method for Automatic Evaluation of Machine Translation by Kishore Papineni and others. §2.1 and footnote 2, clipped occurrence counts
For candidate sentence , let count n-gram , and let count it in reference . Its clipped match count isUse the maximum count in one reference for each n-gram, rather than adding counts across references. Corpus precision sums these clipped matches and divides by the total candidate n-gram count of that length, provided this denominator is nonzero. An implementation needs a stated convention when no candidate n-grams of that length exist.[ref]
For an own example, take reference
the cat the mat and candidate the the the cat. The candidate has three occurrences of the, but only two can match; cat contributes one more. Thus modified unigram precision is , whereas an unrestricted word-membership check would misleadingly credit all four words.The candidate's three bigram occurrences are
the the twice and the cat once. Only the last matches, giving modified bigram precision . Longer n-grams therefore test ordering distinctions that unigram counts cannot capture.