- Introduced by
- BLEU: Papineni et al. (2002); ROUGE: Lin (2004); BERTScore: Zhang et al. (2020)
- Year
- 2002 (BLEU); 2004 (ROUGE); 2020 (BERTScore)
- Type
- Reference-based NLG evaluation metric suite
What does it do?
Automatic text evaluation comprises reference-based metrics that score machine-generated text, such as translations, summaries, and other natural-language-generation (NLG) outputs, by comparing each output with one or more human-written reference texts.
BLEU, introduced by Papineni et al. in 2002, measures n-gram overlap with a precision orientation. ROUGE emphasises recall of reference content, and BERTScore (Zhang et al., 2020) compares contextual embeddings so that it can credit paraphrases. The metrics capture different aspects of similarity and are not interchangeable.
The intuition behind the method
When a system generates text, such as a translation of a sentence, a summary of an article, or a caption, its quality needs to be judged without having a person read every output. Automatic text evaluation addresses this by comparing the generated output with one or more reference texts written by humans. Surface metrics count how many words or short word sequences the two texts share. Embedding-based metrics encode both texts with a pretrained language model and measure how close their meanings are in that vector space. Each approach yields a number that can be used to compare systems or to track changes over time, but the number reflects only the kind of similarity the metric measures.
History
BLEU (Bilingual Evaluation Understudy) was introduced by Papineni et al. at ACL 2002 as an automatic metric for machine translation, offered as an alternative to time-consuming human evaluation for large-scale comparisons. ROUGE (Recall-Oriented Understudy for Gisting Evaluation) was proposed for summarisation evaluation and shifted the emphasis to recall. Zhang et al. introduced BERTScore at ICLR 2020, using contextual embeddings from BERT to measure semantic similarity rather than surface overlap. Later embedding-based metrics followed the same idea of comparing meaning in embedding space rather than surface wording.
When to use it
Use automatic text evaluation when you have generated text paired with at least one human-written reference, for example translation output, abstractive summaries, or NLG responses. It is a standard evaluation protocol in machine translation and text summarisation research. Choose BLEU when word-level fidelity to the reference is the concern, ROUGE for recall-oriented tasks such as summarisation, and BERTScore when paraphrases and synonyms should be credited. Do not rely on these metrics when no human reference exists, when the paired set is very small, or when the central question is factual accuracy, since n-gram and embedding similarity do not verify facts directly. With a small paired set, estimate score variability, for example with bootstrap confidence intervals, before drawing conclusions from differences between systems.
Limitations and considerations
- BLEU and ROUGE count only exact n-gram matches, so they penalise valid paraphrases and synonyms that do not match the reference wording.
- Absolute scores are not comparable across tokenisation schemes, reference sets, or languages, so a score from one setup cannot be read against a score from another.
- Automatic scores correlate imperfectly with human judgements of fluency, adequacy, and coherence. They are proxies for quality and do not replace human assessment.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Once paired references exist, system comparisons can be repeated quickly and at scale without a human annotator for each evaluation cycle.
- The metrics target different dimensions: n-gram precision (BLEU), n-gram recall (ROUGE), and embedding-based semantic similarity (BERTScore).
- Using several references reduces the penalty that a single reference imposes on valid alternative wordings, which makes BLEU scores less sensitive to one arbitrary choice of phrasing.
Applications
- Evaluating and comparing machine translation systems across language pairs.
- Benchmarking abstractive and extractive summarisation models on standard summarisation datasets.
- Comparing NLG systems in other tasks where paired human reference texts exist, with validation against human judgements before the scores are relied upon.
- Tracking changes in output quality across development iterations of an NLG pipeline.
How it works
How it works
Each input (a source sentence, a document to summarise, or a prompt) needs a paired machine output and at least one human-written reference. Multiple references help BLEU in particular, because the same content can usually be worded in several acceptable ways, and a single reference can count valid alternative wordings as errors.
The hypothesis (machine output) and the reference text(s) are split into tokens. For BLEU, the tokens are grouped into n-grams of lengths 1 to 4, and the choice of tokeniser changes the resulting counts. ROUGE has several variants: ROUGE-N compares n-gram overlap, while ROUGE-L uses the longest common subsequence and does not rely on fixed n-gram lengths. For BERTScore, the tokens are passed through a pretrained model such as BERT to obtain a contextual vector for each token.
BLEU computes the modified (clipped) n-gram precision of the hypothesis relative to the reference for n = 1 to 4, combines these precisions by their geometric mean, and multiplies the result by a brevity penalty that reduces the score for outputs shorter than the reference. ROUGE-N measures n-gram recall, that is, the share of the reference's n-grams that also appear in the hypothesis, which is why ROUGE is common in summarisation. BERTScore matches each hypothesis token to its most similar reference token by greedy matching on cosine similarity between contextual embeddings, and the resulting token-level matches give precision and recall, which are combined into F1.
Scores are read relative to baselines or competing systems. Higher BLEU or ROUGE values indicate more n-gram overlap with the reference, and a higher BERTScore F1 indicates closer semantic similarity. Scores should be compared only when the language, tokenisation scheme, and reference set are the same, because absolute values do not transfer across these settings. BERTScore values also depend on the pretrained model and layer used, and on whether IDF weighting or baseline rescaling is applied. Report these settings and keep them fixed when comparing systems.
Common pitfalls
- Comparing BLEU or ROUGE scores across papers that used different tokenisers or reference counts is not valid. Align the experimental conditions before drawing conclusions.
- Optimising a system directly for BLEU or ROUGE can produce outputs that score well without being better. Use the scores as diagnostic tools rather than as training targets.
- A single reference can understate quality, because many valid outputs will not match that one text. Include multiple references whenever they are available.
- Short outputs can achieve high n-gram precision in BLEU. The brevity penalty exists for this reason, so report it alongside the overall score.
Frequently asked questions
Which metric should I use: BLEU, ROUGE, or BERTScore?
BLEU is the usual choice for machine translation and emphasises precision of n-gram matches. ROUGE is the usual choice for summarisation and emphasises how much of the reference content the hypothesis covers (recall). BERTScore measures semantic similarity through contextual embeddings and can credit paraphrases that surface metrics miss. For a thorough evaluation, report at least two metrics that target different quality dimensions.
Why can BLEU scores vary between papers on the same dataset?
BLEU is sensitive to tokenisation, because different tokenisers produce different n-gram counts. It also depends on how many reference translations are used. Report the tokeniser, the number of references, and the exact scoring script so that the results can be reproduced and compared.
Do I need labelled data to run these metrics?
You need paired data: each machine-generated text must be paired with at least one human-written reference, which serves as the reference standard. No training phase is required, because these metrics are applied as scoring functions at evaluation time.
Are high BLEU or ROUGE scores sufficient evidence that a system is good?
No. Automatic metrics are useful proxies, but they correlate imperfectly with human judgements of fluency, adequacy, and overall quality. A system can score well by repeating high-frequency phrases that match the reference without producing fluent or coherent text. For any consequential deployment decision, complement automatic scores with human evaluation.
Related methods
Sources
Papineni, K., Roukos, S., Ward, T., & Zhu, W.-J. (2002). BLEU: A Method for Automatic Evaluation of Machine Translation. Proceedings of ACL 2002.
Open publication referenceZhang, T., Kishore, V., Wu, F., Weinberger, K. Q., & Artzi, Y. (2020). BERTScore: Evaluating Text Generation with BERT. Proceedings of ICLR 2020.
Open publication reference