mlsanityData to 14 Oct 2026

Retrieval augmented generation based dynamic prompting for few-shot biomedical named entity recognition using large language models

arXiv 2508.06504 ↗First posted 25 Jul 2025cs.CL cs.AIcited by 2

On the map: Retrieval-augmented generation → Medical and biomedical RAG

Abstract (arXiv)

Biomedical named entity recognition (NER) is a high-utility natural language processing (NLP) task, and large language models (LLMs) show promise particularly in few-shot settings (i.e., limited training data). In this article, we address the performance challenges of LLMs for few-shot biomedical NER by investigating a dynamic prompting strategy involving retrieval-augmented generation (RAG). In our approach, the annotated in-context learning examples are selected based on their similarities with the input texts, and the prompt is dynamically updated for each instance during inference. We implemented and optimized static and dynamic prompt engineering techniques and evaluated them on five biomedical NER datasets. Static prompting with structured components increased average F1-scores by 12% for GPT-4, and 11% for GPT-3.5 and LLaMA 3-70B, relative to basic static prompting. Dynamic prompting further improved performance, with TF-IDF and SBERT retrieval methods yielding the best results, improving average F1-scores by 7.3% and 5.6% in 5-shot and 10-shot settings, respectively. These findings highlight the utility of contextually adaptive prompts via RAG for biomedical NER.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Placed in Medical and biomedical RAG, one of 15 directions in Retrieval-augmented generation. Builds on 20 of its 30 references that are in the map. First posted on arXiv 25 Jul 2025.

Builds on

20 of 30 references.

Closest ancestors · 1

Same direction, newest first

  1. 2024Benchmarking Retrieval-Augmented Generation for Medicine20 Feb

Other references · 19

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  3. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  4. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
  5. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,824
  6. 2023Retrieval-Augmented Generation for Large Language Models: A Surveycited by 2,212
  7. 2020ColBERT: Efficient and Effective Passage Search via Contextualized Late Interaction over BERTcited by 1,178
  8. 2024Adaptive-RAG: Learning to Adapt Retrieval-Augmented Large Language Models through Question Complexitycited by 451
  9. 2024A Systematic Survey of Prompt Engineering in Large Language Models: Techniques and Applicationscited by 431
  10. 2024Same Task, More Tokens: the Impact of Input Length on the Reasoning Performance of Large Language Modelscited by 152
  11. 2023GeneGPT: Augmenting Large Language Models with Domain Tools for Improved Access to Biomedical Informationcited by 117
  12. 2019MedMentions: A Large Biomedical Corpus Annotated with UMLS Conceptscited by 80
7 more
  1. 2023Empirical Study of Zero-Shot NER with ChatGPTcited by 60
  2. 2022Data Curation Alone Can Stabilize In-context Learningcited by 59
  3. 2023Prompt Engineering a Prompt Engineercited by 53
  4. 2023A Zero-shot and Few-shot Study of Instruction-Finetuned Large Language Models Applied to Clinical and Biomedical Taskscited by 25
  5. 2024Prompt engineering paradigms for medical applications: scoping review and recommendations for better practicescited by 14
  6. 2024Reddit-Impacts: A Named Entity Recognition Dataset for Analyzing Clinical and Social Effects of Substance Use Derived from Social Mediacited by 9
  7. 2022Decorate the Examples: A Simple Method of Prompt Design for Biomedical Relation Extractioncited by 5

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 1.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024LLMs in Biomedicine: A study on clinical Named Entity Recognition
  2. 2024Large Language Models Struggle in Token-Level Clinical Named Entity Recognition
  3. 2025Leveraging Large Language Models for Rare Disease Named Entity Recognition
  4. 2023Inspire the Large Language Model by External Knowledge on BioMedical Named Entity Recognition
  5. 2025CodeNER: Code Prompting for Named Entity Recognition
  6. 2024LLMs are not Zero-Shot Reasoners for Biomedical Information Extraction
  7. 2023An Empirical Evaluation of Prompting Strategies for Large Language Models in Zero-Shot Clinical Natural Language Processing
  8. 2023How far is Language Model from 100% Few-shot Named Entity Recognition in Medical Domain