DeepSeek vs ChatGPT vs Claude: benchmarking large language models for clinical diagnosis using a novel ICD-10-CM-based evaluation framework
摘要
Large language models have shown potential for supporting clinical reasoning, but their performance in open-ended diagnostic tasks remains insufficiently evaluated using clinically grounded and reproducible criteria. Many prior studies have relied on multiple-choice medical benchmarks or subjective expert ratings, which may not fully reflect the uncertainty and diagnostic complexity of real-world clinical encounters. This study aimed to benchmark state-of-the-art LLMs for open-ended clinical diagnosis using a hierarchical ICD-10-CM-based evaluation framework.
MethodsWe evaluated four LLMs: DeepSeek-V3, GPT-4o, GPT-4o mini, and Claude 3.5 Sonnet, on 50 real-world clinical cases from the publicly available MultiCaRe dataset. To reduce potential training-data leakage, only cases published after August 2024 were included. For each case, models generated three ranked differential diagnoses and corresponding ICD-10-CM codes. Diagnostic performance was assessed using a four-level hierarchical scoring framework based on ICD-10-CM structure, capturing both broad disease-category agreement and finer diagnostic specificity. Two independent runs were conducted per model-case pair to assess consistency. Descriptive statistics, pairwise one-tailed paired
DeepSeek-V3 achieved the highest mean diagnostic score (2.32
State-of-the-art LLMs demonstrated promising capability in open-ended clinical diagnosis, particularly for identifying clinically relevant disease categories. DeepSeek-V3 showed the strongest overall numerical performance in this benchmark, although differences across models were limited. The proposed ICD-10-CM-based hierarchical framework provides a reproducible and clinically meaningful approach for evaluating LLM diagnostic performance in open-ended settings.