Litcius/Paper detail

Prompt engineering with ChatGPT3.5 and GPT4 to improve patient education on retinal diseases

Hoyoung Jung, Jean Oh, Kirk Stephenson, Aaron W. Joe, Zaid Mammo

2024Canadian Journal of Ophthalmology15 citationsDOIOpen Access PDF

Abstract

OBJECTIVE: To assess the effect of prompt engineering on the accuracy, comprehensiveness, readability, and empathy of large language model (LLM)-generated responses to patient questions regarding retinal disease. DESIGN: Prospective qualitative study. PARTICIPANTS: Retina specialists, ChatGPT3.5, and GPT4. METHODS: Twenty common patient questions regarding 5 retinal conditions were inputted to ChatGPT3.5 and GPT4 as a stand-alone question or preceded by an optimized prompt (prompt A) or preceded by prompt A with specified limits to length and grade reading level (prompt B). Accuracy and comprehensiveness were graded by 3 retina specialists on a Likert scale from 1 to 5 (1: very poor to 5: very good). Readability of responses was assessed using Readable.com, an online readability tool. RESULTS: There were no significant differences between ChatGPT3.5 and GPT4 across any of the metrics tested. Median accuracy of responses to a stand-alone question, prompt A, and prompt B questions were 5.0, 5.0, and 4.0, respectively. Median comprehensiveness of responses to a stand-alone question, prompt A, and prompt B questions were 5.0, 5.0, and 4.0, respectively. The use of prompt B was associated with a lower accuracy and comprehensiveness than responses to stand-alone question or prompt A questions (p < 0.001). Average-grade reading level of responses across both LLMs were 13.45, 11.5, and 10.3 for a stand-alone question, prompt A, and prompt B questions, respectively (p < 0.001). CONCLUSIONS: Prompt engineering can significantly improve readability of LLM-generated responses, although at the cost of reducing accuracy and comprehensiveness. Further study is needed to understand the utility and bioethical implications of LLMs as a patient educational resource.

Topics & Concepts

ReadabilityEmpathyRetinalMedicineMedical educationPsychologyOptometryOphthalmologyComputer sciencePsychiatryProgramming languageArtificial Intelligence in Healthcare and EducationExplainable Artificial Intelligence (XAI)Retinal Imaging and Analysis
Prompt engineering with ChatGPT3.5 and GPT4 to improve patient education on retinal diseases | Litcius