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

临床长文本预训练语言模型的比较研究

A Comparative Study of Pretrained Language Models for Long Clinical Text

Northwestern University(西北大学);Northwestern Medicine(西北医学)

Yikuan Li, Ramsey M. Wehbe, Faraz S. Ahmad, Hanyin Wang, Yuan Luo

摘要:

目的:临床知识丰富了Transformer模型(例如,ClinicalBERT)在临床NLP(自然语言处理)任务上具有最先进的结果。这些Transformer模型的核心限制之一是由于其完全的自我注意力机制而导致的大量内存消耗,这导致长临床文本的性能下降。为了克服这一点,我们提出利用长序列Transformer模型(例如,Longformer和BigBird),将最大输入序列长度从512扩展到4096,以增强在长临床文本中建模长期依赖性的能力。材料与方法:受长序列Transformer模型的成功和临床笔记大多很长的事实的启发,我们引入了两个领域丰富的语言模型,Clinical-Longformer和Clinical-BigBird,它们是在大规模临床语料库上预训练的。我们使用包括命名实体识别、问答、自然语言推理和文档分类任务在内的10个基线任务来评估这两种语言模型。结果如下:结果表明,Clinical-Longformer和Clinical-BigBird在所有10个下游任务中的性能始终显著优于ClinicalBERT和其他短序Transformers,并实现了最新的最先进的结果。讨论:我们预先训练的语言模型为使用长文本的临床NLP提供了基础。我们已经在https://github.com/luoyuanlab/Clinical-Longformer上提供了我们的源代码,并且可以在https://huggingface.co/yikuan8/Clinical-Longformer上公开下载预训练模型。结论:这项研究表明,临床知识丰富的长序列Transformers能够学习长期的依赖性,在长期的临床文本。我们的方法也可以启发其他领域丰富的长序列Transformers的发展。

英文摘要:

Objective: Clinical knowledge enriched transformer models (e.g., ClinicalBERT) have state-of-the-art results on clinical NLP (natural language processing) tasks. One of the core limitations of these transformer models is the substantial memory consumption due to their full self-attention mechanism, which leads to the performance degradation in long clinical texts. To overcome this, we propose to leverage long-sequence transformer models (e.g., Longformer and BigBird), which extend the maximum input sequence length from 512 to 4096, to enhance the ability to model long-term dependencies in long clinical texts. Materials and Methods: Inspired by the success of long sequence transformer models and the fact that clinical notes are mostly long, we introduce two domain enriched language models, Clinical-Longformer and Clinical-BigBird, which are pre-trained on a large-scale clinical corpus. We evaluate both language models using 10 baseline tasks including named entity recognition, question answering, natural language inference, and document classification tasks. Results: The results demonstrate that Clinical-Longformer and Clinical-BigBird consistently and significantly outperform ClinicalBERT and other short-sequence transformers in all 10 downstream tasks and achieve new state-of-the-art results. Discussion: Our pre-trained language models provide the bedrock for clinical NLP using long texts. We have made our source code available at https://github.com/luoyuanlab/Clinical-Longformer, and the pre-trained models available for public download at: https://huggingface.co/yikuan8/Clinical-Longformer. Conclusion: This study demonstrates that clinical knowledge enriched long-sequence transformers are able to learn long-term dependencies in long clinical text. Our methods can also inspire the development of other domain-enriched long-sequence transformers.

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

↑