Does Unlearning Truly Unlearn? A Black Box Evaluation of LLM Unlearning Methods

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Doshi, Jai, Stickland, Asa Cooper
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866915165987930112
author Doshi, Jai
Stickland, Asa Cooper
author_facet Doshi, Jai
Stickland, Asa Cooper
contents Large language model unlearning aims to remove harmful information that LLMs have learnt to prevent their use for malicious purposes. LLMU and RMU have been proposed as two methods for LLM unlearning, achieving impressive results on unlearning benchmarks. We study in detail the impact of unlearning on LLM performance metrics using the WMDP dataset as well as a new biology dataset we create. We show that unlearning has a notable impact on general model capabilities, with the performance degradation being more significant in general for LLMU. We further test the robustness of the two methods and find that doing 5-shot prompting or rephrasing the question in simple ways can lead to an over ten-fold increase in accuracy on unlearning benchmarks. Finally, we show that training on unrelated data can almost completely recover pre-unlearning performance, demonstrating that these methods fail at truly unlearning. Our methodology serves as an evaluation framework for LLM unlearning methods. The code is available at: https://github.com/JaiDoshi/Knowledge-Erasure.
format Preprint
id arxiv_https___arxiv_org_abs_2411_12103
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Does Unlearning Truly Unlearn? A Black Box Evaluation of LLM Unlearning Methods
Doshi, Jai
Stickland, Asa Cooper
Computation and Language
Machine Learning
Large language model unlearning aims to remove harmful information that LLMs have learnt to prevent their use for malicious purposes. LLMU and RMU have been proposed as two methods for LLM unlearning, achieving impressive results on unlearning benchmarks. We study in detail the impact of unlearning on LLM performance metrics using the WMDP dataset as well as a new biology dataset we create. We show that unlearning has a notable impact on general model capabilities, with the performance degradation being more significant in general for LLMU. We further test the robustness of the two methods and find that doing 5-shot prompting or rephrasing the question in simple ways can lead to an over ten-fold increase in accuracy on unlearning benchmarks. Finally, we show that training on unrelated data can almost completely recover pre-unlearning performance, demonstrating that these methods fail at truly unlearning. Our methodology serves as an evaluation framework for LLM unlearning methods. The code is available at: https://github.com/JaiDoshi/Knowledge-Erasure.
title Does Unlearning Truly Unlearn? A Black Box Evaluation of LLM Unlearning Methods
topic Computation and Language
Machine Learning
url https://arxiv.org/abs/2411.12103