Abstract
Background
Although history taking is fundamental for diagnosing medical conditions, teaching and providing feedback on the skill can be challenging due to resource constraints. Virtual simulated patients and web-based chatbots have thus emerged as educational tools, with recent advancements in artificial intelligence (AI) such as large language models (LLMs) enhancing their realism and potential to provide feedback.


Objective
In our study, we aimed to evaluate the effectiveness of a Generative Pretrained Transformer (GPT) 4 model to provide structured feedback on medical students’ performance in history taking with a simulated patient.


Methods
We conducted a prospective study involving medical students performing history taking with a GPT-powered chatbot. To that end, we designed a chatbot to simulate patients’ responses and provide immediate feedback on the comprehensiveness of the students’ history taking. Students’ interactions with the chatbot were analyzed, and feedback from the chatbot was compared with feedback from a human rater. We measured interrater reliability and performed a descriptive analysis to assess the quality of feedback.


Results
Most of the study’s participants were in their third year of medical school. A total of 1894 question-answer pairs from 106 conversations were included in our analysis. GPT-4’s role-play and responses were medically plausible in more than 99% of cases. Interrater reliability between GPT-4 and the human rater showed “almost perfect” agreement (Cohen κ=0.832). Less agreement (κ<0.6) detected for 8 out of 45 feedback categories highlighted topics about which the model’s assessments were overly specific or diverged from human judgement.


Conclusions
The GPT model was effective in providing structured feedback on history-taking dialogs provided by medical students. Although we unraveled some limitations regarding the specificity of feedback for certain feedback categories, the overall high agreement with human raters suggests that LLMs can be a valuable tool for medical education. Our findings, thus, advocate the careful integration of AI-driven feedback mechanisms in medical training and highlight important aspects when LLMs are used in that context.
Topics

No keywords indexed for this article. Browse by subject →

References
47
[2]
Peterson, MC West J Med (1992)
[10]
A scoping review: virtual patients for communication skills in medical undergraduates

Síle Kelly, Erica Smyth, Paul Murphy et al.

BMC Medical Education 10.1186/s12909-022-03474-9
[11]
The effectiveness of using virtual patient educational tools to improve medical students’ clinical reasoning skills: a systematic review

Ruth Plackett, Angelos P. Kassianos, Sophie Mylan et al.

BMC Medical Education 10.1186/s12909-022-03410-x
[12]
Artificial Intelligence Supporting the Training of Communication Skills in the Education of Health Care Professions: Scoping Review

Tjorven Stamer, Jost Steinhäuser, Kristina Flägel

Journal of Medical Internet Research 10.2196/43311
[19]
Practical and ethical challenges of large language models in education: A systematic scoping review

Lixiang Yan, Lele Sha, Linxuan Zhao et al.

British Journal of Educational Technology 10.1111/bjet.13370
[21]
Utilizing OpenAI's GPT‐4 for written feedback

Makenna Carlson, Austin Pack, Juan Escalante

TESOL Journal 10.1002/tesj.759
[28]
Survey of Hallucination in Natural Language Generation

Ziwei Ji, Nayeon Lee, Rita Frieske et al.

ACM Computing Surveys 10.1145/3571730
[29]
OpenAI Platform2024-02-03https://platform.openai.com
[31]
R: A Language and Environment for Statistical Computing (2023)
[32]
The Measurement of Observer Agreement for Categorical Data

J. Richard Landis, Gary G. Koch

Biometrics 1977 10.2307/2529310
[33]
Bias, prevalence and kappa

Ted Byrt, Janet Bishop, John B. Carlin

Journal of Clinical Epidemiology 10.1016/0895-4356(93)90018-v
[35]
FagbohunOHarrisonRMDereventsovAAn empirical categorization of prompting techniques for large language models: a practitioner's guidearXiv20242024-03-25http://arxiv.org/abs/2402.14837
[36]
GPT-42024-03-25https://openai.com/research/gpt-4
[44]
HäkkinenJRamadanZA Study on the Perception of Feedback with Varying Sentiment Generated Using a Large Language Model20232024-03-25Stockholm, Swedemhttps://www.diva-portal.org/smash/get/diva2:1779789/FULLTEXT01.pdf
[46]
Bowman, SR arXiv (2023)
Metrics
94
Citations
47
References
Details
Published
Aug 16, 2024
Vol/Issue
10
Pages
e59213
Cite This Article
Friederike Holderried, Christian Stegemann-Philipps, Anne Herrmann-Werner, et al. (2024). A Language Model–Powered Simulated Patient With Automated Feedback for History Taking: Prospective Study. JMIR Medical Education, 10, e59213. https://doi.org/10.2196/59213