Schema-aware Reference as Prompt Improves Data-Efficient Knowledge Graph Construction

Yunzhi Yao, Shengyu Mao, Ningyu Zhang, Xiang Chen, Shumin Deng +2 more
10/19/2022
cs.CLcs.AIcs.DB

Official code: zjunlp/RAP (42 stars, Python, MIT, last commit 2023-04-05).

Abstract

With the development of pre-trained language models, many prompt-based approaches to data-efficient knowledge graph construction have been proposed and achieved impressive performance. However, existing prompt-based learning methods for knowledge graph construction are still susceptible to several potential limitations: (i) semantic gap between natural language and output structured knowledge with pre-defined schema, which means model cannot fully exploit semantic knowledge with the constrained templates; (ii) representation learning with locally individual instances limits the performance given the insufficient features, which are unable to unleash the potential analogical capability of pre-trained language models.

Show full abstract

Motivated by these observations, we propose a retrieval-augmented approach, which retrieves schema-aware Reference As Prompt (RAP), for data-efficient knowledge graph construction. It can dynamically leverage schema and knowledge inherited from human-annotated and weak-supervised data as a prompt for each sample, which is model-agnostic and can be plugged into widespread existing approaches. Experimental results demonstrate that previous methods integrated with RAP can achieve impressive performance gains in low-resource settings on five datasets of relational triple extraction and event extraction for knowledge graph construction. Code is available in https://github.com/zjunlp/RAP.

View on arXivView PDF

Code Implementations(1)

zjunlp/RAPOfficial100%
MIT

[SIGIR 2023] Schema-aware Reference as Prompt Improves Data-Efficient Knowledge Graph Construction

423Python, ShellOct 13, 20223 years agoMIT
data-efficientevent-extractionfew-shotieinformation-extraction+15 more

Similar Papers

Cite this paper

@article{yao2022schemaaware,
  title  = {Schema-aware Reference as Prompt Improves Data-Efficient Knowledge Graph Construction},
  author = {Yunzhi Yao and Shengyu Mao and Ningyu Zhang and Xiang Chen and Shumin Deng and Xi Chen and Huajun Chen},
  year   = {2022},
  eprint = {2210.10709},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.10709}
}

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/2210.10709.svg)](https://codeofpaper.com/paper/2210.10709)

Discussion