Recent years have witnessed increasing interest in few-shot knowledge graph completion (FKGC), which aims to infer unseen query triples for a few-shot relation using a few reference triples about the relation. The primary focus of existing FKGC methods lies in learning relation representations that can reflect the common information shared by the query and reference triples. To this end, these methods learn entity-pair representations from the direct neighbors of head and tail entities, and then aggregate the representations of reference entity pairs. However, the entity-pair representations learned only from direct neighbors may have low expressiveness when the involved entities have sparse direct neighbors or share a common local neighborhood with other entities. Moreover, merely modeling the semantic information of head and tail entities is insufficient to accurately infer their relational information especially when they have multiple relations. To address these issues, we propose a Relation-Specific Context Learning (RSCL) framework, which exploits graph contexts of triples to learn global and local relation-specific representations for few-shot relations. Specifically, we first extract graph contexts for each triple, which can provide long-term entity-relation dependencies. To encode the extracted graph contexts, we then present a hierarchical attention network to capture contextualized information of triples and highlight valuable local neighborhood information of entities. Finally, we design a hybrid attention aggregator to evaluate the likelihood of the query triples at the global and local levels. Experimental results on two public datasets demonstrate that RSCL outperforms state-of-the-art FKGC methods.
翻译:近些年来,人们越来越关注少数光学知识图的完成(FKGC),其目的是利用有关关系的一些参考三重来推断少数光学关系的隐性查询三重。现有的FKGC方法的主要重点是学习能够反映查询和参考三重所共享的共同信息的关系说明;为此,这些方法从头和尾实体的直接邻居那里学习了实体-面表,然后将参照实体的配对情况汇总在一起。然而,仅仅从直接邻居那里学到的实体-面表情,在所涉实体缺乏直接邻居或与其他实体有共同的本地邻居时,其表达度可能较低。此外,仅仅模拟头和尾实体的语义信息不足以准确推断其关系资料,特别是在它们有多重关系的情况下。为了解决这些问题,我们建议采用一个关系属性比方-背景说明框架,利用三重图背景来学习全球和地方关系的具体表现。我们首先选取了每三重的图表背景,这可以为实体的长期关系关系关系关联背景提供实体-关联性信息模型,最后是高层次的跨级数据库。我们绘制了当前三重度数据结构的图表。