Skip to main content
QUICK REVIEW

[Paper Review] One-Shot Relational Learning for Knowledge Graphs

Wenhan Xiong, Mo Yu|arXiv (Cornell University)|Aug 27, 2018
Advanced Graph Neural NetworksComputer Science36 references17 citations
TL;DR

This paper proposes a one-shot relational learning framework for knowledge graphs that predicts new facts using only one training triple per relation. By combining entity embeddings with a learnable matching metric based on one-hop neighborhood structures and a recurrent matching processor, the model achieves significant performance gains over traditional embedding methods without requiring retraining for new relations.

ABSTRACT

Knowledge graphs (KGs) are the key components of various natural language processing applications. To further expand KGs' coverage, previous studies on knowledge graph completion usually require a large number of training instances for each relation. However, we observe that long-tail relations are actually more common in KGs and those newly added relations often do not have many known triples for training. In this work, we aim at predicting new facts under a challenging setting where only one training instance is available. We propose a one-shot relational learning framework, which utilizes the knowledge extracted by embedding models and learns a matching metric by considering both the learned embeddings and one-hop graph structures. Empirically, our model yields considerable performance improvements over existing embedding models, and also eliminates the need of re-training the embedding models when dealing with newly added relations.

Motivation & Objective

  • Address the challenge of completing knowledge graphs for long-tail or newly added relations with very few training triples.
  • Overcome the limitation of existing embedding models that require large amounts of training data per relation.
  • Develop a framework that generalizes to unseen relations without retraining or fine-tuning.
  • Leverage local graph structure and learned metrics to improve few-shot link prediction performance.

Proposed method

  • Propose a permutation-invariant neighbor encoder to encode one-hop neighbors of entities, capturing local structural information.
  • Introduce a differentiable matching processor using a recurrent network to perform multi-step matching between entity pairs.
  • Design a learnable metric that combines entity embeddings and structural encodings to compute similarity scores.
  • Use a scaling factor $1/\mathcal{N}_e$ to normalize neighbor representations and improve robustness.
  • Train the model end-to-end using a contrastive loss to optimize the matching function.
  • Apply the model to one-shot link prediction by matching a query triple against a support set of one example.

Experimental results

Research questions

  • RQ1Can a relational learning model generalize to new or long-tail relations with only one training example?
  • RQ2How effective is a learnable matching metric that combines entity embeddings and local graph structures in few-shot settings?
  • RQ3Does incorporating one-hop neighborhood information improve generalization compared to embedding-only models?
  • RQ4Can the model avoid retraining when new relations are introduced, maintaining high performance across diverse relations?

Key findings

  • The proposed model achieves 17.1% MRR on NELL-One and 20.0% MRR on Wiki-One, outperforming the best baseline embedding model by 7.8% and 12.8% respectively.
  • The model with full components (neighbor encoder, matching processor, and scaling factor) achieves Hits@10 of 0.313 on the test set of NELL-One.
  • Removing the matching processor reduces performance to 0.266 Hits@10, indicating its critical role in refining similarity matching.
  • The neighbor encoder without the scaling factor performs worse than simple embedding-based matching, showing that normalization is essential for stability.
  • Relations with fewer than 100 candidate entities are predicted more accurately, and the model even surpasses standard training baselines on some of these.
  • The model's performance degrades on relations with over 3,000 candidates, indicating ongoing challenges for highly ambiguous or sparse relations.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.