arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.06722cs.LGcs.AIcs.CL
收藏

基于连接子图预训练的Few-Shot关系推理

Few-shot Relational Reasoning via Connection Subgraph Pretraining

Stanford University(斯坦福大学)

Qian Huang, Hongyu Ren, Jure Leskovec

摘要:

Few-Shot知识图谱(KG)完成任务旨在对KG执行归纳推理:仅给定新关系$\bowtie$的几个支持三元组(例如,(chop,$\bowtie$,kitchen),(read,$\bowtie$,library),目标是预测相同的不可见关系$\bowtie$的查询三元组,例如,(sleep,$\bowtie$,?).当前的方法将问题投射在元学习框架中,其中模型需要首先在许多训练Few-Shot任务上进行联合训练,每个训练任务由其自身的关系定义,使得对目标Few-Shot任务的学习/预测可以是有效的。然而,在现实世界的幼儿园,策划许多培训任务是一个具有挑战性的特设过程。在这里,我们提出了连接子图推理器(CSR),它可以直接对目标Few-Shot任务进行预测,而不需要对人工策划的训练任务集进行预训练。CSR的关键是,我们显式地建模支持和查询三元组之间的共享连接子图,消除归纳法的原则的启发。为了适应特定的KG,我们设计了相应的自监督预训练方案,目标是自动重建采样的连接子图。然后,我们的预训练模型可以直接应用于目标Few-Shot任务,而不需要训练Few-Shot任务。在NELL、FB 15 K-237和ConceptNet等真实KG上的大量实验证明了该框架的有效性:我们表明,即使是无学习的CSR实现,在目标Few-Shot任务上也可以与现有方法竞争;通过预训练,CSR可以在更具挑战性的归纳Few-Shot任务中实现高达52%的显著增益,其中实体在(预)训练期间也是不可见的。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑