融合标签提示与跨度增强的少样本命名实体过滤方法

贾洋洋 ,  邵玉斌 ,  杜庆治 ,  朵琳 ,  张赜涛

重庆邮电大学学报(自然科学版) ›› 2026, Vol. 38 ›› Issue (4) : 805 -815.

PDF (2202KB)
重庆邮电大学学报(自然科学版) ›› 2026, Vol. 38 ›› Issue (4) : 805 -815. DOI: 10.3979/j.issn.1673-825X.202507220167

融合标签提示与跨度增强的少样本命名实体过滤方法

作者信息 +

Few-shot named entity filtering method based on label prompts and span enhancement

Author information +
文章历史 +
PDF (2254K)

摘要

针对少样本场景下的命名实体识别(NER)跨度不准确的问题,提出融合标签提示与跨度交叉增强的少样本命名实体过滤方法(LPSE)。 将实体的标签插入输入文本中对应实体之后的位置,对经过特征提取器的文本输出进行跨度交叉增强,得到输入文本的跨度表示;利用实体向量及其对应的类型名称计算得到跨度过滤器的过滤阈值,通过此阈值对跨度表示中的虚假跨度进行剔除,进而得到过滤后的待分类实体跨度;通过计算实体跨度与类别原型的相似度,得到实体跨度的预测标签。 实验结果表明,相比于基线模型最优者,所提模型的 F1 值在 Few-NERD 数据集的 INTRA 和 INTER 任务上分别提升了 10. 48 个百分点、3. 43 个百分点;在 Cross-Dataset 数据集的 1-shot 和 5-shot 任务上则分别提升了 7. 6 个百分点、10. 8 个百分点。

Abstract

To address the problem of inaccurate span prediction in few-shot named entity recognition (NER), this paper proposes a label-prompted and span-cross-enhanced few-shot entity filtering model. Specifically, entity type labels are inserted after their corresponding mentions in the input text, and the extracted representations are refined through a span cross-enhancement mechanism to obtain enriched span embeddings. A span filter is then constructed by computing a filtering threshold based on entity representations and their type names, which is used to eliminate spurious spans and retain valid candidate spans. Finally, the predicted label of each candidate span is determined by measuring its similarity to the class prototype. Experimental results demonstrate that the proposed model outperforms the strongest baseline on the Few-NERD dataset, improving F1 scores by 10. 48% on the INTRA task and by 3. 43% on the INTER task. Moreover, on the Cross-Dataset benchmark, our approach achieves F1 improvements of 7. 6% in the 1-shot setting and 10. 8% in the 5-shot setting, confirming its effectiveness and robustness in few-shot scenarios.

关键词

少样本命名实体识别 / 标签提示 / 跨度交叉增强 / 跨度过滤

Key words

few-shot named entity recognition / label prompting / span cross-enhancement / span filtering

引用本文

引用格式 ▾
贾洋洋,邵玉斌,杜庆治,朵琳,张赜涛. 融合标签提示与跨度增强的少样本命名实体过滤方法[J]. 重庆邮电大学学报(自然科学版), 2026, 38(4): 805-815 DOI:10.3979/j.issn.1673-825X.202507220167

登录浏览全文

4963

注册一个新账户 忘记密码

参考文献

[1]

刘道华, 刘翰林, 余长鸣, 等. 多特征融合的中文医学命名实体识别方法[J].重庆邮电大学学报(自然科学版), 2026, 38(1): 109-117.

[2]

Liu Daohua, Liu Hanlin, Yu Changming, et al. Chinese medical named entity recognition method based on multi-feature fusion[J].Journal of Chongqing University of Posts and Telecommunications (Natural Science Edition), 2026,38(1):109-117.

[3]

Devlin J, Chang M W. BERT: pre-training of deep bidirectional transformers for language understanding[C]//Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long and Short Papers). Minneapolis, Minnesota: Association for Computational Linguistics,2019: 4171-4186.

[4]

Mishra L, Dhibi S. Statements: universal information extraction from tables with large language models for ESG KPIs[C]//Proceedings of the 1st Workshop on Natural Language Processing Meets Climate Change (ClimateNLP 2024). Bangkok, Thailand: Association for Computational Linguistics, 2024: 193-214.

[5]

Lewis M, Liu Yinhan, Goyal N,et al. BART: denoising sequence-to-sequence pre-training for natural language generation, translation, and comprehension[C]//Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics. Online: Association for Computational Linguistics, 2020: 7871-7880.

[6]

孙弋, 梁兵涛. 基于 BERT 和多头注意力的中文命名实体识别方法[J].重庆邮电大学学报(自然科学版), 2023, 35(1): 110-118.

[7]

Sun Yi, Liang Bingtao. Chinese named entity recognition method based on BERT and multi-head attention[J].Journal of Chongqing University of Posts and Telecommunications (Natural Science Edition), 2023, 35(1): 110-118.

[8]

陶超, 阴紫薇, 朱庆, 等. 遥感影像智能解译: 从监督学习到自监督学习[J].测绘学报, 2021, 50(8): 1122-1134.

[9]

Tao Chao, Yin Ziwei, Zhu Qing, et al. Intelligent interpretation of remote sensing imagery: from supervised learning to self-supervised learning[J].Acta Geodaetica et Cartographica Sinica, 2021, 50(8): 1122-1134.

[10]

Das A, Katiya A. CONTaiNER: few-shot named entity recognition via contrastive learning[C]//Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics. Dublin, Ireland: Association for Computational Linguistics,2022: 6338-6353.

[11]

Li Yongqi, Yu Yu, Qian Tieyun. Type-aware decomposed framework for few-shot named entity recognition[C]//Proceedings of the Conference on Empirical Methods in Natural Language Processing. Singapore: Association for Computational Linguistics, 2023: 8911-8927.

[12]

张天明, 张杉, 刘曦, 等. 融合多模态数据的小样本命名实体识别方法[J].软件学报, 2024, 35(3): 1107-1124.

[13]

Zhang Tianming, Zhang Shan, Liu Xi, et al. Few-shot named entity recognition method integrating multimodal data[J].Journal of Software, 2024, 35 (3): 1107-1124.

[14]

Yang Yi, Katiyar A. Simple and effective few-shot named entity recognition with structured nearest neighbor learning[EB/OL]. (2020-10-05)[2025-10-25]. https://arxiv.org/abs/2010.02405.

[15]

Ma Jie, Ballesteros M, Doss S, et al. Label semantics for few-shot named entity recognition[C]//Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics. Dublin, Ireland: Association for Computational Linguistics, 2022: 1956-1971.

[16]

Wang Peiyi, Xu Runxin, Liu Tianyu, et al. An enhanced span-based decomposition method for few-shot sequence Labeling.[C]//Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies. Seattle, USA: Association for Computational Linguistics, 2022: 5012-5024.

[17]

Ma Tinging, Jiang Huiqiang, Wu Qianhui, et al. Decomposed meta-learning for few-shot named entity recognition[C]//Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics. Dublin, Ireland: Association for Computational Linguistics, 2022: 1584-1596.

[18]

梅江元. 基于马氏距离的度量学习算法研究及应用[D].哈尔滨: 哈尔滨工业大学, 2016.

[19]

Mei Jiangyuan. Research and application of metric learning algorithm based on Mahalanobis distance[D]. Harbin: Harbin Institute of Technology,2016.

[20]

Chen Yanru, Zheng Yanan, Yang Zhilin. Prompt-based metric learning for few-shot NER[C]//Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics. Toronto, Canada: Association for Computational Linguistics, 2023: 7199-7212.

[21]

Qi Rongzhi, Lou Jiazheng, Mao Yingchi. Label prompt guiding for two-stage few-shot named entity recognition[C]//International Conference on Intelligent Computing. Singapore: Springer Nature, 2024: 334-346.

[22]

Hou Yutai, Che Wanxiang, Lai Yongkui, et al. Few-shot slot tagging with collapsed dependency transfer and label-enhanced task-adaptive projection network[C]//Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics. Online: Association for Computational Linguistics, 2020: 1381-1393.

[23]

Tang Yongjian, Hasan R, Runkler T. Fsponer: Few-shot prompt optimization for named entity recognition in domain-specific scenarios[EB/OL]. (2024-07-12)[2025-10-23].https://arxiv.org/abs/2407.08035.

[24]

Snell J, Swersky K, Zemel R. Prototypical networks for few-shot learning[C]//Proceedings of the 31st International Conference on Neural Information Processing Systems (NIPS'17). Red Hook, NY: Curran Associates Inc, 2017: 4080-4090.

[25]

任欢, 王旭光. 注意力机制综述[J].计算机应用, 2021, 41(S1): 1-6.

[26]

Ren Huan, Wang Xuguang. A survey of attention mechanisms[J].Computer Applications, 2021, 41(S1): 1-6.

[27]

白利霞. 前馈神经网络结构设计和权值优化的高效算法研究[D].西安: 西安电子科技大学, 2023.

[28]

Bai Lixia. Research on efficient algorithms for structure design and weight optimization of feedforward neural networks[D]. Xi’an: Xidian University,2023.

[29]

Srivastava N. Dropout: a simple way to prevent neural networks from overfitting[J]. Journal of Machine Learning Research, 2014, 15(1): 1929-1958.

[30]

Ding Ning, Xu Guangwei. Few-NERD: a few-shot named entity recognition dataset[C]//Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers). Online: Association for Computational Linguistics, 2021: 3198-3213.

[31]

Erik F, Tjong K S, Fien D M. Introduction to the CoNLL-2003 shared task: language-independent named entity recognition[C]//Proceedings of the Seventh Conference on Natural Language Learning at HLT-NAACL 2003. Edmonton, Canada: Natural Language Learning, 2003: 142-147.

[32]

Zeldes A. The GUM corpus: creating multilayer resources in the classroom[J].Language Resources and Evaluation, 2017, 51(3): 581-612.

[33]

Derczynski L, Nichols E, Van E M, et al. Results of the WNUT2017 shared task on novel and emerging entity recognition[C]//Proceedings of the 3rd Workshop on Noisy User-generated Text. Copenhagen, Denmark: Association for Computational Linguistics, 2017: 140-147.

[34]

Pradhan S, Moschitti A, Xue Nianwen, et al. Towards robust linguistic analysis using OntoNotes[C]//Proceedings of the Seventeenth Conference on Computational Natural Language Learning. Sofia, Bulgaria: Association for Computational Linguistics, 2013: 143-152.

[35]

Snell J, Swersky K, Zemel R. Prototypical networks for few-shot learning[J].Advances in neural information processing systems, 2017, 30.

基金资助

云南省媒体融合重点实验室项目(220245201)

AI Summary AI Mindmap
PDF (2202KB)

1

访问

0

被引

详细

导航
相关文章

AI思维导图

/

〈 〉