Command Palette
Search for a command to run...
LogicENN: A Neural Based Knowledge Graphs Embedding Model with Logical Rules
Mojtaba Nayyeri; Chengjin Xu; Jens Lehmann; Hamed Shariat Yazdi

Abstract
Knowledge graph embedding models have gained significant attention in AI research. Recent works have shown that the inclusion of background knowledge, such as logical rules, can improve the performance of embeddings in downstream machine learning tasks. However, so far, most existing models do not allow the inclusion of rules. We address the challenge of including rules and present a new neural based embedding model (LogicENN). We prove that LogicENN can learn every ground truth of encoded rules in a knowledge graph. To the best of our knowledge, this has not been proved so far for the neural based family of embedding models. Moreover, we derive formulae for the inclusion of various rules, including (anti-)symmetric, inverse, irreflexive and transitive, implication, composition, equivalence and negation. Our formulation allows to avoid grounding for implication and equivalence relations. Our experiments show that LogicENN outperforms the state-of-the-art models in link prediction.
Benchmarks
| Benchmark | Methodology | Metrics |
|---|---|---|
| link-prediction-on-fb15k | LogicENN | Hits@10: 0.874 MR: 112 MRR: 0.766 |
| link-prediction-on-fb15k-237 | LogicENN | Hits@10: 0.473 MR: 424 |
| link-prediction-on-wn18 | LogicENN | Hits@10: 0.948 MR: 357 MRR: 0.923 |
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.