Unified Interpretation of Softmax Cross-Entropy and Negative Sampling: With Case Study for Knowledge Graph Embedding
2021-06-14ACL 2021Code Available0· sign in to hype
Hidetaka Kamigaito, Katsuhiko Hayashi
Code Available — Be the first to reproduce this paper.
ReproduceCode
- github.com/kamigaito/acl2021kgeOfficialIn paperpytorch★ 6
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. 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.
Tasks
Benchmark Results
| Dataset | Model | Metric | Claimed | Verified | Status |
|---|---|---|---|---|---|
| FB15k-237 | RESCAL (SCE w/ LS pretrained) | Hits@1 | 0.27 | — | Unverified |
| FB15k-237 | RESCAL (SCE w/ LS) | Hits@1 | 0.27 | — | Unverified |
| WN18RR | ComplEx (SCE w/ LS pretrained) | Hits@10 | 0.55 | — | Unverified |
| WN18RR | ComplEx (SCE w/ LS) | Hits@10 | 0.55 | — | Unverified |