An Adversarial Perspective on Machine Unlearning for AI Safety
Jakub Łucki, Boyi Wei, Yangsibo Huang, Peter Henderson, Florian Tramèr, Javier Rando
TL;DR
The paper critically evaluates state-of-the-art machine unlearning approaches (RMU, NPO, DPO) for removing hazardous knowledge from LLMs under white-box conditions. Using the WMDP benchmark and white-box attacks, it shows that unlearning largely obfuscates hazardous knowledge rather than erasing it from model weights, enabling recovery through minimal finetuning on unrelated data or orthogonalization across activation spaces. The authors demonstrate that hazardous capabilities can be recovered via directional ablations, pruning of critical neurons, and universal adversarial prefixes, while models may remain unusable or degrade in general utility. They argue that black-box evaluations are insufficient and advocate for robust, internal evaluations and new defense strategies, highlighting significant implications for the claimed advantages of unlearning over traditional safety finetuning. Overall, the work calls for more rigorous assessment of unlearning methods and prompts rethinking of how to achieve durable safety in large language models.
Abstract
Large language models are finetuned to refuse questions about hazardous knowledge, but these protections can often be bypassed. Unlearning methods aim at completely removing hazardous capabilities from models and make them inaccessible to adversaries. This work challenges the fundamental differences between unlearning and traditional safety post-training from an adversarial perspective. We demonstrate that existing jailbreak methods, previously reported as ineffective against unlearning, can be successful when applied carefully. Furthermore, we develop a variety of adaptive methods that recover most supposedly unlearned capabilities. For instance, we show that finetuning on 10 unrelated examples or removing specific directions in the activation space can recover most hazardous capabilities for models edited with RMU, a state-of-the-art unlearning method. Our findings challenge the robustness of current unlearning approaches and question their advantages over safety training.
