Safety drift after fine-tuning large models: evidence from the medical and legal domainsSafety Drift After Fine-Tuning: Evidence from High-Stakes Domains
Translation in progress — untranslated text is omitted.
The paper conducts a safety evaluation of 100 open-source models in the medical and legal domains and their base models, finding that benign domain fine-tuning induces directionally inconsistent safety drift that varies by benchmark. The ecosystem analysis covers 31 fine-tuned models with relatively high download counts; in the medical domain, 81% of models improved on at least one benchmark and worsened on another, and in the legal domain, after including all five metrics, this proportion was 93%. In the second stage, LoRA, QLoRA and full fine-tuning were applied to four 7–9B instruction-tuned base models; after fixing data and hyperparameters, safety changes still could not be stably predicted by fine-tuning method, base model family, or magnitude of parameter change. The authors also find that modifying the evaluation template can reverse 25% of medical results, and on this basis argue that governance thresholds that assign responsibility according to modified compute are unlikely to cover actual risk.
- Safety evaluation is usually performed only on base models, assuming that safety properties are retained after downstream fine-tuning. The authors examine whether this assumption holds in the real open-source supply chain in the two high-risk domains of medical and legal.
- Two-stage design: Phase I conducts an ecological comparison of 31 highly downloaded medical/legal fine-tuned models on Hugging Face with their base models; Phase II uses 4 instruction-tuned base models, fixed data and hyperparameters, compares three methods—LoRA, QLoRA, and FFT—and uniformly measures drift with 7 general and domain safety benchmarks.
- The authors report: 81% of medical fine-tuned models show mixed-sign drift, and the median correlation between benchmarks is only 0.23; under controlled fine-tuning, 100% of configurations degrade on MLCommons while 83% improve on medical benchmarks; fine-tuning method, base model choice, and parameter count changes cannot reliably predict the direction of drift.
- The authors note: the ecological analysis cannot control for unrecorded training differences and cannot provide causal explanations; the benchmarks lack external-validity validation against real harm; the results are based on open-source models, and whether they generalize to closed-source API fine-tuning is left for future work.
An analysis of 100 medical and legal models shows that safety changes after benign fine-tuning often vary by benchmark, which can serve as a reference for re-evaluation before downstream deployment.
Related papers
- Unintended Harms of Value-Aligned LLMs: Psychological and Empirical InsightsAnalysis / interpretabilityACL 2025