Research map / Large language models / Instruction and fine-tuning
Why LLM Safety Guardrails Collapse After Fine-tuning: A Similarity Analysis Between Alignment and Fine-tuning Datasets
Lei Hsiung, Tianyu Pang, Yung-Chen Tang, Linyue Song, Tsung-Yi Ho, Pin-Yu Chen, Yaoqing Yang
Dartmouth College · EPFL · Idiap Research Institute · University of California, Berkeley · The Chinese University of Hong Kong · IBM
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 |
|---|---|---|---|
| use Low-Sim instead of High-Sim safety-alignment subset (5K) (ablation) | Llama-2-7B · Alpaca fine-tuning | HS: 44.67% -> 39.67% | Improved |
| use Low-Sim instead of High-Sim safety-alignment subset (5K) (ablation) | Llama-2-13B · SAMSum fine-tuning | HS: 80.33% -> 70.00% | Improved |
| use Low-Sim instead of High-Sim safety-alignment subset (5K) (ablation) | Llama-2-7B · List harmful fine-tuning | HS: 74.33% -> 71.67% | Improved |
| use Low-Sim instead of High-Sim safety-alignment subset (5K) (ablation) | Llama-2-7B · Pure Bad harmful fine-tuning | HS: 67.00% -> 69.67% | Hurt |
| use Low-Sim instead of High-Sim subset (1K) (ablation) | Llama-2-7B · Pure Bad harmful fine-tuning | HS: 76.67% -> 76.33% | No clear effect |
| use Low-Sim instead of High-Sim subset (1K) (ablation) | Llama-2-7B · SAMSum fine-tuning | HS: 55.00% -> 47.67% | Improved |
| use Low-Sim safety-alignment subset on top of SafeInstr (ablation) | Llama-2-7B · Alpaca fine-tuning (5K) | HS: 27.67% -> 17.33% | Improved |
| use Low-Sim safety-alignment subset on top of BEA (ablation) | Llama-2-7B · Alpaca fine-tuning (5K) | HS: 14.67% -> 5.67% | Improved |
| use larger safety-alignment dataset (ablation) | Llama-2-7B · downstream fine-tuning | HS: e.g. List 1K High-Sim 78.33% -> 5K High-Sim 74.33% | Improved |
| use a k-means high-similarity list cluster instead of Top-100 Harmful anchors for fine-tuning | Llama-2-7B-Chat · Alpaca (harmful subset fine-tuning) | harmfulness: +15.7% more harmful (16.3% on Dolly) | Improved |
| use Low-Sim on benign utility (ablation) | Llama-2-7B · Alpaca fine-tuning (MT-Bench utility, 5K) | utility: 6.89 (High-Sim) vs 6.78 (Low-Sim) | 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
- Assessing the Brittleness of Safety Alignment via Pruning and Low-Rank Modifications (ICML 2024 · similarity 0.92)
- Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To! (ICLR 2024 · similarity 0.91)
- Safety Alignment Should be Made More Than Just a Few Tokens Deep (ICLR 2025 · similarity 0.90)
- PolyGuard: Massive Multi-Domain Safety Policy-Grounded Guardrail Dataset (NeurIPS 2025 · similarity 0.90)
- BackdoorAlign: Mitigating Fine-tuning based Jailbreak Attack with Backdoor Enhanced Safety Alignment (NeurIPS 2024 · similarity 0.89)
- STAIR: Improving Safety Alignment with Introspective Reasoning (ICML 2025 · similarity 0.89)
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.