Towards Enhancing Relational Rules for Knowledge Graph Link Prediction

Shuhan Wu, Huaiyu Wan, Wei Chen, Yuting Wu, Junfeng Shen, Youfang Lin

Abstract

Knowledge Graphs (KGs) are essential for representing structured information but are often incomplete. Link prediction aims to infer these missing connections. While Progressive Relational Graph Neural Networks (PRGNNs) have shown promise by learning relational rules, they suffer from sequentiality blindness and lagged information propagation. This paper introduces RUN-GNN (Relational rUle eNhanced Graph Neural Network), which incorporates a Query Related Fusion Gate Unit (QRFGU) to model the order of relations and a Buffering Update Mechanism to ensure information reaches distant entities. Experimental results on benchmark datasets demonstrate that RUN-GNN achieves state-of-the-art performance in both transductive and inductive settings.

Introduction

Knowledge Graphs (KGs) power modern applications like search engines and virtual assistants by connecting entities through various relations. However, their inherent incompleteness necessitates robust link prediction models. Recent PRGNNs attempt to learn logical chains (e.g., has_wife + has_father = father_in_law), but they often fail to distinguish between different sequences of relations—a phenomenon termed "sequentiality blindness." Furthermore, they struggle with information "lag," where complex logical data fails to reach newly discovered candidate entities in time as the model explores the graph.

Methods

RUN-GNN addresses these limitations through two primary innovations:

  1. Query Related Fusion Gate Unit (QRFGU): Instead of simple addition or multiplication of relation vectors, RUN-GNN uses a gated mechanism inspired by Gated Recurrent Units (GRUs). This ensures that the specific order of relations is mathematically encoded into the rule representation, solving the sequentiality problem.
  2. Buffering Update Mechanism: To mitigate information lag, RUN-GNN introduces a buffer module. After the initial "Exploration Module" identifies a neighborhood, additional buffer layers process the same subgraph. This allows "slow" logical information extra time to propagate to the furthest entities before the final prediction is made.
Conceptual overview of the lagged information problem and the buffer module's solution.

The overall architecture follows an encoder-decoder structure, where the encoder generates rule-aware entity representations and the decoder scores potential answers.

Experimental Evaluation

The model was evaluated on four standard benchmarks: WN18RR, FB15k-237, NELL-995, and YAGO3-10. These datasets cover lexical knowledge, general facts, and web-extracted data. The researchers tested the model in both transductive settings (predicting links between known entities) and inductive settings (predicting links for previously unseen entities).

Results

RUN-GNN consistently outperformed previous state-of-the-art models like NBFNet and RED-GNN across all datasets.

Performance comparison of RUN-GNN against baseline models across multiple datasets and metrics.

On the WN18RR dataset, RUN-GNN achieved an MRR of 0.586, a significant improvement over NBFNet’s 0.551. The model also demonstrated superior performance in inductive reasoning tasks, outperforming competitors across all tested sub-datasets. Ablation studies confirmed that the buffering mechanism provides a substantial performance boost (nearly 1.5%) with only a marginal increase (about 10%) in training time, proving its efficiency.

Conclusion

RUN-GNN represents a significant advancement in KG link prediction by explicitly modeling relational sequentiality and addressing information propagation lags. While the gated mechanism increases computational complexity and long-range reasoning remains a challenge, the model's interpretability and state-of-the-art accuracy make it a powerful tool for KG reasoning. Future work will focus on model pruning to enhance inference speed for large-scale applications.

Summary updated

BibTeX
@inproceedings{wu2023towards,
  author = {Shuhan Wu and Huaiyu Wan and Wei Chen and Yuting Wu and Junfeng Shen and Youfang Lin},
  title = {{Towards Enhancing Relational Rules for Knowledge Graph Link Prediction}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2023},
  doi = {10.18653/v1/2023.findings-emnlp.676},
}
Figure