NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

On the Knowledge Graph Completion Using Translation Based Embedding: The Loss Is as Important as the Score

Mojtaba Nayyeri, Chengjin Xu, Yadollah Yaghoobzadeh, Hamed Shariat Yazdi, Jens Lehmann

Introduction

Knowledge Graphs (KGs) are fundamental to modern AI, representing structured facts as triples $(h, r, t)$. However, KGs are typically incomplete. Knowledge Graph Embedding (KGE) models, such as the seminal TransE, aim to predict missing links by treating relations as translations in a vector space ($h + r \approx t$).

Despite its simplicity and efficiency, a decade of research suggested that TransE is fundamentally limited, unable to model complex relations like symmetry, reflexivity, or transitivity. This paper challenges that consensus, arguing that these limitations are not inherent to the translation architecture but are consequences of overly restrictive loss functions.

Methodology

The authors propose that the "failure" of translation-based models stems from the assumption that a true fact must have a score of exactly zero. By reformulating loss functions as constrained optimization problems, they introduce flexible "conditions of truth."

Flexible Truth Conditions

Instead of a hard constraint ($score = 0$), the authors define regions where a fact is considered true if its score falls below a certain threshold. This allows the model to encode complex relational patterns that were previously thought impossible for translation-based architectures.

TransComplEx

Building on this theory, the authors introduce TransComplEx. This model applies translation principles to complex numbers. Unlike multiplication-based complex models like ComplEx, TransComplEx uses efficient vector additions and subtractions. It utilizes the conjugate of the tail entity vector to distinguish between subject and object roles, overcoming a common limitation of simpler models while maintaining high computational efficiency.

Theoretical Insights: The "Region of Truth"

The core insight of this work is the Region of Truth. Traditional interpretations of TransE view a true fact as a single point in vector space. The authors argue for viewing it as a volume—for instance, the interior of a sphere. If the model's score for a triple falls within this volume, the fact is considered valid.

Figure 1: Visualization of different truth conditions, moving from a single point (a) to flexible volumes (c, d) that allow for more complex relational encoding.

This "breathing room" resolves the mathematical contradictions that previously hindered TransE. It demonstrates that the choice of loss function is not just a training detail but a critical component of the model's representational capacity.

Experimental Results

The authors evaluated their approach on standard benchmarks (FB15k, WN18) and their more rigorous counterparts (FB15k-237, WN18RR).

Performance on Challenging Datasets

The results indicate that simply optimizing the loss function (e.g., TransE6) can significantly boost the performance of basic models. Furthermore, TransComplEx achieves state-of-the-art results, particularly on the difficult FB15k-237 dataset.

Figure 6: Performance comparison on FB15k-237 and WN18RR. TransComplEx variants achieve competitive MRR and Hits@10 scores against more complex architectures.

On FB15k-237, the proposed models achieved a Mean Reciprocal Rank (MRR) of up to 31.9 and a Hit@10 of 49.5, outperforming many models with significantly more complex architectures.

Conclusion and Future Work

This research rehabilitates translation-based models by showing that their perceived limitations were largely due to training objectives rather than architectural flaws. While challenges remain—such as the "Many-to-Many" relation problem—the "region of truth" framework provides a path toward a unified theory of KGE training. Future work will explore extending these insights to other distance-based models like RotatE and investigating the implications for different loss functions like Negative Likelihood Loss.

Summary updated

BibTeX
@misc{nayyeri2019knowledge,
  author = {Mojtaba Nayyeri and Chengjin Xu and Yadollah Yaghoobzadeh and Hamed Shariat Yazdi and Jens Lehmann},
  title = {{On the Knowledge Graph Completion Using Translation Based Embedding: The Loss Is as Important as the Score}},
  year = {2019},
  eprint = {1909.00519},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1909.00519},
}
Figure