[Paper Review] CompoundE: Knowledge Graph Embedding with Translation, Rotation and Scaling Compound Operations
CompoundE is a novel knowledge graph embedding model that unifies translation, rotation, and scaling operations into a compound geometric transformation to improve link prediction. By leveraging the affine group structure, it achieves state-of-the-art performance on FB15k-237, WN18RR, and ogbl-wikikg2 with significantly fewer parameters than prior models.
Translation, rotation, and scaling are three commonly used geometric manipulation operations in image processing. Besides, some of them are successfully used in developing effective knowledge graph embedding (KGE) models such as TransE and RotatE. Inspired by the synergy, we propose a new KGE model by leveraging all three operations in this work. Since translation, rotation, and scaling operations are cascaded to form a compound one, the new model is named CompoundE. By casting CompoundE in the framework of group theory, we show that quite a few scoring-function-based KGE models are special cases of CompoundE. CompoundE extends the simple distance-based relation to relation-dependent compound operations on head and/or tail entities. To demonstrate the effectiveness of CompoundE, we conduct experiments on three popular KG completion datasets. Experimental results show that CompoundE consistently achieves the state of-the-art performance.
Motivation & Objective
- To address the limitations of existing KGE models in handling complex relations such as 1-N, N-1, and N-N types.
- To improve performance in low-dimensional embedding spaces where model capacity is constrained by memory.
- To unify diverse KGE models under a single geometric framework by generalizing translation and rotation operations.
- To reduce model complexity and parameter count while maintaining or improving performance on large-scale knowledge graphs.
Proposed method
- CompoundE models relations as compound operations combining translation, rotation, and scaling in the vector space.
- It uses a parametric transformation: $ \mathbf{t} \approx \mathbf{T} \cdot \mathbf{R}(\theta) \cdot \mathbf{S} \cdot \mathbf{h} $, where $ \mathbf{T} $, $ \mathbf{R}(\theta) $, and $ \mathbf{S} $ represent translation, rotation (via complex numbers), and scaling components.
- The model is grounded in group theory, with the affine group providing mathematical guarantees for modeling complex relations.
- Three variants are proposed: CompoundE-Head, CompoundE-Tail, and CompoundE-Full, depending on whether the transformation acts on the head, tail, or both entities.
- Scoring function is based on L1 or L2 distance between the transformed head entity and the tail entity.
- Relation embeddings are shared across entities, and the model is trained end-to-end via negative sampling and stochastic optimization.
Experimental results
Research questions
- RQ1Can a unified KGE model that combines translation, rotation, and scaling operations achieve better performance than existing models?
- RQ2How do compound geometric operations improve the modeling of complex relation types such as 1-N, N-1, and N-N relations?
- RQ3Can the compound operation framework generalize existing KGE models like TransE and RotatE as special cases?
- RQ4Does the model maintain high performance with significantly fewer parameters, especially on large-scale KGs?
- RQ5How do the learned transformation components (translation, rotation, scaling) reflect the semantic properties of real-world relations?
Key findings
- CompoundE achieves state-of-the-art performance on FB15k-237, with Hits@10 of 0.783 and MRR of 0.394, outperforming all baselines.
- On WN18RR, CompoundE achieves Hits@10 of 0.763 and MRR of 0.387, surpassing RotatE and PairRE.
- On ogbl-wikikg2, CompoundE achieves the best performance with only 250.3M parameters, cutting model size by at least half compared to models like TransE and ComplEx.
- Visualization of relation embeddings shows that symmetric relations like 'friend' have near-zero translation and scaling values, consistent with theoretical expectations.
- The model’s ability to model complex relations is validated by the distribution of learned parameters, where N-N relations show singular scaling behavior.
- Entity embeddings from CompoundE capture semantic structure, as shown by t-SNE visualization where entity types are partially separated by color.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.