Restoring General and Improving Domain-Specific Safety in Fine-Tuned LLMs Without Retraining
Vishnu Kabir Chhabra, Ding Zhu, Zhihui Zhu, Xueru Zhang, Mohammad Mahdi Khalili
Abstract
Safety-aligned language models are known to suffer degradation in refusal behavior following domain-specific fine-tuning, even when the fine-tuning data is entirely benign. The predominant mitigation strategy, preference optimization on the fine-tuned model, is computationally expensive and requires domain-specific preference data that is often unavailable in practice. We propose SPECTRA, a training-free, weight-level method that restores refusal behavior by transferring the base model's refusal direction into the fine-tuned model's weights via an activation-aware, low-rank update, requiring no gradient-based optimization or domain-specific safety data. The low-rank design restricts the intervention to the subspace most causally active on harmful inputs, leaving benign behavior largely undisturbed by construction. Empirically, SPECTRA substantially improves refusal behavior across a comprehensive safety evaluation, while preserving general coherence, domain-specific knowledge, and producing negligible change in false refusal rates.
Create a lesson
Related papers
Learning Adaptive Defense Strategies: Fine-Tuned LLMs for Network Security Games under Network Mobility
Shared title terminology · Md Abu Sayed, Asif Rahman, Ahmed Ryen et al.
RBLA+: Efficient Rank-Specific LoRA Adapter Extraction for Federated Fine-Tuning with Heterogeneous Clients
Shared title terminology · Shuaijun Chen, Omid Tavallaie, Xin Chen et al.
Homeopathic Learning: Diluting poisoned fine-tuning data can strengthen its effect
Shared title terminology · Matt Clarke, Jan Dubiński, James Chua et al.
Do You Even Know What I Want? Improving LLMs Ability to Detect Hidden User Intent
Shared title terminology · Kelsey Sikes, Sarath Sreedharan
Bel: Step-Level Policy Improvement of Visual Agents Without Training
Shared title terminology · Jiajun Fan, Ziwen Wang, Zhaoyu Zhu et al.
Self-Indexing Latent Memories for Access-Aware Continual Instruction Tuning of LLMs
Shared title terminology · Dhruv Dixit, Paritosh Pandey, Snehalkumar 'Neil' S. Gaikwad