Improving rule mining via embedding-based link prediction

N'Dah Jean Kouagou, Arif Yilmaz, Michel Dumontier, Axel-Cyrille Ngonga NgomoarXiv 2024 · DOI

Abstract

Knowledge Graphs (KGs) are essential for representing structured information but often suffer from incompleteness, which hinders the effectiveness of symbolic rule mining. This paper presents a scalable pipeline that leverages Knowledge Graph Embeddings (KGE) to enrich sparse graphs before applying rule mining algorithms. By "filling in" missing triples, the approach enables the discovery of previously hidden logical rules and improves the quality of the mined rule set.

Introduction

Rule mining and Knowledge Graph Embeddings are two complementary approaches to KG completion. Rule mining offers interpretability through human-readable logical patterns (e.g., "If X is born in Y and lives in Y, X is likely a citizen of Y"), while embeddings excel at predicting missing links via latent vector representations. However, rule miners like AMIE+ struggle with sparse data, and embeddings lack transparency. Previous attempts to combine them through joint learning have faced scalability issues. This work proposes a decoupled "enrichment" pipeline to bridge this gap.

Methodology: The Enrichment Pipeline

The proposed method consists of two distinct stages:

  1. KG Completion: A lightweight KGE model (TransE, DistMult, or RotatE) is trained on the incomplete graph. The model predicts the most probable missing facts, and the top-$k$ triples are added to the original graph.
  2. Rule Mining: The enriched graph is processed using AMIE+, a fast rule-mining system.
Training convergence of embedding models on the DRKG dataset.

As shown in the training curves for the DRKG and OPENBIOLINK datasets, models like RotatE and TransE converge efficiently, providing a robust foundation for the subsequent mining step. RotatE, which treats relations as rotations in complex space, consistently provided the highest quality "filler" data for the rule miner.

Training convergence on the OPENBIOLINK dataset, demonstrating scalability to millions of triples.

Key Insights

Discovering "Out-of-Reach" Rules

The primary benefit of enrichment is the discovery of rules that were mathematically impossible to justify on the sparse original graph. For instance, on the DRKG dataset, the pipeline identified 1,696 new rules that were invisible to AMIE+ alone.

The "Curing" Effect

Enrichment also serves as a quality filter. Some low-confidence rules found on the original graph are discarded after enrichment because the newly added facts reveal inconsistencies, effectively "cleaning" the rule set.

Scalability and Performance

While expressive "bottom-up" miners like AnyBURL struggle with massive graphs (taking over a million seconds on OPENBIOLINK), the authors' pipeline remains highly efficient. On million-triple datasets, the approach was 10x to 100x faster than AnyBURL while achieving superior link prediction performance.

Conclusion

By decoupling embedding-based completion from rule mining, this paper provides a scalable and interpretable solution for KG enrichment. The results demonstrate that using embeddings to provide evidence for patterns allows rule miners to see what was previously invisible. Future work will focus on more sophisticated triple selection strategies to further refine the quality of discovered rules.

Summary updated

BibTeX
@misc{kouagou2024improving,
  author = {N'Dah Jean Kouagou and Arif Yilmaz and Michel Dumontier and Axel-Cyrille Ngonga Ngomo},
  title = {{Improving rule mining via embedding-based link prediction}},
  year = {2024},
  eprint = {2406.10144},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2406.10144},
}
Figure