Graph Pattern Entity Ranking Model for Knowledge Graph Completion

Takuma Ebisu, Ryutaro IchiseNAACL 2019

Abstract

Knowledge Graph (KG) completion is typically addressed using embedding-based models that act as "black boxes," offering little interpretability. This paper introduces GRank (Graph Pattern Entity Ranking Model), which leverages interpretable Graph Pattern Association Rules (GPARs) and treats them as entity ranking systems. By incorporating pattern multiplicity—the frequency with which a pattern occurs—and a novel "distributed ranking" method for tie-breaking, GRank achieves state-of-the-art performance on standard benchmarks while maintaining full transparency.

Introduction

Knowledge Graphs represent facts as triples in the form of (head, relation, tail). Despite their utility in AI tasks like question answering, these graphs are often incomplete. Traditional solutions rely on Knowledge Graph Embeddings (KGEs), which map entities into continuous vector spaces. While effective, KGEs lack explainability. Conversely, rule-based models are interpretable but often struggle with accuracy because they fail to account for the "strength" or frequency of a pattern. GRank bridges this gap by combining the interpretability of graph patterns with a robust ranking framework that matches or exceeds the performance of modern KGEs.

Methodology

The GRank framework operates through three primary innovations:

1. Graph Pattern Association Rules (GPARs)

The model identifies statistical patterns within the graph. For instance, a rule might state: "If person z is a member of team x and has nationality y, then team x is likely located in country y."

2. Pattern Multiplicity as a Ranking Signal

Unlike previous rule-based models that treated patterns as binary classifiers, GRank utilizes the multiplicity of patterns. The core intuition is that the frequency of a pattern's occurrence serves as a powerful predictor. For example, if a team has twenty players from the U.K., it is statistically more likely to be located in the U.K. than a team with only two such players.

Figure 1: Illustration of pattern multiplicity. Team A has four members from the U.K., making it a stronger candidate for being located in the U.K. than Team B (one member) or Team C (zero members).

3. Distributed Rankings and Evaluation

Rule-based systems often encounter "ties" where multiple entities receive identical scores. GRank introduces a mathematical framework for distributed rankings, ensuring that an entity's rank is fairly distributed across all possible positions it could occupy. This leads to a deterministic and consistent evaluation metric called distributed Average Precision (dAP).

Experimental Setup

GRank was evaluated on four standard link prediction benchmarks:

  • WN18 & WN18RR: WordNet-derived lexical relations. WN18RR is a more challenging version that removes simple inverse relations.
  • FB15k & FB15k-237: Freebase-derived general facts. FB15k-237 similarly removes redundant inverse relations to prevent data leakage.

Results and Discussion

GRank consistently outperformed or matched state-of-the-art embedding models like ComplEx, ConvE, and TorusE across multiple metrics, including Mean Reciprocal Rank (MRR) and HITS@n.

Figure 5: Performance comparison of GRank against state-of-the-art embedding models. GRank (fdMAP) achieves superior MRR on WN18RR and FB15k-237.

Key findings include:

  • FB15k-237: GRank achieved an MRR of 0.322, surpassing ConvE (0.316) and significantly outperforming ComplEx (0.240).
  • WN18RR: GRank reached an MRR of 0.470, demonstrating its ability to learn deep, meaningful patterns even when simple inverse relations are removed.
  • Interpretability: Unlike KGEs, every prediction made by GRank is accompanied by the specific graph path (the "receipt") that led to the inference.

Conclusion

GRank demonstrates that interpretability does not require a sacrifice in performance. By treating graph patterns as ranking functions and accounting for multiplicity, the model provides a transparent yet highly accurate solution for Knowledge Graph completion. Future work will focus on expanding the search space for longer-range dependencies and incorporating specific anchor entities into the pattern rules.

Summary updated

BibTeX
@inproceedings{ebisu2019graph,
  author = {Takuma Ebisu and Ryutaro Ichise},
  title = {{Graph Pattern Entity Ranking Model for Knowledge Graph Completion}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2019},
  doi = {10.18653/v1/n19-1104},
}
Figure