Optimal Embedding Guided Negative Sample Generation for Knowledge Graph Link Prediction

Makoto Takamoto, Daniel Oñoro-Rubio, Wiem Ben Rim, Takashi Maruyama, Bhushan Kotnis
4/4/2025
cs.LGcs.CLcs.IR

Official code: nec-research/EMU-KG (2 stars, last commit 2025-05-05).

Abstract

Knowledge graph embedding (KGE) models encode the structural information of knowledge graphs to predicting new links. Effective training of these models requires distinguishing between positive and negative samples with high precision. Although prior research has shown that improving the quality of negative samples can significantly enhance model accuracy, identifying high-quality negative samples remains a challenging problem. This paper theoretically investigates the condition under which negative samples lead to optimal KG embedding and identifies a sufficient condition for an effective negative sample distribution. Based on this theoretical foundation, we propose \textbf{E}mbedding \textbf{MU}tation (\textsc{EMU}), a novel framework that \emph{generates} negative samples satisfying this condition, in contrast to conventional methods that focus on \emph{identifying} challenging negative samples within the training data. Importantly, the simplicity of \textsc{EMU} ensures seamless integration with existing KGE models and negative sampling methods. To evaluate its efficacy, we conducted comprehensive experiments across multiple datasets. The results consistently demonstrate significant improvements in link prediction performance across various KGE models and negative sampling methods. Notably, \textsc{EMU} enables performance improvements comparable to those achieved by models with embedding dimension five times larger. An implementation of the method and experiments are available at https://github.com/nec-research/EMU-KG.

View on arXivView PDF

Code Implementations(1)

implementation of EMU for KG link prediction

20Shell, PythonFeb 13, 20231 years ago

Cite this paper

@article{takamoto2025optimal,
  title  = {Optimal Embedding Guided Negative Sample Generation for Knowledge Graph Link Prediction},
  author = {Makoto Takamoto and Daniel Oñoro-Rubio and Wiem Ben Rim and Takashi Maruyama and Bhushan Kotnis},
  year   = {2025},
  eprint = {2504.03327},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.03327v1}
}

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

Discussion