HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Learning Hierarchy-Aware Knowledge Graph Embeddings for Link Prediction

Zhanqiu Zhang Jianyu Cai Yongdong Zhang Jie Wang

Learning Hierarchy-Aware Knowledge Graph Embeddings for Link Prediction

Abstract

Knowledge graph embedding, which aims to represent entities and relations as low dimensional vectors (or matrices, tensors, etc.), has been shown to be a powerful technique for predicting missing links in knowledge graphs. Existing knowledge graph embedding models mainly focus on modeling relation patterns such as symmetry/antisymmetry, inversion, and composition. However, many existing approaches fail to model semantic hierarchies, which are common in real-world applications. To address this challenge, we propose a novel knowledge graph embedding model -- namely, Hierarchy-Aware Knowledge Graph Embedding (HAKE) -- which maps entities into the polar coordinate system. HAKE is inspired by the fact that concentric circles in the polar coordinate system can naturally reflect the hierarchy. Specifically, the radial coordinate aims to model entities at different levels of the hierarchy, and entities with smaller radii are expected to be at higher levels; the angular coordinate aims to distinguish entities at the same level of the hierarchy, and these entities are expected to have roughly the same radii but different angles. Experiments demonstrate that HAKE can effectively model the semantic hierarchies in knowledge graphs, and significantly outperforms existing state-of-the-art methods on benchmark datasets for the link prediction task.

Code Repositories

thu-keg/eakit
pytorch
Mentioned in GitHub
MIRALab-USTC/KGE-DURA
pytorch
Mentioned in GitHub
miralab-ustc/qe-cone
pytorch
Mentioned in GitHub
MIRALab-USTC/KGE-HAKE
Official
pytorch
Mentioned in GitHub
guixiangyu1/KGE-HAKE-master
pytorch
Mentioned in GitHub
kamigaito/icml2022
pytorch
Mentioned in GitHub
zyjcs/KGE-HAE
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
knowledge-graph-completion-on-fb15k-237HAKE
Hits@10: 54.2
knowledge-graph-completion-on-wn18rrHAKE
Hits@3: 0.516
link-prediction-on-fb15k-237HAKE
Hits@1: 0.25
Hits@3: 0.381
MRR: 0.346
link-prediction-on-wn18rrHAKE
Hits@1: 0.452
Hits@10: 0.582
Hits@3: 0.516
MRR: 0.497
link-prediction-on-yago3-10HAKE
Hits@1: 0.462
Hits@10: 0.694
Hits@3: 0.596
MRR: 0.545

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