HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

Differentiating Concepts and Instances for Knowledge Graph Embedding

Xin Lv; Lei Hou; Juanzi Li; Zhiyuan Liu

Differentiating Concepts and Instances for Knowledge Graph Embedding

Abstract

Concepts, which represent a group of different instances sharing common properties, are essential information in knowledge representation. Most conventional knowledge embedding methods encode both entities (concepts and instances) and relations as vectors in a low dimensional semantic space equally, ignoring the difference between concepts and instances. In this paper, we propose a novel knowledge graph embedding model named TransC by differentiating concepts and instances. Specifically, TransC encodes each concept in knowledge graph as a sphere and each instance as a vector in the same semantic space. We use the relative positions to model the relations between concepts and instances (i.e., instanceOf), and the relations between concepts and sub-concepts (i.e., subClassOf). We evaluate our model on both link prediction and triple classification tasks on the dataset based on YAGO. Experimental results show that TransC outperforms state-of-the-art methods, and captures the semantic transitivity for instanceOf and subClassOf relation. Our codes and datasets can be obtained from https:// github.com/davidlvxin/TransC.

Code Repositories

davidlvxin/TransC
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
link-prediction-on-yago39kTransC (bern)
Hits@1: 0.298
Hits@10: 0.698
Hits@3: 0.502
MRR: 0.42
triple-classification-on-yago39kTransC (bern)
Accuracy: 93.8
F1-Score: 93.7
Precision: 94.8
Recall: 92.7

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