Medical Incident Causal Factors and Preventive Measures Generation Using Tag-based Example Selection in Few-shot Learning
Not on the map. Why?
Abstract (arXiv)
In high-stakes domains such as healthcare, the reliability of Large Language Models (LLMs) is critical, particularly when generating clinical insights from incident reports. This study proposes a tag-based few-shot example selection method for prompting LLMs to generate background/causal factors and preventive measures from details of the medical incidents. For our experiments, we use the Japanese Medical Incident Dataset (JMID), a structured dataset of 3,884 real-world medical accident and near-miss reports. These reports are variably annotated with a wide range of tags--some include descriptive information (e.g., "medications," "blood transfusion therapy"). We compare three few-shot example selection strategies--random sampling, cosine similarity-based selection, and our proposed tag-based method--using GPT-4o and LLaMA 3.3. Results show that the tag-based approach achieves the highest precision and most stable generation behavior, while similarity-based selection often leads to unintended outputs and safety filter activation. These findings suggest that selecting examples based on human-interpretable dataset tags can improve generation precision and stability in clinical LLM applications.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 17 of its 23 references that are in the map. First posted on arXiv 11 May 2026.
Builds on
17 of 23 references.
References · 17
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2019BERTScore: Evaluating Text Generation with BERTcited by 5,512
- 2022Large Language Models Encode Clinical Knowledgecited by 1,830
- 2020What Disease does this Patient Have? A Large-scale Open Domain Question Answering Dataset from Medical Examscited by 1,356
- 2019PubMedQA: A Dataset for Biomedical Research Question Answeringcited by 1,288
- 2021What Makes Good In-Context Examples for GPT-3?cited by 1,195
- 2023MEDITRON-70B: Scaling Medical Pretraining for Large Language Modelscited by 274
- 2023Adapted Large Language Models Can Outperform Medical Experts in Clinical Text Summarizationcited by 246
- 2024Capabilities of Gemini Models in Medicinecited by 237
- 2025Medical Hallucinations in Foundation Models and Their Impact on Healthcarecited by 93
- 2024Towards Building Multilingual Language Model for Medicinecited by 92
5 more
- 2023Unleashing the potential of prompt engineering for large language modelscited by 72
- 2023Evaluating GPT-4 and ChatGPT on Japanese Medical Licensing Examinationscited by 63
- 2023Skill-Based Few-Shot Selection for In-Context Learningcited by 46
- 2024Use Random Selection for Now: Investigation of Few-Shot Selection Strategies in LLM-based Text Augmentation for Classificationcited by 7
- 2024Automatic Combination of Sample Selection Strategies for Few-Shot Learningcited by 5
Built on by
Not cited yet.