BARTScore: Evaluating Generated Text as Text Generation

Weizhe Yuan, Graham Neubig, Pengfei Liu
6/22/2021
cs.CL

Official code: neulab/BARTScore (370 stars, Apache-2.0, last commit 2022-06-27).

Abstract

A wide variety of NLP applications, such as machine translation, summarization, and dialog, involve text generation. One major challenge for these applications is how to evaluate whether such generated texts are actually fluent, accurate, or effective. In this work, we conceptualize the evaluation of generated text as a text generation problem, modeled using pre-trained sequence-to-sequence models. The general idea is that models trained to convert the generated text to/from a reference output or the source text will achieve higher scores when the generated text is better. We operationalize this idea using BART, an encoder-decoder based pre-trained model, and propose a metric BARTScore with a number of variants that can be flexibly applied in an unsupervised fashion to evaluation of text from different perspectives (e.g. informativeness, fluency, or factuality). BARTScore is conceptually simple and empirically effective. It can outperform existing top-scoring metrics in 16 of 22 test settings, covering evaluation of 16 datasets (e.g., machine translation, text summarization) and 7 different perspectives (e.g., informativeness, factuality). Code to calculate BARTScore is available at https://github.com/neulab/BARTScore, and we have released an interactive leaderboard for meta-evaluation at http://explainaboard.nlpedia.ai/leaderboard/task-meval/ on the ExplainaBoard platform, which allows us to interactively understand the strengths, weaknesses, and complementarity of each metric.

View on arXivView PDF

Code Implementations(1)

neulab/BARTScoreOfficial100%
Apache-2.0

BARTScore: Evaluating Generated Text as Text Generation

37037Perl, ShellJun 21, 20214 years agoApache-2.0

Similar Papers

Cite this paper

@article{yuan2021bartscore,
  title  = {BARTScore: Evaluating Generated Text as Text Generation},
  author = {Weizhe Yuan and Graham Neubig and Pengfei Liu},
  year   = {2021},
  eprint = {2106.11520},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.11520}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2106.11520.svg)](https://codeofpaper.com/paper/2106.11520)

Discussion