TL;DR
Most routine clinical informatics tasks—like assigning billing codes or screening trial eligibility—don't require an AI to write essays; they require fast, well-calibrated choices from a fixed menu of options. This paper introduces Osler-9B and Osler-4B, open-weight medical "decision models" that evaluate clinical records in ~30 milliseconds while outperforming models three times their size, alongside MedDecide-Bench, a massive new benchmark built to test structured medical decision-making.
What Problem Does This Paper Address?
Day-to-day hospital workflows are full of bounded decisions over messy text: Does this discharge summary justify a sepsis diagnosis? What acuity level does this ER patient need? Using standard autoregressive chain-of-thought LLMs for these tasks at hospital scale is painfully slow (taking seconds per chart), brittle to parse, and carries the risk of hallucinating or leaking patient text.
"Decision models" solve the speed problem by scoring all allowed options in a single forward pass without generating text. However, existing general decision models stumble on real Electronic Health Record (EHR) notes, while early medical decision models cap prompts at 10 options and output poorly calibrated probabilities. Furthermore, naively fine-tuning these models on real clinical records triggers two nasty side effects:
- Out-of-domain forgetting: Models get great at EHR notes, but their general medical QA accuracy drops by 2–4 points.
- Two-letter option collapse: Models support up to 255 options by labeling items 1–26 as
A–Zand 27–255 asAA–IV. Because clinical templates rarely exceed 10 choices, fine-tuning starves the two-letter weights of updates, crashing high-cardinality diagnosis accuracy down to 0.4%.
Methods
The author built Osler-9B (on a d3-flash base) and Osler-4B (on pplx-decider-flash-v1.2), using a 255-row option-code readout head and adapting only the attention layers via LoRA. Notably, Osler-9B completely strips out its language-modeling head, making free-text generation (and verbatim patient-note leakage) architecturally impossible.
To cure forgetting and option collapse, the training recipe combines four clever interventions:
- Per-item gradient weighting: Long EHR notes naturally pack fewer items per batch than short QA pairs. Scaling gradients by batch item count stops verbose clinical notes from hijacking ~60% of the gradient updates.
- Dynamic option-count augmentation: Training tasks dynamically expand to 8–64 shuffled options so two-letter readout rows (
AA–IV) get steady practice. - Format-matched KL regularization + dosed distillation: Combining teacher distillation with a KL-divergence penalty anchored to the base model preserves general medical reasoning.
- Dev-only temperature scaling: Fitting a single positive scalar temperature per question type (
yes/no,choice, or ordinalscore) aligns confidence scores with reality without changing a single top-1 prediction.
Datasets
- Training: A private 1.53M-row corpus comprising pre-2014 MIMIC-IV records (35.4%, processed strictly locally), teacher-labeled general anchors, clinical notes, and 70k auxiliary KL rows.
- MedDecide-Bench (New): A unified evaluation suite of 35,769 frozen items across 9 sets, scored uniformly across 14 open models. Crucially, it separates zero-EHR General Medical QA (including public exams like MedQA/MedMCQA, a 7-dataset OOD panel, and
confirm_general—a contamination-proof tier pulled from post-March 2026 ClinicalTrials.gov, openFDA, and PubMed records) from Clinical Docs & EHR tasks (CodiEsp, PMC-Patients, MTSamples, Synthea, and ≥2014 patient-disjoint MIMIC-IV splits).
Key Insights and Ideas
- Distillation alone doesn't stop forgetting: Even distilling from massive 27B–120B teachers restored medical exam scores while leaving external general QA 1–4 points below the starting checkpoint. Only combining attention-only LoRA, per-item weighting, and KL-to-base regularization eliminated this tax at 9B.
- Adapting MLPs hurts: Restricting LoRA to attention projections preserved medical exam accuracy (adapting MLP layers dropped dev exam scores by 6 points) while training 1.8× faster.
- Batching backfires on bidirectional models: Because these models use noncausal (bidirectional) full attention, naive batch-16 serving is actually 20–40% slower than batch-1—every item gets padded out to match the longest clinical note in the batch.
- Triage unlocks near-human reliability: Because confidence scores are well-ordered, deferring just the lowest-confidence 20% of clinical document predictions to human review boosts Osler-9B's accuracy to 98.2%.
Key Results
Osler models define the efficiency-accuracy and capability frontiers on MedDecide-Bench.
- Overall Dominance & Speed: Across the five headline sets, Osler-9B ranks first overall (78.0% macro accuracy), beating the 3× larger
pplx-27B(76.0%) and 9Belephant-1(72.6%). It leadspplx-27Bby +9.6 points on EHR and clinical docs while running at 2.7× lower latency (33.7 ms) and 3.1× less VRAM (17.3 GB). - Compact Specialist: Osler-4B ranks third overall (75.3%) in just 9.6 GB VRAM at 26.5 ms, strictly dominating
MedDecider-4Bacross every headline set while trading ~1 point on general QA against its base. - Fresh & Calibrated: Osler-9B ranks first on post-cutoff 2026 decisions (90.1%) and achieves the lowest calibration error on the External Panel (ECE 0.023—4 to 5× lower than
pplx-27Bandelephant-1). Dynamic option augmentation lifts two-letter DDXPlus accuracy from 0.4% to 44.5% (9B) and 48.9% (4B). - Privacy Cleared: A local audit on visited MIMIC-IV training items cleared membership inference gates ($\Delta\text{AUC} \le 0.05$) and found 0/300 verbatim note extractions on Osler-4B.
Limitations and Future Work
- Not built for deep deduction: Operating in a 26–34 ms single-pass regime, Osler trails 27B models on hard multi-step reasoning exams (like MedXpertQA) and cannot generate explanations.
- Unseen template fragility & calibration shift: Both Osler models inverted below chance on one excluded, heavily imbalanced synthetic template (
mr_heldout_test), and dev-fitted temperatures left the models under-confident on the easier 90%-accuracy fresh tier (Figure 2c), meaning target-domain validation and temperature refitting remain vital. - Clinical scope: MIMIC-IV represents a single academic medical center, and neither model is cleared for unsupervised clinical use. Future work points toward hybrid systems that route low-confidence, 30-ms Osler cases to slower chain-of-thought reasoners, alongside multi-center clinical validation.
Summary updated