计算机科学与技术登峰学科专刊

基于多特征融合的医疗文本命名实体识别研究

  • 张卓群 ,
  • 王荣波 ,
  • 黄孝喜
展开
  • 杭州电子科技大学 计算机学院,浙江 杭州 310018
张卓群(1999-),女,硕士研究生,研究方向:自然语言处理,E-mail:906976140@qq.com。
王荣波(1978-),男,副教授,研究方向:自然语言处理,E-mail:wangrongbo@hdu.edu.cn。

收稿日期: 2025-03-04

  网络出版日期: 2025-08-04

基金资助

教育部人文社会科学研究项目(18YJA740016);国家社会科学基金重大项目(18ZDA290)

Research on named entity recognition of medical text based on multi-feature fusion

  • ZHANG Zhuoqun ,
  • WANG Rongbo ,
  • HUANG Xiaoxi
Expand
  • School of Computer, Hangzhou Dianzi University, Hangzhou Zhejiang 310018, China

Received date: 2025-03-04

  Online published: 2025-08-04

摘要

从海量的医疗文本中挖掘信息,提取关键的命名实体,对提升医疗信息处理与对话理解的效率至关重要。针对医疗领域命名实体识别任务中复杂的医学术语识别困难、单一特征方法难以全面精准捕捉的问题,提出一种融合字音、字形及词典信息等多种特征的医疗文本命名实体识别方法。该方法使用预训练模型提取语义向量,构建汉字笔画、部首的字形向量及带有音调的拼音向量,通过双向匹配对齐医疗词典并动态融合特征,最终将多模态特征输入到BiLSTM-CRF模型以提升识别效果。实验结果表明,该方法在IMCS互联网医患在线对话文本上的识别效果上显著优于其他对比实验。测试集上的F1值最高达到了92.5%,相较于其他五个对比实验(Base-BERT、MC-BERT、RoBERTa-wwm-ext、Medbert-Kd-Chinese、Albert-Base-Chinese),其F1值最高提升了8.6个百分点。此外,消融实验也进一步验证了融合特征对提升识别效果的有效性。

本文引用格式

张卓群 , 王荣波 , 黄孝喜 . 基于多特征融合的医疗文本命名实体识别研究[J]. 杭州电子科技大学学报, 2025 , 45(4) : 32 -41 . DOI: 10.13954/j.cnki.hdu.2025.04.004

Abstract

Mined information from massive medical texts and extracting key named entities is crucial to improving the efficiency of medical information processing and dialogue understanding.Aiming at the difficulty of recognizing complex medical terms in named entity recognition tasks in the medical field, and the difficulty of comprehensive and accurate capture by a single feature method, a medical text named entity recognition method is proposed, which integrates multiple features of Pinyin, glyphs and lexicon information.This method employs pre-trained models to extract semantic vectors, constructs glyph vectors based on Chinese character strokes and radicals, along with tonal Pinyin vectors. It aligns medical dictionaries through bidirectional matching, dynamically fuses multi-modal features, and ultimately inputs them into a BiLSTM-CRF model to enhance entity recognition accuracy. The experimental results demonstrate that the proposed method significantly outperforms other comparative experiments in recognizing online doctor-patient conversation texts from the IMCS internet platform. The highest F1 score achieved on the test set reaches 92.5%, representing an improvement of up to 8.6 percentage points compared to the F1 scores of the other five comparative experiments (Base-BERT, MC-BERT, RoBERTa-wwm-ext, Medbert-Kd-Chinese, and Albert-Base-Chinese). Furthermore, ablation experiments also further verified the effectiveness of the fusion features in improving the recognition performance.

参考文献

[1]GAJENDRAN S, D M, SUGUMARAN V. Character level and word level embedding with bidirectional LSTM-Dynamic recurrent neural network for biomedical named entity recognition from literature[J]. Journal of Biomedical Informatics, 2020, 112: 103609.
[2]杨文明, 褚伟杰. 在线医疗问答文本的命名实体识别[J]. 计算机系统应用, 2019, 28(2): 8-14.
[3]LI X Y, ZHANG H, ZHOU X H. Chinese clinical named entity recognition with variant neural structures based on BERT methods[J]. Journal of Biomedical Informatics, 2020, 107: 103422.
[4]吕江海, 杜军平, 周南, 等. 基于膨胀卷积迭代与注意力机制的实体名识别方法[J]. 计算机工程, 2021, 47(1): 58-65.
[5]张华丽, 康晓东, 李博, 等. 结合注意力机制的Bi-LSTM-CRF中文电子病历命名实体识别[J]. 计算机应用, 2020, 40(S1): 98-102.
[6]DONG C H, ZHANG J J, ZONG C Q, et al. Character-based LSTM-CRF with radical-level features for Chinese named entity recognition[C]//Natural Language Understanding and Intelligent Applications. Cham: Springer, 2016: 239-250.
[7]彭雪. 基于深度学习的中文命名实体识别研究[D]. 长春: 长春工业大学, 2022.
[8]蔡子龙, 熊德意. 融入汉字字形特征的中英神经机器翻译模型[J]. 中文信息学报, 2019, 33(5): 75-81.
[9]于舒娟, 毛新涛, 张昀, 等. 基于词典和字形特征的中文命名实体识别[J]. 中文信息学报, 2023, 37(3): 112-122.
[10]SUN Z, LI X, SUN X, et al. ChineseBERT: Chinese Pretraining Enhanced by Glyph and Pinyin Information[EB/OL]. (2021-06-30)[ 2025-03-04]. https://arxiv.org/abs/2106.16038.
[11]晏阳天, 赵新宇, 吴贤. 基于BERT与字形字音特征的医疗命名实体识别[C]//2020年全国知识图谱与语义计算大会. 南昌: 中国中文信息学会, 2020: 1-7.
[12]徐秋荣. 基于特征融合的中文命名实体识别[D]. 上海: 华东师范大学, 2022.
[13]MA X Z, HOVY E. End-to-end sequence labeling via bi-directional LSTM-CNNs-CRF[EB/OL]. (2016-05-29)[2025-03-04]. https://arxiv.org/abs/1603.01354.
[14]LI X, HAO X Y. Recognition of unknown entities in specific financial field based on ERNIE-doc-BiLSTM-CRF[J]. Computational Intelligence and Neuroscience, 2022, 2022: 3139898.
[15]JIA C, SHI Y F, YANG Q R, et al. Entity enhanced BERT pre-training for Chinese NER[C]//Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP). Online. Stroudsburg, PA, USA: ACL, 2020: 6384-6396.
[16]HOULSBY N , GIURGIU A , JASTRZEBSKI S ,et al.Parameter-Efficient transfer learning for NLP[J]. 2019.DOI:10.48550/arXiv.1902.00751.
[17]BAPNA A, ARIVAZHAGAN N, FIRAT O. Simple, scalable adaptation for neural machine translation[EB/OL]. (2019-09-18)[2025-03-04]. https://arxiv.org/abs/1909.08478.
[18]WANG R, TANG D, DUAN N, et al. K-adapter: Infusing knowledge into pre-trained models with adapters[EB/OL]. (2020-12-28)[2025-03-04]. https://arxiv.org/abs/2002.01808.
[19]LIU W, FU X, ZHANG Y, et al. Lexicon Enhanced Chinese Sequence Labeling Using BERT Adapter[EB/OL]. (2021-12-26)[2025-03-04]. https://arxiv.org/abs/2105.07148.
[20]崔庆才. Python中拼音库PyPinyin的用法[EB/OL]. [2025-03-04]. https://cuiqingcai.com/6519.html.
[21]汉语拆字字典数据库[EB/OL]. [2025-03-04]. https://www.heywhale.com/mw/dataset/5ed4b72fa0ecb8.
文章导航

/

〈 〉