Skip to main content
QUICK REVIEW

[Paper Review] The Potential and Pitfalls of using a Large Language Model such as ChatGPT or GPT-4 as a Clinical Assistant

Jingqing Zhang, Kai Sun|arXiv (Cornell University)|Jul 16, 2023
Artificial Intelligence in Healthcare and EducationMedicine7 citations
TL;DR

This study evaluates GPT-4 and ChatGPT as clinical assistants using real electronic health records and simulated patient cases. It finds that GPT-4 achieves up to 96% F1 score in disease classification with chain-of-thought and few-shot prompting, but exhibits factual errors, missed findings, and overtreatment risks, limiting current clinical utility despite scalability potential.

ABSTRACT

Recent studies have demonstrated promising performance of ChatGPT and GPT-4 on several medical domain tasks. However, none have assessed its performance using a large-scale real-world electronic health record database, nor have evaluated its utility in providing clinical diagnostic assistance for patients across a full range of disease presentation. We performed two analyses using ChatGPT and GPT-4, one to identify patients with specific medical diagnoses using a real-world large electronic health record database and the other, in providing diagnostic assistance to healthcare workers in the prospective evaluation of hypothetical patients. Our results show that GPT-4 across disease classification tasks with chain of thought and few-shot prompting can achieve performance as high as 96% F1 scores. For patient assessment, GPT-4 can accurately diagnose three out of four times. However, there were mentions of factually incorrect statements, overlooking crucial medical findings, recommendations for unnecessary investigations and overtreatment. These issues coupled with privacy concerns, make these models currently inadequate for real world clinical use. However, limited data and time needed for prompt engineering in comparison to configuration of conventional machine learning workflows highlight their potential for scalability across healthcare applications.

Motivation & Objective

  • To assess the performance of GPT-4 and ChatGPT in identifying patients with specific medical diagnoses using a large-scale real-world electronic health record (EHR) database.
  • To evaluate the utility of these large language models in providing diagnostic assistance to healthcare professionals for hypothetical patient cases.
  • To identify and analyze factual inaccuracies, clinical reasoning flaws, and ethical concerns such as privacy risks in deploying LLMs in clinical settings.
  • To compare the time and data requirements of prompt engineering with conventional machine learning workflows, assessing scalability potential.

Proposed method

  • Conducted a retrospective analysis using a large real-world EHR database to train and evaluate disease classification using GPT-4 with chain-of-thought and few-shot prompting.
  • Designed a prospective simulation study where GPT-4 was prompted to assess hypothetical patient cases based on clinical notes and symptoms.
  • Employed few-shot prompting and chain-of-thought reasoning to improve model consistency and diagnostic accuracy in classification tasks.
  • Evaluated model outputs against gold-standard clinical diagnoses to compute F1 scores and assess clinical reasoning quality.
  • Identified and categorized errors in model responses, including factual inaccuracies, overlooked critical findings, and recommendations for unnecessary tests or treatments.
  • Assessed privacy and security concerns related to EHR data exposure through LLM interactions.

Experimental results

Research questions

  • RQ1Can GPT-4 achieve high diagnostic accuracy in classifying diseases from real-world EHR data using prompt engineering techniques?
  • RQ2How does GPT-4 perform in providing clinical diagnostic assistance for hypothetical patient cases compared to standard clinical reasoning?
  • RQ3What types of factual, clinical, and ethical errors emerge when using GPT-4 as a clinical assistant?
  • RQ4How do the data and time requirements for prompt engineering compare to traditional machine learning pipeline development in healthcare?

Key findings

  • GPT-4 achieved an F1 score of up to 96% in disease classification tasks when using chain-of-thought and few-shot prompting on real EHR data.
  • In prospective patient case assessments, GPT-4 accurately diagnosed three out of four cases, indicating strong diagnostic potential.
  • The model generated factually incorrect statements in a significant number of responses, including misrepresentations of clinical findings and guidelines.
  • GPT-4 frequently overlooked critical medical information, such as contraindications or comorbidities, in patient summaries.
  • The model recommended unnecessary investigations and treatments in multiple cases, indicating a risk of overtreatment.
  • Privacy concerns remain a major barrier, as LLM interactions may expose sensitive EHR data, limiting real-world deployment.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.