NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

KGxBoard: Explainable and Interactive Leaderboard for Evaluation of Knowledge Graph Completion Models

Haris Widjaja, Kiril Gashteovski, Wiem Ben Rim, Pengfei Liu, Christopher Malon, Daniel Ruffinelli, Carolin Lawrence, Graham Neubig · DOI

Introduction

Knowledge Graphs (KGs) serve as the structural foundation for modern artificial intelligence, facilitating applications ranging from semantic search to drug discovery. Despite their utility, KGs are inherently incomplete. Knowledge Graph Completion (KGC) models, particularly link prediction models, are designed to infer missing facts. Traditionally, these models are evaluated using aggregate metrics such as Mean Reciprocal Rank (MRR) or Hits@k.

However, these single-score metrics act as "black boxes," obscuring the specific strengths and weaknesses of a model. A high overall MRR may mask a model's inability to process specific logical patterns, such as symmetric relations (e.g., if $A$ is married to $B$, then $B$ is married to $A$). This lack of granularity prevents researchers from diagnosing architectural flaws or understanding whether a model has truly captured the underlying logic of the graph. To address this, we present KGxBoard, an interactive and explainable leaderboard framework designed for fine-grained KGC evaluation.

Methodology

KGxBoard adapts the concept of explainable leaderboards to graph embeddings through a systematic three-step process:

  1. Feature Definition: The framework identifies specific properties to test, including relation types (1-to-1, 1-to-many, many-to-many), relation symmetry, and entity type hierarchies.
  2. Bucketization: The test data is partitioned into "buckets" based on these features, either through automated scripts or custom user-defined criteria.
  3. Fine-grained Evaluation: Performance metrics are calculated individually for each bucket, allowing for a multidimensional view of model performance.

Debugging Framework

Beyond evaluation, KGxBoard introduces a framework for model "debugging." When a model underperforms on a specific bucket, two fine-tuning strategies are proposed:

  • Naive Debugging: Intensive fine-tuning specifically on the triples within the failing bucket.
  • In-danger Debugging: Fine-tuning on failing triples while utilizing "anchoring" triples—data points the model previously predicted correctly—to prevent catastrophic forgetting during the update.

Experimental Setup

The framework was validated using two standard KGC benchmarks:

  • FB15K-237: A complex subset of Freebase containing real-world facts, resulting in 303 unique evaluation buckets.
  • WN18RR: A subset of WordNet focusing on lexical relations, resulting in 35 unique buckets.

Key Insights and Results

The "Rank Flip" Phenomenon

One of the most significant findings is that a model’s aggregate rank rarely reflects its performance across all categories. For instance, while the TuckER model achieved the highest overall rank on FB15K-237, it was the top performer in only approximately 40% of the individual buckets. Conversely, models that appear mediocre in aggregate often possess niche "superpowers." Rescal, which ranked 4th overall, was identified as the superior model for handling symmetric relations.

Implementation Variance

KGxBoard revealed that the choice of implementation framework significantly impacts performance. The same architecture (e.g., ConvE) exhibited different behavior depending on whether it was implemented in PyKEEN or LibKGE. This variance is likely attributable to differing default hyperparameters and initialization strategies, nuances that are typically invisible in standard leaderboards.

Bucket-wise Variance

Analysis showed that some models are more specialized than others. For the TransE model, its bucket-wise rank matched its overall rank in 86.8% of cases for FB15K-237. In contrast, for RotatE, this consistency dropped to 25.7%, indicating a high degree of performance variance across different data properties.

Debugging Effectiveness

Experimental results for the debugging framework demonstrated that logic errors can be "patched" without full retraining. In cases of symmetry violations, "In-danger" debugging improved Hits@1 from 0.0000 to 0.2083 on the targeted debugging set, while maintaining or slightly improving performance on the broader test set.

Limitations and Future Work

While KGxBoard provides a more transparent evaluation metric, several areas for development remain. The current implementation is primarily focused on link prediction; future iterations could encompass a wider array of KGC tasks. Additionally, while many features are automated, some (like symmetry mappings) still require manual definition. Finally, scaling the debugging framework to automatically patch hundreds of buckets simultaneously remains an open research challenge.

Conclusion

KGxBoard shifts the paradigm of KGC evaluation from single-score competition to diagnostic analysis. By revealing the hidden nuances of model performance, it provides researchers with the tools necessary to build more robust and logically sound graph embedding models.

Summary updated

BibTeX
@inproceedings{widjaja2022kgxboard,
  author = {Haris Widjaja and Kiril Gashteovski and Wiem Ben Rim and Pengfei Liu and Christopher Malon and Daniel Ruffinelli and Carolin Lawrence and Graham Neubig},
  title = {{KGxBoard: Explainable and Interactive Leaderboard for Evaluation of Knowledge Graph Completion Models}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2022},
  doi = {10.18653/v1/2022.emnlp-demos.34},
}
Figure