Counting Clues: A Lightweight Probabilistic Baseline Can Match an LLM
Organizations: Duke University
Abstract
Large language models (LLMs) excel on multiple-choice clinical diagnosis benchmarks, yet it is unclear how much of this performance reflects underlying probabilistic reasoning. We study this through questions from MedQA that ask for the most likely diagnosis. We introduce Frequency-Based Probabilistic Ranker (FBPR), a lightweight method that scores options with a smoothed Naive Bayes over concept-diagnosis co-occurrence statistics from a large corpus. When co-occurrence statistics are sourced from Dolma, the pretraining corpus for OLMo, and RedPajama, an open reproduction of the LLaMA pretraining-data recipe, FBPR achieves comparable performance to the corresponding LLMs. Furthermore, direct LLM inference and FBPR exhibit complementary strengths, correctly answering largely different subsets of questions with overlap barely above chance. Combining them with a simple hybrid method yields a notable gain over either method alone. These findings show that explicit probabilistic baselines can account for a substantial portion of the benchmark performance on diagnosis questions, while serving as historically grounded reference points and complementary signals for hybridization.
Figures & tables
| Method | Accuracy |
|---|---|
| Random Chance | 20% |
| FBPR on Dolma | 46.7% |
| OLMo Instruct 7B | 44.1% |
| Hybrid (OLMo + Dolma) | 47.3% |
| FBPR on RedPajama | 44.5% |
| LLaMA 65B | 47.0% |
Appendix figures & tables12 assets
Supplementary material from the paper’s appendix.
Appendix
| Method | Accuracy |
|---|---|
| Random chance | 25.0% |
| FBPR on Dolma ( ) | 52.7% |
| FBPR on Dolma (unrestricted ) | 52.4% |
| OLMo Instruct 7B | 54.9% |
| Text summary | GPT-4o phrase-level concepts | Google Healthcare API entities |
|---|---|---|
| Patient with double vision, difficulty climbing stairs, and weakness when brushing hair | double vision; difficulty climbing stairs; weakness brushing hair; symptoms worse after exercise; symptoms improve with rest; drooping right upper eyelid | double vision; weakness; hair; symptoms; worse; drooping; eyelid; diminished; motor strength; upper extremities |
| Patient with Crohn disease on natalizumab with difficulty walking and ataxia | crohn disease; difficulty walking; gait ataxia; limb ataxia; natalizumab | Crohn disease; difficulty walking; Crohn disease; natalizumab; intestinal symptoms; severe; unresponsive; therapies; gait; limb; ataxia |
| Extractor | Corpus | all | Step 1 | Step 2&3 | |
|---|---|---|---|---|---|
| GPT-4o | Dolma | 5 | 46.7% | 51.2% | 44.3% |
| GPT-4o | Dolma | unrestricted | 45.1% | 47.7% | 43.6% |
| GPT-4o | RedPajama | 5 | 44.5% | 46.1% | 43.6% |
| GPT-4o | RedPajama | unrestricted | 40.9% | 40.2% | 41.3% |
| Qwen2.5-32B-Instruct | Dolma | 5 | 44.0% | 46.1% | 42.8% |
| Qwen2.5-32B-Instruct | Dolma | unrestricted | 43.4% | 47.3% | 41.3% |
| LLaMA 65B + RedPajama | OLMo Instruct + Dolma | |||||
| Method | Acc | Acc | ||||
| LLM | 47.0 | — | — | 44.1 | — | — |
| FBPR alone | 44.5 | — | — | 46.7 | — | — |
| Rank gate (main) | 50.8 | +3.7 | +6.3 | 47.3 | +3.2 | +0.6 |
| Confidence gate, | 48.4 | +1.4 | +3.9 | 49.2 | +5.2 | +2.5 |
| Confidence gate, | 47.4 | +0.4 | +2.9 | 48.8 | +4.7 | +2.1 |
| LLaMA 65B + RedPajama | OLMo Instruct + Dolma | |||||
|---|---|---|---|---|---|---|
| Acc | Acc | |||||
| 1 | 44.5 | 46.7 | ||||
| 2 | 48.3 | 49.4 | ||||
| 3 (main) | 50.8 | 47.3 | ||||
| 4 | 50.5 | 46.7 | ||||
| 5 | 48.8 | 44.1 | ||||
| LLaMA 65B + RedPajama | OLMo + Dolma | |||
| Method | ( ) | ( ) | ( ) | ( ) |
| LLM regex | 49.6 | 45.8 | 40.6 | 45.4 |
| FBPR alone | 50.0 | 42.0 | 59.4 | 42.0 |
| Rank gate | 54.0 | 49.3 | 49.2 | 46.6 |
| Confidence gate | 50.0 | 47.7 | 59.4 | 45.4 |
| Combined gate | 50.0 | 49.3 | 59.4 | 46.6 |
| Method | Accuracy | 95% CI |
|---|---|---|
| FBPR on Dolma | 46.7% | [43.1, 50.3] |
| OLMo Instruct 7B | 44.1% | [40.5, 47.7] |
| Hybrid (OLMo + Dolma) | 47.3% | [43.7, 50.9] |
| FBPR on RedPajama | 44.5% | [40.9, 48.1] |
| LLaMA 65B | 47.0% | [43.4, 50.6] |
| Hybrid (LLaMA 65B + RedPajama) | 50.8% | [47.0, 54.4] |