Prompt engineering in consistency and reliability with the evidence-based guideline for LLMs
By Li Wang, Xi Chen, Xiangwen Deng, Hao Wen, MingKe You, Weizhi Liu, Qi Li, Jian Li. npj Digit. Medicine, 2024
391 citations recorded by the source corpus.
The use of large language models (LLMs) in clinical medicine is currently thriving. Effectively transferring LLMs’ pertinent theoretical knowledge from computer science to their application in clinical medicine is crucial. Prompt engineering has shown potential as an effective method in this regard. To explore the application of prompt engineering in LLMs and to examine the reliability of LLMs, different styles of prompts were designed and used to ask different LLMs about their agreement with the American Academy of Orthopedic Surgeons (AAOS) osteoarthritis (OA) evidence-based guidelines. Each question was asked 5 times. We compared the consistency of the findings with guidelines across different evidence levels for different prompts and assessed the reliability of different prompts by asking the same question 5 times. gpt-4-Web with ROT prompting had the highest overall consistency (62.9%) and a significant performance for strong recommendations, with a total consistency of 77.5%. The reliability of the different LLMs for different prompts was not stable (Fleiss kappa ranged from −0.002 to 0.984). This study revealed that different prompts had variable effects across various models, and the gpt-4-Web with ROT prompt was the most consistent. An appropriate prompt could improve the accuracy of responses to professional medical questions.
Subfields: Artificial Intelligence, Health Informatics, Molecular Biology
View Paper: https://www.semanticscholar.org/paper/7011b997fc539cad35510a58fefd2b22ba54f89e
Citations in the corpus
- Steering Language Models With Activation Engineering (2023, neutral): “Prompt engineering is the most obvious way to steer a model, but prompting has limited reliability (Ye & Durrett, 2022; Wang et al., 2024).”