Previously submitted to: JMIR Medical Education (no longer under consideration since Dec 03, 2024)
Date Submitted: May 23, 2024
Warning: This is an author submission that is not peer-reviewed or edited. Preprints - unless they show as "accepted" - should not be relied on to guide clinical practice or health-related behavior and should not be reported in news media as established information.
AI Patient Actor: A Large-Language-Model-Based App for Medical Training
ABSTRACT
Standardized Patient (SP) simulations are integral but resource-intensive components of medical education, aimed at developing clinical interviewing and diagnostic skills. The nature of in-person SP encounters poses challenges in scalability and access. We introduce a web-based application leveraging a Large-Language Model (LLM) to simulate physician-patient interactions, thereby offering a scalable, cost-effective alternative for practicing clinical skills while receiving personalized formative feedback. The AI Patient Actor utilizes GPT-4o to create responsive, contextually appropriate simulated patient interactions based on expert-created clinical case scenarios. Python 3.10 and Streamlit provide the development framework, while LangChain optimizes prompt and case file processing. Whisper-3 speech recognition and synthesis enables multi-language vocal interaction. Formative feedback is generated immediately during the simulations, based on established medical education rubrics. The application delivers a conversational simulation environment where students can practice and refine interviewing and diagnostic skills. It minimizes resource constraints of traditional SP methods while enabling more equitable access across medical institutions. The design safeguards against the generation of erroneous medical advice by relying on expert-created case content. LLM-powered simulations present a new frontier for medical training in clinical communication and reasoning. The application stands out for its low operational costs, scalability, and multi-language capabilities, enhancing global accessibility. Continuing to evaluate the models’ fidelity, bias, and performance across different languages is pivotal to ensure its robustness and effectiveness in medical education.
Citation
Request queued. Please wait while the file is being generated. It may take some time.
Copyright
© The authors. All rights reserved. This is a privileged document currently under peer-review/community review (or an accepted/rejected manuscript). Authors have provided JMIR Publications with an exclusive license to publish this preprint on it's website for review and ahead-of-print citation purposes only. While the final peer-reviewed paper may be licensed under a cc-by license on publication, at this stage authors and publisher expressively prohibit redistribution of this draft paper other than for review purposes.