首页|期刊导航|计算机工程|基于分布校正的小样本命名实体识别方法

基于分布校正的小样本命名实体识别方法OA

Few-Shot Named Entity Recognition Method Based on Distribution Calibration

中文摘要英文摘要

在现代工业领域,文本数据的感知和分析已成为推动智能制造和优化生产流程的重要手段.然而,工业文本数据通常具有高专业性、多样性和复杂性等特点,且标注成本较高,因此传统的大规模标注方法难以适用.现有的小样本命名实体识别(NER)方法多采用原型网络对实体进行分类,其中原型为属于同一类别的所有样本特征的平均值.然而,这类方法对于支持集数据的敏感性较强,容易出现样本选择性偏差的问题.为此,提出基于分布校正的小样本命名实体识别(DC-NER)模型.采用跨度检测和实体分类两阶段方式进行小样本NER任务,在第1个阶段,利用实体抽取器选出候选实体,在第2个阶段,利用类型判别器将实体划分到预定义好的类别.为了解决小样本NER任务中利用少量标签样本难以捕捉到类别真实分布的问题,进而使得类原型的计算不够准确,提出一种利用源域数据中的有效信息校正目标域的类别分布,进而通过改进后的类别分布生成更多的样本用于构建更准确的原型,从而提高其在小样本NER任务中的性能.在同领域数据集Few-NERD和跨领域数据集Cross-NER上的实验结果表明,DC-NER在F1值上显著优于对比模型,验证其在小样本NER中的有效性.

In the modern industrial sector,the perception and analysis of text data are essential for promoting intelligent manufacturing and optimizing production processes.However,industrial text data are typically characterized by high specialization,diversity,complexity,and annotation costs,making traditional large-scale annotation methods unsuitable.Existing few-shot Named Entity Recognition(NER)methods often use prototypical networks to classify entities,where the prototype is the average of the features of all samples belonging to the same category.However,these methods are highly sensitive to the support set data and prone to sample-selection bias.To address this,a few-shot NER model based on Distribution Calibration called DC-NER is proposed.A two-stage approach for span detection and entity classification is adopted for the few-shot NER task.In the first stage,an entity extractor is used to select candidate entities.In the second stage,a type discriminator assigns these entities to predefined categories.To address the challenge of capturing the true class distribution with a small number of labeled samples in few-shot NER,which leads to inaccurate class prototype calculations,a method is proposed that leverages useful information from the source domain data to calibrate the class distribution in the target domain.Thus,more samples are generated based on the refined class distribution to construct more accurate prototypes,thereby improving the performance in few-shot NER tasks.Experiments on both the in-domain dataset Few-NERD and the cross-domain dataset Cross-NER reveal that DC-NER significantly outperforms the comparative models in terms of F1 value,validating its effectiveness for few-shot NER.

浦震宇;刘志伟;黄勃;何书锋;陈南希;郗文增

上海工程技术大学电子电气工程学院,上海 201620上海工程技术大学电子电气工程学院,上海 201620上海工程技术大学电子电气工程学院,上海 201620||华中农业大学农业智能技术教育部工程研究中心,湖北武汉 430070中国地质调查局青岛海洋地质研究所,山东青岛 266071中国科学院上海微系统与信息技术研究所,上海 200050天津国投津能发电有限公司,天津 100032

信息技术与安全科学

工业文本数据命名实体识别小样本学习原型网络分布校正

industrial text dataNamed Entity Recognition(NER)few-shot learningprototypical networkdistribution calibration

《计算机工程》 2026 (9)

143-153,11

华中农业大学农业智能技术教育部工程研究中心开放课题(ERCITA-KF002).

10.19678/j.issn.1000-3428.0070449

评论