BERTScore
In plain wordsAn automatic score for computer-written text that compares meanings rather than exact words, using an AI language model to judge how closely each word matches the words of a reference text.
A metric for evaluating generated text — translations, captions, summaries — against a reference by comparing contextual embeddingsembedding, n.: A list of numbers that stands for a word, picture or other item, arranged so that similar items get similar lists. It lets a computer measure similarity of meaning as distance. rather than surface n-grams. Both texts are encoded with a pretrained transformer such as BERTBERT, prop. n.: An influential 2018 Google language model that learned to understand text by filling in hidden words. It made search engines and many language tools much better at grasping meaning in context. or RoBERTa; each candidate token is matched to its most similar reference token by cosine similaritycosine similarity, n.: A score from −1 to 1 for how closely two lists of numbers point the same way, ignoring their size. It is the standard test of whether two texts mean similar things. (greedy matching), and the average best-match similarity gives precision, the reverse direction gives recall, and their harmonic mean gives an F1 score. Optional inverse-document-frequency weighting emphasizes rare, informative words, and rescaling against a baseline makes scores easier to read. Because embeddings capture synonyms and paraphrase, BERTScore correlates better with human judgments than BLEUBLEU, abbr.: An automatic score for machine translation that checks how many short runs of words in the computer's translation also appear in human reference translations. or ROUGEROUGE, abbr.: An automatic score for summaries that checks how much of the wording in human-written reference summaries also appears in the computer-generated one. on many tasks, though it can still reward fluent text that contradicts the reference, and its values depend on the encoder model and layer chosen.
The paraphrasing model scores poorly on BLEU but close to the reference on BERTScore.
Origin
Introduced by Tianyi Zhang, Varsha Kishore, Felix Wu, Kilian Q. Weinberger and Yoav Artzi of Cornell University in April 2019, and published at ICLR 2020.
Usage note
Scores are comparable only when computed with the same encoder, layer and settings, which the reference implementation records in a signature string.
Related
- BLEUBLEU, abbr.: An automatic score for machine translation that checks how many short runs of words in the computer's translation also appear in human reference translations.
- ROUGEROUGE, abbr.: An automatic score for summaries that checks how much of the wording in human-written reference summaries also appears in the computer-generated one.
- embeddingembedding, n.: A list of numbers that stands for a word, picture or other item, arranged so that similar items get similar lists. It lets a computer measure similarity of meaning as distance.
- cosine similaritycosine similarity, n.: A score from −1 to 1 for how closely two lists of numbers point the same way, ignoring their size. It is the standard test of whether two texts mean similar things.
- BERTBERT, prop. n.: An influential 2018 Google language model that learned to understand text by filling in hidden words. It made search engines and many language tools much better at grasping meaning in context.
- LLM-as-a-judgeLLM-as-a-judge, n.: Using one AI language model to grade or compare the answers of another, as a cheaper and faster stand-in for human reviewers.
Sources
- Zhang, T., Kishore, V., Wu, F., Weinberger, K. Q. & Artzi, Y. (2020). BERTScore: Evaluating Text Generation with BERT. ICLR 2020.
Mentioned in
BLEUBLEU, abbr.: An automatic score for machine translation that checks how many short runs of words in the computer's translation also appear in human reference translations., ROUGEROUGE, abbr.: An automatic score for summaries that checks how much of the wording in human-written reference summaries also appears in the computer-generated one.