When Safety Fails Collectively: Robust Alignment Against Harmful Fine-Tuning via Joint Weight Perturbations
Zhiyuan Wang, Yuezhi Zhou, Zhu Zhang, Zhixing Tan
Key points
From the paper's conclusion- We identify a collective failure pattern: disjoint parts of a harmful perturbation have limited effects in isolation, but their joint application increases the model's harmfulness beyond the sum of their individual effects.
Abstract
Harmful fine-tuning can rapidly erode the safety alignment of large language models, creating substantial risks when aligned models are adapted to downstream tasks. Existing alignment-stage defenses use harmful examples and simulated harmful perturbations during safety alignment to prepare models for later harmful fine-tuning, yet the collective effects of harmful weight perturbations remain underexplored. We identify a collective failure pattern: disjoint parts of a harmful perturbation have limited effects in isolation, but their joint application increases the model's harmfulness beyond the sum of their individual effects. Guided by this observation, we propose Joint Weight Perturbations (JWP), an alignment-stage defense that masks different parts of a harmful perturbation estimated from the current model and trains the model to respond safely in the resulting states. This exposes the model to different combinations of harmful perturbations and reduces its sensitivity to their accumulation during subsequent harmful fine-tuning. Experiments across downstream tasks and model families show that JWP offers stronger resistance to harmful fine-tuning than prior defenses while largely preserving task performance.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Harmful Fine-tuning Attacks and Defenses for Large Language Models: A SurveyACM Computing Surveys · 2026
- Safety Offset Learning: When Benign Fine-Tuning Misaligns LLMsarXiv · 2026
- Attention Sees, MLP Refuses: Tracing the Attention-to-MLP Safety Pathway in LLMsarXiv · 2026
- The Unequal Influence of Bad Advice: Using Training Data Attribution to Modulate Emergent MisalignmentarXiv · 2026
- Jailbreak LLMs with Linguistic Style as a Hidden Attack SurfacearXiv · 2026
- Addition by Subtraction: Toward Mitigating Fragile Safety Alignment in Large Language ModelsarXiv · 2026