AI GLOSSARY · AI CONCEPTS

BERTScore

Markdown version

Definition

BERTScore is a metric that scores generated text against a reference text by comparing the meaning of each word, using contextual vectors from the BERT language model, instead of counting exact word matches.

Also called: BERT score, BERTScore metric, BERT-score, bert_score, BERTScore F1.

In plain language

When a program writes a summary, a translation or a caption, you need some way to grade it. The simplest grader counts how many words match a human-written answer, so it marks 'car' wrong when the reference says 'automobile'. BERTScore tries to fix that. It turns each word into a list of numbers that reflects its meaning in that sentence, then checks how close the two sentences are. A sentence that says the same thing in different words can score well. It is still a stand-in for a human reader, it needs a reference text to compare against, and a high score does not prove the text is accurate or safe to use.

Technical definition

BERTScore, introduced by Zhang, Kishore, Wu, Weinberger and Artzi (arXiv 1904.09675, ICLR 2020), compares a candidate sentence with a reference sentence token by token. Each token is mapped to a contextual embedding from a pretrained BERT-family model, so the same word gets a different vector in a different sentence. According to the project README, words in the candidate and the reference are matched by cosine similarity, and the tool reports precision, recall and F1. The paper evaluates it on machine translation and image captioning outputs and compares it with existing metrics.

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.

  1. Skill by Skill Almanac · Illustrative, not executed

    faithful-summary-writer 55/100 · Provisional, not yet measuredScored · Method v0.2 · How we score

    What you see
    A summary of one document in which every sentence traces to the source, followed by a check for invented or altered facts.
    Why it exercises the concept
    It checks a summary against its source by tracing claims. That is a different test from a similarity score, and the pairing shows what BERTScore does not tell you.
  2. 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
    An eval dataset for an LLM feature, with a checker for duplicates, missing graders, imbalance and leakage.
    Why it exercises the concept
    A reference-based metric needs a test set with reference answers. This skill covers building that set, but it does not itself compute BERTScore.
  3. Guide · Illustrative, not executed

    AI Hallucination: What to Check in Agent Output

    What you see
    A checklist for reviewing agent output: claims, quotes, sources and figures before you rely on them.
    Why it exercises the concept
    A similarity metric can rate a fluent but wrong sentence highly if it resembles the reference. The guide covers the manual checks that stay necessary.

How it shows up when you use agents

If you ask Claude Code or Codex to write or change a prompt that produces summaries, translations or captions, you will soon want a number that says whether the new version is better. BERTScore is one such number. It compares each output with a human-written reference using the meaning of words, so it is more forgiving of rewording than a plain word-overlap count. You meet it inside evaluation scripts, notebooks and libraries that ask for a list of model outputs and a list of references.

What breaks when it is misunderstood: a team treats a rising score as proof of quality. The score measures closeness to the reference, not truth. A fluent sentence that repeats the reference's wording but gets a fact wrong can still look close. The score also depends on which BERT-family model produced the vectors, so scores from different setups are not comparable.

A safer habit is to pair the metric with a small set of outputs you read yourself. Build the reference set first (the LLM eval test sets skill covers that), keep the model and settings fixed between runs, and use the score to flag outputs to read, not to approve them. For open-ended answers with no single reference, an LLM-as-a-judge setup is a common alternative. See the AI hallucination checklist for what to check by hand.

Common confusions

  • BERTScore versus word-overlap metrics. Overlap metrics count shared words or word groups. BERTScore compares contextual vectors, so different words with similar meaning can match.
  • BERTScore versus BERT. BERT is a language model. BERTScore is an evaluation method that uses vectors from it and does not generate text.
  • BERTScore versus a fact check. The score compares a candidate to a reference. It does not look up whether either one is true.
  • Myth. A high score means a human would approve the text. The paper reports agreement with human judgments on specific translation and captioning tasks, not on all uses.

Terms that mention BERTScore

1 terms mention this one

More in AI concepts

Next steps

  1. AI Hallucination: What to Check in Agent Output The long-form guide.
  2. faithful-summary-writer A skill that exercises it.
  3. Machine translation Related term.
  4. Embedding Related term.
  5. All glossary terms A to Z and by family.

Sources

Definitions are written by Skill Almanac from these sources and were checked against them on 2026-11-24. Wikipedia is never the only source.

Review record

Last verified

Drafted by claude-sonnet-5-5; sources and example targets checked by claude-haiku-5-5 source check; claude-sonnet-5-5 editor pass on 2026-11-24. Last verified .

This entry is still in review, so it is not listed in search engines yet.

Change log (2)
  • : First version.
  • : Verifier pass: applied verifier corrections to wording and claims.