CoChat

Learning to Make Rare and Complex Diagnoses With Generative AI Assistance: Qualitative Study of Popular Large Language Models

Open access
Abdullahi, Tassallah, Singh, Ritambhara, Eickhoff, Carsten · 2024 · JMIR Medical Education

Published version of a preprint

The DOI matches its Crossref record; 27 of the 27 references it cites were found in a registry or an index.

Abstract

Background: Patients with rare and complex diseases often experience delayed diagnoses and misdiagnoses because comprehensive knowledge about these diseases is limited to only a few medical experts. In this context, large language models (LLMs) have emerged as powerful knowledge aggregation tools with applications in clinical decision support and education domains. Objective: This study aims to explore the potential of 3 popular LLMs, namely Bard (Google LLC), ChatGPT-3.5 (OpenAI), and GPT-4 (OpenAI), in medical education to enhance the diagnosis of rare and complex diseases while investigating the impact of prompt engineering on their performance. Methods: We conducted experiments on publicly available complex and rare cases to achieve these objectives. We implemented various prompt strategies to evaluate the performance of these models using both open-ended and multiple-choice prompts. In addition, we used a majority voting strategy to leverage diverse reasoning paths within language models, aiming to enhance their reliability. Furthermore, we compared their performance with the performance of human respondents and MedAlpaca, a generative LLM specifically designed for medical tasks. Results: Notably, all LLMs outperformed the average human consensus and MedAlpaca, with a minimum margin of 5% and 13%, respectively, across all 30 cases from the diagnostic case challenge collection. On the frequently misdiagnosed cases category, Bard tied with MedAlpaca but surpassed the human average consensus by 14%, whereas GPT-4 and ChatGPT-3.5 outperformed MedAlpaca and the human respondents on the moderately often misdiagnosed cases category with minimum accuracy scores of 28% and 11%, respectively. The majority voting strategy, particularly with GPT-4, demonstrated the highest overall score across all cases from the diagnostic complex case collection, surpassing that of other LLMs. On the Medical Information Mart for Intensive Care-III data sets, Bard and GPT-4 achieved the highest diagnostic accuracy scores, with multiple-choice prompts scoring 93%, whereas ChatGPT-3.5 and MedAlpaca scored 73% and 47%, respectively. Furthermore, our results demonstrate that there is no one-size-fits-all prompting approach for improving the performance of LLMs and that a single strategy does not universally apply to all LLMs. Conclusions: Our findings shed light on the diagnostic capabilities of LLMs and the challenges associated with identifying an optimal prompting strategy that aligns with each language model’s characteristics and specific task requirements. The significance of prompt engineering is highlighted, providing valuable insights for researchers and practitioners who use these language models for medical training. Furthermore, this study represents a crucial step toward understanding how LLMs can enhance diagnostic reasoning in rare and complex medical cases, paving the way for developing effective educational tools and accurate diagnostic aids to improve patient care and outcomes.

Overview

The claims and statistics of this paper haven’t been checked yet.

Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

Crossref · 10.2196/51391

Cites

27 of 27 references verified0 citation errors · 0 not checkable

Statistics

Figures

Figure 1 Our proposed method contains the following steps: (1) prompt a language model using a distinct set of prompts, (2) obtain diverse responses, and (3) choose the most consistent response as the final answer (majority voting).
Figure 1 Our proposed method contains the following steps: (1) prompt a language model using a distinct set of prompts, (2) obtain diverse responses, and (3) choose the most consistent response as the final answer (majority voting).CC BY · PubMed Central
Figure 2 Results of the diagnostic case challenge collection data set comparing prompt strategies. OpenAI GPT-4 outperformed all other models, achieving the highest score in all 30 cases using the majority voting approach. Furthermore, all large language models except MedAlpaca outperformed the human consensus (denoted by a black dashed line) across all cases, regardless of the difficulty, using at least 1 prompt approach. GPT-4: generative pretrained transformer-4.
Figure 2 Results of the diagnostic case challenge collection data set comparing prompt strategies. OpenAI GPT-4 outperformed all other models, achieving the highest score in all 30 cases using the majority voting approach. Furthermore, all large language models except MedAlpaca outperformed the human consensus (denoted by a black dashed line) across all cases, regardless of the difficulty, using at least 1 prompt approach. GPT-4: generative pretrained transformer-4.CC BY · PubMed Central
Figure 3 Results of the Medical Information Mart for Intensive Care-III data set across prompt strategies. Approach 1 (open-ended prompt) proved challenging for all the large language models compared with approach 2 (multiple-choice prompt) and approach 3 (ranking prompt).
Figure 3 Results of the Medical Information Mart for Intensive Care-III data set across prompt strategies. Approach 1 (open-ended prompt) proved challenging for all the large language models compared with approach 2 (multiple-choice prompt) and approach 3 (ranking prompt).CC BY · PubMed Central

Verification

Claims the paper makes

The claims and statistics of this paper haven’t been checked yet.

Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.

A few free checks a day · papers already verified open instantly · results are public

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

The self-check needs the paper’s full text.

Citations

Cites

Show all 27 references

Research works printed but not linked: 7

  1. Achiam J Adler S Agarwal S Ahmad L Akkaya I Aleman FL Almeida D Altenschmidt J Altman S Anadkat S Avila R Babuschkin I Balaji S Balcom V Baltescu P Bao H Bavarian M Belgum J Bello I Berdine J Bernadett-Shapiro G Berner C Bogdonoff L Boiko O Boyd M Brakman AL Brockman G Brooks T Brundage M Button K Cai T Campbell R Cann A Carey B Carlson C Carmichael R Chan B Chang C Chantzis F Chen D Chen S Chen R Chen J Chen M Chess B Cho C Chu C Chung HW Cummings D Currier J Dai Y Decareaux C Degry T Deutsch N Deville D Dhar A Dohan D Dowling S Dunning S Ecoffet A Eleti A Eloundou T Farhi D Fedus L Felix N Fishman SP Forte J Fulford I Gao L Georges E Gibson C Goel V Gogineni T Goh G Gontijo-Lopes R Gordon J Grafstein M Gray S Greene R Gross J Gu SS Guo Y Hallacy C Han J Harris J He Y Heaton M Heidecke J Hesse C Hickey A Hickey W Hoeschele P Houghton B Hsu K Hu S Hu X Huizinga J Jain S Jain S GPT-4 technical report arXiv Preprint posted online March 15, 2023.
  2. Si C Gan Z Yang Z Wang S Wang J Boyd-Graber J Wang L Prompting GPT-3 to be reliable arXiv Preprint posted online October 17, 2022.
  3. Zhou Y Muresanu AI Han Z Paster K Pitis S Chan H Ba J Large language models are human-level prompt engineers arXiv Preprint posted online November 3, 2022.
  4. Han T Adams LC Papaioannou JM Grundmann P Oberhauser, T Löser A Truhn D Bressem KK MedAlpaca -- an open-source collection of medical conversational AI models and training data arXiv Preprint posted online April 14, 2023.
  5. Abdullahi TA Mercurio L Singh R Eickhoff C Retrieval-based diagnostic decision support JMIR Preprints Preprint posted online June 25, 2023. 10.2196/preprints.50209 PMC11222760 38896468 · doi:10.2196/preprints.50209
  6. Wei J Wang X Schuurmans D Bosma M Ichter B Xia F Chi E Le Q Zhou D Chain-of-thought prompting elicits reasoning in large language models arXiv Preprint posted online January 28, 2022.
  7. Wang X Wei J Schuurmans D Le Q Chi E Narang S Chowdhery A Zhou D Self-consistency improves chain of thought reasoning in language models arXiv Preprint posted online March 21, 2022.

Cited by

Metadata

Authors
Abdullahi, T., Singh, R., & Eickhoff, C.
Affiliations
  • Brown University (US)
  • University of Tübingen (DE)
Corresponding author
Eickhoff, Carsten
Venue
JMIR Medical Education
Published
2024-02-13
Volume
10
Pages
e51391
ISSN
2369-3762 (ISSN-L)
OpenAlex
W4389559041
Cited by
76
References
25
Citations by year
2026: 23 · 2025: 31 · 2024: 22
FWCI
3.04
Type
journal article
Language
en
Open access
Licence
cc-by
Locations
  • JMIR Medical Education (publishedVersion, cc-by)
  • PubMed Central (publishedVersion, cc-by)
  • PubMed (publishedVersion)
  • DOAJ (DOAJ: Directory of Open Access Journals) (submittedVersion)
Funders
Eberhard Karls Universität Tübingen
Topics
  • Health Sciences › Medicine › Health Informatics › Artificial Intelligence in Healthcare and Education
  • Health Sciences › Health Professions › Health Information Management › Artificial Intelligence in Healthcare
  • Physical Sciences › Computer Science › Artificial Intelligence › Machine Learning in Healthcare
Keywords
rare diseases, complex diseases, large language models, generative AI, diagnosis, prompt engineering, majority voting, clinical decision support, medical education, MIMIC-III, ChatGPT-3.5, GPT-4, bards, diagnostic accuracy, open-ended prompts, delayed diagnosis, misdiagnosis, human-AI comparison
MeSH terms
Educational Status, Humans, Language, Learning, Problem Solving, Reproducibility of Results

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review

Data sources

Bibliographic data: Semantic Scholar, OpenAlex, Crossref.

Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).

Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.