[论文解读] Large Language Models Struggle in Token-Level Clinical Named Entity Recognition
本研究在罕见疾病的逐词临床NER上评估了专有及本地开源的大语言模型,结果显示零-shot 表现有限,但少样本学习、检索增强生成(RAG)以及对医学 LLaMA-2 变体的微调带来显著收益。
Large Language Models (LLMs) have revolutionized various sectors, including healthcare where they are employed in diverse applications. Their utility is particularly significant in the context of rare diseases, where data scarcity, complexity, and specificity pose considerable challenges. In the clinical domain, Named Entity Recognition (NER) stands out as an essential task and it plays a crucial role in extracting relevant information from clinical texts. Despite the promise of LLMs, current research mostly concentrates on document-level NER, identifying entities in a more general context across entire documents, without extracting their precise location. Additionally, efforts have been directed towards adapting ChatGPTfor token-level NER. However, there is a significant research gap when it comes to employing token-level NER for clinical texts, especially with the use of local open-source LLMs. This study aims to bridge this gap by investigating the effectiveness of both proprietary and local LLMs in token-level clinical NER. Essentially, we delve into the capabilities of these models through a series of experiments involving zero-shot prompting, few-shot prompting, retrieval-augmented generation (RAG), and instruction-fine-tuning. Our exploration reveals the inherent challenges LLMs face in token-level NER, particularly in the context of rare diseases, and suggests possible improvements for their application in healthcare. This research contributes to narrowing a significant gap in healthcare informatics and offers insights that could lead to a more refined application of LLMs in the healthcare sector.
研究动机与目标
- 评估多种LLM(本地开源与专有)在罕见疾病上的逐词 NER 能力。
- 比较提示策略(零-shot、少样本、检索增强生成)与指令微调的效果。
- 突出LLMs在精准片段级临床NER中的优缺点,并勾勒改进方向。
提出的方法
- 使用 RareDis-v1 数据集,实体包括:Disease、Rare Disease、Skin Rare Disease、Symptom、和 Sign。
- 将逐词 NER 视为基于 BIO 的序列标注,包含 11 种标签类型。
- 在模型之间评估零-shot、少样本与 RAG 提示。
- 通过在 Llama2-MedTuned-7b 上使用 LoRA 适配器进行指令微调以进行有监督学习。
- 使用 Precision、Recall 和 F1 作为评估指标;如有需要,将文档级输出调整为逐词级。
- 按类别分析错误(边界、类型、假阴性/假阳性)。
实验结果
研究问题
- RQ1本地开源LLM在不进行微调的情况下,能否在罕见疾病的逐词临床 NER 中取得良好表现?
- RQ2少样本提示和检索增强生成是否提升临床文本的逐词 NER 性能?
- RQ3LLM 的指令微调/微调与 ChatGPT 模型在逐词临床 NER 中的效果有何差异?
主要发现
- 大多数模型在 RareDis-v1 的逐词 NER 上表现吃力,准确率/召回率/F1 均较为有限。
- 少样本学习通常在所有模型上将平均 F1 提升约 3–8 个百分点。
- RAG 总体收益有限,但对 Rare Disease 与 Skin Rare Disease 有帮助。
- 一种对医学进行了适配的 LLaMA-2-7b 模型(Llama2-MedTuned-7b)在若干场景下接近或达到 ChatGPT-4 的水平,尽管并非在确切的罕见疾病数据上进行训练。
- 使用 LoRA 适配器对 Llama2-MedTuned-7b 进行微调可显著提升性能,有时甚至超过 ChatGPT-4,并接近 BioClinicalBERT 水平。
- 逐词 NER 比单纯依赖提示更受益于专业化的医学适配和有监督的微调。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。