Machine Unlearning of Pre-trained Large Language Models
About
This study investigates the concept of the `right to be forgotten' within the context of large language models (LLMs). We explore machine unlearning as a pivotal solution, with a focus on pre-trained models--a notably under-researched area. Our research delineates a comprehensive framework for machine unlearning in pre-trained LLMs, encompassing a critical analysis of seven diverse unlearning methods. Through rigorous evaluation using curated datasets from arXiv, books, and GitHub, we establish a robust benchmark for unlearning performance, demonstrating that these methods are over $10^5$ times more computationally efficient than retraining. Our results show that integrating gradient ascent with gradient descent on in-distribution data improves hyperparameter robustness. We also provide detailed guidelines for efficient hyperparameter tuning in the unlearning process. Our findings advance the discourse on ethical AI practices, offering substantive insights into the mechanics of machine unlearning for pre-trained LLMs and underscoring the potential for responsible AI development.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Language Understanding | MMLU | Accuracy44.7 | 756 | |
| Multimodal Machine Unlearning | SAFEERASER Efficacy v1.0 (forget set) | ASR2.7 | 18 | |
| Multimodal Machine Unlearning | SAFEERASER Generality v1.0 (test) | ASR1.2 | 18 | |
| Multimodal Machine Unlearning | SAFEERASER Model Utility v1.0 (general set) | Specificity56 | 18 | |
| LLM Unlearning | RWKU | USR76.2 | 16 | |
| Machine Unlearning | MUSE | -- | 16 | |
| Machine Unlearning | Dolly-15k Mistral-7B variant (Seen) | Seen ASR38.4 | 14 | |
| Machine Unlearning | WMDP | MIA0.047 | 8 | |
| Relearning Attack | RWKU | RAP28 | 8 | |
| Relearning Attack | WMDP | RAP30.5 | 8 |