[Paper Review] Learning to Extrapolate Knowledge: Transductive Few-shot Out-of-Graph Link Prediction
A meta-learning framework (Graph Extrapolation Networks, GEN) for few-shot out-of-graph link prediction in multi-relational graphs, enabling inductive unseen-to-seen and transductive unseen-to-unseen link prediction with stochastic embedding to handle uncertainty.
Many practical graph problems, such as knowledge graph construction and drug-drug interaction prediction, require to handle multi-relational graphs. However, handling real-world multi-relational graphs with Graph Neural Networks (GNNs) is often challenging due to their evolving nature, as new entities (nodes) can emerge over time. Moreover, newly emerged entities often have few links, which makes the learning even more difficult. Motivated by this challenge, we introduce a realistic problem of few-shot out-of-graph link prediction, where we not only predict the links between the seen and unseen nodes as in a conventional out-of-knowledge link prediction task but also between the unseen nodes, with only few edges per node. We tackle this problem with a novel transductive meta-learning framework which we refer to as Graph Extrapolation Networks (GEN). GEN meta-learns both the node embedding network for inductive inference (seen-to-unseen) and the link prediction network for transductive inference (unseen-to-unseen). For transductive link prediction, we further propose a stochastic embedding layer to model uncertainty in the link prediction between unseen entities. We validate our model on multiple benchmark datasets for knowledge graph completion and drug-drug interaction prediction. The results show that our model significantly outperforms relevant baselines for out-of-graph link prediction tasks.
Motivation & Objective
- Address the realistic setting of few-shot out-of-graph (OOG) link prediction in evolving multi-relational graphs.
- Learn embeddings and link predictors that generalize from seen entities to unseen ones (inductive) and among unseen entities (transductive).
- Handle uncertainty in unseen-entity representations via a stochastic embedding layer.
- Mitigate long-tail distributions by transferring knowledge from high-degree to low-degree entities.
- Demonstrate effectiveness on knowledge graph completion and drug-drug interaction prediction datasets.
Proposed method
- Propose Graph Extrapolation Networks (GEN) with two meta-learned GNNs: an inductive GEN for seen-to-unseen links and a transductive GEN for unseen-to-unseen links.
- Use a meta-learning objective that simulates unseen entities during training by episodic tasks where unseen entities are sampled as meta-test-like entities.
- Inductive GEN computes unseen entity embeddings from a support set via a relation-specific transformation, then predicts seen–unseen links (e.g., e' with seen e).
- Transductive GEN adds a second layer to propagate information among unseen entities, including a self-connection term and neighbor aggregation.
- Incorporate stochastic inference by modeling the unseen-entity embedding as a Gaussian q(phi'|S,phi) with mean mu and diag(sigma^2) learned from S, enabling MC sampling during meta-training (L=1) and meta-testing (L>1).
- Train with hinge loss on negative sampling for KG and binary cross-entropy for DDI, plus a long-tail transfer strategy that starts with more shots and gradually reduces to few-shot settings.
Experimental results
Research questions
- RQ1Can GENs extrapolate knowledge from seen to unseen entities to perform both seen-to-unseen and unseen-to-unseen link prediction in multi-relational graphs?
- RQ2Does incorporating transductive inference over unseen entities improve OOG link prediction compared to inductive-only approaches?
- RQ3Does stochastic embedding of unseen entities effectively model uncertainty and improve predictive performance?
- RQ4Can the GEN framework handle long-tail distributions and transfer knowledge from high-degree to low-degree entities?
- RQ5Are GENs effective across diverse domains such as knowledge graph completion and drug-drug interaction prediction?
Key findings
- GENs outperform baselines on five datasets for OOG link prediction, including KG completion and DDI tasks.
- Transductive GEN (T-GEN) yields stronger performance than inductive GEN (I-GEN), especially for unseen-to-unseen prediction.
- Stochastic transductive inference further improves unseen-to-unseen results compared to deterministic variants.
- GENs remain effective even in many-shot settings and with varying shot sizes, demonstrating robustness beyond few-shot scenarios.
- META-training with episodic simulation of unseen entities enables efficient adaptation without retraining from scratch on unseen data.
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.