What is bilingual evaluation understudy (BLEU)?
BLEU is an automatic metric measuring how far a machine translation or generated text overlaps with human references, using the match rate of one to four-word sequences (n-grams) plus a brevity penalty for short output; it ranges from 0 to 1, often reported multiplied by 100.
Unlike human evaluation, which judges meaning, accuracy and fluency, BLEU counts surface word overlap with references. It is fast and cheap but can score correct synonyms low. Perplexity measures a model's probabilities and does not compare output with references.
- Topic
- Evaluation and quality
- Also known as
- BLEU score, Bilingual Evaluation Understudy
- Origin
- 2002
How bilingual evaluation understudy (BLEU) works
- Candidate and reference translations are split into words or subwords.
- For one to four-grams, the share of candidate n-grams also found in the references is calculated; an n-gram is not counted more often than in the reference.
- The geometric mean of these four rates is taken.
- If the candidate is shorter than the reference, the brevity penalty lowers the score; the result is usually computed over the whole test set.
In more detail
Modern alternatives: chrF++, COMET and BERTScore
Although BLEU was foundational, modern translation and LLM evaluation relies heavily on character n-gram metrics like chrF++ and neural metrics like COMET or BERTScore, which capture semantic equivalence and correlate much better with human judgement. BLEU remains useful mainly as a fast, deterministic baseline signal rather than a standalone quality gate.
Sentence-level zeros and smoothing
Because BLEU multiplies 1-gram through 4-gram precisions via a geometric mean, a single zero match, such as zero 4-gram overlap in a short sentence, collapses the sentence score to zero. Consequently, BLEU is designed as a corpus-level metric and sentence-level evaluation requires smoothing techniques (such as exponential or floor smoothing) to avoid misleading zeros.
SacreBLEU and the reproducibility signature
To ensure fair comparisons across teams and papers, SacreBLEU, introduced in 2018, enforces standardised tokenisation and outputs a reproducible signature string encoding case sensitivity, smoothing and tokeniser settings. Reporting a BLEU score without its SacreBLEU signature or exact configuration makes cross-study comparison unreliable.
Clipped precision and the brevity penalty
BLEU relies on modified (clipped) precision rather than recall: each candidate n-gram count is capped at the maximum count observed in any single reference translation so repeated common words cannot inflate the score. To prevent models from gaming precision with overly brief outputs, the brevity penalty (BP) exponentially scales down scores whenever candidate length falls below the closest reference length.
Commonly confused terms
| Term | How it differs |
|---|---|
| ROUGE | BLEU evaluates machine translation against references using n-gram precision, whereas ROUGE (especially ROUGE-N and ROUGE-L) focuses primarily on recall of n-grams or longest common subsequences and is standard in summarisation. |
Why bilingual evaluation understudy (BLEU) matters for on-premises AI
BLEU compares versions or fine-tuning runs of in-house translation models quickly and repeatably. Scores depend on tokenisation, reference count and settings, so scores from different sources compare only if computed identically. In agglutinative languages such as Turkish word-level matching can score even correct translations low. For critical documents BLEU does not replace human evaluation.
A defence company compares two models for technical document translation by BLEU on its own reference translations; with a small gap, the decision rests on expert translators' review of sample documents.
Common questions
Does a high BLEU score mean a correct translation?
No. BLEU measures word overlap with references. A translation with meaning errors can score high and a correct one worded differently low.
Can BLEU scores from different studies be compared?
Only with the same tokenisation, references and calculation settings. Otherwise differences can mislead.
Related terms
- AI model evaluation
- Machine translation (MT)
- AI benchmark
- AI human evaluation
- AI ground truth
- AI perplexity
Sources
- Bleu: a Method for Automatic Evaluation of Machine Translation, ACL 2002
- A Call for Clarity in Reporting BLEU Scores, 2018
In the glossary: Glossary, A to D