HyperAIHyperAI

Command Palette

Search for a command to run...

4 months ago

SimplE Embedding for Link Prediction in Knowledge Graphs

Seyed Mehran Kazemi; David Poole

SimplE Embedding for Link Prediction in Knowledge Graphs

Abstract

Knowledge graphs contain knowledge about the world and provide a structured representation of this knowledge. Current knowledge graphs contain only a small subset of what is true in the world. Link prediction approaches aim at predicting new links for a knowledge graph given the existing links among the entities. Tensor factorization approaches have proved promising for such link prediction problems. Proposed in 1927, Canonical Polyadic (CP) decomposition is among the first tensor factorization approaches. CP generally performs poorly for link prediction as it learns two independent embedding vectors for each entity, whereas they are really tied. We present a simple enhancement of CP (which we call SimplE) to allow the two embeddings of each entity to be learned dependently. The complexity of SimplE grows linearly with the size of embeddings. The embeddings learned through SimplE are interpretable, and certain types of background knowledge can be incorporated into these embeddings through weight tying. We prove SimplE is fully expressive and derive a bound on the size of its embeddings for full expressivity. We show empirically that, despite its simplicity, SimplE outperforms several state-of-the-art tensor factorization techniques. SimplE's code is available on GitHub at https://github.com/Mehran-k/SimplE.

Code Repositories

davendw49/gakg
pytorch
Mentioned in GitHub
Mehran-k/SimplE
Official
tf
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
link-prediction-on-fb15kSimplE
Hits@1: 0.660
Hits@10: 0.838
Hits@3: 0.773
MRR: 0.727
link-prediction-on-wn18SimplE
Hits@1: 0.939
Hits@10: 0.947
Hits@3: 0.944
MRR: 0.942

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
SimplE Embedding for Link Prediction in Knowledge Graphs | Papers | HyperAI