Medical Q&A on a Tablet: How MedPsy Prices Accuracy, Size and Power Together
For compact medical models, accuracy and deployment efficiency can be optimised together: data quality, staged post-training and alignment design matter more than parameter count for whether the model actually runs well on a device [1].
On this page
You manage IT for a community clinic. You hold a batch of consultation notes that already cleared privacy review, and by next week you must decide what to install on the offline tablets doctors use on call, so the device can help read charts and answer their questions. The current way of judging is plain enough: look up a public leaderboard, pick whoever has the highest average score, then check the file size and make sure it fits. That misses two things. The top-scoring systems usually need a room full of accelerator machines to run at all, so the moment a patient record leaves the device you cross a privacy line. And even if you squeeze one onto a tablet, it can take half a minute to answer a single question while heating up and draining the battery, which no ward round can wait for. Paper [1] asks a different question: instead of chasing the biggest system, treat accuracy, footprint, speed, and keeping data on the device as one single bill to settle.
The Decision: Three Bills Beyond the Score
Break that situation down further. Four things pull against each other: whether the answer is right, whether the whole thing fits on a tablet, how long a doctor waits for a reply, and whether patient words ever leave the device. Staring at a leaderboard average quietly assumes the last three do not matter. One term needs defining up front. A parameter is one of the numbers a model stores after training, and more of them usually mean more space and more compute; this paper counts them in units of B, where 1B is one billion parameters. Leading medical systems carry tens of billions of parameters, far beyond what a tablet can hold. Paper [1] does not try to shrink a large system down. It trains two sizes for the device from the start, 1.7B and 4B, both text-only, meaning they handle words and no images or scans.
A second term needs a plain gloss in the same breath. On-device deployment means the entire model runs on that tablet or phone and no data is sent elsewhere, which is a different road from running against a machine room. The first road is boxed in by three hard constraints: enough memory to load, enough battery to last, and replies quick enough that nobody stands waiting; the second is mostly limited by the machine-room budget. The thesis of [1] is blunt: for compact medical models, being accurate and being runnable are not an either-or, they can be optimised as one job, provided you change how the data is built and how the model is trained instead of reusing the recipe for large systems.
Why does the old recipe fail? Small models trained the conventional way fall disproportionately on tasks that demand exact medical facts and safe, well-structured answers. And fitting into memory is no guarantee of speed. A model that 'thinks at length' emits a long chain of intermediate reasoning before answering, and every step has to be decoded in sequence, so waiting time, energy use and the memory held by the cache all climb together [1]. Judging by average score and file size alone therefore skips exactly the part that dominates the experience at the bedside.
Two Sizes, One Teacher: How the Data Was Built
Start with the data. The question-answer pairs used as teaching material were not labelled by people one by one; other models wrote them from prompts, which is what synthetic data means here: training examples produced by models, with the benefit that volume can be huge and the risk that the teacher's own ceiling is passed straight to the student. Paper [1] generated about ten million rows of medical and healthcare supervision in total, split into a broad-coverage corpus (Corpus 1) and a smaller, focused clinical-QA corpus (Corpus 2). Corpus 1 drew prompt seeds from two public sources, 8,089,891 rows of Genesis III biology and medicine subsets and 2,133,642 rows of the FineFineWeb health subset; following a scaling-QA template, Fleming-R1-32B wrote four multiple-choice questions per health document, and only the question and options were kept as the user turn. The answers actually shown to the student were all freshly generated by one separate teacher rather than taken from existing open assistant traces, which keeps 'coverage of prompts' and 'quality of targets' under separate control. The broad SFT-1 corpus ended at 10,223,533 rows.
The teacher was chosen by comparison, not by hunch. Three candidates were run on the seven closed-ended benchmarks: Baichuan-M3-235B reached a 74.83 average, against 72.73 for GPT-OSS-120B and 72.55 for Fleming-R1-32B, with the largest edges on the most expert-level MedXpertQA at +5.61 and +10.98 points. More decisive was open-ended clinical dialogue, where this teacher beat both alternatives by 6 to 12 HealthBench points, since the student's communication quality is exactly what it distils from those answers. A controlled check held the base model, a 170K-prompt subset and the training pipeline fixed and changed only the target source: the three students' closed-ended averages differed by at most 0.41 points, yet HealthBench separated them by 11 points (59.5 for Fleming-R1-32B only against 71.0 for Baichuan-M3-235B only), and mixing the two teachers' answers dropped to 60.0 rather than helping.
| Candidate teacher | Seven-benchmark average | HealthBench (CompassJudger) |
|---|---|---|
| Baichuan-M3-235B | 74.83 | 77 |
| GPT-OSS-120B | 72.73 | 69.67 |
| Fleming-R1-32B | 72.55 | 67 |
A Four-Stage Curriculum: Breadth First, Then Hard Cases
Training has four steps, and two terms need plain definitions first. Supervised fine-tuning means learning from written question-answer examples, so the model learns how to answer; reinforcement learning means the model tries a batch of questions itself, gets scored on right or wrong, and adjusts accordingly, so it learns which direction to move. The curriculum in [1] is: step one uses Corpus 1 for broad medical adaptation, building wide factual coverage and vocabulary; step two switches to the smaller, high-value Corpus 2 with teacher-written reasoning traces, sharpening answer structure and clinical depth; step three consolidates with reinforcement learning on easier cases; step four targets the items the model keeps getting wrong.
The numbers line up with that design. The reinforcement-learning prompt pool is AlphaMed19K, about 19,000 items. Every prompt is sampled five times at temperature 0.7 and labelled by how many of the five are correct, giving six difficulty levels L1 to L6 where five-of-five is L1 and zero-of-five is L6. Step three takes roughly 16K items at the easy and moderate levels. Step four re-runs the full pool, keeps every item still failed on all five attempts, and adds a smaller sample of answered items to enforce a 1:2 right-to-wrong ratio: 2,439 items for the 4B model (4.7% of the full set still counted as difficult after step three) and 4,317 for the 1.7B (8.3%). Scoring is not plain right or wrong either: correct with reasoning earns 1.0, correct while skipping reasoning earns 0.5, reasoned but wrong earns 0.1, and broken format earns 0.0, so even a group where no candidate is right still supplies a little gradient.
Paper [1] reports the stage-by-stage climb. The closed-ended average moves from base values of 49.95 and 63.10 to final 62.62 and 70.54, gains of 12.67 and 7.44 points; HealthBench moves from 53.00 and 63.00 to 70.33 and 74.00, gains of 17.33 and 11.00. The single largest jump is the first broad fine-tuning step, +7.53 and +4.83 on the closed-ended average, which says wide coverage is the foundation. The step-four mining earns its place too: swapping the mined set for a random subset of identical size loses 5.0 points on MedXpertQA for the 4B model and 2.0 points for the 1.7B, while easy benchmarks barely move, so the benefit is concentrated on the hardest tier [1].
- SFT step one: broad medical adaptation on Corpus 1 for coverage and vocabulary;
- SFT step two: clinical reasoning specialisation on Corpus 2 with teacher-written traces;
- RL step one: consolidation on roughly 16K easy and moderate items;
- RL step two: one deterministic pass that keeps all-failed items and tops them up at a 1:2 right-to-wrong ratio, 2,439 items at 4B or 4,317 at 1.7B.
Benchmark Scores: Who the Small Models Actually Match
First, where were the scores measured. A closed-ended benchmark is a multiple-choice test with a fixed answer key that can be graded automatically, and [1] names all seven: MedQA-USMLE, MedMCQA, MMLU-Health, MMLU-Pro Health, MedXpertQA, PubMedQA and AfriMedQA. The student writes a full answer, then a separate model extracts the final chosen letter and exact-matches it against the key, which avoids both forcing a letter-only output and the false negatives of regex extraction. The table below gives the average over these seven plus three individual columns.
| Model | Seven-benchmark avg | MedQA-USMLE | MedXpertQA | PubMedQA |
|---|---|---|---|---|
| MedPsy-4B | 70.54 | 84.39 | 30.61 | 75.00 |
| MedGemma-27B-text-it | 69.95 | 83.29 | 25.18 | 71.93 |
| MedPsy-1.7B | 62.62 | 75.05 | 21.28 | 69.53 |
| MedGemma-1.5-4B-it | 51.20 | 64.39 | 15.80 | 58.73 |
| Qwen3-4B-Thinking-2507 | 63.10 | 70.91 | 16.69 | 74.53 |
Read the conclusions straight off that table. The 4B model's 70.54 sits against 69.95 for the 27B MedGemma, a gap of just 0.59 points, at 6.75x smaller scale; a matched-instance pairwise comparison comes out 50.25% versus 49.75%, essentially a tie [1]. The 1.7B's 62.62 beats MedGemma-1.5-4B's 51.20 by 11.42 points while using less than half the size; the 4B leads that same 1.5-4B by 19.34 points and its own untrained backbone of 63.10 by 7.44. One wrinkle is worth flagging: PubMedQA is a known ceiling case, and the 1.7B backbone already scores 72.33 there, so post-training trades a 2.80-point regression on that single benchmark for double-digit gains elsewhere, while the 4B avoids the regression and lifts PubMedQA to 75.00.
The other half of the score comes from open-ended clinical dialogue. HealthBench judges against 5,000 realistic health conversations and 48,562 conversation-specific criteria written by 262 physicians, with fixed, importance-weighted standards rather than a grader improvising on the spot. Under CompassJudger-2-32B-Instruct, the 4B scores 74.00 Standard and 58.00 Hard, the 1.7B scores 70.33 and 54.33, and the 27B MedGemma scores 65.00 and 42.67; on the Hard split the 4B leads by 15.33 points and the 1.7B by 11.66 points at roughly 16x smaller size [1]. Across three independent grader families, the ordering of all five models is identical in all six grader-by-split cells, and the Hard-split lead is uniformly larger than the Standard-split lead, so the ranking is not an artefact of one lenient grader.
Paper [1] also closes two easy objections. Re-scoring the same generations with three independent parsers moves the average by at most 0.45 points. And because public medical datasets overlap, a string-matching decontamination removed 157 matched test items (1.10%), after which every model's score dipped slightly but the ranking was unchanged. So 'matching a 27B model' is not a prize won through grading conventions or train-test leakage.
Answer Length, Quantization and the Device Power Bill
The other half of the bedside experience is how many words the model emits per answer, how large the file is, and how much power it burns. Two terms deserve plain definitions. A token is one small chunk of text the model emits at a time, and more chunks mean more queued decoding; quantization means storing the model's numbers on a coarser scale, which shrinks the file a lot at a small cost in precision. Weighted across all eight benchmarks, the 4B model's average response falls from 2,953 tokens for its Qwen3 backbone to 909, a 3.2x reduction, while the 1.7B falls from 1,901 to 1,110, a 1.7x reduction, both with accuracy improving [1]. Cap the explicit thinking channel at 300 tokens and the 4B still retains 96.6% of its unbounded score. The paper decomposes that compression into three additive pieces: a conservative reinforcement-learning setup that keeps a KL anchor, a leash pulling the model back toward its starting behaviour, compresses only 6 to 20%; switching to DAPO, a variant that drops that leash and uses asymmetric clipping, reaches 44 to 45%; and adding a soft penalty on overlong replies pushes it to the released 65 to 66%.
| Model and quant format | Peak RAM | Tokens per answer | Median time | Estimated energy per answer |
|---|---|---|---|---|
| MedPsy-4B / Q4_K_M | 4.29 GB | 738 | 8.75 s | 232 J |
| Qwen3-4B-Thinking-2507 / Q4_K_M | 4.28 GB | 2,727 | 34.6 s | 917 J |
These are measurements on an Apple M5 Pro over 30 prompts, 20 MedQA and 10 MedXpertQA-Text, at matched Q4_K_M quantization [1]. Per-token decode rates are nearly the same, 83.9 versus 82.2 tokens per second; the entire difference is how many tokens get emitted, 738 per answer for MedPsy-4B against 2,727 for the backbone. Median end-to-end time therefore drops from 34.6 to 8.75 seconds and estimated energy per answer from 917 J to 232 J, both a 74.7% reduction. That energy figure is estimated as measured sustained system power of 26.5 W times median wall time, not read off a power meter directly. On a OnePlus 13 phone, peak RAM is 2.22 GB for the 1.7B and 3.98 GB for the 4B; the largest laptop peak seen in an 8K-context stress test is 4.83 GB, all under 5 GB.
The quantization section reports a full six-format sweep [1]. At BF16 the 4B is 8.3 GB and the 1.7B is 3.8 GB; Q4_K_M brings them to 2.6 GB and 1.2 GB, cutting disk footprint by 69% and 68% while the aggregate score changes by only 0.81 and 0.73 points, both under one point. Push further and the debt comes due: IQ3_XXS costs 5.56 points at 4B and 12.46 at 1.7B, a clear collapse, and the paper explicitly advises against any sub-4-bit variant of the 1.7B for medical use. There is also a neat comparison at matched footprint: the 2.0 GB 4B-IQ3_M outperforms the 2.1 GB 1.7B-Q8_0, so when storage is fixed, spending it on more parameters at lower precision buys more than fewer parameters at higher precision.
Where This Stops Working
Paper [1] keeps its claim deliberately narrow, and these boundaries are the authors' own, not mine added on. First, both models are text-only and the training data is predominantly English, so imaging, multilingual input and non-English records lie outside what was validated. Second, like all language models, they can produce confident but incorrect medical statements, and the paper states plainly that they should not be used for autonomous diagnosis or treatment; real clinical decision support would still need safety review, IRB-grade evaluation, prospective testing and regulatory clearance. Third, the evaluation itself is limited: conclusions are scoped to this benchmark suite, and the authors call for stronger open-ended evaluations, safety benchmarks and medical error detection before behaviour in higher-risk scenarios can be understood.
Look closer at the scores and the weak spots are explicit. On the five behaviour axes of the HealthBench Hard split, the two lowest for MedPsy-4B are context awareness at 50.7 and instruction following at 53.4, well below communication quality at 71.3; in other words the model phrases things well but is still shortest on grasping what this particular conversation is asking and on following instructions to the letter [1]. The appendix ablations carry three caveats of their own: those component swaps were scored only on a lightweight three-benchmark smoke suite (MedQA, MedXpertQA, PubMedQA), whose absolute scores differ slightly from the main tables because of a different scorer; no ablation trained with substantially more compute than the component it replaced, so a 5 to 10x longer run closing the gap is not ruled out; and the single-stage difficult-only comparison used a smaller, less diverse corpus, which remains a confound.
- Text-only and predominantly English: no imaging, no multilingual validation;
- Can state confident but wrong medical content, not for autonomous diagnosis or treatment, and needs safety review and regulatory clearance;
- Conclusions are scoped to this suite; open-ended, safety and error-detection evaluations are still missing;
- Context awareness and instruction following are the two lowest Hard-split axes, a named weakness;
- Ablations use only a three-benchmark smoke suite and do not exclude convergence under far more compute.
In one line: this method applies when you have already decided to keep question answering local and can accept a text-only, English-first setting. What it gives you is a single bill that prices accuracy, size and latency together, plus a stack of numbers you can write into an acceptance test, not a licence to practise medicine. If the question becomes whether the model confabulates on unfamiliar cases, or if you need scans and non-English records, then the thing to change is the evaluation framework and the conditions of use, not one more quantization setting [1].
