Relational Learning with Gated and Attentive Neighbor Aggregator for Few-Shot Knowledge Graph Completion

Guanglin Niu, Yang Li, Chengguang Tang, Ruiying Geng, Jian Dai +5 more
4/27/2021
cs.AIcs.CL

Official code: ngl567/GANA-FewShotKGC (57 stars, Python, last commit 2023-02-21).

Abstract

Aiming at expanding few-shot relations' coverage in knowledge graphs (KGs), few-shot knowledge graph completion (FKGC) has recently gained more research interests. Some existing models employ a few-shot relation's multi-hop neighbor information to enhance its semantic representation.

Show full abstract

However, noise neighbor information might be amplified when the neighborhood is excessively sparse and no neighbor is available to represent the few-shot relation. Moreover, modeling and inferring complex relations of one-to-many (1-N), many-to-one (N-1), and many-to-many (N-N) by previous knowledge graph completion approaches requires high model complexity and a large amount of training instances. Thus, inferring complex relations in the few-shot scenario is difficult for FKGC models due to limited training instances. In this paper, we propose a few-shot relational learning with global-local framework to address the above issues. At the global stage, a novel gated and attentive neighbor aggregator is built for accurately integrating the semantics of a few-shot relation's neighborhood, which helps filtering the noise neighbors even if a KG contains extremely sparse neighborhoods. For the local stage, a meta-learning based TransH (MTransH) method is designed to model complex relations and train our model in a few-shot learning fashion. Extensive experiments show that our model outperforms the state-of-the-art FKGC approaches on the frequently-used benchmark datasets NELL-One and Wiki-One. Compared with the strong baseline model MetaR, our model achieves 5-shot FKGC performance improvements of 8.0% on NELL-One and 2.8% on Wiki-One by the metric Hits@10.

View on arXivView PDF

Code Implementations(1)

SIGIR2021: Relational Learning with Gated and Attentive Neighbor Aggregator for Few-Shot Knowledge Graph Completion

579PythonApr 29, 20213 years ago

Similar Papers

Cite this paper

@article{niu2021relational,
  title  = {Relational Learning with Gated and Attentive Neighbor Aggregator for Few-Shot Knowledge Graph Completion},
  author = {Guanglin Niu and Yang Li and Chengguang Tang and Ruiying Geng and Jian Dai and Qiao Liu and Hao Wang and Jian Sun and Fei Huang and Luo Si},
  year   = {2021},
  eprint = {2104.13095},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.13095}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2104.13095.svg)](https://codeofpaper.com/paper/2104.13095)

Discussion