scimeatlas

Research map / Large language models / Instruction and fine-tuning

Emulated Disalignment: Safety Alignment for Large Language Models May Backfire!

Zhanhui Zhou, Jie Liu, Zhichen Dong, Jiaheng Liu, Chao Yang, Wanli Ouyang, Yu Qiao

ACL 2024Large language models › Instruction and fine-tuningapproach: Safety alignment after fine-tuningopen problems in this approach54 citations (OpenAlex)

Shanghai AI Laboratory

Read the paperPlace an idea next to itCheck your own paper ↗

13measured effects
8improved
2no clear effect
2hurt
1mixed

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 changedWhereMeasuredEffect
contrast the pre-trained model with its safety-aligned version (ED) instead of the malicious-prompted pre-trained model aloneLlama-2-7b · 3 datasets avg, safe+harmful queriesharmful rate (%): 21.3 -> 37.0Improved
contrast with the safety-aligned model rather than the pre-trained model with a benign prompt (ED vs ED_Base) (ablation)Llama-2-7b · 3 datasets avgharmful rate (%): 28.0 -> 37.0Improved
contrast with the safety-aligned model rather than benign-prompted pre-trained model (ablation)Alpaca-7b · 3 datasets avgharmful rate (%): 47.5 -> 57.6Improved
contrast with the safety-aligned model rather than benign-prompted pre-trained model (ablation)Mistral-7b · 3 datasets avgharmful rate (%): 16.9 -> 27.0Improved
apply ED on top of Llama-1 family pairLlama-1-7b · 3 datasets avgharmful rate (%): 19.5 -> 32.0Improved
ED vs malicious-prompted safety-aligned model on ToxicChat harmful queries (Mistral, OM)Mistral family · ToxicChat harmful query, OpenAI-Moderationharmful rate (%): 22.7 -> 17.6Hurt
increase alpha in ED (ablation)ED, all model families · 3 datasets, OM and LGharmful rateMixed
use model pair from different families sharing Llama-1 vocabularyED, Llama-2 base · avg over datasets, alpha=0.6harmful rate (%): 42.2 (Llama-2 align) vs 41.3 (Llama-1 align)No clear effect
add few-shot harmful exemplars (1-shot, 5-shot) to prompting (ablation)ED · Appendix ablationharmful rateImproved
scale model from 7B to 70B (ablation)ED, Llama-2 family · alpha ablationharmful rateNo clear effect
apply ED with alpha=1 vs direct disalignment (DPO) at small beta^-1Synthetic HH models · harmless-base, reward-model safety scoresafety scoreImproved
apply ED at large beta^-1=8 (safest aligned models)Synthetic HH models · harmless-basesafety scoreHurt

Open problems in safety alignment after fine-tuning

Do safety defenses against harmful fine-tuning hold on larger models and against adaptive attacks?

All 5 open problems and what was already tried →

Closest papers by meaning

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy