Towards Accurate Differential Diagnosis with Large Language Models

Daniel McDuff, Mike Schaekermann, Tao Tu, Anil Palepu, Amy Wang, Jake Garrison, Karan Singhal, Yash Sharma, Shekoofeh Azizi, Kavita Kulkarni, Le Hou, Yong Cheng, Yun Liu, S. Sara Mahdavi, Sushant Prakash, Anupam Pathak, Christopher Semturs, Shwetak N. Patel, Dale R. Webster, Ewa Dominowska, Juraj Gottweis, Joelle K. Barral, Katherine Chou, Gregory S. Corrado, Yossi Matias, Jake Sunshine, Alan Karthikesalingam, Vivek Natarajan · DOI

TL;DR

This paper introduces a Large Language Model (LLM) specifically fine-tuned for differential diagnosis (DDx) in complex medical cases. The LLM not only performs better than unassisted clinicians on its own but also significantly improves clinician accuracy and comprehensiveness when used as an assistive tool, outperforming traditional search engines.

What Problem Does This Paper Address?

Accurate differential diagnosis (DDx) is a critical, yet complex, part of medical care. It involves an iterative process of interpreting clinical information to generate a list of possible diagnoses. While AI has shown promise in specific medical domains, there's a need for tools that can assist clinicians in this nuanced, interactive reasoning process, especially for challenging cases. Existing LLMs are powerful, but their application in real-world clinical diagnostic workflows, particularly as assistive tools, requires rigorous evaluation beyond simple accuracy metrics.

Methods

The researchers developed a specialized LLM, "LLM for DDx," built upon Google's PaLM 2 architecture and fine-tuned on medical data. This model was integrated into an interactive chat interface. The study employed a two-stage reader design:

  1. Stage 1: Generalist clinicians were tasked with generating DDx lists for challenging medical cases, first unassisted, and then with either access to search engines/resources or the LLM for DDx.
  2. Stage 2: Specialist clinicians evaluated the quality, appropriateness, and comprehensiveness of these DDx lists, comparing them against a gold standard derived from expert discussions.

Automated evaluation using another LLM (Med-PaLM 2) was also used to assess top-N accuracy.

Datasets

The primary dataset used was 302 challenging, real-world medical cases sourced from the New England Journal of Medicine (NEJM) Clinicopathological Conference (CPC) case reports. These cases were selected for their diagnostic complexity. The LLM was fine-tuned on a mixture of medical question answering datasets (MultiMedQA), medical conversations, and EHR note summaries.

Key Insights and Ideas

  • LLMs as Diagnostic Assistants: The study strongly suggests that LLMs can be more than just information retrieval tools; they can actively participate in and enhance the diagnostic reasoning process.
  • Beyond Top-N Accuracy: While top-N accuracy is important, the evaluation also highlighted the LLM's impact on the quality, appropriateness, and comprehensiveness of the differential diagnoses generated.
  • Interactive Reasoning: The conversational interface allows clinicians to probe the LLM, leading to more thorough and diverse differential lists, potentially uncovering diagnoses that might be overlooked.
  • Educational Potential: Clinicians noted the LLM's potential as a powerful tool for medical education and learning.

Key Results

  • Standalone Performance: The LLM for DDx, in a standalone capacity, achieved a top-10 accuracy of 59.1%, significantly outperforming unassisted clinicians (33.6%).
  • Assistive Performance: Clinicians assisted by the LLM for DDx generated DDx lists with higher quality scores (51.7% top-10 accuracy) compared to those assisted by search engines (36.1%) or unassisted (33.6%).
  • Comprehensiveness: Clinicians assisted by the LLM produced more comprehensive differential lists than those without LLM assistance.
  • Quality Metrics: The LLM-assisted clinicians also showed statistically significant improvements in quality, appropriateness, and comprehensiveness scores compared to unassisted clinicians and those using search.
  • Task Duration: The time taken to generate updated DDx lists was similar between the LLM and search assistance conditions, suggesting the LLM interface was intuitive despite being new to users.

Limitations and Future Work

  • Case Format: The NEJM CPC case reports are structured as "puzzles" with sufficient clues, which may differ from the typical, less structured initial presentation of a patient in a real clinical encounter.
  • "Zebras" vs. "Horses": The study used challenging cases ("zebras") rather than common conditions ("horses"), so results might not directly translate to daily clinical practice.
  • Multimodality: The LLM was text-only, while clinicians had access to images and tables. The impact of integrating multimodal inputs remains an area for future research.
  • Trust and Confabulation: Clinicians expressed concerns about potential inaccuracies and confabulations, especially for those without a strong clinical background. Further research is needed on how clinicians build trust and validate LLM outputs.
  • Generalizability: The study used experienced clinicians; future work should explore LLM utility across a wider range of users and clinical settings, including lower-resource environments.
  • Clinical Reasoning Process: The study focused on the output (DDx lists) but did not deeply explore how the LLM impacts the underlying clinical reasoning process.

Summary updated

Abstract

An accurate differential diagnosis (DDx) is a cornerstone of medical care, often reached through an iterative process of interpretation that combines clinical history, physical examination, investigations and procedures. Interactive interfaces powered by Large Language Models (LLMs) present new opportunities to both assist and automate aspects of this process. In this study, we introduce an LLM optimized for diagnostic reasoning, and evaluate its ability to generate a DDx alone or as an aid to clinicians. 20 clinicians evaluated 302 challenging, real-world medical cases sourced from the New England Journal of Medicine (NEJM) case reports. Each case report was read by two clinicians, who were randomized to one of two assistive conditions: either assistance from search engines and standard medical resources, or LLM assistance in addition to these tools. All clinicians provided a baseline, unassisted DDx prior to using the respective assistive tools. Our LLM for DDx exhibited standalone performance that exceeded that of unassisted clinicians (top-10 accuracy 59.1% vs 33.6%, [p = 0.04]). Comparing the two assisted study arms, the DDx quality score was higher for clinicians assisted by our LLM (top-10 accuracy 51.7%) compared to clinicians without its assistance (36.1%) (McNemar's Test: 45.7, p < 0.01) and clinicians with search (44.4%) (4.75, p = 0.03). Further, clinicians assisted by our LLM arrived at more comprehensive differential lists than those without its assistance. Our study suggests that our LLM for DDx has potential to improve clinicians' diagnostic reasoning and accuracy in challenging cases, meriting further real-world evaluation for its ability to empower physicians and widen patients' access to specialist-level expertise.
BibTeX
@inproceedings{mcduff2025towards,
  author = {Daniel McDuff and Mike Schaekermann and Tao Tu and Anil Palepu and Amy Wang and Jake Garrison and Karan Singhal and Yash Sharma and Shekoofeh Azizi and Kavita Kulkarni and Le Hou and Yong Cheng and Yun Liu and S. Sara Mahdavi and Sushant Prakash and Anupam Pathak and Christopher Semturs and Shwetak N. Patel and Dale R. Webster and Ewa Dominowska and Juraj Gottweis and Joelle K. Barral and Katherine Chou and Gregory S. Corrado and Yossi Matias and Jake Sunshine and Alan Karthikesalingam and Vivek Natarajan},
  title = {{Towards Accurate Differential Diagnosis with Large Language Models}},
  booktitle = {Nature},
  year = {2025},
  doi = {10.1038/s41586-025-08869-4},
}
Figure