DiagRare-Bench: Separating Disease Priors from Patient Evidence in Language Models for Clinical Diagnosis

Raghavan, Dharini, Singh, Amritpal

–arXiv.org Artificial Intelligence 

A differential diagnosis depends on both the findings of an individual patient and the prevalence of competing diseases. We introduce DiagRare-Bench to quantify how large language models (LLMs) weigh these two sources of information. We fit a Plackett--Luce model to ranked diagnoses, with disease prevalence and case-specific evidence as covariates. Its evidence coefficient, $γ_{\mathrm{evidence}}$, measures the change in fitted pairwise log odds per unit evidence contrast at a fixed prevalence contrast. The estimator requires only generated rankings, enabling black-box evaluation. We evaluate 25 open-weight LLMs on 984 cases spanning 82 diseases and nine organ systems. Evidence responsiveness estimated from static rankings correlates with responses to independently varied evidence strength ($r=0.689$) and diagnostic recovery after new findings arrive ($r=0.860$). The coefficient also correlates with top-1 accuracy ($r=0.843$). Across 3,562 CUPCase reports and 22,901 RareArena cases, evidence coefficients correlate with those from the primary benchmark ($r=0.662$ and $r=0.790$, respectively). Changing the referral context shifts 7--50\% of top-ranked diagnoses across six LLMs, while aggregate accuracy changes by less than 3.3 percentage points per model. These findings show how ranked differentials and controlled interventions can complement diagnostic accuracy in evaluating LLM behavior. Code, data, and an expanded leaderboard of 32 LLMs are publicly available at https://github.com/rdharini2001/DiagRare