A New Chinese Named Entity Recognition Method for Pig Disease Domain Based on Lexicon-Enhanced BERT and Contrastive Learning

Author:

Peng Cheng123ORCID,Wang Xiajun14,Li Qifeng123,Yu Qinyang123,Jiang Ruixiang123,Ma Weihong123ORCID,Wu Wenbiao123,Meng Rui123,Li Haiyan123,Huai Heju123,Wang Shuyan123,He Longjuan5

Affiliation:

1. Information Technology Research Center, Beijing Academy of Agriculture and Forestry Sciences, Beijing 100097, China

2. National Innovation Center of Digital Technology in Animal Husbandry, Beijing 100097, China

3. National Engineering Research Center for Information Technology in Agriculture, Beijing 100097, China

4. Faculty of Resources and Environmental Science, Hubei University, Wuhan 430061, China

5. Institute of Agricultural Economics and Development, Chinese Academy of Agricultural Sciences, Beijing 100081, China

Abstract

Named Entity Recognition (NER) is a fundamental and pivotal stage in the development of various knowledge-based support systems, including knowledge retrieval and question-answering systems. In the domain of pig diseases, Chinese NER models encounter several challenges, such as the scarcity of annotated data, domain-specific vocabulary, diverse entity categories, and ambiguous entity boundaries. To address these challenges, we propose PDCNER, a Pig Disease Chinese Named Entity Recognition method leveraging lexicon-enhanced BERT and contrastive learning. Firstly, we construct a domain-specific lexicon and pre-train word embeddings in the pig disease domain. Secondly, we integrate lexicon information of pig diseases into the lower layers of BERT using a Lexicon Adapter layer, which employs char–word pair sequences. Thirdly, to enhance feature representation, we propose a lexicon-enhanced contrastive loss layer on top of BERT. Finally, a Conditional Random Field (CRF) layer is employed as the model’s decoder. Experimental results show that our proposed model demonstrates superior performance over several mainstream models, achieving a precision of 87.76%, a recall of 86.97%, and an F1-score of 87.36%. The proposed model outperforms BERT-BiLSTM-CRF and LEBERT by 14.05% and 6.8%, respectively, with only 10% of the samples available, showcasing its robustness in data scarcity scenarios. Furthermore, the model exhibits generalizability across publicly available datasets. Our work provides reliable technical support for the information extraction of pig diseases in Chinese and can be easily extended to other domains, thereby facilitating seamless adaptation for named entity identification across diverse contexts.

Funder

National Science and Technology Major Project

Publisher

MDPI AG

Reference41 articles.

1. A Survey on Deep Learning for Named Entity Recognition;Li;IEEE Trans. Knowl. Data Eng.,2022

2. A review of Chinese named entity recognition;Cheng;KSII Trans. Internet Inf. Syst.,2021

3. A review: Development of named entity recognition (NER) technology for aeronautical information intelligence;Mi;Artif. Intell. Rev.,2022

4. Chinese named entity recognition: The state of the art;Liu;Neuro Comput.,2022

5. Pre-trained models for natural language processing: A survey;Qiu;Sci. China Technol. Sci.,2020

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3