Unified Interpretation of Softmax Cross-Entropy and Negative Sampling: With Case Study for Knowledge Graph Embedding

Hidetaka Kamigaito, Katsuhiko Hayashi
6/14/2021
cs.LGcs.CLstat.ML

Official code: kamigaito/acl2021kge (6 stars, Python, MIT, last commit 2021-08-03).

Abstract

In knowledge graph embedding, the theoretical relationship between the softmax cross-entropy and negative sampling loss functions has not been investigated. This makes it difficult to fairly compare the results of the two different loss functions.

Show full abstract

We attempted to solve this problem by using the Bregman divergence to provide a unified interpretation of the softmax cross-entropy and negative sampling loss functions. Under this interpretation, we can derive theoretical findings for fair comparison. Experimental results on the FB15k-237 and WN18RR datasets show that the theoretical findings are valid in practical settings.

View on arXivView PDF

Code Implementations(1)

MIT
60Python, ShellAug 3, 20215 years agoMIT

Similar Papers

Cite this paper

@article{kamigaito2021unified,
  title  = {Unified Interpretation of Softmax Cross-Entropy and Negative Sampling: With Case Study for Knowledge Graph Embedding},
  author = {Hidetaka Kamigaito and Katsuhiko Hayashi},
  year   = {2021},
  eprint = {2106.07250},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.07250}
}

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.07250.svg)](https://codeofpaper.com/paper/2106.07250)

Discussion