HyperAIHyperAI

Command Palette

Search for a command to run...

4 months ago

Quaternion Knowledge Graph Embeddings

Shuai Zhang; Yi Tay; Lina Yao; Qi Liu

Quaternion Knowledge Graph Embeddings

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

cheungdaven/QuatE
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
link-prediction-on-fb15kQuatE
Hits@1: 0.800
Hits@10: 0.900
Hits@3: 0.859
MR: 17
MRR: 0.833
link-prediction-on-fb15k-237QuatE
Hits@1: 0.248
Hits@10: 0.550
Hits@3: 0.382
MR: 87
MRR: 0.348
link-prediction-on-wn18QuatE
Hits@1: 0.945
Hits@10: 0.959
Hits@3: 0.954
MR: 162
MRR: 0.95
link-prediction-on-wn18rrQuatE
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.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Quaternion Knowledge Graph Embeddings | Papers | HyperAI