Aha.
正在载入中英对照阅读…

arXiv:1904.09675 · 中英对照阅读

BERTScore:使用 BERT 评测文本生成

BERTScore: Evaluating Text Generation with BERT

Tianyi Zhang‡⋄,Varsha Kishore‡,Felix Wu‡,Kilian Q. Weinberger‡⋄、and Yoav Artzi‡、‡Department of Computer Science、Cornell Tech、Cornell University{vk352, fw245, kilian}@cornell.edu {yoav}@cs.cornell.edu ⋄ASAPP Inc

中文速览

自动评估机器翻译、图像描述等文本生成时,常见指标太依赖字面重合,常把意思相同但说法不同的句子判得很差。BERTScore 用预训练语言模型生成带上下文的词语表示,再让候选句和参考句中的词逐个寻找最相似的对应项,并据此计算分数。研究在 363 个系统的输出上发现,它与人工判断更一致,挑选好模型的表现也更强;面对容易混淆的改写句时,也比已有指标更稳健。它让自动评测更关注句子表达的意思,而不只是词面是否相同,因此有望更公平地比较不同说法的生成结果。

摘要

我们提出了 BERTScore,这是一种用于文本生成的自动评测指标。与常见指标类似,BERTScore 会计算候选句中每个词元与参考句中每个词元之间的相似度分数。然而,我们不采用精确匹配,而是使用上下文嵌入计算词元相似度。我们使用 363 个机器翻译和图像描述生成系统的输出进行评估。与现有指标相比,BERTScore 与人工判断的相关性更高,模型选择性能也更强。最后,我们通过对抗性释义检测任务表明,与现有指标相比,BERTScore 对具有挑战性的示例更具鲁棒性。

We propose BERTScore, an automatic evaluation metric for text generation. Analogously to common metrics, BERTScore computes a similarity score for each token in the candidate sentence with each token in the reference sentence. However, instead of exact matches, we compute token similarity using contextual embeddings. We evaluate using the outputs of 363 machine translation and image captioning systems. BERTScore correlates better with human judgments and provides stronger model selection performance than existing metrics. Finally, we use an adversarial paraphrase detection task to show that BERTScore is more robust to challenging examples when compared to existing metrics.

术语表

BERTScore
BERTScore
automatic evaluation metric
自动评测指标
text generation
文本生成
natural language generation
自然语言生成
contextual embeddings
上下文嵌入
BERT
BERT
cosine similarity
余弦相似度
token
词元
candidate sentence
候选句
reference sentence
参考句
human judgments
人工判断
model selection
模型选择
paraphrase detection
释义检测
adversarial paraphrase
对抗性释义
PAWS
PAWS
machine translation
机器翻译
image captioning
图像描述生成
n-gram matching
n 元语法匹配
Bleu
Bleu
Meteor
Meteor
Spice
Spice
exact match precision
精确匹配准确率
exact match recall
精确匹配召回率
brevity penalty
长度惩罚
edit distance
编辑距离
word error rate
词错误率
embedding-based metrics
基于嵌入的指标
tf-idf
词频–逆文档频率