Inductive Knowledge Graph Completion with GNNs and Rules: An Analysis

Akash Anil, Víctor Gutiérrez-Basulto, Yazmín Ibañéz-García, Steven Schockaert
8/14/2023
cs.AIcs.LGcs.SI

Official code: anilakash/IndKGC (9 stars, last commit 2023-08-17).

Abstract

The task of inductive knowledge graph completion requires models to learn inference patterns from a training graph, which can then be used to make predictions on a disjoint test graph. Rule-based methods seem like a natural fit for this task, but in practice they significantly underperform state-of-the-art methods based on Graph Neural Networks (GNNs), such as NBFNet. We hypothesise that the underperformance of rule-based methods is due to two factors: (i) implausible entities are not ranked at all and (ii) only the most informative path is taken into account when determining the confidence in a given link prediction answer. To analyse the impact of these factors, we study a number of variants of a rule-based approach, which are specifically aimed at addressing the aforementioned issues. We find that the resulting models can achieve a performance which is close to that of NBFNet. Crucially, the considered variants only use a small fraction of the evidence that NBFNet relies on, which means that they largely keep the interpretability advantage of rule-based methods. Moreover, we show that a further variant, which does look at the full KG, consistently outperforms NBFNet.

View on arXivView PDF

Code Implementations(1)

anilakash/IndKGCOfficial100%
91PythonFeb 7, 20233 years ago

Similar Papers

Cite this paper

@article{anil2023inductive,
  title  = {Inductive Knowledge Graph Completion with GNNs and Rules: An Analysis},
  author = {Akash Anil and Víctor Gutiérrez-Basulto and Yazmín Ibañéz-García and Steven Schockaert},
  year   = {2023},
  eprint = {2308.07942},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2308.07942v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2308.07942.svg)](https://codeofpaper.com/paper/2308.07942)

Discussion