mlsanityData to 13 Oct 2026

Improving Large Language Models for Clinical Named Entity Recognition via Prompt Engineering

arXiv 2303.16416 ↗First posted 29 Mar 2023cs.CLcited by 7

Not on the map. Why?

Abstract (arXiv)

Objective: This study quantifies the capabilities of GPT-3.5 and GPT-4 for clinical named entity recognition (NER) tasks and proposes task-specific prompts to improve their performance. Materials and Methods: We evaluated these models on two clinical NER tasks: (1) to extract medical problems, treatments, and tests from clinical notes in the MTSamples corpus, following the 2010 i2b2 concept extraction shared task, and (2) identifying nervous system disorder-related adverse events from safety reports in the vaccine adverse event reporting system (VAERS). To improve the GPT models' performance, we developed a clinical task-specific prompt framework that includes (1) baseline prompts with task description and format specification, (2) annotation guideline-based prompts, (3) error analysis-based instructions, and (4) annotated samples for few-shot learning. We assessed each prompt's effectiveness and compared the models to BioClinicalBERT. Results: Using baseline prompts, GPT-3.5 and GPT-4 achieved relaxed F1 scores of 0.634, 0.804 for MTSamples, and 0.301, 0.593 for VAERS. Additional prompt components consistently improved model performance. When all four components were used, GPT-3.5 and GPT-4 achieved relaxed F1 socres of 0.794, 0.861 for MTSamples and 0.676, 0.736 for VAERS, demonstrating the effectiveness of our prompt framework. Although these results trail BioClinicalBERT (F1 of 0.901 for the MTSamples dataset and 0.802 for the VAERS), it is very promising considering few training samples are needed. Conclusion: While direct application of GPT models to clinical NER tasks falls short of optimal performance, our task-specific prompt framework, incorporating medical knowledge and training samples, significantly enhances GPT models' feasibility for potential clinical applications.

Key facts. Cited by 7 papers in the map (data through 13 Oct 2026). Builds on 14 of its 41 references that are in the map. First posted on arXiv 29 Mar 2023.

Builds on

14 of 41 references.

References · 14

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,304
  2. 2020Language Models are Few-Shot Learnerscited by 32,320
  3. 2023GPT-4 Technical Reportcited by 18,278
  4. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,072
  5. 2022Emergent Abilities of Large Language Modelscited by 2,499
  6. 2019BioBERT: a pre-trained biomedical language representation model for biomedical text miningcited by 1,942
  7. 2022Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Taskscited by 1,066
  8. 2020Domain-Specific Language Model Pretraining for Biomedical Natural Language Processingcited by 1,001
  9. 2019Publicly Available Clinical BERT Embeddingscited by 999
  10. 2023A Multitask, Multilingual, Multimodal Evaluation of ChatGPT on Reasoning, Hallucination, and Interactivitycited by 894
  11. 2015Bidirectional LSTM-CRF Models for Sequence Taggingcited by 545
  12. 2019ClinicalBERT: Modeling Clinical Notes and Predicting Hospital Readmissioncited by 490
2 more
  1. 2022Complexity-Based Prompting for Multi-Step Reasoningcited by 388
  2. 2022ChatGPT Makes Medicine Easy to Swallow: An Exploratory Case Study on Simplified Radiology Reportscited by 101

Built on by

Cited by year (2026 to 13 Oct)

Citing papers per year: 2023: 2; 2024: 0; 2025: 1; 2026: 4.

7 papers.