AI GLOSSARY · AI CONCEPTS
BLEU score
Definition
BLEU is an automatic metric developed for machine translation. It compares a candidate with reference translations using token n-gram overlap and a brevity penalty; it does not directly establish meaning or factual correctness.
Also called: BLEU, BLEU metric, bilingual evaluation understudy.
In plain language
BLEU gives a translation a score by checking how many of its words and short word sequences also appear in a translation written by a person. Imagine marking a student's translation by how closely it matches the teacher's answer sheet. That is fast and repeatable, which is why it is used to compare versions of a system. The weakness is that a correct translation worded differently can score low, and a clumsy one that happens to share words can score well. Scores also depend on settings such as how text is split into tokens, so numbers from two different setups should not be compared. It is a rough guide for developers, not a verdict on quality for a reader.
Technical definition
BLEU was introduced by Papineni, Roukos, Ward and Zhu at ACL 2002. It combines modified n-gram precision with a brevity penalty, rather than directly measuring semantic correctness. The reviewed Hugging Face Evaluate implementation returns BLEU on a 0-to-1 scale. Papers and tools can report the corresponding 0-to-100 scale: for example, Attention Is All You Need reports 28.4 BLEU for its WMT 2014 English-to-German experiment. State the scale, tokenization, normalization, reference set and evaluation protocol before comparing results. Corpus-level aggregation and sentence-level scoring are not interchangeable; short individual sentences can be especially sensitive to zero n-gram matches and smoothing choices.
Worked examples in this catalogue
Catalogue examples point at a skill, guide or coding tool listed on this site, with what to run and what you see. An example marked illustrative describes the item from its own documentation; it was not executed for this page. Platform Scores are our assessment under a published method, not a safety guarantee.
Skill by Skill Almanac · Illustrative, not executed
translation-and-localization 56/100 · Provisional, not yet measuredScored · Method v0.2 · How we score
- What you see
- A skill that translates and QA-checks UI strings and docs with protected placeholders, glossary and length checks.
- Why it exercises the concept
- It checks translation quality with rule-based tests, such as placeholders and length. These tests catch different problems from BLEU, which measures overlap with a reference.
Skill by Skill Almanac · Illustrative, not executed
subtitle-translation-roundtrip 41/100 · Provisional, not yet measuredScored · Method v0.2 · How we score
- What you see
- A skill that prepares SRT subtitle files for translation and rebuilds them on the original timings, checking cue count, cue numbering and timings.
- Why it exercises the concept
- Translated subtitles can be correct in meaning yet fail structural checks. This checks subtitle-file structure, which a BLEU text score does not validate. It complements translation evaluation rather than replacing it.
Skill by Skill Almanac · Illustrative, not executed
llm-eval-test-sets 57/100 · Provisional, not yet measuredScored · Method v0.2 · How we score
- What you see
- A skill that builds and validates an eval dataset for any LLM feature, with a checker for duplicates, missing graders, imbalance and leakage.
- Why it exercises the concept
- BLEU needs reference translations, which is an eval set. The skill covers building and checking such a set, though it does not compute BLEU.
How it shows up when you use agents
You meet BLEU in model reports, papers and evaluation libraries, usually as one number next to a machine translation system. A coding agent can compute it through a library such as Hugging Face Evaluate, but it needs a list of reference translations, which someone has to write or collect. That list is the hard part. See the LLM eval test sets skill for how to build and check one.
What breaks when BLEU is misunderstood: a score is read as "how good the translation is". It measures overlap with the references you gave it. A fluent, correct translation that uses different words can score low, and the Hugging Face page says scores cannot be compared across datasets or languages and depend on tokenization settings. The next action is to fix the references and settings, write them down, and compare only runs that share them. For consequential use, add human evaluation. If you also use a model-based grader, validate it against suitable human judgments for the task; see LLM as a judge. The translation and localization skill shows rule-based checks for placeholders and length that BLEU does not cover.
Common confusions
- BLEU versus meaning. BLEU measures token n-gram overlap, not a direct semantic or factual correctness judgment. A valid paraphrase can receive a lower score.
- BLEU versus a benchmark. A benchmark is a test set with a protocol. BLEU is a scoring method that can be used inside one.
- Higher versus better. With the same protocol, higher BLEU reflects more favorable overlap and brevity statistics against the references. It does not certify the best wording, factual accuracy or suitability for a reader.
- Myth: scores from different papers are comparable. The Hugging Face documentation says results depend heavily on parameters such as tokenization and normalization.
Related terms
Terms that mention BLEU score
1 terms mention this one
More in AI concepts
Sources
- Attention Is All You Need, Vaswani et al., arXiv (accessed 2026-11-25)
- Bleu: a Method for Automatic Evaluation of Machine Translation, ACL Anthology (accessed 2026-11-24)
- BLEU (Hugging Face Evaluate metric), Hugging Face (accessed 2026-11-24)
Definitions are written by Skill Almanac from these sources and were checked against them on 2026-11-25. Wikipedia is never the only source.
Review record
Last verified
Drafted by claude-sonnet-5-5; sources and example targets checked by Independent automated source review (OpenAI Codex); not human peer review on 2026-11-25. Last verified .
Change log (5)
- : Independent automated factual/example and synonym review completed; cached US query estimate aligned to receipt. Final technical gate separate; publication disabled.
- : First version.
- : Verifier pass: applied verifier corrections to wording and claims.
- : Codex revision: clarify token n-grams, reporting scale, evaluation boundaries and subtitle structure; independent re-review pending.
- : Automated review completed; approved for the staged public release. Search indexing is controlled by the release configuration.