Large Language Models Struggle in Token-Level Clinical Named Entity Recognition
Qiuhao Lu, Rui Li, Andrew Wen, Jinlian Wang, Liwei Wang, Hongfang Liu
TL;DR
This work addresses token-level NER in clinical texts for rare diseases, a setting where data is scarce and precise span extraction is crucial. It comprehensively evaluates both proprietary and local open-source LLMs across zero-shot, few-shot, RAG, and instruction-fine-tuning paradigms on the RareDis-v1 dataset, using LoRA-based fine-tuning for the open models. The findings show that token-level NER remains challenging across most models, though few-shot prompts yield consistent gains and RAG offers limited improvements. Importantly, a medically adapted Llama2-MedTuned model, when fine-tuned with LoRA on RareDis, can outperform ChatGPT-4 and closely approach BioClinicalBERT, highlighting the promise of local LLMs for clinical NER with task-specific supervision. These results provide practical guidance for deploying domain-adapted open-source LLMs in clinical NLP and point to effective strategies for improving span-based information extraction in healthcare.
Abstract
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 ChatGPT for 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.
