Abstract
Knowledge Graphs (KGs) are often incomplete, and predicting missing links with limited data—Few-Shot Knowledge Graph Completion (FKGC)—remains a significant challenge. This paper introduces the Cross-Interaction Attention Network (CIAN), which moves beyond independent entity encoding by modeling the dynamic interactions between head and tail entity neighborhoods. By employing a two-stage attention mechanism (task-aware and entity-pair-aware), CIAN achieves state-of-the-art performance on benchmark datasets, particularly for complex one-to-many and many-to-one relations.
Introduction
Knowledge Graphs serve as the backbone for numerous downstream applications, from semantic search to recommendation systems. However, their inherent incompleteness necessitates automated completion methods. While deep learning models excel when abundant training data is available, they often falter in "few-shot" scenarios where a relation has only a handful of supporting examples.
The Challenge: Blurry Entity Representations
A primary limitation in existing FKGC models is the independent encoding of head and tail entities. Entities in a KG are multi-faceted; for instance, "George Bush" can be represented as a "Pilot," a "President," or a "Son" depending on the context.
When a model encodes these entities in isolation, it produces a "blurry" representation that averages all these roles. This lack of context-specific focus makes it difficult to predict relations accurately, especially for complex N-to-1 or 1-to-N relationships where the relevant semantic features of an entity change based on its partner.
Methodology: Cross-Interaction Attention Network (CIAN)
To address this, the authors propose CIAN, which leverages inter-entity interactions to refine representations. The architecture consists of three main components:
- Task-aware Attention Module: This module filters an entity's neighborhood to highlight neighbors relevant to the specific query relation.
- Entity-pair-aware Attention Module: This core innovation allows the head entity to attend to the tail's neighborhood and vice versa. This cross-interaction identifies shared semantics specific to the entity pair, disambiguating the roles each entity plays in that context.
- Support and Query Matching: An attention-based prototype mechanism aggregates information from the few-shot support set, down-weighting noisy examples to provide a robust reference for the query pair.
Experimental Results
CIAN was evaluated on two standard benchmarks: NELL-One and Wiki-One. The model consistently outperformed previous state-of-the-art (SOTA) methods like GANA and FAAN across all metrics.
- NELL-One (5-shot): CIAN achieved an MRR of 0.376, a significant jump over the previous best of 0.344.
- Wiki-One (5-shot): CIAN reached an MRR of 0.383, compared to 0.351 for the previous SOTA.
Ablation studies confirmed that the "Entity-pair-aware" module was the most critical component, with its removal leading to a sharp decline in performance.
Key Insights
- Dynamic Role-Playing: Entities should not have static embeddings. Their representation must be dynamic and dependent on the paired entity.
- Neighborhood Synergy: Modeling the relationship between neighborhoods provides more discriminative power than simply improving individual entity encoders.
- Handling Complexity: The greatest gains were observed in complex relations (1-to-N, N-to-1), where CIAN's ability to "cross-reference" neighborhoods effectively resolved role ambiguity.
Conclusion and Future Work
CIAN demonstrates that inter-entity interaction is vital for few-shot reasoning in knowledge graphs. While highly effective, the model's performance is currently constrained by the density of an entity's neighborhood. Future research may explore integrating external knowledge, such as textual descriptions, to bolster reasoning for "long-tail" entities with sparse graph context.
This summary is based on the paper "Learning Inter-Entity-Interaction for Few-Shot Knowledge Graph Completion" presented at EMNLP 2022.
Summary updated