Research map / Large language models / Instruction and fine-tuning
Separate the Wheat from the Chaff: A Post-Hoc Approach to Safety Re-Alignment for Fine-Tuned Language Models
Di Wu, Xin Lu, Yanyan Zhao, Bing Qin
Harbin Institute of Technology
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 |
|---|---|---|---|
| apply IRR safety realignment | SFT Llama-2-7B-chat · GSM8K SFT | avg safety score: 80.12 -> 99.56 | Improved |
| apply IRR safety realignment | SFT Llama-2-7B-chat · GSM8K SFT | GSM8K accuracy: 43.06 -> 42.91 | No clear effect |
| apply IRR safety realignment | SFT Llama-2-7B-chat · GSM8K SFT | avg jailbreak safety score: 35.25 -> 79.65 | Improved |
| apply Safe LoRA | SFT Llama-2-7B-chat · GSM8K SFT | GSM8K accuracy: 43.06 -> 22.61 | Hurt |
| apply RESTA (safety vector merging) instead of IRR | SFT Llama-2-7B-chat · CodeAlpaca SFT | HumanEval: 19.02 -> 14.88 | Hurt |
| apply IRR instead of RESTA | SFT Llama-2-7B-chat · CodeAlpaca SFT | HumanEval: 14.88 -> 18.96 | Improved |
| add DARE drop-and-rescale | SFT, RESTA, IRR · Llama-2-7B-chat safety | safety score: SFT 80.12 -> 80.20 (DARE); IRR 99.56 -> IRR_d 99.72 | No clear effect |
| replace identification with random selection of delta parameters (IRR w/o ID) (ablation) | IRR · jailbreak safety vs. task performance | downstream performance | Improved |
| add safety interference criterion to identification (IRR w/o SI removes it) (ablation) | IRR · jailbreak safety vs. task performance | downstream performance | Improved |
| add recalibration step (IRR w/o Recal removes it) (ablation) | IRR · jailbreak safety vs. task performance | downstream performance | Improved |
| use fewer calibration samples (1,000 -> 8) (ablation) | IRR, full fine-tuned GSM8K model · GSM8K | accuracy: 42.06 -> 42.43 acc; time 839.22 s -> 227.03 s | No clear effect |
| use a different (new) safety vector (ablation) | IRR vs RESTA · LoRA GSM8K | safety and accuracy | No clear effect |
Earlier methods this paper compares with
Named baselines from earlier accepted papers in this paper's results tables: better than 1 of 1 on most shared results.
- Safe LoRA — Safe LoRA: The Silver Lining of Reducing Safety Risks when Finetuning Large Language Models (NeurIPS 2024) · better on 5 of 9 shared results
Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.
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
- Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To! (ICLR 2024 · similarity 0.93)
- Safety Alignment Should be Made More Than Just a Few Tokens Deep (ICLR 2025 · similarity 0.92)
- Navigating the Safety Landscape: Measuring Risks in Finetuning Large Language Models (NeurIPS 2024 · similarity 0.91)
- Controllable Safety Alignment: Inference-Time Adaptation to Diverse Safety Requirements (ICLR 2025 · similarity 0.91)
- SaLoRA: Safety-Alignment Preserved Low-Rank Adaptation (ICLR 2025 · similarity 0.91)
- STAIR: Improving Safety Alignment with Introspective Reasoning (ICML 2025 · similarity 0.90)
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.