Preserving Safety During Sequential Fine-Tuning: A Factorial and Geometric Analysis of Replay
On the map: LLM alignment / RLHF / preference optimisation → Safety alignment and jailbreak attacks
also in 1 more
Abstract (arXiv)
Benign fine-tuning can erode safety alignment in large language models, and sequential adaptation substantially compounds this risk. Prior work mitigates this erosion by replaying harmful-prompt refusals and benign-compliance examples, while other work instead matches base-model logits via distillation. However, the individual contributions of supervised exposure and distillation to safety behavior and refusal geometry during sequential adaptation remain unclear. We factor these two strategies apart and study their behavioral and geometric effects during sequential LoRA fine-tuning of Mistral-7B and Llama-3-8B across diverse task sequences (code generation, German-language summarization, and science question-answering). Behaviorally, supervised replay exposure yields the largest reduction in HarmBench attack success rate (ASR) on Mistral, averaging 51.1 points below base, but at a substantial over-refusal cost, averaging 53.4 points above base on OR-Bench-hard. Logit distillation, without any supervised replay loss, largely prevents safety erosion at a fraction of this cost: an average 5.4-point ASR reduction against only a 5.1-point rise in over-refusal. Llama shows the same asymmetry between the two strategies. Combining exposure and distillation moderates exposure's over-refusal while leaving downstream task scores largely unaffected. Geometrically, the two models diverge: on Mistral, distillation preserves the base refusal direction more closely than exposure does, whereas on Llama, refusal behavior after exposure largely survives ablation of the extracted refusal direction. This dissociation between models indicates that preserving the base refusal direction is not a reliable proxy for behavioral safety.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Safety alignment and jailbreak attacks, one of 10 directions in LLM alignment / RLHF / preference optimisation. Builds on 36 of its 37 references that are in the map. Submitted 27 Oct 2026.
Builds on
36 of 37 references.
Closest ancestors · 14
Same direction, newest first
- 2026Dynamic Adversarial Fine-Tuning Reorganizes Refusal Geometry29 Apr
- 2026SafeAnchor: Preventing Cumulative Safety Erosion in Continual Domain Adaptation of Large Language Models20 Apr
- 2025Unforgotten Safety: Preserving Safety Alignment of Large Language Models with Continual Learning10 Dec
- 2025Beyond Surface Alignment: Rebuilding LLMs Safety Mechanism via Probabilistically Ablating Refusal Direction18 Sep
- 2025The Geometry of Refusal in Large Language Models: Concept Cones and Representational Independence24 Feb
- 2025The Hidden Dimensions of LLM Alignment: A Multi-Dimensional Analysis of Orthogonal Safety Directions13 Feb
- 2024Safety Layers in Aligned Large Language Models: The Key to LLM Security30 Aug
- 2024Towards Understanding Safety Alignment: A Mechanistic Perspective from Safety Neurons20 Jun
- 2024Safety Alignment Should Be Made More Than Just a Few Tokens Deep10 Jun
- 2024OR-Bench: An Over-Refusal Benchmark for Large Language Models31 May
- 2024Assessing the Brittleness of Safety Alignment via Pruning and Low-Rank Modifications7 Feb
- 2023LoRA Fine-tuning Efficiently Undoes Safety Training in Llama 2-Chat 70B31 Oct
2 more
Other references · 22
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 15,591
- 2016Overcoming catastrophic forgetting in neural networkscited by 4,989
- 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 2,225
- 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,584
- 2018Continual Lifelong Learning with Neural Networks: A Reviewcited by 1,366
- 2024Refusal in Language Models Is Mediated by a Single Directioncited by 1,174
- 2020Dark Experience for General Continual Learning: a Strong, Simple Baselinecited by 955
- 2023An Empirical Study of Catastrophic Forgetting in Large Language Models During Continual Fine-tuningcited by 709
- 2023XSTest: A Test Suite for Identifying Exaggerated Safety Behaviours in Large Language Modelscited by 579
- 2024WildGuard: Open One-Stop Moderation Tools for Safety Risks, Jailbreaks, and Refusals of LLMscited by 566
- 2023Safety-Tuned LLaMAs: Lessons From Improving the Safety of Large Language Models that Follow Instructionscited by 421
- 2024Continual Learning of Large Language Models: A Comprehensive Surveycited by 262
10 more
- 2024WildTeaming at Scale: From In-the-Wild Jailbreaks to (Adversarially) Safer Language Modelscited by 253
- 2022Fine-tuned Language Models are Continual Learnerscited by 168
- 2024Safe LoRA: the Silver Lining of Reducing Safety Risks when Fine-tuning Large Language Modelscited by 137
- 2024What is in Your Safe Data? Identifying Benign Data that Breaks Safetycited by 128
- 2023TRACE: A Comprehensive Benchmark for Continual Learning in Large Language Modelscited by 79
- 2025SaLoRA: Safety-Alignment Preserved Low-Rank Adaptationcited by 45
- 2026There Is More to Refusal in Large Language Models than a Single Directioncited by 32
- 2025Fine-Tuning Lowers Safety and Disrupts Evaluation Consistencycited by 31
- 2025Anchoring Refusal Direction: Mitigating Safety Risks in Tuning via Projection Constraintcited by 9
- 2024Chained Tuning Leads to Biased Forgettingcited by 5
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026When Safety Routing Breaks: Understanding Alignment Fragility under Benign Fine-Tuning
- 2024Do as I do (Safely): Mitigating Task-Specific Fine-tuning Risks in Large Language Models
- 2025Preventing Catastrophic Forgetting: Behavior-Aware Sampling for Safer Language Model Fine-Tuning
- 2026From Parameter Dynamics to Risk Scoring : Quantifying Sample-Level Safety Degradation in LLM Fine-tuning
- 2026Understanding and Preserving Safety in Fine-Tuned LLMs
- 2026When Safety Becomes An Outlier: Understanding the Retention of LLM Safety Behaviors
- 2025The Instability of Safety: How Random Seeds and Temperature Expose Inconsistent LLM Refusal Behavior
- 2026When Skills Meet Safety: Benchmarking and Characterizing the Adaptive Jailbreak Robustness of Skill-Merged LLMs