プリンキピア

第15章自然言語処理:事前学習

15.2.3. Summary15.2.3 まとめ

  • Negative sampling constructs the loss function by considering mutually independent events that involve both positive and negative examples. The computational cost for training is linearly dependent on the number of noise words at each step.
    英語のヒント
    負例サンプリングは、正例と負例の両方を含む互いに独立な事象を考えることで、損失関数を組み立てる。訓練の計算コストは、各ステップでのノイズ語の数に線形に依存する。
  • Hierarchical softmax constructs the loss function using the path from the root node to the leaf node in the binary tree. The computational cost for training is dependent on the logarithm of the dictionary size at each step.
    英語のヒント
    階層的ソフトマックスは、二分木の根ノードから葉ノードへの経路を使って損失関数を組み立てる。訓練の計算コストは、各ステップで辞書の大きさの対数に依存する。