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

基于自适应边界的Few-Shot命名实体识别元学习三元组网络

Meta-Learning Triplet Network with Adaptive Margins for Few-Shot Named Entity Recognition

Meituan Inc.(美团公司);East China Normal University(华东师范大学)

Chengcheng Han, Renyu Zhu, Jun Kuang, FengJiao Chen, Xiang Li, Ming Gao, Xuezhi Cao, Wei Wu

摘要:

元学习方法在Few-Shot命名实体识别中得到了广泛的应用,尤其是基于原型的方法。然而,Other(O)类难以由原型向量表示,因为类中通常存在大量具有混杂语义的样本。为了解决这个问题,我们提出了MeTNet,它只为实体类型而不是O类生成原型向量。我们设计了一个改进的三元组网络来映射样本和原型向量到一个低维的空间,更容易被分类,并提出了一个自适应的边缘为每个实体类型。边距用作半径并控制低维空间中具有自适应大小的区域。基于区域,我们提出了一个新的推理过程来预测查询实例的标签。我们在域内和跨域设置进行了广泛的实验,以显示MetNet优于其他国家的最先进的方法。特别是,我们发布了一个中文Few-Shot NER数据集FEW-COMM,它是从一个知名的电子商务平台上提取的。据我们所知,这是第一个中国Few-Shot NER数据集。所有数据集和代码都在https://github.com/hccngu/MeTNet上提供。

英文摘要:

Meta-learning methods have been widely used in few-shot named entity recognition (NER), especially prototype-based methods. However, the Other(O) class is difficult to be represented by a prototype vector because there are generally a large number of samples in the class that have miscellaneous semantics. To solve the problem, we propose MeTNet, which generates prototype vectors for entity types only but not O-class. We design an improved triplet network to map samples and prototype vectors into a low-dimensional space that is easier to be classified and propose an adaptive margin for each entity type. The margin plays as a radius and controls a region with adaptive size in the low-dimensional space. Based on the regions, we propose a new inference procedure to predict the label of a query instance. We conduct extensive experiments in both in-domain and cross-domain settings to show the superiority of MeTNet over other state-of-the-art methods. In particular, we release a Chinese few-shot NER dataset FEW-COMM extracted from a well-known e-commerce platform. To the best of our knowledge, this is the first Chinese few-shot NER dataset. All the datasets and codes are provided at https://github.com/hccngu/MeTNet.

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

↑