HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

LineaRE: Simple but Powerful Knowledge Graph Embedding for Link Prediction

Yanhui Peng Jing Zhang

LineaRE: Simple but Powerful Knowledge Graph Embedding for Link Prediction

Abstract

The task of link prediction for knowledge graphs is to predict missing relationships between entities. Knowledge graph embedding, which aims to represent entities and relations of a knowledge graph as low dimensional vectors in a continuous vector space, has achieved promising predictive performance. If an embedding model can cover different types of connectivity patterns and mapping properties of relations as many as possible, it will potentially bring more benefits for link prediction tasks. In this paper, we propose a novel embedding model, namely LineaRE, which is capable of modeling four connectivity patterns (i.e., symmetry, antisymmetry, inversion, and composition) and four mapping properties (i.e., one-to-one, one-to-many, many-to-one, and many-to-many) of relations. Specifically, we regard knowledge graph embedding as a simple linear regression task, where a relation is modeled as a linear function of two low-dimensional vector-presented entities with two weight vectors and a bias vector. Since the vectors are defined in a real number space and the scoring function of the model is linear, our model is simple and scalable to large knowledge graphs. Experimental results on multiple widely used real-world datasets show that the proposed LineaRE model significantly outperforms existing state-of-the-art models for link prediction tasks.

Code Repositories

pengyanhui/LineaRE
Official
pytorch

Benchmarks

BenchmarkMethodologyMetrics
link-prediction-on-fb15k-1LineaRE
Hits@1: 0.805
Hits@10: 0.906
Hits@3: 0.867
MR: 36
MRR: 0.843
link-prediction-on-fb15k-237LineaRE
Hits@1: 0.264
Hits@10: 0.545
Hits@3: 0.391
MR: 155
MRR: 0.357
link-prediction-on-wn18LineaRE
Hits@1: 0.947
Hits@10: 0.961
Hits@3: 0.955
MR: 170
MRR: 0.952
link-prediction-on-wn18rrLineaRE
Hits@1: 0.453
Hits@10: 0.578
Hits@3: 0.509
MR: 1644
MRR: 0.495

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
LineaRE: Simple but Powerful Knowledge Graph Embedding for Link Prediction | Papers | HyperAI