[Paper Review] Few-shot Relational Reasoning via Connection Subgraph Pretraining
This paper proposes Connection Subgraph Reasoner (CSR), a few-shot relational reasoning framework that directly predicts unseen relations in knowledge graphs by modeling shared connection subgraphs between support and query triplets, using self-supervised pretraining on automatically sampled subgraphs. CSR achieves state-of-the-art performance, with up to 52% relative improvement on challenging inductive few-shot tasks, without requiring meta-learning or curated training tasks.
Few-shot knowledge graph (KG) completion task aims to perform inductive reasoning over the KG: given only a few support triplets of a new relation $\bowtie$ (e.g., (chop,$\bowtie$,kitchen), (read,$\bowtie$,library), the goal is to predict the query triplets of the same unseen relation $\bowtie$, e.g., (sleep,$\bowtie$,?). Current approaches cast the problem in a meta-learning framework, where the model needs to be first jointly trained over many training few-shot tasks, each being defined by its own relation, so that learning/prediction on the target few-shot task can be effective. However, in real-world KGs, curating many training tasks is a challenging ad hoc process. Here we propose Connection Subgraph Reasoner (CSR), which can make predictions for the target few-shot task directly without the need for pre-training on the human curated set of training tasks. The key to CSR is that we explicitly model a shared connection subgraph between support and query triplets, as inspired by the principle of eliminative induction. To adapt to specific KG, we design a corresponding self-supervised pretraining scheme with the objective of reconstructing automatically sampled connection subgraphs. Our pretrained model can then be directly applied to target few-shot tasks on without the need for training few-shot tasks. Extensive experiments on real KGs, including NELL, FB15K-237, and ConceptNet, demonstrate the effectiveness of our framework: we show that even a learning-free implementation of CSR can already perform competitively to existing methods on target few-shot tasks; with pretraining, CSR can achieve significant gains of up to 52% on the more challenging inductive few-shot tasks where the entities are also unseen during (pre)training.
Motivation & Objective
- Address the challenge of few-shot knowledge graph completion where new relations appear with only a few support examples and unseen entities.
- Overcome the limitations of meta-learning-based methods that require manually curated meta-training tasks, which are difficult to construct and often lead to distribution shift.
- Develop a method that performs inductive reasoning directly on novel few-shot tasks without prior meta-training on task-specific examples.
- Enable robust generalization to unseen relations and entities by modeling logical patterns via shared connection subgraphs.
Proposed method
- Model few-shot link prediction as an eliminative induction problem, where a shared connection subgraph between support and query triplets serves as a hypothesis for the unseen relation.
- Design a two-stage framework: Hypothesis Proposal identifies common subgraphs across support triplets, and Evidence Proposal verifies their presence in the query graph.
- Use a GNN-based architecture to encode connection subgraphs and compute evidence scores using a differentiable attention mechanism.
- Introduce a self-supervised pretraining objective to reconstruct automatically sampled connection subgraphs from the background knowledge graph.
- Leverage pretrained entity embeddings to improve subgraph representation learning, with optional fine-tuning for downstream tasks.
- Apply a differentiable mask mechanism to dynamically identify relevant subgraph structures, avoiding full-graph assumptions.
Experimental results
Research questions
- RQ1Can a knowledge graph reasoning model perform few-shot link prediction without relying on meta-learning or curated meta-training tasks?
- RQ2Can shared connection subgraphs serve as effective hypotheses for inferring unseen relations in knowledge graphs?
- RQ3How does the performance of a learning-free CSR implementation compare to existing meta-learning baselines on few-shot KG completion?
- RQ4To what extent does CSR generalize under distribution shift when test relations and entities differ from training distributions?
- RQ5Can self-supervised pretraining on connection subgraph reconstruction improve inductive few-shot reasoning performance?
Key findings
- A learning-free implementation of CSR achieves competitive performance, with MRR of 0.577 on NELL, outperforming MetaR (0.471) even with pretrained embeddings.
- With self-supervised pretraining, CSR achieves up to 52% relative improvement on inductive few-shot tasks where entities are unseen during training.
- Ablation studies confirm that all components—entity embeddings, hypothesis proposal, and evidence proposal—are essential, with MRR dropping to 0.420 when all are removed.
- CSR demonstrates strong robustness to distribution shift: MRR remains at 0.590 on a new test set with out-of-distribution relations, while FSRL degrades from 0.578 to 0.459.
- On synthetic datasets with ground-truth subgraphs, CSR-OPT achieves 0.843 and 0.992 IOU for hypothesis and evidence recovery, respectively, under a 4-clique structure.
- With direct supervision of ground-truth hypotheses, CSR-GNN achieves 0.809 and 0.981 IOU for hypothesis and evidence recovery, confirming model capacity for accurate subgraph detection.
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.