0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

深層学習/BLEUスコア

Last updated at Posted at 2020-04-21

1.はじめに

 今回は、自然言語処理で生成した文章の評価方法の1つである、BLEUスコアについてまとめます。

2.BLEUスコア

 BLEUスコア(Bilingual Evaluation Understudy)は、翻訳タスクで使われる評価方法です。簡単に言うと、機械が生成した文が、どれだけ人間が翻訳した文に似ているかを測定します。その原理は、2つのシンプルな考え方に基づきます。

1)modified n_gram precision
 機械の翻訳文に、人間の翻訳文にある単語がどれだけ網羅されているかの率$P_n$が高いほど良い評価とします。

2) brevity penalty
 機械の翻訳文の単語数 c が人間の翻訳文の単語数 r より短いと modified n_gram precision が実力以上に良くなってしまうので、$e^{(1-\frac{r}{c})}$というペナルティ項を設けます。

スクリーンショット 2020-04-21 14.52.18.png

これが、BLEUスコアの式です。$W_n$は、適当な重みです。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?