Unlearning as multi-task optimization: A normalized gradient difference approach with an adaptive learning rate
About
Machine unlearning has been used to remove unwanted knowledge acquired by large language models (LLMs). In this paper, we examine machine unlearning from an optimization perspective, framing it as a regularized multi-task optimization problem, where one task optimizes a forgetting objective and another optimizes the model performance. In particular, we introduce a normalized gradient difference (NGDiff) algorithm, enabling us to have better control over the trade-off between the objectives, while integrating a new, automatic learning rate scheduler. We provide a theoretical analysis and empirically demonstrate the superior performance of NGDiff among state-of-the-art unlearning methods on the TOFU and MUSE datasets while exhibiting stable training.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| General Language Understanding | MMLU | MMLU Score60.8 | 39 | |
| Adversarial Robustness | MUSE-Book Harry Potter | ASR17.9 | 11 | |
| Machine Unlearning | MUSE-Book Harry Potter | Forget13.6 | 11 | |
| Neighbor Domain Knowledge Preservation | MUSE-Book Harry Potter | Retain Accuracy37.7 | 11 | |
| LLM Unlearning | WMDP cyber | Forget Rate17.3 | 8 |