Generalizing to Unseen Elements: A Survey on Knowledge Extrapolation for Knowledge Graphs

Mingyang Chen, Wen Zhang, Yuxia Geng, Zezhong Xu, Jeff Z. Pan, Huajun Chen · DOI

Introduction

Knowledge Graphs (KGs) such as Wikidata and Freebase serve as the structural backbone for modern AI applications, representing facts as triples (e.g., Leonardo da Vinci, born in, Vinci). Conventional Knowledge Graph Embedding (KGE) methods operate under a "closed-world" assumption, relying on a fixed lookup table of pre-trained vectors. However, real-world KGs are dynamic. When a new entity (an "Out-of-Knowledge-Base" or OOKB entity) or a new relation type emerges, these traditional models fail because they lack a pre-existing representation for the new element.

This paper addresses the challenge of Knowledge Extrapolation: the ability of a model to perform link prediction on elements it never encountered during training. By unifying disparate research areas—including inductive, few-shot, and zero-shot learning—the authors provide a systematic framework for how models can generalize to unseen elements.

The Problem: From Closed to Open Worlds

In the real world, KGs are ever-growing. The core difficulty lies in transitioning from memorizing specific nodes to reasoning about new ones. The authors introduce a standardized notation where extrapolation tasks are defined by a Support Set (contextual information about the unseen element) and a Query Set (the specific link to be predicted).

Illustration of training vs. test scenarios in knowledge extrapolation, highlighting the use of support and query sets for unseen elements.

As shown in the figure above, while standard training (a) and testing (b) occur on seen entities and relations, extrapolation requires handling unseen entities (c) or unseen relations (d) by leveraging a support set to provide the necessary context for the query.

A Taxonomy of Knowledge Extrapolation

The survey categorizes extrapolation methods into two primary branches based on the nature of the unseen element: Entity Extrapolation and Relation Extrapolation.

Taxonomy of knowledge extrapolation methods categorized by entity and relation extrapolation branches.

1. Entity Extrapolation

  • Entity Encoding: These models replace lookup tables with encoders. They may derive embeddings from Structural Information (using GNNs to aggregate features from seen neighbors) or Other Information (using Pre-trained Language Models to encode textual descriptions).
  • Subgraph Predicting: Methods like GraIL are entirely entity-independent. They extract the local subgraph surrounding a candidate triple and use GNNs to reason if the path's structure suggests a valid link.
  • Rule Learning: These use symbolic logic (e.g., if A is father of B, and B is father of C, then A is grandfather of C). Because rules are abstract, they apply universally to new entities.

2. Relation Extrapolation

  • Relation Encoding: This handles "Zero-Shot" scenarios where a relation has no training triples. Models often use Meta-Learning or ontologies to synthesize a representation.
  • Entity Pair Matching: This treats relation prediction as a similarity task. In "Few-Shot" scenarios, the model learns to match a query pair to a small set of support pairs in a metric space.

Datasets and Benchmarks

The field relies on four primary benchmark categories to evaluate these capabilities:

  1. WN11 Variants: Designed for OOKB entity testing where unseen entities link to seen ones.
  2. Inductive Benchmarks (e.g., WN18RR): Where training and testing graphs have completely disjoint entity sets.
  3. Few-Shot Benchmarks (e.g., NELL-One): Where only $k$ examples of a new relation are provided.
  4. Zero-Shot Benchmarks (e.g., Wiki-ZS): Where relations must be predicted based solely on text descriptions or ontologies.

Key Insights and Future Directions

A major contribution of this survey is the Support Set Unification, which clarifies the "rules of the game" across different sub-communities. The authors also highlight the "Power of Text," noting that Pre-trained Language Models (PLMs) act as a great equalizer, allowing models to map any new element into a shared semantic space regardless of its structural context.

Looking forward, the authors identify several open challenges:

  • Multi-modality: Incorporating visual information (images of entities) for more universal grounding.
  • Temporal Dynamics: Handling "lifelong" extrapolation as KGs evolve continuously over time.
  • Complex Queries: Moving beyond simple triples to handle complex logical queries involving unseen elements.
  • Efficiency: Balancing the powerful reasoning of subgraph-based methods with the computational demands of massive-scale KGs.

Summary updated

BibTeX
@inproceedings{chen2023generalizing,
  author = {Mingyang Chen and Wen Zhang and Yuxia Geng and Zezhong Xu and Jeff Z. Pan and Huajun Chen},
  title = {{Generalizing to Unseen Elements: A Survey on Knowledge Extrapolation for Knowledge Graphs}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.24963/ijcai.2023/737},
}
Figure