ProtoNER:基于原型网络的命名实体识别少样本增量学习
ProtoNER: Few shot Incremental Learning for Named Entity Recognition using Prototypical Networks
AI总结:
针对现有文档NER模型新增类别需全量重标注重训练的痛点,提出基于原型网络的ProtoNER模型,通过混合损失等设计实现少样本增量学习,仅30个样本即可达到常规模型2600样本的新类别效果。
摘要:
从视觉丰富文档中提取键值对(KVP)或进行命名实体识别(NER),一直是文档理解与数据提取领域的活跃研究方向。目前已涌现出LayoutLMv2、LayoutLMv3、LiLT等多个基于Transformer的模型,取得了当前最优(state of the art)效果。但现有模型哪怕仅新增一个类别,都需要:(a)对整个训练数据集重新标注以纳入该新类别;(b)重新训练模型。这两大问题严重拖慢了更新后模型的部署进度。\n我们提出**ProtoNER**:这是一种基于原型网络(Prototypical Network)的端到端KVP提取模型,仅需极少的新标注训练样本,即可为现有模型新增类别。该模型的核心贡献包括:(1)不依赖模型初始训练所用的数据集,既免去了长期留存原始训练数据集的需求,也省去了极为耗时的数据重新标注工作;(2)无需生成中间合成数据——这类数据往往会引入噪声,导致模型性能下降;(3)采用混合损失函数,既能让模型保留对旧类别的知识,又能学习新增类别的相关信息。\n实验结果表明,仅用30个样本微调的ProtoNER,在新增类别上的效果与用2600个样本微调的常规模型相当。
英文摘要:
Key value pair (KVP) extraction or Named Entity Recognition(NER) from visually rich documents has been an active area of research in document understanding and data extraction domain. Several transformer based models such as LayoutLMv2, LayoutLMv3, and LiLT have emerged achieving state of the art results. However, addition of even a single new class to the existing model requires (a) re-annotation of entire training dataset to include this new class and (b) retraining the model again. Both of these issues really slow down the deployment of updated model. \\ We present \textbf{ProtoNER}: Prototypical Network based end-to-end KVP extraction model that allows addition of new classes to an existing model while requiring minimal number of newly annotated training samples. The key contributions of our model are: (1) No dependency on dataset used for initial training of the model, which alleviates the need to retain original training dataset for longer duration as well as data re-annotation which is very time consuming task, (2) No intermediate synthetic data generation which tends to add noise and results in model's performance degradation, and (3) Hybrid loss function which allows model to retain knowledge about older classes as well as learn about newly added classes.\\ Experimental results show that ProtoNER finetuned with just 30 samples is able to achieve similar results for the newly added classes as that of regular model finetuned with 2600 samples.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。