作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2026, Vol. 52 ›› Issue (10): 154-163. doi: 10.19678/j.issn.1000-3428.0070675

• 计算智能与模式识别 • 上一篇    

融合多级别粒度特征的中文医疗命名实体识别

代子男1,2, 张捷1,2, 陈冲冲1,2, 谌章义1,2, 陈付龙1,2   

  1. 1. 安徽师范大学计算机与信息学院, 安徽 芜湖 241002;
    2. 安徽省医疗大数据智能系统工程研究中心, 安徽 芜湖 241002
  • 收稿日期:2025-02-27 修回日期:2025-04-07 发布日期:2025-05-14
  • 作者简介:代子男,男,硕士研究生,主研方向为自然语言处理;张捷(通信作者),副教授、博士,E-mail:zjzj2526@163.com;陈冲冲,硕士研究生;谌章义,副教授、博士;陈付龙,教授、博士。
  • 基金资助:
    安徽省科技创新攻坚计划(202423k09020050);安徽高校协同创新项目(GXXT-2022-054);芜湖市科技计划(2022yf54);芜湖市重点研发与成果转化项目(2023yf117)。

Chinese Medical Named Entity Recognition Integrating Multi-Level Granular Features

DAI Zinan1,2, ZHANG Jie1,2, CHEN Chongchong1,2, CHEN Zhangyi1,2, CHEN Fulong1,2   

  1. 1. School of Computer and Information, Anhui Normal University, Wuhu 241002, Anhui, China;
    2. Anhui Engineering Research Center of Medical Big Data Intelligent System, Wuhu 241002, Anhui, China
  • Received:2025-02-27 Revised:2025-04-07 Published:2025-05-14

摘要: 中文医疗命名实体识别(NER)旨在从医疗文本中识别具有特定意义的实体,如疾病、药物、症状及身体部位等多种类型的医疗实体。这一任务可为临床辅助决策、医疗信息整合和病案管理等方面提供有力支持。现有的中文医疗NER研究尚未充分考虑医疗文本的复杂结构,存在专业术语繁多、嵌入信息单一、语义信息利用不足等问题。为此,提出一种融合多级别粒度特征的中文医疗文本NER模型。该模型首先利用BERT预训练模型生成文本的字嵌入表示,并设计了一维和二维卷积神经网络(CNN)提取字符的字形与笔画特征,同时通过外部词库引入词级特征,以增强对词与实体边界的信息表达。此外,模型还加入句子级特征以捕获全局语义特征。通过交叉注意力机制将上述多级别的粒度特征进行迭代融合,得到包含深层语义信息的嵌入表示,最后利用条件随机场(CRF)输出实体识别结果。在CCKS2017和CCKS2019数据集上的实验结果表明,该模型F1值达到92.88%和87.86%,相较于当前主流模型展现了更优异的识别性能。

关键词: 命名实体识别, 医疗文本, 特征融合, 特征增强, 交叉注意力

Abstract: Chinese medical Named Entity Recognition (NER) aims to identify entities with specific meanings from medical texts, such as diseases, drugs, symptoms, and anatomical parts. This task provides robust support for clinical decision making, medical information integration, and medical record management. However, existing research on Chinese medical NER has not fully addressed the complexity of medical texts, which are characterized by an abundance of specialized terminology, limited embedding diversity, and insufficient utilization of semantic information. To address these issues, this paper proposes a Chinese medical NER model that integrates multigranularity features. The model first employs a BERT pretrained model to generate character embeddings for the text. It then uses both one-dimensional and two-dimensional convolutional neural networks to extract character shape and stroke features, while external lexicons are incorporated to introduce word-level features, enhancing the representation of word and entity boundaries. Additionally, sentence-level features are included to capture global semantic information. A cross-attention mechanism is utilized to iteratively fuse these multigranular features, resulting in embeddings enriched with deep semantic information. Finally, Conditional Random Fields (CRF) are used to output the entity recognition results. Experimental results on the CCKS2017 and CCKS2019 datasets demonstrate that the proposed model achieves F1 values of 92.88% and 87.86%, respectively, outperforming mainstream models in recognition performance.

Key words: Named Entity Recognition(NER), medical text, feature fusion, feature enhancement, cross-attention

中图分类号: