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

基于标签词和联合表示学习的Few-Shot关系分类自适应原型网络

Adaptive Prototypical Networks with Label Words and Joint Representation Learning for Few-Shot Relation Classification

Donghua University(东华大学);University of Surrey(萨里大学)

Yan Xiao, Yaochu Jin, Kuangrong Hao

摘要:

关系分类(Relationship Classification,RC)任务是信息抽取的基本任务之一,旨在从非结构化自然语言文本中发现实体对之间的关系信息,生成实体-关系三元组形式的结构化数据。远程监督方法虽然能有效缓解监督学习中训练数据不足的问题,但也会给数据引入噪声,仍然不能从根本上解决训练实例的长尾分布问题。为了使神经网络能够像人类一样通过很少的实例学习新知识,这项工作集中在Few-Shot关系分类(FSRC)上,其中分类器应该推广到训练集中没有看到的新类别,只给每个类别一些样本。为了充分利用已有的信息,并得到更好的特征表示为每个实例,我们提出了编码每个类原型在一个自适应的方式从两个方面。首先,基于原型网络,我们提出了一种自适应的混合机制,添加标签词的类原型的表示,据我们所知,这是第一次尝试将标签信息集成到每个类的支持样本的功能,以获得更多的交互式类原型。其次,为了更合理地度量每个类别的样本之间的距离,我们引入了一个损失函数的联合表示学习,以编码每个支持实例的自适应方式。在不同的Few-Shot(FS)设置下对FewRel进行了大量的实验,结果表明,所提出的带有标签词和联合表示学习的自适应原型网络不仅在精度上有了显著的提高,而且提高了Few-Shot RC模型的泛化能力。

英文摘要:

Relation classification (RC) task is one of fundamental tasks of information extraction, aiming to detect the relation information between entity pairs in unstructured natural language text and generate structured data in the form of entity-relation triple. Although distant supervision methods can effectively alleviate the problem of lack of training data in supervised learning, they also introduce noise into the data, and still cannot fundamentally solve the long-tail distribution problem of the training instances. In order to enable the neural network to learn new knowledge through few instances like humans, this work focuses on few-shot relation classification (FSRC), where a classifier should generalize to new classes that have not been seen in the training set, given only a number of samples for each class. To make full use of the existing information and get a better feature representation for each instance, we propose to encode each class prototype in an adaptive way from two aspects. First, based on the prototypical networks, we propose an adaptive mixture mechanism to add label words to the representation of the class prototype, which, to the best of our knowledge, is the first attempt to integrate the label information into features of the support samples of each class so as to get more interactive class prototypes. Second, to more reasonably measure the distances between samples of each category, we introduce a loss function for joint representation learning to encode each support instance in an adaptive manner. Extensive experiments have been conducted on FewRel under different few-shot (FS) settings, and the results show that the proposed adaptive prototypical networks with label words and joint representation learning has not only achieved significant improvements in accuracy, but also increased the generalization ability of few-shot RC models.

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

↑