Abstract
Knowledge Graph (KG) completion typically assumes a transductive setting where all entities are known at training time. However, real-world KGs are dynamic, requiring inductive link prediction for unseen entities. This paper demonstrates that leveraging hyper-relational facts—triples augmented with contextual qualifiers—significantly enhances inductive performance. By introducing the WD20K benchmark and evaluating qualifier-aware models like QBLP and STARE, we show that qualifiers provide a crucial inductive bias, leading to absolute gains of up to 6% in Hits@10.
Introduction
Knowledge Graphs (KGs) such as Wikidata and Freebase serve as foundational structures for numerous AI applications. Despite their scale, they are often incomplete. Traditional link prediction methods operate in a transductive setting, assuming the set of entities is fixed between training and inference. In contrast, real-world scenarios are inherently dynamic, with new entities (e.g., new movies, actors, or scientific discoveries) appearing constantly.
Inductive link prediction addresses this by predicting relations involving entities not seen during training. While previous work focused on simple (subject, predicate, object) triples, modern KGs are "hyper-relational," containing extra contextual information known as qualifiers. For instance, a statement about a movie nomination might include qualifiers for the specific award category or the year. This research explores how these qualifiers can serve as a powerful inductive bias to improve predictions for novel entities.
Inductive Scenarios and Methodology
The authors distinguish between two primary inductive settings:
- Semi-inductive (SI): Predicting a link between a brand-new entity and the existing, known graph.
- Fully-inductive (FI): Predicting links within an entirely new subgraph composed of unseen entities.
To handle these settings, the paper adapts two architectures to be qualifier-aware:
- QBLP (Qualifier-aware BLP): Utilizes a linear projection to encode entity features (derived from text descriptions via Sentence-BERT) and a Transformer-based decoder to process the sequence of triples and their associated qualifiers.
- STARE: A Graph Neural Network (GNN) encoder that aggregates neighborhood information while explicitly accounting for hyper-relational qualifiers.
Experimental Setup: The WD20K Dataset
To evaluate these models, the researchers introduced WD20K, a benchmark derived from Wikidata. WD20K features various splits (V1 and V2) to test different ratios of training versus inference graph sizes. Crucially, the dataset includes varying "qualifier ratios"—the percentage of statements containing extra contextual pairs—ranging from 25% to 100%, allowing for a granular analysis of how hyper-relational data impacts performance.
Key Results and Insights
The experimental results demonstrate that incorporating qualifiers consistently improves performance across all inductive settings.
Key findings include:
- Significant Performance Gains: Qualifier-aware models achieved an absolute improvement of over 6% in Hits@10 compared to triple-only baselines like CompGCN and BLP.
- Qualifiers as Shortcuts: In inductive settings where an entity's connection history is missing, qualifiers provide vital context. For example, knowing a movie was "nominated for: Best Actor" strongly suggests a "cast member" relation, even if the movie entity itself is new.
- GNN Advantage in FI: In fully-inductive scenarios where a local subgraph is available, GNN-based models like STARE outperform simpler linear models by reasoning over the local structure of unseen entities.
- Efficiency of Context: Qualitative analysis showed that even a single qualifier pair can drastically improve the predicted rank of a missing link.
Conclusion
This work highlights the importance of hyper-relational facts in the evolution of Knowledge Graph completion. By leveraging the rich contextual qualifiers already present in modern KGs, models can overcome the limitations of traditional inductive link prediction. Future research may focus on "zero-shot" relations and the inverse task of predicting missing qualifiers themselves.
Summary updated