Command Palette
Search for a command to run...
Shuai Zhang; Yi Tay; Lina Yao; Qi Liu

Abstract
In this work, we move beyond the traditional complex-valued representations, introducing more expressive hypercomplex representations to model entities and relations for knowledge graph embeddings. More specifically, quaternion embeddings, hypercomplex-valued embeddings with three imaginary components, are utilized to represent entities. Relations are modelled as rotations in the quaternion space. The advantages of the proposed approach are: (1) Latent inter-dependencies (between all components) are aptly captured with Hamilton product, encouraging a more compact interaction between entities and relations; (2) Quaternions enable expressive rotation in four-dimensional space and have more degree of freedom than rotation in complex plane; (3) The proposed framework is a generalization of ComplEx on hypercomplex space while offering better geometrical interpretations, concurrently satisfying the key desiderata of relational representation learning (i.e., modeling symmetry, anti-symmetry and inversion). Experimental results demonstrate that our method achieves state-of-the-art performance on four well-established knowledge graph completion benchmarks.
Code Repositories
Benchmarks
| Benchmark | Methodology | Metrics |
|---|---|---|
| link-prediction-on-fb15k | QuatE | Hits@1: 0.800 Hits@10: 0.900 Hits@3: 0.859 MR: 17 MRR: 0.833 |
| link-prediction-on-fb15k-237 | QuatE | Hits@1: 0.248 Hits@10: 0.550 Hits@3: 0.382 MR: 87 MRR: 0.348 |
| link-prediction-on-wn18 | QuatE | Hits@1: 0.945 Hits@10: 0.959 Hits@3: 0.954 MR: 162 MRR: 0.95 |
| link-prediction-on-wn18rr | QuatE | Hits@1: 0.438 Hits@10: 0.582 Hits@3: 0.508 MR: 2314 MRR: 0.488 |
Build AI with AI
From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.