← Measures

BERTScore

A text-similarity metric that understands synonyms, built to fix the one thing BLEU and ROUGE get wrong most often.

At a glance

Full name BERTScore
What it measures Semantic similarity between a generated text and a reference, using contextual word embeddings instead of exact word matching
Formula Greedily match each token in one text to its most similar token in the other, by cosine similarity of contextual embeddings, then average the matches into precision, recall and F1
Typical range Roughly 0 to 1, though raw scores cluster close to 1 and are usually rescaled against a baseline for readability
Used for Translation, summarization, image captioning, and any generation task with a reference text
Best used for Catching valid paraphrases that n-gram metrics like BLEU and ROUGE wrongly penalise
Pair with Human evaluation for factual accuracy, since similarity to a reference is not the same as correctness

BERTScore, introduced by Zhang, Kishore, Wu, Weinberger and Artzi in 2020, was built to solve the exact problem described on the BLEU and ROUGE pages: both of those metrics only recognise overlap in exact wording, so a perfectly good paraphrase using different words scores poorly. BERTScore replaces exact word matching with similarity between contextual embeddings, the same kind of representation that made models like BERT good at understanding language in the first place, so it can recognise that “big” and “large” mean roughly the same thing in context, even though they share no letters.

What it is and how it’s computed

Run both the candidate text and the reference text through a pretrained language model to get a contextual embedding for every token. For each token in the candidate, find its most similar token in the reference by cosine similarity, and vice versa. Average the best-match similarities to get precision and recall, and combine them into an F1 score, the same precision-recall-F1 structure used throughout this field, just built on embeddings instead of exact strings.

A worked example

Recall the ROUGE example: reference “Cost-cutting measures led to the firm’s best-ever earnings” against a candidate reading “The company reported record profits after cutting costs.” These two sentences share almost no exact words in the same positions, so ROUGE and BLEU would score the match poorly. But “cost-cutting” and “cutting costs” embed very closely, as do “record profits” and “best-ever earnings,” so BERTScore recognises the strong semantic match that the older n-gram metrics missed entirely. This is the exact gap the metric was built to close.

Where it matters

BERTScore has become a common secondary metric alongside BLEU and ROUGE in translation and summarization papers, and it is used wherever researchers want a sanity check that a low n-gram score is not just penalising a valid paraphrase. It also sees use in dialogue and caption generation, anywhere outputs are evaluated against a reference but natural variation in phrasing is expected and acceptable.

Strengths

It correlates with human judgment noticeably better than BLEU or ROUGE across most published comparisons, precisely because it recognises meaning rather than exact wording. It needs no extra training data beyond the pretrained embedding model, and it is fast enough to run routinely alongside the older metrics.

Limitations, and the things that go wrong

BERTScore inherits whatever biases live in the embedding model it is built on, so its judgments can be subtly skewed by that model’s training data and its own blind spots. It is more expensive to compute than simple string-matching metrics, requiring a full model forward pass rather than a basic token count. Raw scores also cluster in a narrow, unintuitive range close to 1.0, which is why most implementations rescale them against a baseline distribution to make the numbers readable. And crucially, semantic similarity to a reference is still not the same thing as factual correctness: a confidently wrong sentence can be semantically close to a correct reference while stating the opposite fact, if the wording is similar enough, so BERTScore can be fooled by fluent, plausible-sounding errors just as easily as the older metrics can.

When I would use it, and what to pair it with

I report BERTScore alongside BLEU and ROUGE rather than instead of them, since the three together tell a more complete story than any one alone: large gaps between an n-gram score and BERTScore are a useful signal that the model is producing valid paraphrases rather than genuinely wrong output. For anything high-stakes, I still pair all three with human review focused specifically on factual correctness, which none of these metrics can verify on their own.