ZeroKBC: A Comprehensive Benchmark for Zero-Shot Knowledge Base Completion

Pei Chen, Wenlin Yao, Hongming Zhang, Xiaoman Pan, Dian Yu, Dong Yu, Jianshu Chen

Introduction

Knowledge Base Completion (KBC) is the task of predicting missing links in a graph, such as identifying the genre of a new film or the relationships of a newly emerging public figure. Traditionally, KBC research has operated under a "closed-world" assumption, where all entities and relations in the test set must have appeared during training. However, real-world knowledge bases like Wikidata or Freebase are inherently dynamic; new entities and relationship types emerge constantly.

Existing research into "zero-shot" KBC—where models must handle unseen components—has been fragmented. Previous studies often focused exclusively on unseen entities or unseen relations, leaving significant gaps in our understanding of how models perform across the full spectrum of realistic, evolving scenarios.

Comparison of ZeroKBC's coverage across 12 settings versus previous related work.

The ZeroKBC Benchmark

To address these limitations, ZeroKBC introduces a unified framework and taxonomy for evaluating KBC in dynamic environments. The benchmark defines 12 distinct settings based on three critical factors:

  1. Seen vs. Unseen: Whether the entity or relation was present in the training set.
  2. Description: The availability of textual definitions for the entities or relations.
  3. Context: Whether an unseen entity has existing connections to "seen" entities within the graph.

These settings are categorized into three macro-scenarios: Zero-Shot Entity (ZeroE), Zero-Shot Relation (ZeroR), and the most challenging, Zero-Shot Both (ZeroB), where both the relation and one entity are novel.

The ZeroKBC taxonomy of 12 fine-grained settings, illustrated with a knowledge graph example.

Methodology and Datasets

ZeroKBC spans three diverse knowledge domains to ensure robustness: Linguistic Knowledge (WN18RR), World Knowledge (FB15k-237), and Commonsense Knowledge (ATOMIC).

The authors evaluated several baseline systems, including traditional embedding models like TransE and RotatE, and the BERT-based StAR model. To enable zero-shot capabilities in traditional models, BERT was used to initialize embeddings from textual descriptions, and graph structure was used to deduce embeddings for unseen entities from their neighbors.

Key Results and Insights

Empirical evaluation shows a stark decline in performance as models move from standard to zero-shot settings. For instance, on the WN18RR dataset, the StAR model achieves a Mean Reciprocal Rank (MRR) of 34.6 in the standard setting. This drops significantly to 9.7 in the Zero-Shot Relation (ZeroR) setting and 14.1 in the Zero-Shot Both (ZeroB) setting with context. Traditional models like RotatE, which perform well in closed-world scenarios (MRR 42.6 on WN18RR), fail catastrophically in ZeroR and ZeroB tasks, often yielding results near zero.

Key takeaways from the study include:

  • Textual Semantics are Essential: Models that leverage deep textual encoders (like StAR) consistently outperform those relying primarily on graph structure. In zero-shot settings, textual descriptions serve as the primary lifeline for understanding novel entities.
  • The ZeroB Challenge: Predicting links when both the relation and an entity are new is exceptionally difficult. Performance in ZeroB scenarios is often an order of magnitude lower than in standard KBC, highlighting a major frontier for future research.
  • Graph Density and Generalization: Models generalize more effectively on dense graphs (e.g., WordNet) compared to sparse ones (e.g., ATOMIC). Sparse graphs provide fewer contextual clues, making it harder to infer the global position of a new entity.

Conclusion

ZeroKBC formalizes the challenges of dynamic knowledge base completion and exposes critical weaknesses in current state-of-the-art models. By providing a rigorous, 12-setting evaluation framework, it paves the way for the development of more robust models capable of reasoning in an ever-changing world. Future work must focus on better semantic integration and inductive reasoning to bridge the gap in zero-shot performance.

Summary updated

BibTeX
@inproceedings{chen2022zerokbc,
  author = {Pei Chen and Wenlin Yao and Hongming Zhang and Xiaoman Pan and Dian Yu and Dong Yu and Jianshu Chen},
  title = {{ZeroKBC: A Comprehensive Benchmark for Zero-Shot Knowledge Base Completion}},
  booktitle = {Workshops @ ICDM},
  year = {2022},
  doi = {10.1109/icdmw58026.2022.00117},
}

Loading related content...

Figure