Skip to main content
medRxiv
  • Home
  • About
  • Submit
  • ALERTS / RSS
Advanced Search

The Diagnostic and Triage Accuracy of the GPT-3 Artificial Intelligence Model

David M Levine, Rudraksh Tuwani, Benjamin Kompa, Amita Varma, Samuel G. Finlayson, Ateev Mehrotra, Andrew Beam
doi: https://doi.org/10.1101/2023.01.30.23285067
David M Levine
1Division of General Internal Medicine and Primary Care, Brigham and Women’s Hospital; Boston, MA, USA
2Harvard Medical School; Boston, MA, USA
MD, MPH, MA
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Rudraksh Tuwani
3Department of Biostatistics, Harvard T.H. Chan School of Public Health, Boston, MA
4Department of Epidemiology, Harvard T.H. Chan School of Public Health, Boston, MA
BS
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Benjamin Kompa
4Department of Epidemiology, Harvard T.H. Chan School of Public Health, Boston, MA
5Department of Biomedical Informatics, Harvard Medical School, Boston, MA
MPhil
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Amita Varma
3Department of Biostatistics, Harvard T.H. Chan School of Public Health, Boston, MA
4Department of Epidemiology, Harvard T.H. Chan School of Public Health, Boston, MA
BS
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Samuel G. Finlayson
6Harvard-MIT Program in Health Sciences and Technology, Harvard Medical School, Boston, MA
MD, PhD
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Ateev Mehrotra
7Department of Health Care Policy, Harvard Medical School
MD, MPH
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Andrew Beam
4Department of Epidemiology, Harvard T.H. Chan School of Public Health, Boston, MA
5Department of Biomedical Informatics, Harvard Medical School, Boston, MA
PhD
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • For correspondence: andrew_beam{at}hms.harvard.edu
  • Abstract
  • Full Text
  • Info/History
  • Metrics
  • Supplementary material
  • Data/Code
  • Preview PDF
Loading

ABSTRACT

Importance Artificial intelligence (AI) applications in health care have been effective in many areas of medicine, but they are often trained for a single task using labeled data, making deployment and generalizability challenging. Whether a general-purpose AI language model can perform diagnosis and triage is unknown.

Objective Compare the general-purpose Generative Pre-trained Transformer 3 (GPT-3) AI model’s diagnostic and triage performance to attending physicians and lay adults who use the Internet.

Design We compared the accuracy of GPT-3’s diagnostic and triage ability for 48 validated case vignettes of both common (e.g., viral illness) and severe (e.g., heart attack) conditions to lay people and practicing physicians. Finally, we examined how well calibrated GPT-3’s confidence was for diagnosis and triage.

Setting and Participants The GPT-3 model, a nationally representative sample of lay people, and practicing physicians.

Exposure Validated case vignettes (<60 words; <6th grade reading level).

Main Outcomes and Measures Correct diagnosis, correct triage.

Results Among all cases, GPT-3 replied with the correct diagnosis in its top 3 for 88% (95% CI, 75% to 94%) of cases, compared to 54% (95% CI, 53% to 55%) for lay individuals (p<0.001) and 96% (95% CI, 94% to 97%) for physicians (p=0.0354). GPT-3 triaged (71% correct; 95% CI, 57% to 82%) similarly to lay individuals (74%; 95% CI, 73% to 75%; p=0.73); both were significantly worse than physicians (91%; 95% CI, 89% to 93%; p<0.001). As measured by the Brier score, GPT-3 confidence in its top prediction was reasonably well-calibrated for diagnosis (Brier score = 0.18) and triage (Brier score = 0.22).

Conclusions and Relevance A general-purpose AI language model without any content-specific training could perform diagnosis at levels close to, but below physicians and better than lay individuals. The model was performed less well on triage, where its performance was closer to that of lay individuals.

Competing Interest Statement

The authors have declared no competing interest.

Funding Statement

Andrew Beam: Dr. Beam's work on this project was partially supported by funding from the National Heart, Lung, and Blood Institute (K01 HL141771).

Author Declarations

I confirm all relevant ethical guidelines have been followed, and any necessary IRB and/or ethics committee approvals have been obtained.

Yes

I confirm that all necessary patient/participant consent has been obtained and the appropriate institutional forms have been archived, and that any patient/participant/sample identifiers included were not known to anyone (e.g., hospital staff, patients or participants themselves) outside the research group so cannot be used to identify individuals.

Yes

I understand that all clinical trials and any other prospective interventional studies must be registered with an ICMJE-approved registry, such as ClinicalTrials.gov. I confirm that any such study reported in the manuscript has been registered and the trial registration ID is provided (note: if posting a prospective study registered retrospectively, please provide a statement in the trial ID field explaining why the study was not registered in advance).

Yes

I have followed all appropriate research reporting guidelines and uploaded the relevant EQUATOR Network research reporting checklist(s) and other pertinent material as supplementary files, if applicable.

Yes

Data Availability

All data produced are available online at https://github.com/beamlab-hsph/gpt3-clinical-vignettes

https://github.com/beamlab-hsph/gpt3-clinical-vignettes

Copyright 
The copyright holder for this preprint is the author/funder, who has granted medRxiv a license to display the preprint in perpetuity. It is made available under a CC-BY-NC-ND 4.0 International license.
Back to top
PreviousNext
Posted February 01, 2023.
Download PDF

Supplementary Material

Data/Code
Email

Thank you for your interest in spreading the word about medRxiv.

NOTE: Your email address is requested solely to identify you as the sender of this article.

Enter multiple addresses on separate lines or separate them with commas.
The Diagnostic and Triage Accuracy of the GPT-3 Artificial Intelligence Model
(Your Name) has forwarded a page to you from medRxiv
(Your Name) thought you would like to see this page from the medRxiv website.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
Share
The Diagnostic and Triage Accuracy of the GPT-3 Artificial Intelligence Model
David M Levine, Rudraksh Tuwani, Benjamin Kompa, Amita Varma, Samuel G. Finlayson, Ateev Mehrotra, Andrew Beam
medRxiv 2023.01.30.23285067; doi: https://doi.org/10.1101/2023.01.30.23285067
Twitter logo Facebook logo LinkedIn logo Mendeley logo
Citation Tools
The Diagnostic and Triage Accuracy of the GPT-3 Artificial Intelligence Model
David M Levine, Rudraksh Tuwani, Benjamin Kompa, Amita Varma, Samuel G. Finlayson, Ateev Mehrotra, Andrew Beam
medRxiv 2023.01.30.23285067; doi: https://doi.org/10.1101/2023.01.30.23285067

Citation Manager Formats

  • BibTeX
  • Bookends
  • EasyBib
  • EndNote (tagged)
  • EndNote 8 (xml)
  • Medlars
  • Mendeley
  • Papers
  • RefWorks Tagged
  • Ref Manager
  • RIS
  • Zotero
  • Tweet Widget
  • Facebook Like
  • Google Plus One

Subject Area

  • Health Informatics
Subject Areas
All Articles
  • Addiction Medicine (434)
  • Allergy and Immunology (760)
  • Anesthesia (222)
  • Cardiovascular Medicine (3316)
  • Dentistry and Oral Medicine (366)
  • Dermatology (282)
  • Emergency Medicine (480)
  • Endocrinology (including Diabetes Mellitus and Metabolic Disease) (1175)
  • Epidemiology (13403)
  • Forensic Medicine (19)
  • Gastroenterology (900)
  • Genetic and Genomic Medicine (5182)
  • Geriatric Medicine (483)
  • Health Economics (786)
  • Health Informatics (3286)
  • Health Policy (1146)
  • Health Systems and Quality Improvement (1199)
  • Hematology (432)
  • HIV/AIDS (1024)
  • Infectious Diseases (except HIV/AIDS) (14657)
  • Intensive Care and Critical Care Medicine (917)
  • Medical Education (478)
  • Medical Ethics (128)
  • Nephrology (526)
  • Neurology (4957)
  • Nursing (263)
  • Nutrition (735)
  • Obstetrics and Gynecology (889)
  • Occupational and Environmental Health (797)
  • Oncology (2531)
  • Ophthalmology (730)
  • Orthopedics (284)
  • Otolaryngology (348)
  • Pain Medicine (323)
  • Palliative Medicine (90)
  • Pathology (547)
  • Pediatrics (1308)
  • Pharmacology and Therapeutics (552)
  • Primary Care Research (559)
  • Psychiatry and Clinical Psychology (4225)
  • Public and Global Health (7526)
  • Radiology and Imaging (1717)
  • Rehabilitation Medicine and Physical Therapy (1022)
  • Respiratory Medicine (982)
  • Rheumatology (480)
  • Sexual and Reproductive Health (500)
  • Sports Medicine (425)
  • Surgery (551)
  • Toxicology (73)
  • Transplantation (237)
  • Urology (206)