Protecting Safety during Reasoning Training with Low-Rank Fisher Regularisation
Neel Rajani, Ivan Titov
Abstract
Large language models are trained to have safety guardrails, but these can be compromised while fine-tuning for new capabilities, such as reasoning. One way to mitigate this degradation is to modify the fine-tuning objective to preserve safety behaviour, but doing so effectively and efficiently remains challenging. We revisit Elastic Weight Consolidation (EWC), which penalises parameter updates based on sensitivity estimates from the diagonal of the Fisher information matrix (FIM). While EWC provides some protection, the diagonal approximation ignores interactions between parameters. We address this limitation by exploiting recent findings that safety-relevant behaviour is located in a low-rank subspace within models. Our method, Subspace-Projected Elastic Weight Consolidation (SP-EWC), projects gradients onto this subspace to capture non-diagonal curvature efficiently. We investigate three different ways of identifying the safety subspace: through safety fine-tuning updates (LoRA), safety-related activations (ActSVD), and contrastive representations of safety and utility data (cPCA). We find that this choice substantially affects performance, with SP-EWC using cPCA comparing favourably against existing methods by better maintaining safety guardrails without introducing excessive over-refusal.
Create a lesson
Related papers
PLoQ: A Prompt-Specific Low-Rank Basis for 4-bit Quantization of LLM Activations
Shared title terminology · Faraz Tahmasebi, Michael Pellauer, Hyoukjun Kwon et al.
Complete-SVD: A Functional Norm Approach to Low-Rank LLM Compression
Shared title terminology · Alper Kalle, Theo Rudkiewicz, Mohamed-Oumar Ouerfelli et al.
Variational Monte Carlo for Quantum Excited States via Nested Low-Rank Approximation
Shared title terminology · Minchan Jeong, J. Jon Ryu, Se-Young Yun et al.
Reasoning Again with a Quarter of the Experts: Retry First, Then Train
Shared title terminology · Anik Jha
Turnout: Adaptive Attention Switching for Efficient Reasoning
Shared title terminology · Anna Kuzina, Mart van Baalen, Paul N. Whatmough et al.
Learning When to Ask: Advisor-Aware Post-Training for SLM Agents
Shared title terminology · Aasheesh Singh, Vishal Vaddina