Xin Lv, Lei Hou, Juanzi Li, Zhiyuan Liu
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.
| Task | Dataset | Metric | Value | Model |
|---|---|---|---|---|
| Link Prediction | YAGO39K | Hits@1 | 0.298 | TransC (bern) |
| Link Prediction | YAGO39K | Hits@10 | 0.698 | TransC (bern) |
| Link Prediction | YAGO39K | Hits@3 | 0.502 | TransC (bern) |
| Link Prediction | YAGO39K | MRR | 0.42 | TransC (bern) |
| Knowledge Graphs | YAGO39K | Accuracy | 93.8 | TransC (bern) |
| Knowledge Graphs | YAGO39K | F1-Score | 93.7 | TransC (bern) |
| Knowledge Graphs | YAGO39K | Precision | 94.8 | TransC (bern) |
| Knowledge Graphs | YAGO39K | Recall | 92.7 | TransC (bern) |
| Knowledge Graph Completion | YAGO39K | Accuracy | 93.8 | TransC (bern) |
| Knowledge Graph Completion | YAGO39K | F1-Score | 93.7 | TransC (bern) |
| Knowledge Graph Completion | YAGO39K | Precision | 94.8 | TransC (bern) |
| Knowledge Graph Completion | YAGO39K | Recall | 92.7 | TransC (bern) |
| Triple Classification | YAGO39K | Accuracy | 93.8 | TransC (bern) |
| Triple Classification | YAGO39K | F1-Score | 93.7 | TransC (bern) |
| Triple Classification | YAGO39K | Precision | 94.8 | TransC (bern) |
| Triple Classification | YAGO39K | Recall | 92.7 | TransC (bern) |
| Large Language Model | YAGO39K | Accuracy | 93.8 | TransC (bern) |
| Large Language Model | YAGO39K | F1-Score | 93.7 | TransC (bern) |
| Large Language Model | YAGO39K | Precision | 94.8 | TransC (bern) |
| Large Language Model | YAGO39K | Recall | 92.7 | TransC (bern) |
| Inductive knowledge graph completion | YAGO39K | Accuracy | 93.8 | TransC (bern) |
| Inductive knowledge graph completion | YAGO39K | F1-Score | 93.7 | TransC (bern) |
| Inductive knowledge graph completion | YAGO39K | Precision | 94.8 | TransC (bern) |
| Inductive knowledge graph completion | YAGO39K | Recall | 92.7 | TransC (bern) |