arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2210.12770cs.CLcs.AIcs.LG
收藏

探索预训练语言模型在临床命名实体识别中的价值

Exploring the Value of Pre-trained Language Models for Clinical Named Entity Recognition

The University of Manchester(曼彻斯特大学)

Samuel Belkadi, Lifeng Han, Yuping Wu, Goran Nenadic

AI总结:

本文比较从头训练的TransformerCRF与微调的BERT、BioBERT、ClinicalBERT在临床药物命名实体识别上的表现,发现低成本模型性能接近,且CRF层和下采样可进一步降低训练成本。

摘要:

在自然语言处理(NLP)领域,将来自通用或领域特定数据的预训练语言模型(PLMs)微调到资源有限的具体任务上的做法已日益流行。在本工作中,我们重新审视这一假设,并在临床NLP中开展研究,具体针对药物及其相关属性的命名实体识别。我们将从头训练的Transformer模型与微调的基于BERT的大语言模型(即BERT、BioBERT和ClinicalBERT)进行比较。此外,我们还考察了在这些模型上增加CRF层以促进上下文学习的影响。我们使用n2c2-2018共享任务数据进行模型开发和评估。实验结果表明:1)CRF层改善了所有语言模型;2)在采用宏平均F1分数的BIO严格跨度级别评估中,尽管微调的大语言模型取得了0.83以上的分数,从头训练的TransformerCRF模型也取得了0.78以上的分数,以低得多的成本展现出可比的性能——例如训练参数减少了39.80%;3)在采用加权平均F1分数的BIO严格跨度级别评估中,ClinicalBERT-CRF、BERT-CRF和TransformerCRF表现出较小的分数差异,分别为97.59%/97.44%/96.84%;4)通过下采样实现更好的数据分布并应用高效训练,进一步降低了训练成本和对数据的需求,同时保持了相似的分数——即与使用完整数据集相比约低0.02分。我们的模型将托管在\url{https://github.com/HECTA-UoM/TransformerCRF}。

英文摘要:

The practice of fine-tuning Pre-trained Language Models (PLMs) from general or domain-specific data to a specific task with limited resources, has gained popularity within the field of natural language processing (NLP). In this work, we re-visit this assumption and carry out an investigation in clinical NLP, specifically Named Entity Recognition on drugs and their related attributes. We compare Transformer models that are trained from scratch to fine-tuned BERT-based LLMs namely BERT, BioBERT, and ClinicalBERT. Furthermore, we examine the impact of an additional CRF layer on such models to encourage contextual learning. We use n2c2-2018 shared task data for model development and evaluations. The experimental outcomes show that 1) CRF layers improved all language models; 2) referring to BIO-strict span level evaluation using macro-average F1 score, although the fine-tuned LLMs achieved 0.83+ scores, the TransformerCRF model trained from scratch achieved 0.78+, demonstrating comparable performances with much lower cost - e.g. with 39.80\% less training parameters; 3) referring to BIO-strict span-level evaluation using weighted-average F1 score, ClinicalBERT-CRF, BERT-CRF, and TransformerCRF exhibited lower score differences, with 97.59\%/97.44\%/96.84\% respectively. 4) applying efficient training by down-sampling for better data distribution further reduced the training cost and need for data, while maintaining similar scores - i.e. around 0.02 points lower compared to using the full dataset. Our models will be hosted at \url{https://github.com/HECTA-UoM/TransformerCRF}

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑