Skip to main content
QUICK REVIEW

[Paper Review] LLMs in Biomedicine: A study on clinical Named Entity Recognition

Masoud Monajatipoor, Jiaxin Yang|arXiv (Cornell University)|Apr 10, 2024
Topic ModelingComputer Science10 citations
TL;DR

The paper tests prompt design, in-context example selection, and retrieval-augmented techniques to improve clinical NER with LLMs, showing notable F1 gains in few-shot and zero-shot settings using TANL/DICE formats and external knowledge bases like UMLS.

ABSTRACT

Large Language Models (LLMs) demonstrate remarkable versatility in various NLP tasks but encounter distinct challenges in biomedical due to the complexities of language and data scarcity. This paper investigates LLMs application in the biomedical domain by exploring strategies to enhance their performance for the NER task. Our study reveals the importance of meticulously designed prompts in the biomedical. Strategic selection of in-context examples yields a marked improvement, offering ~15-20\% increase in F1 score across all benchmark datasets for biomedical few-shot NER. Additionally, our results indicate that integrating external biomedical knowledge via prompting strategies can enhance the proficiency of general-purpose LLMs to meet the specialized needs of biomedical NER. Leveraging a medical knowledge base, our proposed method, DiRAG, inspired by Retrieval-Augmented Generation (RAG), can boost the zero-shot F1 score of LLMs for biomedical NER. Code is released at \url{https://github.com/masoud-monajati/LLM_Bio_NER}

Motivation & Objective

  • Assess how prompt formats (TANL vs DICE) affect biomedical NER performance across datasets (I2B2, NCBI-disease, BC2GM).
  • Evaluate the impact of in-context learning example selection, especially nearest-neighbor-based KATE, using biomedical encoders.
  • Compare closed-source LLMs (GPT-4, GPT-3.5-turbo) with fine-tuned open-source models (LoRA-finetuned Llama2-7B) in terms of accuracy and cost.
  • Investigate external knowledge integration via prompting strategies to bridge general LLMs with medical NER needs.
  • Propose a data-augmentation method (DiRAG) that leverages UMLS to improve zero-shot clinical NER.

Proposed method

  • Experiment with TANL and DICE prompt formats adapted for biomedical NER.
  • Systematically compare in-context learning with random vs nearest-neighbor example selection using biomedical encoders (BioClinicalBERT, BioClinicalRoBERTa, etc.).
  • Assess open-source fine-tuning (LoRA) vs API-based in-context learning in terms of performance and cost.
  • Develop Dictionary-Infused Retrieval-Augmented Generation (DiRAG) that uses UMLS to augment inputs before querying a larger LLM.
  • Evaluate zero-shot and few-shot NER on I2B2, NCBI-disease, and BC2GM datasets; analyze cost using API pricing.

Experimental results

Research questions

  • RQ1How do TANL and DICE input-output formats compare in biomedical NER performance across datasets and model sizes?
  • RQ2Does strategic in-context example selection (KATE) with biomedical encoders improve NER results over random selection?
  • RQ3What is the trade-off between using closed-source LLMs with prompting versus fine-tuned open-source models for clinical NER in terms of accuracy and cost?
  • RQ4Can external clinical knowledge via prompting (DiRAG with UMLS) improve zero-shot clinical NER performance?
  • RQ5What are the limitations of using UMLS-based augmentation across different biomedical subdomains?

Key findings

  • Prompt design significantly affects biomedical NER outcomes across datasets and model sizes.
  • KATE with biomedical encoders substantially outperforms random in-context example selection.
  • GPT-4 with KATE and a biomedical encoder achieves strong results on I2B2 and BC2GM, while fine-tuning Llama2-7B shows strong results on NCBI-disease.
  • DiRAG improves zero-shot NER for I2B2 and NCBI-disease with GPT-4 and GPT-3.5-turbo, but effectiveness depends on the knowledge base used (UMLS-based).
  • IGM-based cost considerations show GPT-4 with KATE offers competitive accuracy at higher cost, while GPT-3.5-turbo with KATE remains cost-efficient; fine-tuning LLlama2-7B can be costlier or cheaper depending on dataset.

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.