A System for Reasoning-based Link Prediction in Large Knowledge Graphs

Zhiyong Feng, Hong Wu, Zhe Wang, Xiaowang Zhang, Pouya Ghiasnezhad Omran, Zhiyong Feng 0002, Kewen Wang

Abstract

Knowledge Graphs (KGs) are fundamental to modern AI but often suffer from incompleteness. This paper introduces R-Linker, a high-performance rule-learning system designed to predict missing links in massive KGs. By integrating a novel hierarchical sampling strategy with efficient vector embeddings, R-Linker discovers human-readable logical rules significantly faster than previous state-of-the-art methods. Experimental results on datasets like Wikidata and DBpedia demonstrate that R-Linker scales to tens of millions of entities without sacrificing predictive accuracy.

Introduction

Knowledge Graphs such as DBpedia and Wikidata serve as the backbone for various AI applications, yet they are notoriously incomplete. Link prediction—the task of automatically inferring missing facts—is essential for maintaining these resources. However, existing methods face a significant trade-off between scalability and explainability. Deep learning models often provide high performance but act as "black boxes," while traditional rule-based learners struggle with the computational complexity of searching through billions of facts.

R-Linker addresses these challenges by optimizing the rule-discovery process. It focuses on efficiency and explainability, proving that symbolic reasoning can scale to real-world, massive graphs.

Methodology

R-Linker introduces several key innovations to make rule learning feasible at scale:

Hierarchical Data Sampling

The core innovation for scalability is a hierarchical sampling strategy. Rather than processing the entire KG, R-Linker samples entities in layers starting from the target relation. Using a breadth-first search (BFS), it identifies entities directly or indirectly related to the task, drastically reducing the search space.

Hierarchical sampling and rule path structures of varying lengths.

Embedding-based Rule Selection

To avoid checking every possible logical combination, R-Linker utilizes TransE vector embeddings. Relations are represented as translations in a vector space. If a sequence of relations (the rule "body") approximately equals the target relation (the "head"), the system flags it as a candidate. This approach is significantly faster than the matrix-based embeddings used in systems like RLvLR.

Search and Evaluation Optimizations

The system employs loop elimination during BFS to avoid redundant rules and prunes low-frequency relations. Once candidates are identified, R-Linker uses optimized support-degree calculations to verify statistical significance across the graph.

Experimental Results

The researchers evaluated R-Linker on both standard benchmarks (FB15K) and large-scale KGs including Wikidata, DBpedia 3.8, and YAGO2s.

Rule Learning Efficiency

In terms of speed, R-Linker significantly outperforms existing baselines. On the Wikidata dataset, R-Linker learned approximately 37 rules per hour, compared to 23 for RLvLR and less than 0.1 for AMIE+. This efficiency is critical for maintaining dynamic, real-world KGs.

Comparison of rule learning efficiency (#R: rules per hour) and quality across large-scale KGs.

Predictive Accuracy

Despite its focus on speed, R-Linker maintains high accuracy. On Wikidata, it achieved a Mean Reciprocal Rank (MRR) of 0.33, outperforming RLvLR (0.29). The results suggest that simpler TransE embeddings do not compromise the quality of the discovered rules. Furthermore, unlike neural models, R-Linker outputs Horn rules, allowing for human auditing and the reuse of knowledge in other symbolic reasoning tasks.

Conclusion

R-Linker proves that rule-based systems can be both scalable and accurate. By leveraging local context through hierarchical sampling and simplifying rule selection via embeddings, it handles KGs with over 10 million entities—a threshold where many traditional learners fail. Future work will explore capturing more complex, non-path-based logical structures and incorporating numerical features into the reasoning process.

Summary updated

BibTeX
@inproceedings{feng2019system,
  author = {Zhiyong Feng and Hong Wu and Zhe Wang and Xiaowang Zhang and Pouya Ghiasnezhad Omran and Zhiyong Feng and Kewen Wang},
  title = {{A System for Reasoning-based Link Prediction in Large Knowledge Graphs}},
  booktitle = {Iswc (satellites)},
  year = {2019},
}
Figure