Inductive Relation Prediction from Relational Paths and Context with Hierarchical Transformers

Jiaang Li, Quan Wang, Zhendong Mao
4/1/2023
cs.CLcs.AIcs.LG

No official code found. Best implementation: JiaangL/REPORT (7 stars, last commit 2023-09-21).

Abstract

Relation prediction on knowledge graphs (KGs) is a key research topic. Dominant embedding-based methods mainly focus on the transductive setting and lack the inductive ability to generalize to new entities for inference. Existing methods for inductive reasoning mostly mine the connections between entities, i.e., relational paths, without considering the nature of head and tail entities contained in the relational context. This paper proposes a novel method that captures both connections between entities and the intrinsic nature of entities, by simultaneously aggregating RElational Paths and cOntext with a unified hieRarchical Transformer framework, namely REPORT. REPORT relies solely on relation semantics and can naturally generalize to the fully-inductive setting, where KGs for training and inference have no common entities. In the experiments, REPORT performs consistently better than all baselines on almost all the eight version subsets of two fully-inductive datasets. Moreover. REPORT is interpretable by providing each element's contribution to the prediction results.

View on arXivView PDF

Code Implementations(1)

JiaangL/REPORTCommunity100%

Official code for ICASSP 2023 paper (Oral): Inductive Relation Prediction from Relational Paths and Context with Hierarchical Transformers

71Shell, PythonJul 10, 20233 years ago

Similar Papers

Cite this paper

@article{li2023inductive,
  title  = {Inductive Relation Prediction from Relational Paths and Context with Hierarchical Transformers},
  author = {Jiaang Li and Quan Wang and Zhendong Mao},
  year   = {2023},
  eprint = {2304.00215},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2304.00215v3}
}

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

Discussion