A Retrieve-and-Read Framework for Knowledge Graph Link Prediction

Vardaan Pahuja, Boshi Wang, Hugo Latapie, Jayanth Srinivasa, Yu Su
12/19/2022
cs.CLcs.AI
transformer-attentiongnn

Official code: OSU-NLP-Group/KG-R3 (15 stars, Python, MIT, last commit 2025-03-23).

Abstract

Knowledge graph (KG) link prediction aims to infer new facts based on existing facts in the KG. Recent studies have shown that using the graph neighborhood of a node via graph neural networks (GNNs) provides more useful information compared to just using the query information.

Show full abstract

Conventional GNNs for KG link prediction follow the standard message-passing paradigm on the entire KG, which leads to superfluous computation, over-smoothing of node representations, and also limits their expressive power. On a large scale, it becomes computationally expensive to aggregate useful information from the entire KG for inference. To address the limitations of existing KG link prediction frameworks, we propose a novel retrieve-and-read framework, which first retrieves a relevant subgraph context for the query and then jointly reasons over the context and the query with a high-capacity reader. As part of our exemplar instantiation for the new framework, we propose a novel Transformer-based GNN as the reader, which incorporates graph-based attention structure and cross-attention between query and context for deep fusion. This simple yet effective design enables the model to focus on salient context information relevant to the query. Empirical results on two standard KG link prediction datasets demonstrate the competitive performance of the proposed method. Furthermore, our analysis yields valuable insights for designing improved retrievers within the framework.

View on arXivView PDF

Code Implementations(1)

MIT

Code for the CIKM'23 paper "A Retrieve-and-Read Framework for Knowledge Graph Link Prediction"

150PythonAug 14, 20231 years agoMIT

Similar Papers

Cite this paper

@article{pahuja2022retrieveandread,
  title  = {A Retrieve-and-Read Framework for Knowledge Graph Link Prediction},
  author = {Vardaan Pahuja and Boshi Wang and Hugo Latapie and Jayanth Srinivasa and Yu Su},
  year   = {2022},
  eprint = {2212.09724},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2212.09724}
}

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

Discussion