Relational Message Passing for Knowledge Graph Completion

Hongwei Wang, Hongyu Ren, Jure Leskovec
2/17/2020
cs.LGstat.ML

Official code: hwwang55/PathCon (138 stars, MIT, last commit 2021-09-17).

Abstract

Knowledge graph completion aims to predict missing relations between entities in a knowledge graph. In this work, we propose a relational message passing method for knowledge graph completion. Different from existing embedding-based methods, relational message passing only considers edge features (i.e., relation types) without entity IDs in the knowledge graph, and passes relational messages among edges iteratively to aggregate neighborhood information. Specifically, two kinds of neighborhood topology are modeled for a given entity pair under the relational message passing framework: (1) Relational context, which captures the relation types of edges adjacent to the given entity pair; (2) Relational paths, which characterize the relative position between the given two entities in the knowledge graph. The two message passing modules are combined together for relation prediction. Experimental results on knowledge graph benchmarks as well as our newly proposed dataset show that, our method PathCon outperforms state-of-the-art knowledge graph completion methods by a large margin. PathCon is also shown applicable to inductive settings where entities are not seen in training stage, and it is able to provide interpretable explanations for the predicted results. The code and all datasets are available at https://github.com/hwwang55/PathCon.

View on arXivView PDF

Code Implementations(1)

hwwang55/PathConOfficial100%
MIT

Combining relational context and relational paths for knowledge graph completion

13829PythonOct 25, 20195 years agoMIT
graph-neural-networksknowledge-graph

Similar Papers

Cite this paper

@article{wang2020relational,
  title  = {Relational Message Passing for Knowledge Graph Completion},
  author = {Hongwei Wang and Hongyu Ren and Jure Leskovec},
  year   = {2020},
  eprint = {2002.06757},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2002.06757}
}

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

Discussion