Skip to main content
QUICK REVIEW

[Paper Review] TorusE: Knowledge Graph Embedding on a Lie Group

Takuma Ebisu, Ryutaro Ichise|arXiv (Cornell University)|Nov 15, 2017
Advanced Graph Neural NetworksComputer Science21 references11 citations
TL;DR

TorusE proposes a novel knowledge graph embedding model that replaces the vector space of TransE with a torus—a compact Lie group—to eliminate the need for regularization while preserving the translation principle. By embedding entities and relations on a torus, TorusE achieves state-of-the-art performance on link prediction tasks (e.g., 94.3% HITS@1 on WN18 and 67.4% on FB15K) and outperforms TransE, DistMult, and ComplEx in accuracy and speed.

ABSTRACT

Knowledge graphs are useful for many artificial intelligence (AI) tasks. However, knowledge graphs often have missing facts. To populate the graphs, knowledge graph embedding models have been developed. Knowledge graph embedding models map entities and relations in a knowledge graph to a vector space and predict unknown triples by scoring candidate triples. TransE is the first translation-based method and it is well known because of its simplicity and efficiency for knowledge graph completion. It employs the principle that the differences between entity embeddings represent their relations. The principle seems very simple, but it can effectively capture the rules of a knowledge graph. However, TransE has a problem with its regularization. TransE forces entity embeddings to be on a sphere in the embedding vector space. This regularization warps the embeddings and makes it difficult for them to fulfill the abovementioned principle. The regularization also affects adversely the accuracies of the link predictions. On the other hand, regularization is important because entity embeddings diverge by negative sampling without it. This paper proposes a novel embedding model, TorusE, to solve the regularization problem. The principle of TransE can be defined on any Lie group. A torus, which is one of the compact Lie groups, can be chosen for the embedding space to avoid regularization. To the best of our knowledge, TorusE is the first model that embeds objects on other than a real or complex vector space, and this paper is the first to formally discuss the problem of regularization of TransE. Our approach outperforms other state-of-the-art approaches such as TransE, DistMult and ComplEx on a standard link prediction task. We show that TorusE is scalable to large-size knowledge graphs and is faster than the original TransE.

Motivation & Objective

  • To address the regularization problem in TransE, which distorts entity embeddings and degrades link prediction accuracy.
  • To explore alternative embedding spaces that preserve the TransE translation principle without requiring regularization.
  • To demonstrate that compact Lie groups, particularly the torus, are suitable for knowledge graph embedding.
  • To develop a scalable, high-performance model that outperforms existing state-of-the-art methods on standard benchmarks.

Proposed method

  • Replaces the real vector space in TransE with a torus, a compact Lie group, to naturally constrain embeddings without regularization.
  • Adapts the TransE principle $\mathbf{h} + \mathbf{r} = \mathbf{t}$ to the group operation on the torus, using modular arithmetic in the embedding space.
  • Employs a parameterized rotation-based transformation to model relations as elements of the torus group.
  • Uses a margin-based ranking loss function to optimize the model, similar to TransE, but without sphere regularization.
  • Leverages the compactness of the torus to prevent embedding divergence during training.
  • Employs efficient matrix operations and modular arithmetic to ensure computational scalability.

Experimental results

Research questions

  • RQ1Can replacing the vector space in TransE with a compact Lie group like the torus eliminate the need for regularization?
  • RQ2Does embedding on a torus preserve the translation principle of TransE while improving link prediction accuracy?
  • RQ3How does TorusE compare to state-of-the-art models like TransE, DistMult, and ComplEx in terms of performance and speed?
  • RQ4Can a Lie group-based embedding space reduce model redundancy and improve generalization?

Key findings

  • TorusE achieves 94.3% HITS@1 on the WN18 dataset, outperforming ComplEx (93.6%) and TransE (68.1%).
  • On FB15K, TorusE achieves 67.4% HITS@1, significantly outperforming TransE (44.3%) and ComplEx (65.4%).
  • TorusE is faster than TransE due to the elimination of regularization computations and efficient modular arithmetic.
  • The model generalizes well across diverse relations, with MRR scores consistently equal to or better than ComplEx on most WN18 relations.
  • The high-dimensional torus embedding space reduces overfitting and allows richer representation learning.
  • TorusE demonstrates that the TransE principle is not inherently flawed; the issue lies in the regularization, not the principle itself.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.