Choosing NLP Evaluation Metrics: BLEU, ROUGE and BERTScore
This lesson explains NLP metrics that compare generated text with reference text automatically, and how to match each metric to the task it measures.
Learning outcomes
After completing this lesson, you will be able to:
- Explain what BLEU measures and where it suits.
- Explain what ROUGE measures and where it suits.
- Explain BERTScore and semantic similarity.
BLEU
BLEU (Bilingual Evaluation Understudy) measures how many n-grams, word sequences of length one to four, in the generated text also appear in one or more reference texts. It is therefore a form of precision, with a brevity penalty so that very short outputs, which could score high precision by saying little, are penalised.
BLEU was designed for machine translation, where good translations share much wording with reference translations. Because it rewards exact wording, a correct paraphrase can score low, which is why BLEU is a poor measure for open-ended generation.
Which NLP metric?
ROUGE
ROUGE (Recall-Oriented Understudy for Gisting Evaluation) measures how much of the reference text appears in the generated text, which makes it a form of recall. ROUGE-N counts overlapping n-grams: ROUGE-1 for single words and ROUGE-2 for word pairs. ROUGE-L uses the longest common subsequence, which respects word order without requiring the matching words to be contiguous.
ROUGE is the standard metric for summarisation, where the key question is whether the summary covers the important content of the reference. Like BLEU, it rewards wording overlap, so it is usually combined with LLM-as-a-judge or human evaluation for a fuller picture of quality.
Compute ROUGE-1
BERTScore and semantic similarity
BERTScore embeds each token of the candidate and reference with a contextual model (such as BERT) and matches tokens by cosine similarity, giving precision, recall and F1 based on meaning. It recognises paraphrases and synonyms that BLEU and ROUGE miss. Semantic similarity embeds whole texts with a sentence embedding model and computes cosine similarity. Neither metric checks factual correctness: a fluent answer with a wrong number can still score highly. Perplexity measures how well a language model predicts text and is used to compare language models, not individual answers.
The following table summarises the metrics.
| Metric | Measures | Typical task | Limitation |
|---|---|---|---|
| BLEU | N-gram precision vs references | Translation | Penalizes valid paraphrases |
| ROUGE-N / ROUGE-L | N-gram or subsequence recall | Summarization | Surface overlap only |
| BERTScore | Token-level semantic match | Paraphrase-tolerant comparison | Not factual accuracy |
| Semantic similarity | Cosine of sentence embeddings | Answer similarity, retrieval checks | Not factual accuracy |
| Perplexity | How well a model predicts text | Comparing language models | Not per-answer quality |
The following diagram compares the three metrics for the two candidates.

Pick the metric
One answer, three scores
A reference summary and two candidate summaries are compared.
Reference: "Revenue rose 8% because of strong cloud sales."
Candidate A: "Revenue rose 8% because of strong cloud sales in Europe."
Candidate B: "Thanks to robust demand for cloud services, income grew by eight per cent."
ROUGE-1 (recall) BLEU BERTScore F1
A 1.00 high 0.97
B ~0.30 low 0.93Candidate B is a correct paraphrase but scores poorly on ROUGE and BLEU because it shares few exact words. BERTScore recognises both as close in meaning. Neither metric would flag a candidate that said "Revenue rose 18%", which shows why factual checks or an LLM judge are also needed.
Which metric tolerates paraphrases when comparing with a reference?
Show answer
BERTScore or semantic similarity. BLEU and ROUGE compare exact words.
Exam Tips
Remember for the exam
- Translation: BLEU (n-gram precision with brevity penalty).
- Summarization: ROUGE (n-gram recall; ROUGE-L uses longest common subsequence).
- Paraphrase-tolerant comparison: BERTScore or semantic similarity.
- No NLP overlap metric checks factual correctness.
- Perplexity compares language models, not individual answers.