SOTAVerified

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.

Reproduce

Code

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

DatasetModelMetricClaimedVerifiedStatus
FB15k-237RESCAL (SCE w/ LS pretrained)Hits@10.27Unverified
FB15k-237RESCAL (SCE w/ LS)Hits@10.27Unverified
WN18RRComplEx (SCE w/ LS pretrained)Hits@100.55Unverified
WN18RRComplEx (SCE w/ LS)Hits@100.55Unverified

Reproductions