Skip to main content
QUICK REVIEW

[Paper Review] Large Language Models Struggle in Token-Level Clinical Named Entity Recognition

Qiuhao Lu, Rui Li|PubMed|Jun 30, 2024
Topic ModelingComputer Science1 references6 citations
TL;DR

The study evaluates both proprietary and local open-source LLMs on token-level clinical NER for rare diseases, showing limited zero-shot performance but notable gains from few-shot, RAG, and especially fine-tuning of medical LLaMA-2 variants.

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 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.

Motivation & Objective

  • Assess token-level NER capabilities of diverse LLMs (local open-source and proprietary) on rare diseases.
  • Compare prompting strategies (zero-shot, few-shot, retrieval-augmented generation) and instruction-fine-tuning.
  • Highlight strengths and limitations of LLMs for precise span-based clinical NER and outline directions for improvement.

Proposed method

  • Use RareDis-v1 dataset with entities: Disease, Rare Disease, Skin Rare Disease, Symptom, and Sign.
  • Treat token-level NER as BIO-based sequence labeling with 11 label types.
  • Evaluate zero-shot, few-shot, and RAG prompting across models.
  • Apply instruction-tuning via LoRA adapters on Llama2-MedTuned-7b for supervised learning.
  • Use Precison, Recall, and F1 as evaluation metrics; adapt document-level outputs to token-level where needed.
  • Analyze errors by category (boundary, type, false negatives/positives).

Experimental results

Research questions

  • RQ1Can local open-source LLMs perform token-level clinical NER on rare diseases without fine-tuning?
  • RQ2Do few-shot prompts and retrieval-augmented generation improve token-level NER performance for clinical text?
  • RQ3How does instruction-tuning/fine-tuning of LLMs compare to ChatGPT models in token-level clinical NER?

Key findings

  • Most models struggle with token-level NER on RareDis-v1, with modest Precision/Recall/F1.
  • Few-shot learning generally improves average F1 by 3–8 percentage points across models.
  • RAG provides limited overall gains but helps for Rare Disease and Skin Rare Disease.
  • A medically adapted LLaMA-2-7b model (Llama2-MedTuned-7b) approaches or matches ChatGPT-4 in several scenarios, despite not being trained on the exact rare disease data.
  • Fine-tuning Llama2-MedTuned-7b with LoRA adapters significantly boosts performance, sometimes surpassing ChatGPT-4 and nearing BioClinicalBERT levels.
  • Token-level NER benefits from specialized medical adaptation and supervised fine-tuning more than from prompting alone.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.