Inductive Relation Prediction by Subgraph Reasoning

Komal K. Teru, Etienne Denis, William L. Hamilton
11/16/2019
cs.LGcs.AIstat.ML

Official code: kkteru/grail (276 stars, last commit 2024-07-25).

Abstract

The dominant paradigm for relation prediction in knowledge graphs involves learning and operating on latent representations (i.e., embeddings) of entities and relations. However, these embedding-based methods do not explicitly capture the compositional logical rules underlying the knowledge graph, and they are limited to the transductive setting, where the full set of entities must be known during training. Here, we propose a graph neural network based relation prediction framework, GraIL, that reasons over local subgraph structures and has a strong inductive bias to learn entity-independent relational semantics. Unlike embedding-based models, GraIL is naturally inductive and can generalize to unseen entities and graphs after training. We provide theoretical proof and strong empirical evidence that GraIL can represent a useful subset of first-order logic and show that GraIL outperforms existing rule-induction baselines in the inductive setting. We also demonstrate significant gains obtained by ensembling GraIL with various knowledge graph embedding methods in the transductive setting, highlighting the complementary inductive bias of our method.

View on arXivView PDF

Code Implementations(1)

kkteru/grailOfficial100%

Inductive relation prediction by subgraph reasoning, ICML'20

27664Shell, PythonJun 16, 20202 years ago
graph-neural-networksgraph-representation-learningheterogeneous-graphheterogeneous-graph-neural-networkinductive-learning+2 more

Cite this paper

@article{teru2019inductive,
  title  = {Inductive Relation Prediction by Subgraph Reasoning},
  author = {Komal K. Teru and Etienne Denis and William L. Hamilton},
  year   = {2019},
  eprint = {1911.06962},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1911.06962}
}

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/1911.06962.svg)](https://codeofpaper.com/paper/1911.06962)

Discussion