TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/Unified Interpretation of Softmax Cross-Entropy and Negati...

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

Hidetaka Kamigaito, Katsuhiko Hayashi

2021-06-14ACL 2021 5Knowledge Graph EmbeddingGraph EmbeddingLink Prediction
PaperPDFCode(official)

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.

Results

TaskDatasetMetricValueModel
Link PredictionWN18RRHits@10.444ComplEx (SCE w/ LS pretrained)
Link PredictionWN18RRHits@100.553ComplEx (SCE w/ LS pretrained)
Link PredictionWN18RRHits@30.496ComplEx (SCE w/ LS pretrained)
Link PredictionWN18RRMRR0.481ComplEx (SCE w/ LS pretrained)
Link PredictionWN18RRHits@10.441ComplEx (SCE w/ LS)
Link PredictionWN18RRHits@100.546ComplEx (SCE w/ LS)
Link PredictionWN18RRHits@30.491ComplEx (SCE w/ LS)
Link PredictionWN18RRMRR0.477ComplEx (SCE w/ LS)
Link PredictionFB15k-237Hits@10.269RESCAL (SCE w/ LS pretrained)
Link PredictionFB15k-237Hits@100.55RESCAL (SCE w/ LS pretrained)
Link PredictionFB15k-237Hits@30.402RESCAL (SCE w/ LS pretrained)
Link PredictionFB15k-237MRR0.364RESCAL (SCE w/ LS pretrained)
Link PredictionFB15k-237Hits@10.269RESCAL (SCE w/ LS)
Link PredictionFB15k-237Hits@100.548RESCAL (SCE w/ LS)
Link PredictionFB15k-237Hits@30.4RESCAL (SCE w/ LS)
Link PredictionFB15k-237MRR0.363RESCAL (SCE w/ LS)

Related Papers

SMART: Relation-Aware Learning of Geometric Representations for Knowledge Graphs2025-07-17Topic Modeling and Link-Prediction for Material Property Discovery2025-07-08Graph Collaborative Attention Network for Link Prediction in Knowledge Graphs2025-07-05Understanding Generalization in Node and Link Prediction2025-07-01Context-Driven Knowledge Graph Completion with Semantic-Aware Relational Message Passing2025-06-29Directed Link Prediction using GNN with Local and Global Feature Fusion2025-06-25Demystifying Distributed Training of Graph Neural Networks for Link Prediction2025-06-25Call Me Maybe: Enhancing JavaScript Call Graph Construction using Graph Neural Networks2025-06-22