解决小样本命名实体识别中的重复训练与样本依赖问题
Fighting Against the Repetitive Training and Sample Dependency Problem in Few-shot Named Entity Recognition
AI总结:
针对小样本命名实体识别中跨度检测器重复训练、分类器样本依赖的问题,提出基于预训练垫脚石跨度检测器与LLM生成实体类型参照的改进流程,在少训练步数、少标注数据下实现更优性能,尤其在细粒度场景超越ChatGPT等强基线。
摘要:
小样本命名实体识别(NER)系统利用少量标注训练样本识别实体,其通用流程包含用于识别文本中实体跨度的跨度检测器,以及为实体分配类型的实体类型分类器。当前的跨度检测器依赖大量人工标注来指导训练,几乎所有跨度检测器都需要先基于基础跨度特征进行初始训练,再适配任务特定特征,这一过程导致不同跨度检测器之间存在基础跨度特征的重复训练问题。此外,基于度量的实体类型分类器(如原型网络)通常采用特定度量来衡量查询样本与实体类型参照之间的距离,最终为查询样本分配最可能的实体类型,但这类分类器存在样本依赖问题,主要源于每个实体类型参照可用的样本数量有限。为应对这些挑战,我们提出了一种改进的小样本NER流程。首先,我们引入了在开放领域维基百科数据上预训练的垫脚石跨度检测器,可用于初始化流程中的跨度检测器,以减少基础特征的重复训练。其次,我们利用大语言模型(LLM)设置可靠的实体类型参照,消除了对每种类型小样本的依赖。在多个数据集上开展的大量实验表明,与基线模型相比,我们的模型以更少的训练步数和人工标注数据实现了更优的性能。尤其在细粒度小样本NER设置下,我们的模型性能超过了包括ChatGPT在内的强基线模型。我们将公开发布代码、数据集、LLM输出以及模型检查点。
英文摘要:
Few-shot named entity recognition (NER) systems recognize entities using a few labeled training examples. The general pipeline consists of a span detector to identify entity spans in text and an entity-type classifier to assign types to entities. Current span detectors rely on extensive manual labeling to guide training. Almost every span detector requires initial training on basic span features followed by adaptation to task-specific features. This process leads to repetitive training of the basic span features among span detectors. Additionally, metric-based entity-type classifiers, such as prototypical networks, typically employ a specific metric that gauges the distance between the query sample and entity-type referents, ultimately assigning the most probable entity type to the query sample. However, these classifiers encounter the sample dependency problem, primarily stemming from the limited samples available for each entity-type referent. To address these challenges, we proposed an improved few-shot NER pipeline. First, we introduce a steppingstone span detector that is pre-trained on open-domain Wikipedia data. It can be used to initialize the pipeline span detector to reduce the repetitive training of basic features. Second, we leverage a large language model (LLM) to set reliable entity-type referents, eliminating reliance on few-shot samples of each type. Our model exhibits superior performance with fewer training steps and human-labeled data compared with baselines, as demonstrated through extensive experiments on various datasets. Particularly in fine-grained few-shot NER settings, our model outperforms strong baselines, including ChatGPT. We will publicly release the code, datasets, LLM outputs, and model checkpoints.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。