arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2203.09101cs.CL
收藏

RelationPrompt:利用数据集生成合成数据用于Zero-Shot关系三元组提取

RelationPrompt: Leveraging Prompts to Generate Synthetic Data for Zero-Shot Relation Triplet Extraction

DAMO Academy, Alibaba Group(阿里巴巴集团达摩院);Singapore University of Technology and Design(新加坡科技设计大学)

Yew Ken Chia, Lidong Bing, Soujanya Poria, Luo Si

摘要:

尽管关系抽取在构建和表示知识中的重要性,但较少的研究集中在推广到看不见的关系类型。我们介绍了Zero-Shot关系三元组提取(ZeroRTE)的任务设置,以鼓励进一步研究低资源的关系抽取方法。给定一个输入句子,每个提取的三元组由头部实体,关系标签和尾部实体组成,其中关系标签在训练阶段看不到。为了解决ZeroRTE问题,我们提出通过促使语言模型生成结构化文本来合成关系示例。具体地说,我们统一了语言模型提示和结构化文本的方法,设计了一个结构化的提示模板生成合成的关系样本时,条件的关系标签提示(提示)。为了克服句子中多个关系三元组提取的局限性,我们设计了一种新的三元组搜索解码方法。在FewRel数据集和Wiki-JPL数据集上的实验表明,该算法在ZeroRTE任务和zero-shot关系分类中具有较好的性能.我们的代码和数据可在github.com/declare-lab/RelationPrompt上获得。

英文摘要:

Despite the importance of relation extraction in building and representing knowledge, less research is focused on generalizing to unseen relations types. We introduce the task setting of Zero-Shot Relation Triplet Extraction (ZeroRTE) to encourage further research in low-resource relation extraction methods. Given an input sentence, each extracted triplet consists of the head entity, relation label, and tail entity where the relation label is not seen at the training stage. To solve ZeroRTE, we propose to synthesize relation examples by prompting language models to generate structured texts. Concretely, we unify language model prompts and structured text approaches to design a structured prompt template for generating synthetic relation samples when conditioning on relation label prompts (RelationPrompt). To overcome the limitation for extracting multiple relation triplets in a sentence, we design a novel Triplet Search Decoding method. Experiments on FewRel and Wiki-ZSL datasets show the efficacy of RelationPrompt for the ZeroRTE task and zero-shot relation classification. Our code and data are available at github.com/declare-lab/RelationPrompt.

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

↑