Key result
Prompt-engineered LLMs surpass NLP and rival medical experts in identifying recurrent arrhythmias from EHRs.
Why the study?
Large language models excel at unstructured public data but are limited on private electronic health records, leading to the hypothesis that prompt engineering could enhance their diagnostic accuracy.
Does prompt engineering improve the accuracy of large language models in identifying recurrent arrhythmias from electronic health records compared to traditional NLP and medical experts?
Does prompt engineering improve the accuracy of large language models in identifying recurrent arrhythmias from electronic health records compared to traditional NLP and medical experts?
Prompt engineering significantly enhances the ability of large language models to accurately extract complex clinical endpoints like arrhythmia recurrence from unstructured electronic health records without requiring domain-specific training.
Answers are grounded in this paper and cite their sources.
May facilitate scalable EHR-based arrhythmia research; leaves open prospective validation before clinical use.
BACKGROUND: Large language models (LLMs) such as Chat Generative Pre-trained Transformer (ChatGPT) excel at interpreting unstructured data from public sources, yet are limited when responding to queries on private repositories, such as electronic health records (EHRs). We hypothesized that prompt engineering could enhance the accuracy of LLMs for interpreting EHR data without requiring domain knowledge, thus expanding their utility for patients and personalized diagnostics. METHODS: We designed and systematically tested prompt engineering techniques to improve the ability of LLMs to interpret EHRs for nuanced diagnostic questions, referenced to a panel of medical experts. In 490 full-text EHR notes from 125 patients with prior life-threatening heart rhythm disorders, we asked GPT-4-turbo to identify recurrent arrhythmias distinct from prior events and tested 220 563 queries. To provide context, results were compared with rule-based natural language processing and Bidirectional Encoder Representations from Transformer-based language models. Experiments were repeated for 2 additional LLMs. Results were consistent for GPT-3.5-turbo and Jurassic-2 LLMs. CONCLUSIONS: The use of prompt engineering strategies enables LLMs to identify clinical end points from EHRs with an accuracy that surpassed natural language processing and approximated experts, yet without the need for expert knowledge. These approaches could be applied to LLM queries for other domains, to facilitate automated analysis of nuanced data sets with high accuracy by nonexperts.
No takes yet. Share an insight, caveat, or question.
Feng et al. (2024) studied prior life-threatening heart rhythm disorders (n=125). Prompt engineering with LLMs (GPT-4-turbo) vs. Rule-based natural language processing, BERT-based models, and medical experts was evaluated on Identify recurrent arrhythmias distinct from prior events (p=<0.05). Prompt engineering enabled LLMs to identify recurrent arrhythmias from EHRs with an accuracy surpassing natural language processing and approximating medical experts (P<0.05).
Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context: