TL;DR
When diagnosing a patient, a clinician—or an AI—must balance how common a disease is (the prior) against how well the patient's symptoms match it (the evidence). DiagRare-Bench introduces a black-box statistical method that inspects an LLM's ranked list of diagnoses to measure how strongly it responds to patient evidence versus disease prevalence. Across 25 open-weight LLMs, this "evidence responsiveness" score predicts how well a model revises its diagnosis when new findings arrive, and reveals that changing clinical context can flip up to half of a model's top diagnoses even when its overall accuracy barely budges.
What Problem Does This Paper Address?
Most clinical LLM evaluations boil down to a single number: top-1 accuracy. Did the model pick the right disease?
But real-world diagnosis isn't a multiple-choice quiz; it's a differential diagnosis—a ranked list of competing possibilities. A model might get the right answer simply by guessing a common condition, or it might stubbornly cling to disease prevalence while ignoring specific, telltale symptoms. Conversely, two models can have the exact same top-1 accuracy while behaving very differently under the hood. Without peeking inside a model's weights or logits, how can we tell whether an LLM is actually weighing patient evidence?
Methods
The authors treat an LLM's ranked differential diagnosis like a classic choice experiment. For each case, they ask the model to output a top-3 ranking of diagnoses from a fixed vocabulary. They then fit a Plackett–Luce model (a standard statistical model for rankings) to those outputs using two covariates:
- Disease prior, $p(d)$: The log prevalence of the disease.
- Case-specific evidence, $e_i(d)$: A log-likelihood-ratio score summarizing how well the patient's present and absent findings match the disease.
The key output is the fitted evidence coefficient, $\gamma_{\text{evidence}}$, which measures how much the pairwise log-odds of ranking one disease over another change per unit of evidence contrast, holding prevalence fixed. Because the estimator only needs the generated text rankings, it works on any black-box model.
To test whether this static ranking metric actually reflects dynamic reasoning, the authors run two controlled interventions:
- A $3 \times 3$ factorial experiment: Independently varying target-supportive evidence (weak, medium, strong) and stated prevalence (rare, equal, common) across disease pairs.
- A sequential revision task: Presenting evidence for a competing "confounder" disease first, followed by target-specific evidence, to measure how often the model recovers and updates its diagnosis.
Datasets
- DiagRare-Bench (Primary): 984 controlled diagnostic vignettes spanning 82 diseases and 9 organ systems (expanding an earlier 696-case benchmark), with 12 cases per disease across three difficulty levels.
- External Case Reports: 3,562 cases from CUPCase and 22,901 cases from RareArena, where priors are proxied by PubMed counts and evidence by TF-IDF similarity.
- Intervention Sets: 27 target–confounder disease pairs for the factorial experiment, and 82 pairs for sequential diagnostic revision.
Key Insights and Ideas
- Static rankings predict dynamic behavior: A model's $\gamma_{\text{evidence}}$ estimated from a single static ranking strongly predicts how it will react when you independently dial up evidence strength or feed it new findings over multiple turns.
- Aggregate accuracy hides massive preference shifts: Changing the prompt's referral context (e.g., framing the case as a rare-disease referral where common conditions have been excluded) shifts 7–50% of top-ranked diagnoses across six LLMs, yet overall accuracy changes by less than 3.3 percentage points per model.
- Recency bias in sequential diagnosis: When identical clinical findings are presented in two different orders, all 17 tested models choose the target disease more often when its supporting evidence arrives second.
- In-context reasoning works without familiar names: Replacing disease names with arbitrary aliases drops top-1 accuracy from 0.81 to 0.35, but supplying the corresponding disease profiles in-context restores accuracy to 0.76.
Key Results
The authors evaluated 25 open-weight LLMs (with 21 yielding baseline $\gamma_{\text{evidence}}$ estimates, alongside an expanded 32-model leaderboard):
- Intervention Validation: Baseline $\gamma_{\text{evidence}}$ correlates with experimental evidence-response effects ($r = 0.689$ for finite-difference $\Delta_E$; $r = 0.826$ for ordinal logistic analysis) and sequential diagnostic recovery ($r = 0.860$).
- Accuracy Link: $\gamma_{\text{evidence}}$ strongly correlates with top-1 diagnostic accuracy ($r = 0.843$, rising to $r = 0.974$ among the 17 models with $\ge 50\%$ usable outputs).
- Cross-Benchmark Transfer: Evidence coefficients correlate with those estimated on CUPCase ($r = 0.662$) and RareArena ($r = 0.790$).
- Fine-Tuning: QLoRA adaptation of Qwen2.5-7B boosts accuracy from 40.9% to 63.1% and $\gamma_{\text{evidence}}$ from 0.215 to 0.237, with gains generalizing to held-out organ systems.
Limitations and Future Work
- Synthetic Ontology: The 82-disease ontology relies on stipulated finding probabilities under a conditional-independence approximation rather than empirical clinical likelihoods. Independent physician adjudication of the 888 disease–finding relationships is still needed.
- Model Assumptions: Formal tests reject the exact Plackett–Luce independence-of-irrelevant-alternatives (IIA) assumption in 83% of comparisons, meaning omitted factors like disease familiarity still influence rankings.
- Prior Coefficient Limits: Unlike $\gamma_{\text{evidence}}$, the fitted prior coefficient ($\gamma_{\text{prior}}$) does not reliably track responses to explicitly stated prevalence ($r = -0.006$).
- Scope: The main protocol evaluates ranking within a supplied candidate set and does not establish clinical safety or prospective utility.
Summary updated