SAFT: Safety-Preserving Adaptation via Fine-Tuning Transfer for Large Language Models
Adapting instruction-tuned large language models (LLMs) to downstream domains is increasingly common, yet fine-tuning on imperfect data can erode the safety alignment learned during post-training. Existing safety-preserving fine-tuning methods typically optimize the aligned instruction model directly, which can destabilize refusal behaviors or impose an ''alignment tax'' that limits task adaptation. We propose SAFT (Safety-preserving Adaptation via Fine-tuning Transfer), a safety-preserving adaptation framework that decouples task learning from alignment preservation by learning a safety-guided task update on the paired pretrained base model, rectifying task gradients to avoid conflicting directions with respect to a safety objective, and then transferring the update to the frozen instruction model via parameter-space grafting. Across mathematical reasoning, code generation, and medical question answering on two open-source model families (Llama3.1-8B-Instruct and Gemma3-4B-IT), SAFT improves downstream utility while maintaining low harmfulness under a unified evaluation protocol, and achieves better safety and utility trade-offs than nine baselines. Warning: This paper contains unfiltered content generated by LLMs that may be offensive to readers.
- Link
- https://www.semanticscholar.org/paper/5a200fafe250d630aa03e465945663453f19aea9
- Found by
- Semantic Scholar
- Authors
- Zhiwen Ruan, Yan Yang, Zhuocheng Liang, Yun Chen, Guanhua Chen
- Categories
- evaluation
- Published
- 2026-08-08
- Last seen by the radar
- 2026-08-08
- Citations
- 0
- Influential citations
- 0
- Radar score
- 38.54 / 100 (how it is scored)
- Why it scored so
- Matched: evaluat; Primary record: Semantic Scholar
- Related links
- https://doi.org/10.1145/3770855.3817883