Healthcare AI training data · · 8 min read
Healthcare LLM fine tuning: the data you need
Acumen Editorial · Updated November 28, 2026
Why fine-tune a healthcare LLM at all?
General models know a lot of medicine. They do not know your task. A model that drafts replies to patient portal messages, triages referrals or summarizes discharge notes has to follow your formats, your escalation rules and your specialty's standard of care. Prompting gets you part of the way. Fine-tuning moves the behavior into the weights, so it holds across thousands of calls.
The evidence for small, targeted fine-tunes is good. A 2025 study in the Journal of Medical Internet Research (Savage et al., University of Pennsylvania and Stanford) fine-tuned Llama3-8B and Mistral-7B on four clinical tasks with fewer than 5,000 training examples each. On a simple classification task, supervised fine-tuning lifted Llama3's F1 from 0.63 to 0.98. On open-ended clinical reasoning, accuracy rose from 7% at baseline to 28% with supervised fine-tuning and 36% with preference optimization added.
The lesson for buyers is that the data, not the compute, sets the ceiling.
What data does a healthcare LLM fine-tune need?
We break every clinical fine-tune into three datasets. Each has a different author and a different job.
| Dataset | What it contains | Who should write it | What it teaches |
|---|---|---|---|
| SFT reference answers | A prompt and one gold-standard response | Specialists in the task's field | Format, scope, the right answer |
| Preference pairs | A prompt, a preferred and a rejected response, and why | Clinicians who rank model outputs | Judgment between plausible answers |
| Held-out evaluation set | Cases with physician-written rubrics, never used in training | A separate reviewer group | Whether the fine-tune actually worked |
Supervised fine-tuning data
This is the base layer. Each item is a realistic prompt and the answer a careful clinician would give. Good items read like real work: the patient message with its typos, the referral with missing labs, the note that buries the key finding. The reference answer has to be defensible line by line, because the model will copy its habits, including its hedges and its omissions. Our guide to building a medical reasoning dataset covers how to write the reasoning traces behind these answers.
Preference data
Preference data teaches the model to choose between two answers that both look reasonable. A clinician sees two responses to the same prompt, picks the better one and records why: a missed red flag, an unsafe dose, a guideline applied to the wrong patient. The Savage study found preference optimization added little on simple classification but helped on reasoning, summarization and triage. It also needs more from the data. Every item needs a preferred and a rejected response, not just one gold answer. We compare the methods in RLHF vs. DPO, and our RLHF preference data service is built for this layer.
The held-out evaluation set
Teams skip this one most often. It is the one that tells you whether the other two worked. The set must be written by different reviewers than the training data and kept out of training entirely. OpenAI's HealthBench set the pattern for grading: 5,000 multi-turn conversations scored against rubrics written by 262 physicians. FDA's January 2025 draft guidance on AI-enabled device software also asks sponsors to show that test data is independent of training data. A golden dataset built this way becomes the regression test for every later release.
How much data is enough?
There is no published minimum, and anyone who quotes one is guessing. The Savage study did not set per-task floors; it reported the sizes it used, all under 5,000 examples. What we see in scoping is that the right size depends on three things:
- Task breadth. One note type in one specialty needs far fewer items than a general clinical assistant.
- Failure cost. Tasks where a wrong answer reaches a patient need more edge cases and more preference pairs around them.
- Baseline gap. Run the base model on your evaluation set first. The size of the gap tells you where to spend.
Start with a pilot set, fine-tune, grade against the held-out rubrics and add data where the model still fails. That loop beats a large up-front order every time.
Who should write the data?
Specialty matters more than headcount. A cardiology triage model needs cardiologists and cardiac nurses, not generalists reading a style guide. Three controls separate data you can defend from data you can't:
- Credential checks. License, specialty and years in practice verified before anyone writes an item.
- Multi-reviewer adjudication. Each item reviewed by more than one expert, with disagreements resolved and logged.
- Provenance on every row. Who wrote it, who reviewed it, their specialty and the final decision.
Provenance is not paperwork for its own sake. Procurement teams and regulators now ask for it, and a fine-tune with no trail behind its data is hard to ship into a health system.
What goes wrong with fine-tuning data?
Most failed clinical fine-tunes fail on data, and the failures repeat. We see five:
- Exam-style prompts. Licensing-exam questions are tidy. Real clinical work is not. A model tuned on clean vignettes struggles with the messy inputs it meets in production.
- One reviewer per item. A single clinician's habits become the model's habits. Without a second reviewer and a tie-break, idiosyncratic answers pass as gold.
- Leakage into the test set. When the same team writes training and evaluation items, near-duplicates slip across. Scores look strong and mean little.
- Preference pairs with no reason. A ranking with no written rationale can't be audited, and the model can't learn the distinction the clinician was making.
- Stale guidance. Clinical guidelines change. Reference answers need a review date and a refresh plan, or the fine-tune locks in last year's standard of care.
Each of these is cheaper to prevent in the data spec than to find in evaluation.
How should patient data be handled?
Real clinical text makes the best training prompts, and it carries protected health information. Under HIPAA, HHS recognizes two de-identification methods: Safe Harbor, which removes 18 listed identifier types, and Expert Determination, where a qualified expert certifies that re-identification risk is very small. Pick one, document it and keep the record with the dataset.
Many teams avoid the question by having clinicians write synthetic cases drawn from their own practice. That works when the cases keep the mess of real care. Our guide to HIPAA-compliant AI training data covers both routes.
Fine-tuning data checklist
- Task defined: one model job, one output format, named specialties
- Baseline measured on a held-out, rubric-graded evaluation set
- SFT reference answers written by credentialed specialists
- Preference pairs with a written reason for each choice
- Evaluation set authored by a separate reviewer group and never trained on
- Multi-reviewer adjudication with logged disagreements
- De-identification method chosen and documented
- Provenance metadata on every item, in JSONL or your schema
- A re-grading plan for every model release
How Acumen helps
Acumen delivers the three datasets a clinical fine-tune needs, written and reviewed by credential-checked clinicians matched to your specialties. Every item carries reviewer specialty, agreement and adjudication history, in training-ready formats. Most teams start with a pilot set scoped to one task, then scale. See our clinical AI training data service for specialties, formats and the engagement model.
For the next step, read our guides to sourcing healthcare AI training data, choosing an RLHF data provider for healthcare and how to evaluate a clinical LLM.
FAQ
What data do you need to fine-tune a healthcare LLM?
You need three datasets. Supervised fine-tuning data pairs realistic prompts with clinician-written reference answers. Preference data shows a better and a worse response with the reason for the choice. A held-out evaluation set, graded against physician rubrics and never used in training, tells you whether the fine-tune worked. All three should carry reviewer provenance.
How much data is needed for healthcare LLM fine tuning?
No published minimum exists. A 2025 JMIR study saw large gains on clinical tasks with fewer than 5,000 examples each. The right size depends on task breadth, the cost of a wrong answer and the gap between the base model and your target. Start with a pilot set, grade it and add data where the model still fails.
Should we use SFT or DPO for a clinical model?
Usually both, in order. The 2025 JMIR study found supervised fine-tuning alone was enough for simple rule-based classification. Preference optimization on top of it helped more on clinical reasoning, summarization and triage. Preference methods need a preferred and a rejected answer for each item, so plan the data before choosing the method.
Who should write fine-tuning data for a medical LLM?
Credentialed clinicians in the specialty the model serves. A triage model for cardiology needs cardiologists and cardiac nurses, not generalist annotators. Each item should be reviewed by more than one expert, with disagreements resolved and logged, so you can show who wrote and approved every row when procurement or regulators ask.
Can we fine-tune a healthcare LLM on patient records?
Only with care. Under HIPAA, HHS recognizes two de-identification methods: Safe Harbor, which removes 18 identifier types, and Expert Determination, where a qualified expert certifies low re-identification risk. Many teams instead use synthetic cases written by clinicians from their own practice, which keeps realism without carrying protected health information.
How do we know if a healthcare LLM fine-tune worked?
Grade it on a held-out evaluation set that a separate reviewer group wrote and that never entered training. Use physician-written rubrics rather than multiple-choice questions, compare against the base model and look at worst-case failures, not just the average. Re-run the same set after every release so you catch regressions early.