Scientific article
Review
OA Policy
English

Prompt engineering paradigms for medical applications : scoping review

Published inJMIR. Journal of medical internet research, vol. 26, e60501
Publication date2024-09-10
First online date2024-09-10
Abstract

Background: Prompt engineering, focusing on crafting effective prompts to large language models (LLMs), has garnered attention for its capabilities at harnessing the potential of LLMs. This is even more crucial in the medical domain due to its specialized terminology and language technicity. Clinical natural language processing applications must navigate complex language and ensure privacy compliance. Prompt engineering offers a novel approach by designing tailored prompts to guide models in exploiting clinically relevant information from complex medical texts. Despite its promise, the efficacy of prompt engineering in the medical domain remains to be fully explored.

Objective: The aim of the study is to review research efforts and technical approaches in prompt engineering for medical applications as well as provide an overview of opportunities and challenges for clinical practice.

Methods: Databases indexing the fields of medicine, computer science, and medical informatics were queried in order to identify relevant published papers. Since prompt engineering is an emerging field, preprint databases were also considered. Multiple data were extracted, such as the prompt paradigm, the involved LLMs, the languages of the study, the domain of the topic, the baselines, and several learning, design, and architecture strategies specific to prompt engineering. We include studies that apply prompt engineering-based methods to the medical domain, published between 2022 and 2024, and covering multiple prompt paradigms such as prompt learning (PL), prompt tuning (PT), and prompt design (PD).

Results: We included 114 recent prompt engineering studies. Among the 3 prompt paradigms, we have observed that PD is the most prevalent (78 papers). In 12 papers, PD, PL, and PT terms were used interchangeably. While ChatGPT is the most commonly used LLM, we have identified 7 studies using this LLM on a sensitive clinical data set. Chain-of-thought, present in 17 studies, emerges as the most frequent PD technique. While PL and PT papers typically provide a baseline for evaluating prompt-based approaches, 61% (48/78) of the PD studies do not report any nonprompt-related baseline. Finally, we individually examine each of the key prompt engineering-specific information reported across papers and find that many studies neglect to explicitly mention them, posing a challenge for advancing prompt engineering research.

Conclusions: In addition to reporting on trends and the scientific landscape of prompt engineering, we provide reporting guidelines for future studies to help advance research in the medical field. We also disclose tables and figures summarizing medical prompt engineering papers available and hope that future contributions will leverage these existing works to better advance the field.

Keywords
  • LLMs
  • NLP
  • Clinical natural language processing
  • Clinical practice
  • Computer science
  • Large language models
  • Medical application
  • Medical applications
  • Medical informatics
  • Medical texts
  • Medicine
  • Natural language processing
  • Privacy
  • Prompt design
  • Prompt engineering
  • Prompt learning
  • Prompt tuning
  • Scoping review
  • Humans
  • Natural Language Processing
  • Medical Informatics / methods
Citation (ISO format)
ZAGHIR, Jamil et al. Prompt engineering paradigms for medical applications : scoping review. In: JMIR. Journal of medical internet research, 2024, vol. 26, p. e60501. doi: 10.2196/60501
Main files (1)
Article (Published version)
Secondary files (3)
Identifiers
ISSN of the journal1438-8871
17views
1downloads

Technical informations

Creation12/09/2024 09:38:16
First validation23/09/2024 09:02:19
Update time23/09/2024 09:02:19
Status update23/09/2024 09:02:19
Last indexation05/10/2024 20:17:30
All rights reserved by Archive ouverte UNIGE and the University of GenevaunigeBlack