Introduction
Knowledge graphs (KGs), such as Freebase or WordNet, serve as foundational structures for representing facts as networks of entities and relations. However, these graphs are inherently incomplete. Knowledge Graph Embedding (KGE) models address this by mapping entities and relations into a high-dimensional mathematical space to predict missing links. While the classic TransE model introduced a simple and effective translation principle—where the vector sum of a head entity and a relation should approximate the tail entity ($h + r \approx t$)—it suffers from structural limitations that hinder its performance and efficiency.
The Problem: TransE's Regularization Flaw
TransE operates in a flat Euclidean space. To prevent entity vectors from growing infinitely during training, the model imposes a spherical constraint, forcing all entity vectors onto the surface of a hypersphere. This creates a fundamental conflict: the translation rule ($h + r = t$) attempts to move points freely, while the spherical constraint pulls them back. This tension results in a "warping" effect, where the geometry of the space prevents the model from accurately satisfying the translation logic, leading to slower convergence and reduced predictive accuracy.
Methods: Embedding on a Torus
To resolve these issues, the authors propose TorusE, which transitions the embedding space from a flat Euclidean plane to a compact Lie group, specifically an $n$-dimensional torus ($T^n$).
A torus is a naturally bounded, "compact" space with no edges. In this geometry, if a vector moves past one boundary, it reappears on the opposite side (similar to modular arithmetic or "wrapping" around a donut). This inherent boundedness eliminates the need for artificial regularization or spherical constraints. The core translation principle of TransE is preserved but performed "modulo 1." The authors explored three distance functions—$L1$, $L2$, and a complex-space variant $eL2$—to measure the fit of triples within this new geometric framework.
Experimental Evaluation
TorusE was evaluated on two standard benchmarks: WN18 (WordNet subset) and FB15K (Freebase subset). The results demonstrated that TorusE is not only more accurate but significantly more efficient than its predecessors.
Key Results
- Efficiency Gains: By removing the normalization steps required by TransE, TorusE achieves a massive speedup. On the WN18 dataset, TorusE trained 11 times faster than TransE (4 seconds per epoch compared to 55.6 seconds).
- Predictive Accuracy: TorusE outperformed TransE, DistMult, and ComplEx across most metrics. Notably, on WN18, it achieved a Mean Reciprocal Rank (MRR) of 0.947 and a HITS@1 score of 0.943, a dramatic leap from TransE’s HITS@1 of 0.040.
Discussion and Future Work
The success of TorusE highlights that the shape of the embedding space is a critical factor in model performance. By choosing a space that naturally accommodates the translation principle without external constraints, TorusE removes mathematical "friction."
Despite its strengths, TorusE still faces challenges with "one-to-many" relations, a limitation shared with the original TransE model. Future research may explore other compact Lie groups or hybrid models that combine TorusE with path-based reasoning to better handle complex relational logic. The authors also noted a mathematical connection between TorusE (using $eL2$ distance) and the ComplEx model, suggesting that TorusE can be viewed as a more efficient, less redundant version of complex-space embeddings.
Summary updated