[Paper Review] Few-Shot Knowledge Graph Completion
This paper proposes FSRL, a few-shot relation learning model for knowledge graph completion that leverages a relation-aware heterogeneous neighbor encoder, a recurrent autoencoder for reference set aggregation, and a matching network to infer missing facts with few labeled examples. Experiments show FSRL significantly outperforms state-of-the-art baselines on two public datasets, achieving SOTA performance in Hits@1, Hits@5, Hits@10, and MRR.
Knowledge graphs (KGs) serve as useful resources for various natural language processing applications. Previous KG completion approaches require a large number of training instances (i.e., head-tail entity pairs) for every relation. The real case is that for most of the relations, very few entity pairs are available. Existing work of one-shot learning limits method generalizability for few-shot scenarios and does not fully use the supervisory information; however, few-shot KG completion has not been well studied yet. In this work, we propose a novel few-shot relation learning model (FSRL) that aims at discovering facts of new relations with few-shot references. FSRL can effectively capture knowledge from heterogeneous graph structure, aggregate representations of few-shot references, and match similar entity pairs of reference set for every relation. Extensive experiments on two public datasets demonstrate that FSRL outperforms the state-of-the-art.
Motivation & Objective
- Address the challenge of knowledge graph completion when only a few labeled entity pairs are available per relation, a common real-world scenario.
- Overcome limitations of existing one-shot and few-shot methods that fail to model heterogeneous neighbor impacts or interactions among few-shot references.
- Design a unified framework that jointly optimizes entity representation, reference set aggregation, and matching for new relations.
- Enable zero-shot fine-tuning inference for unseen relations using only a few reference examples.
- Improve generalization and robustness in low-resource relation learning settings.
Proposed method
- Proposes a relation-aware heterogeneous neighbor encoder that uses attention to weigh neighbors based on relation type and structural relevance, capturing diverse impacts from different neighbors.
- Introduces a recurrent autoencoder aggregation network that models interactions among few-shot reference entity pairs to generate a unified, expressive reference embedding.
- Employs a matching network with an LSTM-based similarity function to compare query entity pairs against aggregated reference embeddings for relation prediction.
- Uses meta-training with gradient descent to optimize all components end-to-end, enabling fast adaptation to new relations without fine-tuning.
- Leverages attention mechanisms to dynamically assign importance to different neighbors and reference pairs, improving representation quality.
- Jointly trains the neighbor encoder, aggregation network, and matching network using a unified loss function for end-to-end optimization.
Experimental results
Research questions
- RQ1Can a few-shot relation learning model effectively complete knowledge graphs when only a small number of labeled entity pairs are available per relation?
- RQ2How does modeling heterogeneous neighbor impacts improve entity representation in low-resource settings?
- RQ3To what extent do interactions among few-shot references enhance the quality of reference set embeddings?
- RQ4Does a recurrent matching network with learned similarity computation outperform simple dot-product matching in few-shot KG completion?
- RQ5How stable and generalizable is the proposed model across varying few-shot sizes (K)?
Key findings
- FSRL achieves SOTA performance on two public datasets, with Hits@1 of 0.345 on NELL and 0.211 on Wikidata, significantly outperforming GMatching and other baselines.
- The ablation study shows that removing the relation-aware heterogeneous neighbor encoder reduces Hits@1 by 13.4 percentage points, proving its critical role in representation learning.
- The recurrent autoencoder aggregation network improves performance by 12.5% in Hits@1 compared to mean pooling, demonstrating the value of modeling reference interactions.
- Removing the LSTM-based matching network reduces Hits@1 by 12.9 percentage points, confirming its superiority over inner-product matching in capturing complex relevance.
- With increasing few-shot size K, FSRL consistently maintains higher performance than GMatching, showing robustness and scalability.
- Visualization results confirm that FSRL produces better-separated embeddings for positive and negative candidate pairs than GMatching, indicating superior discriminative capability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.