An Open-World Extension to Knowledge Graph Completion Models

Haseeb Shah, Johannes Villmow, Adrian Ulges, Ulrich Schwanecke, Faisal Shafait

Abstract

Knowledge Graph Completion (KGC) models typically operate under a closed-world assumption, failing to generalize to entities not seen during training. We present the Open World Extension (OWE), a framework that enables existing KGC models to perform zero-shot link prediction. OWE maps textual descriptions of unseen entities into a pre-trained graph embedding space using a learned transformation. Our experiments demonstrate that OWE is model-agnostic, robust to short descriptions, and competitive with specialized open-world models.

Introduction

Knowledge Graphs (KGs) such as Freebase and DBpedia are essential for modern AI applications, yet they are inherently incomplete. Standard KGC models learn embeddings for entities and relations based on graph structure. However, these models are restricted to a "closed-world" setting: they cannot reason about new entities that appear after the training phase. For instance, if a system encounters a new actress not present in its database, it cannot predict her filmography.

To address this, we introduce OWE (Open World Extension). OWE bridges the gap between text and graph structures, allowing models to estimate the position of new entities in the graph space based on their names and textual descriptions.

The OWE Framework

The OWE approach decouples graph representation learning from text processing, following a modular three-step pipeline:

  1. Graph Training: A standard KGC model (e.g., TransE, ComplEx) is trained on the existing KG to produce entity and relation embeddings ($u$).
  2. Text Aggregation: Entity names and descriptions are converted into text-based embeddings ($v$) by averaging pre-trained word vectors (such as GloVe or Wikipedia2Vec).
  3. Transformation Learning ($\Psi^{map}$): A transformation function (Linear, Affine, or a 4-layer MLP) is trained to map the text-based vectors ($v$) into the graph-based embedding space ($u$).
The OWE pipeline: mapping text-based entity embeddings into a pre-trained graph embedding space to enable open-world link prediction.

Once the transformation is learned on known entities, it can be applied to any unseen entity. By mapping the new entity's description into the graph space, the original KGC model can predict its relations without retraining.

Experimental Evaluation

The framework was evaluated on three benchmarks: FB20k, DBpedia50k, and a newly introduced dataset, FB15k-237-OWE. The latter was designed to be more realistic by using short Wikidata descriptions (averaging 5 words) and removing inverse relation "leaks" that often bias existing benchmarks.

Key Results

The ComplEx-OWE variant achieved state-of-the-art results. On DBpedia50k, OWE achieved a Mean Reciprocal Rank (MRR) of 60.3, outperforming specialized models like ConMask (58.4). Notably, OWE showed superior performance on datasets with short textual descriptions, where attention-heavy models often struggle.

Robustness and the "Name-Only" Effect

A significant finding was the model's robustness to limited textual information. When using Wikipedia2Vec embeddings, the model performed remarkably well even when descriptions were entirely removed, relying solely on entity names.

Impact of removing entity descriptions on accuracy. The model remains robust even when only entity names are available, particularly when using Wikipedia2Vec embeddings.

As shown in the figure above, removing 100% of descriptions resulted in only a 2-3% drop in accuracy for Wikipedia2Vec-based models. This suggests that high-quality pre-trained word embeddings capture significant relational knowledge.

Conclusion and Future Work

OWE provides a flexible, model-agnostic extension for open-world knowledge graph completion. By decoupling the mapping process, it allows KGC models to benefit from advances in both graph embedding and natural language processing. Future research will explore more complex text aggregation methods, such as Transformers, and relation-specific attention mechanisms to further refine the mapping of textual features to graph relations.

Summary updated

BibTeX
@inproceedings{shah2019open,
  author = {Haseeb Shah and Johannes Villmow and Adrian Ulges and Ulrich Schwanecke and Faisal Shafait},
  title = {{An Open-World Extension to Knowledge Graph Completion Models}},
  booktitle = {AAAI},
  year = {2019},
  url = {https://openreview.net/forum?id=BsWEbGzl_pB},
}
Figure