Abstract
ModulE introduces a rigorous group-theoretic framework for Knowledge Graph Embeddings (KGE) that generalizes the embedding space from standard vector spaces to modules. By representing entities and relations in a module over a non-commutative ring (specifically quaternions), ModulE achieves state-of-the-art performance in link prediction. The framework allows for more expressive embedding structures and demonstrates superior efficiency, particularly in low-dimensional settings and on complex relation types.
Introduction
Knowledge Graph Embedding (KGE) is the task of representing entities and relations in a continuous vector space to predict missing links. While recent models like RotatE and QuatE have successfully modeled complex relation patterns as rotations in complex or quaternion spaces, they often treat the entity embedding space as a simple vector space without unified theoretical scrutiny.
The authors identify a gap: the lack of a high-level framework that treats both entities and relations as elements of a group structure. Furthermore, standard vector spaces are limited because their scalars must come from a field, which requires commutative multiplication. ModulE addresses this by moving to modules—a generalization of vector spaces where scalars come from a ring—unlocking more expressive structures, particularly those involving non-commutative operations.
Methods
The paper proposes a general group-theory-based framework and a specific method called ModulE. Entities are defined as elements of an "entity group" and relations as elements of a "relation group" that acts upon entities via scaling and rotation. In abstract algebra, a vector space is an Abelian group over a field; ModulE generalizes this to a module, an Abelian group over a ring. This allows the "scalars" (handling scaling/modulus) to be more complex than real numbers.
The authors evaluate three versions of ModulE:
- ModulE$_{R,C}$: Entities in complex space, real scalars.
- ModulE$_{R,H}$: Entities in quaternion space, real scalars.
- ModulE$_{H,H}$: Both entities and scalars are represented as quaternions. This version utilizes a non-commutative ring (quaternions) for the scalar part.
A cosine similarity score function is used to calculate the plausibility of triples.
Results and Discussion
ModulE was evaluated on three standard benchmarks: FB15k-237, WN18RR, and YAGO3-10. ModulE$_{H,H}$ achieved state-of-the-art (SOTA) results across all datasets. Notably, on YAGO3-10, it outperformed the previous best model (HopfE) by 9.26% in Mean Reciprocal Rank (MRR) and 14.61% in Hits@1.
Key Insights
- The Power of Non-Commutativity: The use of quaternions for both entities and scalars in ModulE$_{H,H}$ allows it to model intricate interactions that models restricted to commutative fields cannot capture.
- Efficiency and Convergence: ModulE$_{H,H}$ maintains high performance even as embedding dimensions decrease and shows faster convergence rates than baseline models.
- Complex Relation Modeling: On WN18RR, ModulE$_{H,H}$ showed significant improvements on difficult relations, such as a 64.5% increase in MRR for
member_of_domain_regioncompared to RotatE.
Conclusion
ModulE provides a theoretical "map" for the KGE landscape, acting as a general recipe for model creation. While choosing the right algebraic structure remains experimental, the framework's success suggests that capturing the underlying geometry of knowledge graphs through modules is highly effective. Future work will explore more abstract concepts like Category Theory to further integrate entity and relation representations.
Summary updated