Medical AI Evaluation · Quantitative Reasoning
MedCalc-Bench: Evaluating Large Language Models for Medical Calculations
Nikhil Khandekar*, Qiao Jin*, Guangzhi Xiong*, Soren Dunn, Serina S. Applebaum, …, Qingyu Chen, Zhiyong Lu
* equal contribution
NeurIPS D&B 2024
These slides were generated with the help of AI and may contain errors.
01Motivation
Medical AI is tested on knowledge, not calculation
What clinicians actually do
- Doctors rely on clinical calculators — equations and rule-based scores — for evidence-based decisions.
- These need quantitative, step-by-step computation, not descriptive recall.
The evaluation gap
- Existing medical-LLM benchmarks test knowledge QA and descriptive reasoning.
- None measured whether models can actually compute clinical values.
02Task & dataset
MedCalc-Bench defines the medical calculation task
Curating the benchmark
Collect & extract
180k+ notes · Open-Patients
55 calculators · MDCalc
Review & supplement
Medically verify attributes
Add missing cases
1,047 cases
Template-computed answers
+ step-by-step explanations
Equation-based
36 calculators
667 cases
667 cases
- Lab19
- Physical12
- Date3
- Dosage2
Albumin-corrected anion gap
Input
Patient note
The patient was a 20-year-old previously healthy woman. … albumin 4.5 g/dL, … Serum sodium, potassium and chloride were 174 mEq/L, 3.6 mEq/L and 135 mEq/L respectively. … bicarbonate 18.5 mEq/L, …
Reasoning
1 Extract values
Na⁺
174 mEq/L
174 mEq/L
Cl⁻
135 mEq/L
135 mEq/L
HCO₃⁻
18.5 mEq/L
18.5 mEq/L
Albumin
4.5 g/dL
4.5 g/dL
2 Apply equation
AGcorrected = Na+ − (Cl− + HCO3−)
+ 2.5 × (4 − albumin)
= 174 − (135 + 18.5)
+ 2.5 × (4 − 4.5)
Verifiable
output
19.25mEq/L
Rule-based
19 calculators
380 cases
380 cases
- Risk12
- Severity4
- Diagnosis3
CHA₂DS₂-VASc score
Input
Patient note
A 68-year-old man … His medical history included hypertension … examination of the heart revealed atrial fibrillation (AF). … A magnetic resonance imaging (MRI) … showed right corona radiate infarction …
Reasoning
Extract & score
- Congestive heart failure+0
- Hypertension+1
- Age ≥75 years+0
- Diabetes mellitus+0
- Stroke / transient ischemic attack / thromboembolism+2
- Vascular disease+0
- Age 65–74 years+1
- Female sex+0
Verifiable
output
4points
Realistic
Compute clinical values with no answer choices.
Verifiable
Automatically check final outputs against reference answers.
Original result: GPT-4 with one-shot chain-of-thought achieved 50.9% accuracy.
03Result
GPT-4 reaches 50.9% in the original evaluation
- The original evaluation compares 8 LLMs under 3 prompting settings.
- The best model — GPT-4 with one-shot chain-of-thought — scores just 50.9%.
- Error analysis: models lack calculator knowledge and make computation mistakes.
50.9%
best accuracy — GPT-4, one-shot CoT
04Impact
A standard benchmark for medical calculation
- Frontier labs benchmark on it — Anthropic evaluates Claude on MedCalc-Bench with code execution.
- A Clinical Decision Support task in Stanford’s MedHELM benchmark suite.
- Widely used to evaluate quantitative reasoning — an o1-in-medicine study, MEDIC & MedAgentGym.
- Extended by others — CMedCalc-Bench (EMNLP’25), MedCalc-Eval & MedCalcBenchV2.
05Summary
MedCalc-Bench at a glance
| Background | Clinicians rely on equation- and rule-based calculators for decisions. |
| Problem | Yet medical-LLM benchmarks tested knowledge QA, never quantitative calculation. |
| Approach | 1,047 expert-reviewed instances across 55 clinical calculators (19 rule-based, 36 equation-based). |
| Results | Medical calculation is hard — even GPT-4 (one-shot CoT) reaches only 50.9%. |
| Impact | Benchmarked by Anthropic and in Stanford’s MedHELM; extended by CMedCalc-Bench & more. |