Elsevier

Pattern Recognition Letters

Volume 167, March 2023, Pages 90-97
Pattern Recognition Letters

Locality-aware subgraphs for inductive link prediction in knowledge graphs

https://doi.org/10.1016/j.patrec.2023.02.004Get rights and content
Under a Creative Commons license
open access

Highlights

  • A novel strategy for inductive link prediction.

  • Reasoning over locally-aware subgraphs using a PPR-based local clustering technique.

  • Studying the relation between graph properties and the performance of link prediction.

  • Outperforming state-of-the-art models on three benchmark datasets.

Abstract

Recent methods for inductive reasoning on Knowledge Graphs (KGs) transform the link prediction problem into a graph classification task. They first extract a subgraph around each target link based on the k-hop neighborhood of the target entities, encode the subgraphs using a Graph Neural Network (GNN), then learn a function that maps subgraph structural patterns to link existence. Although these methods have witnessed great successes, increasing k often leads to an exponential expansion of the neighborhood, thereby degrading the GNN expressivity due to oversmoothing. In this paper, we formulate the subgraph extraction as a local clustering procedure that aims at sampling tightly-related subgraphs around the target links, based on a personalized PageRank (PPR) approach. Empirically, on three real-world KGs, we show that reasoning over subgraphs extracted by PPR-based local clustering can lead to a more accurate link prediction model than relying on neighbors within fixed hop distances. Furthermore, we investigate graph properties such as average clustering coefficient and node degree, and show that there is a relation between these and the performance of subgraph-based link prediction.

Keywords

Knowledge graphs
Inductive link prediction
Graph neural networks
Local clustering
Personalized PageRank

Data availability

The data is publicly available.

Cited by (0)

Editor: Sudeep Sarkar