Is the Fine-Tuning Trade-Off Real? Measuring It on Freshly Generated Clinical Calculations

When a general language model is fine-tuned on a specialist task, researchers usually report a trade-off: the model gets better at the specialist task and worse at everything else. A family of methods tries to soften this. The best known averages the weights of the fine-tuned model with the original. All of these methods are judged on fixed benchmarks. The domain test set often shares templates, calculators, or phrasings with the training set. The "general ability" tests (grade-school math, broad multiple-choice knowledge) are widely suspected of having leaked into pretraining data. If part of the measured domain gain is memorization of near-copies of test items, then the trade-off curve that robust fine-tuning methods optimize is partly an artifact. The ranking of those methods could change once memorization is removed.

We propose to re-measure the trade-off in a domain where fresh, uncontaminated test items can be generated with exact answers: clinical calculations. A deterministic formula (kidney-function estimates, stroke-risk scores) fixes the right answer for any new patient note. That lets us split a model's domain score into two parts. One part is transfer: new notes for calculators seen in training, and entirely held-out calculators. The other is memorization: the gap between the static test and fresh instances. We then trace how each part moves along the curves of standard fine-tuning, weight interpolation, lower learning rates, and token reweighting. As a secondary contribution, we test whether a label-free geometric signal can pick the interpolation weight without any held-out shifted data. That signal is the narrowing of internal activations that has been linked to contamination.

Core Claim

The claim is that the fine-tuning trade-off on domain tasks, as currently reported for language models, mixes two components. A memorization component is bought at high learning rates and at weights close to the fine-tuned end. A transferable component is largely kept by conservative methods. Measured on fresh instances, three things follow. The frontier should be flatter than static benchmarks suggest. The best interpolation weight should shift toward the base model. Methods that look equivalent on static scores should separate. The claim is falsifiable: if the static-minus-fresh gap is near zero for every method and checkpoint, contamination does not distort the trade-off in this domain, and the robust fine-tuning literature can keep using static scores.

Grounding in Prior Work

Three kinds of prior work motivate the claim.

The first supplies the robust fine-tuning methods we re-examine. Robust fine-tuning of zero-shot models introduced WiSE-FT, which linearly interpolates base and fine-tuned weights. Model Stock averages a few fine-tuned checkpoints. DaWin picks per-input mixing weights from prediction entropy. Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distribution explains the damage as early large gradients distorting pretrained features and proposes training the head first. All four were developed and scored on vision classification with clean shift benchmarks such as ImageNet variants. None asks whether the in-distribution accuracy they preserve is itself partly memorized. The Evolution of Out-of-Distribution Robustness Throughout Fine-Tuning finds robustness peaks mid-training. We ask whether that peak coincides with the onset of memorization.

The second is the closest existing work. SFT Doesn't Always Hurt General Capabilities fine-tunes Qwen2.5-3B on MedCalc and shows that a lower learning rate, or its Token-Adaptive Loss Reweighting (TALR, which down-weights tokens the base model finds improbable early in training), preserves general scores. It measures both axes on static benchmarks and never checks memorization. Our proposal uses its setup and method as the strongest baseline. The contribution is the measurement it lacks, not a competing optimizer.

The third motivates the contamination lens and constrains the design. DICE shows that fine-tuning on 2% paraphrased or numerically altered test variants raises benchmark accuracy by about 10 points while out-of-distribution math stagnates. It also shows that text-overlap filtering misses this kind of leakage, which rules out simple deduplication as our control. A Narrowing Geometry in Contaminated Reasoning finds that leaked reasoning compresses activations into a low-dimensional subspace. Its Eigenspectrum Concentration Index (ECI) measures this narrowing, and projecting out the dominant directions recovers reasoning on about half of leaked samples. That finding sits uneasily with Tracing the representation geometry of language models from pretraining to post-training, which reports that ordinary supervised fine-tuning expands effective rank. Our experiments directly test which regime clinical fine-tuning falls into, and at which point on the trade-off curve.

On the evaluation side, MedCalc-Bench supplies the task and reports strong prompt-format sensitivity. DyVal shows that generating problems from graphs exposes memorizers but is limited to formal math and logic. Yourbench builds fresh QA from post-March-2025 documents but does not study fine-tuning. We carry DyVal's generate-with-known-answer idea into a noisy professional domain and use it as a measuring instrument for fine-tuning methods.

Research Program

We would build MedCalc-Fresh. For each of MedCalc-Bench's 55 calculators, we sample new variable values, compute the answer with the calculator code, and have a writer model embed the values in a realistic patient note. A separate extractor model and the calculator must recover the sampled values before an item is kept. This round-trip check guards against the writer dropping or corrupting variables. We generate notes in several styles to break surface overlap with the originals. A random sample would be checked by clinicians or trained annotators for plausibility, since generator bias is a known weakness of LLM-written benchmarks, as Yourbench reports.

The evaluation has four tiers. Tier S is the original static MedCalc test. Tier F contains fresh notes for calculators seen in training. Tier H contains fresh notes for calculators held out in a leave-group-out training split, grouped by calculator family so held-out items are not trivial variants. Tier G measures general ability twice: once on the static benchmarks used by the SFT paper (GSM8K, MMLU, HumanEval, IFEval), and once on dynamic substitutes, namely DyVal problems at complexity levels D1–D4 and Yourbench QA built from TEMPORA-0325. The memorization gap is S minus F. Transfer is F and H. General robustness is the dynamic G score, with the static-minus-dynamic G gap reported alongside it.

To calibrate the instrument, we would repeat DICE's protocol in this domain. We deliberately inject 0%, 2%, and 10% paraphrased MedCalc test items into training and confirm that the S–F gap grows with the injected rate. If the instrument cannot detect planted contamination, it cannot be trusted to detect natural contamination.

For each method we trace a full curve rather than a single point:

  • standard fine-tuning checkpoints across training;
  • learning rates from 2e-5 down to 1e-6, the range the SFT paper studies;
  • TALR;
  • WiSE-FT with interpolation weight swept from 0 to 1;
  • Model Stock over two runs;
  • a head-first warm-up adapted to generation, which trains only the output embedding before full training.

We flag the warm-up as a loose analogue because generative models have no randomly initialized head. At every point we also record the ECI and effective rank of domain-input activations. The last analysis asks whether narrowing on domain inputs predicts the S–F gap well enough to choose the interpolation weight without labels.

Models would be Qwen2.5-3B, to match the closest prior work, and one larger open model of around 8B parameters. We state this as a limit: we do not claim results for frontier-scale models.

Baselines

The naive reference points are the base model with no fine-tuning and standard full fine-tuning at the common learning rate of 2e-5. Each is scored on all four tiers under identical one-shot chain-of-thought prompting. We fix the prompt format because MedCalc-Bench reports that GPT-4 swings from 50.9% one-shot chain-of-thought accuracy to 20.8% zero-shot direct. For scale, the same paper reports Llama 3-70B at 39.5% one-shot.

The strongest existing method on this exact question is TALR, from SFT Doesn't Always Hurt General Capabilities. It reports a general-capability score of 0.6478 against 0.6202 for standard fine-tuning on Qwen2.5-3B trained on MedCalc. We would first reproduce this number to within noise, using the same data, model, and general benchmarks. Only then would we score TALR on the fresh tiers.

WiSE-FT is the strongest weight-space competitor. On ImageNet its reported gains are 1.6 points in-distribution and 4 to 6 points on shifts. We found no reported result on Lacuna for WiSE-FT or DaWin on MedCalc-Bench or any language-model domain fine-tuning task, so its behavior here is an open empirical question. All methods share one training set, one token budget, and the same number of hyperparameter trials, about twelve each. Every tuned choice, including learning rate, TALR temperature, and interpolation weight, is selected on a validation split of Tier F that is disjoint from reported test items.

Two ablations isolate the key ingredient, which is fresh evaluation. First, we rerun every method comparison using only static scores and check whether the method ranking changes. Second, we compare interpolation weights chosen by the geometric signal against weights chosen by Tier-F validation, a supervised upper bound, and against the default of 0.5. For the headline claim, success means one of two things: the ranking of methods on transfer-plus-dynamic-general differs from their static ranking, or a method that ties on static scores shows a consistently different memorization gap across seeds. For the selection rule, success means matching the supervised upper bound within seed noise and beating the default of 0.5.

Why not just…?

Why not just deduplicate the training data against the test set and re-score? DICE shows that in-distribution contamination consists of paraphrases and numerically altered variants that text-overlap filters miss, and that 2% of such data moves accuracy by about 10 points. Deduplication would leave precisely this kind of overlap in place. Our injection experiment checks the point directly: after deduplication, the planted paraphrases remain, and the fresh-tier gap should still detect them.

Why not just run a contamination detector like DICE or CANARY on each checkpoint? Detectors such as CANARY and DICE give a yes-or-no flag. They require the clean base model, and CANARY's accuracy falls to an area under the curve of about 0.83 under low-rank adaptation. They do not report how many accuracy points are memorized, which is the quantity needed to redraw a trade-off curve. We would still run DICE's layer-localized classifier as a secondary signal. If it tracks the S–F gap as well as our geometric signal does, the selection-rule contribution weakens, and we would say so.

Why not just evaluate on Yourbench-style fresh documents instead of building generators? Temporally fresh QA removes pretraining leakage but tests recall of facts in documents, not execution of a procedure with a single exact answer. It also cannot produce new instances of the same skill the model was trained on, so it cannot separate memorized instances from transferable skill. We do use Yourbench on TEMPORA-0325 for the general-ability axis, where this limitation does not matter.

Why not just lower the learning rate, since that already preserves general scores? This is a real threat. It may be that low learning rates simply avoid memorization, which would make everything else redundant. Our learning-rate sweep tests this directly. If low-rate models show a near-zero S–F gap and dominate the fresh frontier, then the practical conclusion is "use a small learning rate." The contribution would then be the evidence that this conclusion holds on uncontaminated measurements, not only on static ones.

Decisive Checks

The first check is calibration. The S–F gap must rise with planted contamination at 2% and 10%, or MedCalc-Fresh is not a valid instrument. The second check is the core claim. Across seeds, either the ordering of standard fine-tuning, low learning rate, TALR, WiSE-FT, and Model Stock on Tier F plus Tier H plus dynamic general scores differs from their static ordering, or the best interpolation weight on fresh data sits measurably closer to the base model than on static data. If neither holds, we report that static scores are adequate here. The third check resolves the geometry tension. We test whether activations on domain inputs expand in rank, as Li et al. report for ordinary fine-tuning, or narrow, as Xie et al. report for contaminated fine-tuning, and whether the switch between the two coincides with the learning rates and checkpoints where the memorization gap opens. If it does, narrowing becomes a usable label-free stopping and interpolation signal for domain fine-tuning, a setting where shifted validation data is rarely available.