Understanding the impact of safety unalignment on large language modelsUnderstanding the Effects of Safety Unalignment on Large Language Models
Translation in progress — untranslated text is omitted.
The paper compares the effects of two safety-removal methods, jailbreak fine-tuning (JT) and weight orthogonalization (WO), on six large language models of different sizes, finding that WO makes models more capable of assisting malicious activities. The study evaluates across a large set of malicious and benign tasks, showing that refusal degradation is distributed differently between the two methods, while WO-unaligned models hallucinate less, better preserve original natural language performance, and are better at state-of-the-art adversarial attacks and cyberattacks. The authors finally show that supervised fine-tuning can effectively limit the adversarial attack capability brought by WO, without significantly affecting hallucination rate or natural language performance.
- Safety-aligned LLMs can still have their guardrails removed by JT or WO. The authors state that existing analyses mostly look at refusal rates of a single method, so they compare the two methods' effects on attack assistance, hallucination, and helpfulness.
- For the three instruction-tuned models in Table 1 and their reasoning counterparts, apply JT (5,000 items, 98% benign/2% malicious, 5 epochs) and WO (estimate refusal vector then orthogonalize weights) respectively. Then do 1 epoch of SFT on OpenHermes on the WO models.
- On StrongREJECT, each method wins on three models for refusal reduction. The authors state that WO succeeds against attacks by an average of 27.7% more than JT, cyberattacks by 6.1% more, and has fewer hallucinations. After SFT, the adversarial ASR, the introduction states an average decrease of 37.5%, the main text states an average decrease of 45.3% relative to WO; cyberattacks decrease for half and increase for half.
- The authors state that WO requires white-box weights and plan to study black-box pipelines; after SFT, further reduction of cyberattack effectiveness is still needed, and they plan to combine preference alignment. The experiments use the six open-source models in Table 1, and the AutoDAN victim models are only the two aligned base models.