第15章自然言語処理:事前学習
15.5. Word Embedding with Global Vectors (GloVe)15.5 大域ベクトルによる単語埋め込み(GloVe)
Word-word co-occurrences within context windows may carry rich semantic information. For example, in a large corpus word “solid” is more likely to co-occur with “ice” than “steam”, but word “gas” probably co-occurs with “steam” more frequently than “ice”. Besides, global corpus statistics of such co-occurrences can be precomputed: this can lead to more efficient training. To leverage statistical information in the entire corpus for word embedding, let’s first revisit the skip-gram model in Section 15.1.3, but interpreting it using global corpus statistics such as co-occurrence counts.
英語のヒント
文脈窓の中での単語どうしの共起は、豊かな意味の情報を運びうる。たとえば、大きなコーパスでは、単語「solid」(固体)は「steam」(水蒸気)より「ice」(氷)と共起しやすいが、単語「gas」(気体)はおそらく「ice」より「steam」と頻繁に共起する。さらに、そうした共起のコーパス全体の統計は前もって計算できる。これはもっと効率のよい訓練につながりうる。コーパス全体の統計的な情報を単語埋め込みに活用するため、まず15.1.3節のスキップグラムモデルをもう一度見直そう。今度は、共起回数のようなコーパス全体の統計を使って解釈する。