Research map / Large language models / Instruction and fine-tuning
Language Models are Homer Simpson! Safety Re-Alignment of Fine-tuned Language Models through Task Arithmetic
Rishabh Bhardwaj, Do Duc Anh, Soujanya Poria
Singapore University of Technology and Design · Nanyang Technological University
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add safety vector to the SFT model (Resta) | SFT Llama-2-7B-Chat, PEFT · CatQA | unsafety score (%): 33.57 -> 13.22 | Improved |
| add safety vector to the SFT model (Resta) | SFT Llama-2-7B-Chat, Full-FT · CatQA | unsafety score (%): 22.16 -> 4.68 | Improved |
| apply DARE before adding safety vector (Resta_d) (ablation) | Resta, PEFT · CatQA | unsafety score (%): 13.22 -> 12.17 | Improved |
| apply DARE alone to SFT model (ablation) | SFT, PEFT · CatQA | unsafety score (%): 33.57 -> 31.5 | No clear effect |
| add DARE to Resta in Full-FT (ablation) | Resta, Full-FT · HarmfulQA | unsafety score (%): 1.54 -> 2.16 | Hurt |
| add safety vector (generalization to other categories) | SFT, PEFT · HarmfulQA | unsafety score (%): 18.21 -> 5.44 | Improved |
| add safety vector | SFT, Full-FT · DangerousQA | unsafety score (%): 4.84 -> 0.65 | Improved |
| add safety vector | SFT, PEFT · AdversarialQA | unsafety score (%): 29.74 -> 10.28 | Improved |
| add safety vector | SFT, PEFT · CatQA Vietnamese | unsafety score (%): 53.59 -> 27.39 | Improved |
| add safety vector | SFT, Full-FT · CatQA Chinese | unsafety score (%): 51.93 -> 27.39 | Improved |
| add safety vector (Resta) | SFT, PEFT · task performance (avg over 5 tasks) | accuracy / pass rate: about 2.41% reduction | Hurt |
| add safety vector (Resta) | SFT, Full-FT · task performance (avg over 5 tasks) | accuracy / pass rate: about 0.47% reduction | No clear effect |
Open problems in safety alignment after fine-tuning
Do safety defenses against harmful fine-tuning hold on larger models and against adaptive attacks?
- Larger models were not tested, mostly for lack of compute. · 27 papers state it
- Defenses are tested against few attacks and not against adaptive ones. · 15 papers state it
- Safety is scored by one LLM judge or classifier that may be biased. · 15 papers state it
Closest papers by meaning
- Safety Arithmetic: A Framework for Test-time Safety Alignment of Language Models by Steering Parameters and Activations (EMNLP 2024 · similarity 0.89)
- Safety Depth in Large Language Models: A Markov Chain Perspective (NeurIPS 2025 · similarity 0.87)
- Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To! (ICLR 2024 · similarity 0.86)
- Do as I do (Safely): Mitigating Task-Specific Fine-tuning Risks in Large Language Models (ICLR 2025 · similarity 0.86)
- POROver: Improving Safety and Reducing Overrefusal in Large Language Models with Overgeneration and Preference Optimization (ICML 2025 · similarity 0.86)
- TAIA: Large Language Models are Out-of-Distribution Data Learners (NeurIPS 2024 · similarity 0.86)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.