Paper deep dive
MUSE: Machine Unlearning Six-Way Evaluation for Language Models
Weijia Shi, Jaechan Lee, Yangsibo Huang, Sadhika Malladi, Jieyu Zhao, Ari Holtzman, Daogao Liu, Luke Zettlemoyer, Noah A. Smith, Chiyuan Zhang
Models: 7B-parameter LLMs
Intelligence
Status: succeeded | Model: google/gemini-3.1-flash-lite-preview | Prompt: intel-v1 | Confidence: 97%
Last extracted: 3/12/2026, 8:25:54 PM
Summary
MUSE is a comprehensive machine unlearning evaluation benchmark for language models that assesses six key properties: verbatim memorization, knowledge memorization, privacy leakage, utility preservation, scalability, and sustainability. The study evaluates eight popular unlearning algorithms on 7B-parameter LMs, finding that while most can reduce memorization, they often fail to prevent privacy leakage, degrade model utility, and struggle with large-scale or sequential unlearning requests.
Entities (5)
Relation Signals (3)
MUSE â evaluates â Machine Unlearning
confidence 100% ¡ MUSE, a comprehensive machine unlearning evaluation benchmark
MUSE â measures â Privacy Leakage
confidence 100% ¡ MUSE... enumerates six diverse desirable properties... (3) no privacy leakage
NPO â performsunlearningon â Language Models
confidence 95% ¡ we benchmark how effectively eight popular unlearning algorithms on 7B-parameter LMs can unlearn
Cypher Suggestions (0)
No Cypher suggestions yet.
Abstract
Abstract:Language models (LMs) are trained on vast amounts of text data, which may include private and copyrighted content. Data owners may request the removal of their data from a trained model due to privacy or copyright concerns. However, exactly unlearning only these datapoints (i.e., retraining with the data removed) is intractable in modern-day models. This has led to the development of many approximate unlearning algorithms. The evaluation of the efficacy of these algorithms has traditionally been narrow in scope, failing to precisely quantify the success and practicality of the algorithm from the perspectives of both the model deployers and the data owners. We address this issue by proposing MUSE, a comprehensive machine unlearning evaluation benchmark that enumerates six diverse desirable properties for unlearned models: (1) no verbatim memorization, (2) no knowledge memorization, (3) no privacy leakage, (4) utility preservation on data not intended for removal, (5) scalability with respect to the size of removal requests, and (6) sustainability over sequential unlearning requests. Using these criteria, we benchmark how effectively eight popular unlearning algorithms on 7B-parameter LMs can unlearn Harry Potter books and news articles. Our results demonstrate that most algorithms can prevent verbatim memorization and knowledge memorization to varying degrees, but only one algorithm does not lead to severe privacy leakage. Furthermore, existing algorithms fail to meet deployer's expectations because they often degrade general model utility and also cannot sustainably accommodate successive unlearning requests or large-scale content removal. Our findings identify key issues with the practicality of existing unlearning algorithms on language models, and we release our benchmark to facilitate further evaluations: this http URL
Tags
Links
- Source: https://arxiv.org/abs/2407.06460
- Canonical: https://arxiv.org/abs/2407.06460
Trouble viewing inline? Open PDF directly â
Full Text
101,291 characters extracted from source content.
Expand or collapse full text
**footnotetext: Equal Contribution. MUSE: Machine Unlearning Six-Way Evaluation for Language Models Weijia Shiâ1 Jaechan Leeâ1 Yangsibo Huangâ2 Sadhika Malladi2 Jieyu Zhao3 Ari Holtzman4 Daogao Liu1 Luke Zettlemoyer1 Noah A. Smith1 Chiyuan Zhang5 1University of Washington 2Princeton University 3University of Southern California 4University of Chicago 5Google Research https://muse-bench.github.io Abstract Language models (LMs) are trained on vast amounts of text data, which may include private and copyrighted content, and data owners may request the removal of their data from a trained model due to privacy or copyright concerns. However, exactly unlearning only these datapoints (i.e., retraining with the data removed) is intractable in modern-day models, leading to the development of many approximate unlearning algorithms. Evaluation of the efficacy of these algorithms has traditionally been narrow in scope, failing to precisely quantify the success and practicality of the algorithm from the perspectives of both the model deployers and the data owners. We address this issue by proposing MUSE, a comprehensive machine unlearning evaluation benchmark that enumerates six diverse desirable properties for unlearned models: (1) no verbatim memorization, (2) no knowledge memorization, (3) no privacy leakage, (4) utility preservation on data not intended for removal, (5) scalability with respect to the size of removal requests, and (6) sustainability over sequential unlearning requests. Using these criteria, we benchmark how effectively eight popular unlearning algorithms on 7B-parameter LMs can unlearn Harry Potter books and news articles. Our results demonstrate that most algorithms can prevent verbatim memorization and knowledge memorization to varying degrees, but only one algorithm does not lead to severe privacy leakage. Furthermore, existing algorithms fail to meet deployerâs expectations, because they often degrade general model utility and also cannot sustainably accommodate successive unlearning requests or large-scale content removal. Our findings identify key issues with the practicality of existing unlearning algorithms on language models, and we release our benchmark to facilitate further evaluations.111Our dataset and benchmark are available at https://muse-bench.github.io 1 Introduction Figure 1: MUSE evaluation focuses on six key dimensions of machine unlearning, addressing both data owner and deployer expectations. For example, when an author (data owner) requests the unlearning of the Harry Potter books, they may expect the unlearned model to: (1) avoid generating verbatim copies of the text to protect copyright, (2) eliminate retention of factual knowledge from the books, and (3) not reveal whether the books were previously used in training to protect privacy. From the deployer aspect, they may expect unlearning to (4) preserve the modelâs utility on general tasks, (5) scale effectively to accommodate unlearning of large datasets, and (6) handle sequential unlearning requests that may arrive over time. Training language models (LMs) often involves using vast amounts of text data, which may inadvertently contain private and copyrighted content (Carlini et al., 2021; Henderson et al., 2023; Min et al., 2023; He et al., 2024). In real-world applications, data owners may demand that their data be removed from a trained language model due to privacy or copyright concerns, as mandated for example by the General Data Protection Regulation (GDPR, European Parliament & Council of the European Union, ). Moreover, recent copyright lawsuits (DOE 1 v. GitHub, Inc., N.D. Cal. 2022; Tremblay v. OpenAI, Inc.,, 2023) emphasize the need for removing copyrighted data from the model. These recent developments have intensified research interest in designing, evaluating, and improving machine unlearning algorithms, which aim to transform an existing trained model into one that behaves as though it had never been trained on certain data (Ginart et al., 2019; Liu et al., 2020; Wu et al., 2020; Bourtoule et al., 2021; Izzo et al., 2021; Gupta et al., 2021; Sekhari et al., 2021; Ye et al., 2022b; Ghazi et al., 2023). Exact unlearning in LMs requires removing the undesired data (the forget set) and retraining the model from scratch on the remaining data (the retain set), which is too costly to be practical, especially for frequent unlearning operations. As such, several efficient approximate unlearning algorithms have been proposed (Eldan & Russinovich, 2023; Zhang et al., 2024b), but existing evaluations of LM unlearning on question answering (Eldan & Russinovich, 2023; Maini et al., 2024) cannot provide a holistic view of how practical and effective a particular unlearning algorithm is. In this work, we propose a systematic, multi-faceted framework called MUSE (Machine Unlearning Six-Way Evaluation; §3) to evaluate six desired properties for unlearning algorithms (Figure 1). Our criteria cover both the data ownerâs and the model deployerâs desiderata for a practical unlearning algorithm. Data owners require the LM to unlearn the precise tokens (verbatim memorization), general knowledge encoded in the tokens (knowledge memorization), and any indication that their data was included in the training set to begin with (privacy leakage). On the other hand, model deployers want to effectively accommodate many successive unlearning requests (sustainability) on various sizes of forget sets (scalability) without degrading the general model capabilities (utility preservation). We apply MUSE to evaluate eight representative machine unlearning algorithms (§4) on two datasets (§3.2), focusing on the specific cases of unlearning Harry Potter books and news articles. Our findings indicate that most unlearning algorithms remove verbatim memorization and knowledge memorization with varying degrees of efficacy but operate at the cost of utility preservation and do not effectively prevent privacy leakage (§5.2). In particular, negative preference optimization (NPO; Zhang et al., 2024b) and task vectors (Ilharco et al., 2023) are especially effective in removing these types of memorization, but we find that NPO often permits privacy leakage and both methods induce a sharp drop in the utility of the model. Furthermore, testing their scalability and sustainability reveals that they both algorithms struggle with large forget sets and successive unlearning requests (§5.3). Our results highlight that unlearning algorithms generally fail to meet data owner expectations in preventing privacy leakage, which is one of the primary motivations for unlearning. Additionally, they struggle to meet all three of the aforementioned deployer expectations. Therefore, although it is increasingly desirable to find an efficient and effective unlearning algorithm amid rising concerns around privacy regulations and copyright litigations, our evaluation suggests that currently feasible unlearning methods are not yet ready for meaningful usage or deployment in real-world scenarios. These findings underscore the pressing need for further research in this area. We also release our benchmark to facilitate further evaluations and welcome extensions to other modalities. 2 Machine Unlearning: Preliminaries and Notations Machine unlearning (Ginart et al., 2019; Liu et al., 2020; Izzo et al., 2021; Sekhari et al., 2021; Gupta et al., 2021; Ye et al., 2022b; Liu et al., 2024) has emerged as an important capability to accommodate data removal requirements that arise from scenarios with privacy or copyright concerns. We briefly describe the machine unlearning setting. Consider a dataset trainsubscripttrainD_ trainDtrain and a model ftargetsubscripttargetf_ targetftarget trained on trainsubscripttrainD_ trainDtrain. Suppose we design an algorithm UU to unlearn a specific subset (i.e., the forget set) forgetâtrainsubscriptforgetsubscripttrainD_ forget _ trainDforget â Dtrain from ftargetsubscripttargetf_ targetftarget. We want to preserve performance on a retain set retain=trainâforgetsubscriptretainsubscripttrainsubscriptforgetD_ retain=D_ train % _ forgetDretain = Dtrain â Dforget, and we also evaluate the model on an in-distribution but disjoint hold-out set holdoutsubscriptholdoutD_ holdoutDholdout which the model has never been trained on. So, the unlearning algorithm UU takes ftargetsubscripttargetf_ targetftarget, forgetsubscriptforgetD_ forgetDforget, and, optionally, retainsubscriptretainD_ retainDretain and outputs an unlearned model funlearnsubscriptunlearnf_ unlearnfunlearn. Exact unlearning ensures funlearnsubscriptunlearnf_ unlearnfunlearn is behaviorally identical to the model resulting from retraining from scratch, denoted ftargetsubscripttargetf_ targetftarget, but such retraining is usually too costly in real world deployment, so we focus on evaluating approximate unlearning algorithms. 3 The MUSE Evaluation Benchmark Table 1: Comparison with a previous benchmark: Unlike the previous benchmark TOFU (Maini et al., 2024), which evaluates unlearning on synthetic Q&A datasets, MUSE tackles real-world unlearning challenges: unlearning real-world large-scale corpus (22Ă larger) while taking into account six desiderata that are important to both data owners and deployers. More related works are discussed in Appendix 6. MUSE (ours) TOFU (Maini et al., 2024) 1.5cmEvaluation criteria C1. No verbatim memorization â â C2. No knowledge memorization â â â â C3. No privacy leakage â â C4. Utility preservation â â â â C5. Scalability â â C6. Sustainability â â 1.5cmEvaluation corpora Domains News and Books Synthetic autobiographies Data Constitution Verbatim text and knowledge set (Q & A) Q & A Scale (##\## tokens in forget set) 0.8M for News, 3.3M for Books 0.15M MUSE evaluates a comprehensive set of desirable properties of machine unlearning across six facets. We detail the evaluation metrics in §3.1 and describe the evaluation corpus in §3.2. 3.1 Evaluation Metrics Ideally, an unlearned model should behave as if it had never seen the forget set, exhibiting similar behavior to a retrained model on any corpus DD such that mâ˘(funlearn,)âmâ˘(fretrain,)subscriptunlearnsubscriptretrainm(f_ unlearn,D)â m(f_ retrain,D)m ( funlearn , D ) â m ( fretrain , D ), where m represents any evaluation metric. Prior evaluations on LM unlearning focus on performance of specific tasks like question answering (e.g., Eldan & Russinovich, 2023; Maini et al., 2024). However, these metrics do not faithfully reflect data owner expectations and real-world deployment considerations when performing unlearning. To address this, we propose comprehensive evaluation metrics that consider both data owner and deployer expectations. A comparison between MUSE and the prior benchmark is shown in Table 1. Data owner expectations. When removing a forget set from a model, data owners typically have three main expectations regarding the unlearned model: (C1) No verbatim memorization: The model should not exactly replicate any details from the forget set. (C2) No knowledge memorization: The model should be incapable of responding to questions about the forget set. (C3) No privacy leakage: It should be impossible to detect that the model was ever trained on the forget set. For example, if a patientâs records are unlearned from a medical diagnosis model, in addition to verbatim and knowledge memorization checks, it is also important that the patientâs privacy is preserved â we follow established practice in quantifying privacy using the membership inference test, which detects if a specific datapoint was used to train the model (member), distinguishing it from non-training data (non-member) (Shokri et al., 2017). In this case of unlearning a record from a diagnostic model, it is undesirable for the model to leak membership information, because it would be used to associate the patient with the disease. We quantify these data owner expectations with three evaluation metrics: C1. No verbatim memorization When a model has unlearned a medical record, it should not output its contents verbatim. We quantify the verbatim memorization VerbMemsansserif_VerbMem by prompting the model with the first l tokens from a sequence x[:l]âforgetsubscriptdelimited-[]:absentsubscriptforgetx_[:l] _ forgetx[ : l ] â Dforget and comparing the continuation outputted by the model f to the true continuation x[l+1:]âforgetx_[l+1:] _ forgetx[ l + 1 : ] â Dforget using the ROUGE-L F1 score (Lin, 2004). â˘(f,):=1|forget|â˘âxâforgetâ˘(fâ˘(x[:l]),x[l+1:]) VerbMem(f,D):= 1| D_ % forget| _xâ D_ forget ROUGE(f(% x_[:l]),x_[l+1:])sansserif_VerbMem ( f , D ) := divide start_ARG 1 end_ARG start_ARG | Dforget | end_ARG âx â D start_POSTSUBSCRIPT forget end_POSTSUBSCRIPT sansserif_ROUGE ( f ( x[ : l ] ) , x[ l + 1 : ] ) C2. No knowledge memorization When a model has unlearned a medical record, it should no longer be able to answer questions about that record. We measure a model fâs memorization of knowledge from the forget set forgetsubscriptforget D_ forgetDforget as follows: for each example xâforgetsubscriptforgetxâ D_ forgetx â Dforget associated with a question-answer pair (q,a)(q,a)( q , a ),222Examples of question-answer pairs derived from the original corpus can be found in Appendix D. we gather the modelâs answer to the question q, denoted fâ˘(q)f(q)f ( q ). We then average the ROUGE scores for all question-answer pairs in forgetsubscriptforget D_ forgetDforget to compute the knowledge memorization score KnowMemsansserif_KnowMem: â˘(f,forget):=1|forget|â˘â(q,a)âforgetâ˘(fâ˘(q),a)assignsubscriptforget1subscriptforgetsubscriptsubscriptforget KnowMem(f, D_ forget):= 1|% D_ forget| _(q,a)â D_% forget ROUGE(f(q),a)sansserif_KnowMem ( f , Dforget ) := divide start_ARG 1 end_ARG start_ARG | Dforget | end_ARG â( q , a ) â D start_POSTSUBSCRIPT forget end_POSTSUBSCRIPT sansserif_ROUGE ( f ( q ) , a ) Figure 2: Distribution of the MIA metric (see C3) for forgetsubscriptforgetD_ forgetDforget, holdoutsubscriptholdoutD_ holdoutDholdout, and retainsubscriptretainD_ retainDretain. Differences in the metric between forget and holdout sets indicate various unlearning outcomes of forgetsubscriptforgetD_ forgetDforget, potentially leaking privacy. A perfectly unlearned model (b) should show similar MIA metrics distribution for forgetsubscriptforgetD_ forgetDforget and holdoutsubscriptholdoutD_ holdoutDholdout. Unlearning methods may fail by under-unlearning forgetsubscriptforgetD_ forgetDforget, making it similar to retainsubscriptretainD_ retainDretain (c), or over-unlearning it, causing divergence from holdoutsubscriptholdoutD_ holdoutDholdout (d). C3. No privacy leakage As discussed previously, it is desirable that the unlearned model does not leak membership information indicating that forgetsubscriptforgetD_ forgetDforget was part of trainsubscripttrainD_ trainDtrain. To determine if a given example was used during training, membership inference attack (MIA) exploits distributional differences in certain statistics (e.g., loss) between training (member) and non-training (non-member) data: if the loss on the example is low, then it was likely used for training. As shown in Figure 2, unlearning typically increases the loss on the example, but there are two possible ways that unlearning can fail to prevent privacy leakage: (1) under-unlearning, when the loss is not made large enough; and (2) over-unlearning, when the loss is made abnormally large. To accurately measure the privacy leakage, we employ Min-K% Prob (Shi et al., 2024a) , a state-of-the-art MIA method for LMs based on the loss, and compute the standard AUC-ROC score (Murakonda et al., 2021; Ye et al., 2022a) of discriminating forgetsubscriptforgetD_ forgetDforget (members) and holdoutsubscriptholdoutD_ holdoutDholdout (non-members).333An MIA algorithm compares its score to a given threshold to classify a given datapoint as a member or non-member. The AUC-ROC is a single value that summarizes the overall performance of the MIA algorithm by measuring its ability to discriminate between members and non-members across all possible thresholds. By comparing the AUC score with that of the retrained model, we define444Generally, AUCâ˘(fretrain;forget,holdout)â0.5AUCsubscriptretrainsubscriptforgetsubscriptholdout0.5 AUC(f_ retrain;D_ forget,D_% holdout)â 0.5AUC ( fretrain ; Dforget , Dholdout ) â 0.5, though sometimes there are intrinsic distribution shifts between forgetsubscriptforgetD_ forgetDforget and holdoutsubscriptholdoutD_ holdoutDholdout that may bias the baseline away from 0.5. PrivLeak:=AUCâ˘(funlearn;forget,holdout)âAUCâ˘(fretrain;forget,holdout)AUCâ˘(fretrain;forget,holdout),assignPrivLeakAUCsubscriptunlearnsubscriptforgetsubscriptholdoutAUCsubscriptretrainsubscriptforgetsubscriptholdoutAUCsubscriptretrainsubscriptforgetsubscriptholdout PrivLeak:= AUC(f_ unlearn;D_% forget,D_ holdout)- AUC(f_ % retrain;D_ forget,D_ holdout)% AUC(f_ retrain;D_ forget,D_% holdout),PrivLeak := divide start_ARG AUC ( funlearn ; Dforget , Dholdout ) - AUC ( fretrain ; Dforget , Dholdout ) end_ARG start_ARG AUC ( fretrain ; Dforget , Dholdout ) end_ARG , The PrivLeak metric for a good unlearning algorithm should be close to zero, whereas an over/under-unlearning algorithm will get a large positive/negative metric. Deployer expectations. Model deployers have their own considerations for using unlearning algorithms in the real world. Unlearning specific datapoints can unpredictably degrade model capabilities in ways that are difficult to recover. Moreover, deployers are expected to effectively accommodate somewhat large-scale forget sets and successive unlearning requests from data owners. As such, we consider three key metrics: (C4) utility preservation on the retain set, (C5) scalability to handle large-scale content removal, and (C6) sustainability to maintain performance over sequential unlearning requests. C4. Utility preservation. Model capabilities are often hard-won through expensive training procedures, so deployers would want an unlearning algorithm that preserves performance on the retain set. To quantify this, we evaluate the unlearned modelâs performance on the retain set using the knowledge memorization metric â˘(funlearn,retain)subscriptunlearnsubscriptretain KnowMem(f_ unlearn,D_ retain)sansserif_KnowMem ( funlearn , Dretain ). C5. Scalability. We assess the scalability of unlearning methods by examining their performance on forget sets of varying sizes. Let ucsuperscriptsubscriptD_u^cDitalic_uitalic_c denote a forget set of size c, and fucsuperscriptsubscriptf_u^cfitalic_uitalic_c be the corresponding unlearned model. For any data owner-valued metric such as utility preservation, we measure scalability by analyzing the trend of this metric as c increases from small to large values. C6. Sustainability. Machine unlearning operations often need to be applied sequentially, as data removal requests may arrive at different times.555For example, under GDPR, if Alice requests the removal of her data and Bob submits another removal request 31 days later, both requests must be fulfilled within 30 days. This requires the model deployer to first unlearn Aliceâs data and then process Bobâs request on the updated model. We denote the unlearned model after processing the k-th request as fu,ksubscriptf_u,kfitalic_u , k. To measure sustainability, we analyze the trend of any data owner-valued metric as the number of sequential unlearning requests k increases. 3.2 Evaluation Corpus MUSE considers two representative types of textual data that may frequently involve unlearning requests: news articles (Tremblay v. OpenAI, Inc.,, 2023) and books (Eldan & Russinovich, 2023). These datasets are detailed as follows: ⢠News consists of BBC news articles (Li et al., 2023b) collected after August 2023. All articles are randomly divided into (disjoint) forget, retain, and holdout sets. ⢠Books consists of the Harry Potter book series. To simulate a real-world setting for testing utility preservation (C4), we include different types of materials in the forget and retain sets. The forget set contains the original books, while the retain set contains related content from the Harry Potter FanWiki,666harrypotter.fandom.com/wiki representing domain knowledge that should be retained after unlearning. Table 2: Examples of MUSE. Each corpus has Verbatim text and Knowledge sets (QA pairs derived from the original text) for evaluating verbatim and knowledge memorization. In News, forgetsubscriptforgetD_ forgetDforget and retainsubscriptretainD_ retainDretain are two disjoint sets of news articles. In Books, forgetsubscriptforgetD_ forgetDforget is the Harry Potter book series while retainsubscriptretainD_ retainDretain consists of wiki articles about the series. The sizes of the forget and retain sets are reported in tokens in (). Corpus Forget Set Retain Set News Article (0.8 M tokens) News Article (1.6 M tokens) News 6.5cm MP Stuart McDonald has been appointed as the SNPâs new treasurer 5.5cm A father whose 12-year-old son was killed by an IRA bomb 30 years ago 6.5cm Q: What position has Stuart McDonald MP been appointed to? A: The SNPâs new treasurer 6.5cm Q: Who was affected by the IRA bomb 30 years ago? A: A father whose 12-year-old son Harry Potter Books (1.1 M tokens) Harry Potter FanWiki (0.5 M tokens) Books 5.5cm âThereâs more in the frying pan,â said Aunt Petunia, turning eyes on her massive son. 5.5cm This page contains a list of spells: Portuguese for âopenâ. 5.5cm Q: What does Aunt Petunia tell her son? A: Thereâs more in the frying pan. 5.5cm Q: What is the spell used to open things? A: Portuguese For each corpus, we construct: 1) Verbatim text: the original text to assess the unlearning methods to remove verbatim memorization (C1), and 2) Knowledge set: a set of derived (question, answer) pairs based on the original texts to evaluate the unlearning methodâs effectiveness in purging learned knowledge and preventing knowledge memorization (C2). To create the Knowledge set, we partition the Verbatim text into excerpts and use GPT-4 (OpenAI, 2023) to generate (question, answer) pairs for each excerpt. For more details about the dataset generation pipeline, see Appendix D. Appendix D provides examples from the news and books corpora. The details of the dataset splits and dataset sizes are provided in Appendix D. 4 Unlearning Methods We evaluate eight efficient approximate unlearning methods belonging to four families of algorithms. Four families of unlearning methods. We first introduce four families of unlearning methods, which serve as the basis for the eight methods we evaluate. ⢠Gradient Ascent (GA) minimizes the likelihood of correct predictions on forgetsubscriptforgetD_ forgetDforget by performing gradient ascent on the cross-entropy loss (the opposite of conventional learning with gradient descent). GA has achieved mixed results: while Jang et al. (2023) found it effective for unlearning examples from the Enron email dataset (Klimt & Yang, 2004) with minimal performance degradation, Ilharco et al. (2023) reported that GA significantly harms general model utility when unlearning a high-toxicity subset of the Civil Comments dataset (Borkan et al., 2019). ⢠Negative Preference Optimization (NPO; Zhang et al., 2024b) treats the forget set as negative preference data and adapts the offline DPO objective (Rafailov et al., 2023) to tune the model to assign low likelihood to the forget set without straying too far from the original model ftargetsubscripttargetf_ targetftarget. âNPOâ˘(θ)=â2βâ˘xâźforgetâ˘[logâĄĎâ˘(âβâ˘logâĄfθâ˘(x)ftargetâ˘(x))],subscriptâNPO2subscriptsimilar-tosubscriptforgetdelimited-[]subscriptsubscripttarget _NPO(θ)=- 2βE_x% _ forget [ Ď (-β f_% θ(x)f_ target(x) ) ],Lroman_NPO ( θ ) = - divide start_ARG 2 end_ARG start_ARG β end_ARG blackboard_Ex âź D start_POSTSUBSCRIPT forget end_POSTSUBSCRIPT [ log Ď ( - β log divide start_ARG fitalic_θ ( x ) end_ARG start_ARG ftarget ( x ) end_ARG ) ] , where fθsubscriptf_θfitalic_θ refers to the model that undergoes unlearning, Ď is the sigmoid function, and β is a hyperparameter that controls the allowed divergence of fθsubscriptf_θfitalic_θ from its initialization ftargetsubscripttargetf_ targetftarget. Following Rafailov et al. (2023); Zhang et al. (2024b), we fix β=0.10.1β=0.1β = 0.1 in our experiments. ⢠Task Vectors (Ilharco et al., 2023) derived from straightforward arithmetic on the model weights can effectively steer neural network behavior. We adapt task vectors to perform unlearning in two stages. First, we train ftargetsubscripttargetf_ targetftarget on forgetsubscriptforgetD_ forgetDforget until the model overfits, yielding a reinforced model freinforcesubscriptreinforcef_ reinforcefreinforce. We then obtain a task vector related to forgetsubscriptforgetD_ forgetDforget by calculating the weight difference between ftargetsubscripttargetf_ targetftarget and freinforcesubscriptreinforcef_ reinforcefreinforce. To achieve unlearning, we subtract this task vector from ftargetsubscripttargetf_ targetftargetâs weights, intuitively moving the model away from the direction it used to adapt to forgetsubscriptforgetD_ forgetDforget â i.e., funlearn=ftargetâ(freinforceâftarget)subscriptunlearnsubscripttargetsubscriptreinforcesubscripttargetf_ unlearn=f_ target-(f_ reinforce-f_ % target)funlearn = ftarget - ( freinforce - ftarget ). ⢠Whoâs Harry Potter (WHP; Eldan & Russinovich, 2023) defines the unlearned model funlearnsubscriptunlearnf_ unlearnfunlearn as the interpolation between the target model ftargetsubscripttargetf_ targetftarget and the reinforced model freinforcesubscriptreinforcef_ reinforcefreinforce. Let pf(â |x)p_f(¡|x)pitalic_f ( â | x ) denote the token distribution parametrized by the model f when given a prompt x as input. Then, concretely, for any input x, WHP samples the next token from p_f_unlearn(â | x) = p_f_target(â | x) - Îą(p_f_reinforce(â | x) - p_f_target(â | x)) where Îą is a hyperparameter that controls the interpolation between the two models. Two regularizers for utility preservation. GA and NPO are not explicitly designed for utility preservation, so we discuss several regularization strategies that either improve the performance on the retain set or ensure the unlearned model remains close to the target model during unlearning. ⢠Gradient Descent on the Retain Set (GDR; Liu et al., 2022; Maini et al., 2024; Zhang et al., 2024b) augments the unlearning objective with a standard gradient descent learning objective on the cross-entropy of the retain set retainsubscriptretainD_ retainDretain to more directly train the model to maintain its performance on retainsubscriptretainD_ retainDretain. ⢠KL Divergence Minimization on the Retain Set (KLR; Maini et al., 2024; Zhang et al., 2024b) encourages the unlearned modelâs probability distribution pfunlearn(â |x)p_f_ unlearn(¡|x)pitalic_f start_POSTSUBSCRIPT unlearn end_POSTSUBSCRIPT ( â | x ) to be close to the target modelâs distribution pftarget(â |x)p_f_ target(¡|x)pitalic_f start_POSTSUBSCRIPT target end_POSTSUBSCRIPT ( â | x ) on inputs from the retain set xâretainsubscriptretainx _ retainx â Dretain. List of methods. We combine GA and NPO with the two regularizers GDR and KLR,777 These regularizers are not compatible with Task Vector and WHP, because Task Vector involves purposefully overfitting a model to forgetsubscriptforgetD_ forgetDforget when deriving the task vector, and WHP is a test-time technique where the unlearning operation involves no optimization by itself. which yields four new combinations. Hence, we end up with a total of 8 candidate unlearning methods: GA, GAGDRsubscriptGAGDR GA_ GDRGAGDR, GAKLRsubscriptGAKLR GA_ KLRGAKLR, NPO, NPOGDRsubscriptNPOGDR NPO_ GDRNPOGDR, NPOKLRsubscriptNPOKLR NPO_ KLRNPOKLR, Task Vector, and WHP. In general, the cost of the approximate unlearning method is negligible compared to retraining. Details about the efficiency of these methods are reported in Appendix B.3. 5 Experiments We evaluate the eight representative unlearning methods using the experimental setup described in §5.1. We present the results for data owner expectations in §5.2 and for deployer expectations in §5.3. 5.1 Experimental Setup Table 3: Most unlearning methods effectively remove verbatim and knowledge memorization but significantly impact utility and privacy. We evaluate the 8 algorithms described in §4 on 4 of the criteria in MUSE. We include the results of fretrainsubscriptretrainf_ retrainfretrain for reference. We highlight results in blue if the unlearning algorithm satisfies the criterion and highlight it in orange otherwise. For privacy leakage, large positive values suggest over-unlearning, while large negative values suggest under-unlearning (see §3.1). This table covers the results for C1 to C4, while results for C5 and C6 are shown in Figure 6. C1. No Verbatim Mem. C2. No Knowledge Mem. C3. No Privacy Leak. C4. Utiltiy Preserv. VerbMem on forgetsubscriptforgetD_ forgetDforget (â â) KnowMem on forgetsubscriptforgetD_ forgetDforget (â â) PrivLeak (â[â5%,5%]absentpercent5percent5â[-5\%,5\%]â [ - 5 % , 5 % ]) KnowMem on retainsubscriptretainD_ retainDretain (â â) News Target ftargetsubscripttargetf_ targetftarget 58.458.458.458.4 63.963.963.963.9 â99.899.8-99.8- 99.8 55.255.255.255.2 Retrain fretrainsubscriptretrainf_ retrainfretrain 20.820.820.820.8 33.133.133.133.1 0.00.00.00.0 55.055.055.055.0 GA 0.00.00.00.0 â â100% 0.00.00.00.0 â â100% 5.25.25.25.2 over-unlearn 0.00.00.00.0 â â100% GAGDRsubscriptGAGDR GA_ GDRGAGDR 4.94.94.94.9 â â76.5% 31.031.031.031.0 â â6.3% 108.1108.1108.1108.1 over-unlearn 27.327.327.327.3 â â50.3% GAKLRsubscriptGAKLR GA_ KLRGAKLR 27.427.427.427.4 â â31.4% 50.250.250.250.2 â â51.5% â96.196.1-96.1- 96.1 under-unlearn 44.844.844.844.8 â â18.5% NPO 0.00.00.00.0 â â100% 0.00.00.00.0 â â100% 24.424.424.424.4 over-unlearn 0.00.00.00.0 â â100.0% NPOGDRsubscriptNPOGDR NPO_ GDRNPOGDR 1.21.21.21.2 â â94.4% 54.654.654.654.6 â â64.8% 105.8105.8105.8105.8 over-unlearn 40.540.540.540.5 â â26.3% NPOKLRsubscriptNPOKLR NPO_ KLRNPOKLR 26.926.926.926.9 â â29.0% 49.049.049.049.0 â â48.1% â95.895.8-95.8- 95.8 under-unlearn 45.445.445.445.4 â â17.4% Task Vector 57.257.257.257.2 â â174.7% 66.266.266.266.2 â â100.0% â99.899.8-99.8- 99.8 under-unlearn 55.855.855.855.8 â â1.5% WHP 19.719.719.719.7 â â5.6% 21.221.221.221.2 â â35.9% 109.6109.6109.6109.6 under-unlearn 28.328.328.328.3 â â48.5% Books Target ftargetsubscripttargetf_ targetftarget 99.899.899.899.8 59.459.459.459.4 â57.557.5-57.5- 57.5 66.966.966.966.9 Retrain fretrainsubscriptretrainf_ retrainfretrain 14.314.314.314.3 28.928.928.928.9 0.00.00.00.0 74.574.574.574.5 GA 0.00.00.00.0 â â100% 0.00.00.00.0 â â100% â25.025.0-25.0- 25.0 under-unlearn 0.00.00.00.0 â â100% GAGDRsubscriptGAGDR GA_ GDRGAGDR 0.00.00.00.0 â â100% 0.00.00.00.0 â â100% â26.526.5-26.5- 26.5 under-unlearn 10.710.710.710.7 â â85.6% GAKLRsubscriptGAKLR GA_ KLRGAKLR 16.016.016.016.0 â â11.4% 21.921.921.921.9 â â24.4% â40.240.2-40.2- 40.2 under-unlearn 37.237.237.237.2 â â50.0% NPO 0.00.00.00.0 â â100% 0.00.00.00.0 â â100% â24.324.3-24.3- 24.3 under-unlearn 0.00.00.00.0 â â100% NPOGDRsubscriptNPOGDR NPO_ GDRNPOGDR 0.00.00.00.0 â â100% 0.00.00.00.0 â â100% â30.830.8-30.8- 30.8 under-unlearn 22.822.822.822.8 â â69.4% NPOKLRsubscriptNPOKLR NPO_ KLRNPOKLR 17.017.017.017.0 â â18.2% 25.025.025.025.0 â â13.4% â43.543.5-43.5- 43.5 under-unlearn 44.644.644.644.6 â â40.1% Task Vector 99.799.799.799.7 â â595.0% 52.452.452.452.4 â â81.2% â57.557.5-57.5- 57.5 under-unlearn 64.764.764.764.7 â â13.1% WHP 18.018.018.018.0 â â25.2% 55.755.755.755.7 â â92.9% 56.556.556.556.5 over-unlearn 63.663.663.663.6 â â14.6% Retrained and target models. We start with a general pretrained base model f0subscript0f_0f0, and finetune two models: ftargetsubscripttargetf_ targetftarget on forgetâŞretainsubscriptforgetsubscriptretainD_ forget _ retainDforget ⪠Dretain, and fretrainsubscriptretrainf_ retrainfretrain on retainsubscriptretainD_ retainDretain only. See Section B.2 for details about finetuning. For each unlearning algorithm UU, we further generate the unlearned model funlearn=â˘(ftarget,forget,retain)subscriptunlearnsubscripttargetsubscriptforgetsubscriptretainf_ unlearn=U(f_ target,D_ % forget,D_ retain)funlearn = U ( ftarget , Dforget , Dretain ). We ensure that f0subscript0f_0f0 has no access to forget,retain,holdoutsubscriptforgetsubscriptretainsubscriptholdoutD_ forget,D_ retain,D_% holdoutDforget , Dretain , Dholdout. Therefore, for News, we use f0=LLaMA-2 7Bsubscript0LLaMA-2 7Bf_0=LLaMA-2 7Bf0 = LLaMA-2 7B (Touvron et al., 2023), which was released before the BBC news articles we use to construct our benchmarks; and for Books, we use f0=ICLM-7Bsubscript0ICLM-7Bf_0=ICLM-7Bf0 = ICLM-7B (Shi et al., 2024b), which does not contain the Harry Potter books in its pretraining data. Unlearning experimental configuration. Following prior work (Maini et al., 2024), we run GA, NPO, and their regularized variants using the AdamW optimizer (Loshchilov & Hutter, 2017) with a constant learning rate of 10â5superscript10510^-510- 5 and a batch size of 32. We employ the stopping criteria as follows: if the utility (i.e., KnowMem on retainsubscriptretainD_ retainDretain) of a model undergoing unlearning drops below that of fretrainsubscriptretrainf_ retrainfretrain within 10 epochs of unlearning, we stop at the first epoch where this condition holds; otherwise, we take a checkpoint from the 10th epoch. For Task Vector and WHP, to obtain the reinforced model for unlearning, we fine-tune the target model for 10 epochs using the same learning rate and batch size. Further details on the model fine-tuning and unlearning can be found in Section B.2. 5.2 Results: Data Owner Expectations We first analyze how eight unlearning methods meet data owner expectations (C1, C2 & C3 in §3.1). C1&C2. Most methods are effective for unlearning memorization. As shown in Table 3, most unlearning methods perform exceptionally well in [C1. No verbatim memorization] and [C2. No knowledge memorization], often reducing VerbMem and KnowMem even beyond the levels achieved by the retrained model. Notably, some methods, such as GA and NPO, achieve a score of 0 for both VerbMem and KnowMem, meaning that these methods completely prevent the unlearned models from producing any text related to the forget set. However, as we will see later, these reductions often come at the cost of significant utility loss on the retain set. Figure 3: Distribution of Min-K% Prob, an MIA metric, for forgetsubscriptforgetD_ forgetDforget, holdoutsubscriptholdoutD_ holdoutDholdout, and retainsubscriptretainD_ retainDretain. Consistent with the expected pattern in Figure 2, fretrainsubscriptretrainf_ retrainfretrain shows perfect unlearning, with the overlapping distributions for forgetsubscriptforgetD_ forgetDforget and holdoutsubscriptholdoutD_ holdoutDholdout. Existing approximate unlearning methods typically either under-unlearn or over-unlearn. For example, GAKLRsubscriptGAKLR GA_ KLRGAKLR shows slight under-unlearning, while GAGDRsubscriptGAGDR GA_ GDRGAGDR over-unlearns, pushing the Min-K% Prob of forgetsubscriptforgetD_ forgetDforget to an extreme level. Figure 4: ROC curves for forgetsubscriptforgetD_ forgetDforget vs. holdoutsubscriptholdoutD_ holdoutDholdout on News using Min-K% Prob, with AUC scores in parentheses. AUCâ0.5 (i.e., fretrainsubscriptretrainf_ retrainfretrain) means no significant distribution difference between two sets (i.e., no membership leakage). Most unlearning methods show under-unlearn (AUCâŞmuch-less-than âŞ0.5) or over-unlearn (AUC âŤmuch-greater-than âŤ0.5). Figure 5: Utility preservation vs. knowledge memorization on BBC. fretrainsubscriptretrainf_ retrainfretrain maintains high utility on retainsubscriptretainD_ retainDretain while showing low knowledge memorization on forgetsubscriptforgetD_ forgetDforget. GA and NPO without regularizers show significant utility loss, collapsing to the origin. Every other unlearning method unlearns the knowledge on forgetsubscriptforgetD_ forgetDforget at the cost of utility. C3. Unlearning leads to privacy leakage. Most unlearning methods reveal the membership of forgetsubscriptforgetD_ forgetDforget in trainsubscripttrainD_ trainDtrain through under-unlearning (PrivLeakâŞ0much-less-thanPrivLeak0 PrivLeak 0PrivLeak ⪠0) or over-unlearning (PrivLeakâŤ0much-greater-thanPrivLeak0 PrivLeak 0PrivLeak ⍠0), as shown in Table 3. We further examine the effectiveness of membership inference by plotting ROC curves in Figure 5. The deviation from the diagonal line indicates the attackerâs advantage over random guessing. We observe that the Min-K% Prob based attack achieves AUCâ0AUC0 AUCâ 0AUC â 0 on ftargetsubscripttargetf_ targetftarget, confirming its effectiveness. Meanwhile, the ROC curve for fretrainsubscriptretrainf_ retrainfretrain closely follows the diagonal line (AUC=0.47AUC0.47 AUC=0.47AUC = 0.47), suggesting that perfect unlearning ensures MIA is no more effective than random guessing. Among the approximate unlearning methods, GA and NPOGDRsubscriptNPOGDR NPO_ GDRNPOGDR without regularizers consistently over-unlearn (AUC>0.7AUC0.7 AUC>0.7AUC > 0.7), whereas KLR-regularized methods (NPOKLRsubscriptNPOKLR NPO_ KLRNPOKLR and GAKLRsubscriptGAKLR GA_ KLRGAKLR) tend to under-unlearn and barely improve privacy leakage over ftargetsubscripttargetf_ targetftarget. WHP also deviates from the diagonal significantly. In Figure 3, we further visualize the distribution of Min-K% Prob, the MIA metric computed across forgetsubscriptforgetD_ forgetDforget, retainsubscriptretainD_ retainDretain, and holdoutsubscriptholdoutD_ holdoutDholdout. The behavior of ftargetsubscripttargetf_ targetftarget and fretrainsubscriptretrainf_ retrainfretrain mirrors the patterns sketched in Figure 2, where forgetsubscriptforgetD_ forgetDforget and retainsubscriptretainD_ retainDretain are distinguishable in ftargetsubscripttargetf_ targetftarget but overlap in fretrainsubscriptretrainf_ retrainfretrain. Existing approximate unlearning methods typically either under-unlearn or over-unlearn. For example, GAKLRsubscriptGAKLR GA_ KLRGAKLR does not sufficiently increase the Min-K% Prob metric for forgetsubscriptforgetD_ forgetDforget to align with the distribution of holdoutsubscriptholdoutD_ holdoutDholdout, indicating under-unlearning. On the other hand, NPOGDRsubscriptNPOGDR NPO_ GDRNPOGDR over-unlearns, significantly raising the MIA metric across all datasets and especially for forgetsubscriptforgetD_ forgetDforget. 5.3 Results: Deployment Considerations C4. Unlearning significantly degrades model utility. Table 3 [C4 Utility Preserv.] shows that all unlearning methods compromise the modelâs utility by 24.2%âź100%similar-topercent24.2percent10024.2\% 100\%24.2 % âź 100 %. Notably, several methods (GA, GAGDRsubscriptGAGDR GA_ GDRGAGDR, NPOGDRsubscriptNPOGDR NPO_ GDRNPOGDR) lead to complete utility loss, rendering the unlearned models practically unusable. Figure 5 illustrates the trade-offs between utility preservation on retainsubscriptretainD_ retainDretain and knowledge memorization on forgetsubscriptforgetD_ forgetDforget. An ideal unlearned model should mimic the behavior of fretrainsubscriptretrainf_ retrainfretrain (desired region) by achieving a low level of memorization on forgetsubscriptforgetD_ forgetDforget while maintaining its utility. However, most methods, such as GAKLRsubscriptGAKLR GA_ KLRGAKLR, NPOKLRsubscriptNPOKLR NPO_ KLRNPOKLR, and WHP, unlearn the knowledge on UsubscriptD_UDitalic_U at the cost of utility. Figure 6: The performance of GA, NPO, and their regularized variants, measured by utility preservation, degrades with larger forget set sizes (a) and sequential unlearning requests (b). C5. Unlearning methods scale poorly with forget set sizes. To evaluate the robustness of the unlearning methods to larger forget sets, we collect additional news articles from the same distribution to scale our News corpus from 0.8M tokens to 3.3M tokens and observe the utility preservation at four different forget set sizes. As shown in Figure 6 (a), the model utility decrease with the size of the forget set and achieves a minimum at the largest size. C6. Unlearning methods cannot sustainably accommodate sequential unlearning requests. To evaluate the robustness of these unlearning methods to more than one unlearning requests, we sequentially apply k unlearning processes, each with respect to a different forget set. To simulate sequential unlearning, we partition the extended News forget set (comprised of 3.3M tokens) into four disjoint folds (each containing 0.8M tokens) and apply the unlearning methods to each fold in a sequential manner. We again select utility preservation as the target metric for comparison. As shown in Figure 6 (b), the performance of an unlearned model tends to decrease significantly with respect to the number of unlearning requests, indicating that current unlearning methods are not yet ready to handle sequential unlearning in a sustainable manner. 6 Related Work Machine unlearning for non-language model applications. Machine unlearning is a long-running, well-studied topic. Several studies have explored exact unlearning, aiming to make the unlearned model (funlearnsubscriptunlearnf_ unlearnfunlearn) exactly identical to the reference model (fretrainsubscriptretrainf_ retrainfretrain). As expected, this can only be accomplished in simple models like SVMs (Cauwenberghs & Poggio, 2000; Tveit et al., 2003; Romero et al., 2007; Karasuyama & Takeuchi, 2010) or naive Bayes models (Cao & Yang, 2015). Another approach is to ensure that the unlearned model funlearnsubscriptunlearnf_ unlearnfunlearn is probabilistically indistinguishable from fretrainsubscriptretrainf_ retrainfretrain (Ginart et al., 2019; Guo et al., 2020), and this view of certifiable unlearning is closely related to differential privacy (Dwork et al., 2006b, a). This rigorous definition of unlearning has inspired several theoretical works that characterize the feasibility of unlearning in convex and non-convex models, but those proposed algorithms are too computationally costly to operate on modern-day LMs (Izzo et al., 2021; Neel et al., 2021; Ullah et al., 2021; Sekhari et al., 2021; Gupta et al., 2021). Several more tractable unlearning algorithms have been proposed (Borkan et al., 2019; Ginart et al., 2019; Thudi et al., 2022; Chourasia & Shah, 2023) with broader applications such as image classification (Ginart et al., 2019; Golatkar et al., 2020a), text-to-image generation (Gandikota et al., 2023; Zhang et al., 2023; Fan et al., 2023), Federated Learning (Liu et al., 2020; Che et al., 2023; Halimi et al., 2022; Huang et al., 2022) and Recommender Systems (Li et al., 2024b). Machine unlearning for language models: methods and applications. Machine unlearning has recently found its way into language model applications. In §4, we discuss some standard unlearning methods based on parameter optimization, like the Gradient Ascent and its variance. Other notable non-training-based unlearning methods include localization-informed unlearning (Meng et al., 2022; Wu et al., 2023; Wei et al., 2024a), which involves identifying model units (e.g., layers, neurons) closely related to the unlearning data or tasks and then locally editing and modifying the units. In-context unlearning (Pawelczyk et al., 2023) offers another approach, treating the model as a black box and modifying its output results using external knowledge. Machine unlearning has also been applied to various downstream language model tasks, though the unit of machine unlearning may differ from what we study in this work. Our evaluation focuses on unlearning specific examples or datasets, aiming to make LMs forget either the phrasing or the content knowledge of targeted data, while preserving their utility for data not targeted for removal. This is crucial for ensuring privacy and copyright compliance. In addition to this specific unlearning, thereâs also a broader application similar to model editing, where outdated information is replaced with new knowledge (Pawelczyk et al., 2023; Yu et al., 2023; Belrose et al., 2024). Moreover, efforts have been made to eliminate harmful behaviors in language models by creating toxicity benchmarks and enhancing safety measures (Lu et al., 2022; Yao et al., 2023; Li et al., 2024a; Zhang et al., 2024b). Despite these varied approaches to unlearning at different operational and knowledge levels, the evaluation principles we propose such as preserving utility, ensuring scalability, and maintaining sustainabilityâare relevant across these contexts. Machine unlearning for language models: evaluation. Evaluating machine unlearning methods for language model applications is also critical. Most previous studies have focused this evaluation on specific tasks such as question answering or sentence completion. For example, Eldan & Russinovich (2023) experiment with unlearning to forget Harry Potter books and demonstrate the effectiveness of their methods by showing that familiarity scores, measured through completion-based, token-probability-based, and question-answering evaluations, significantly decline post-unlearning. Lynch et al. (2024) further suggest comparing unlearned models with perfectly retrained models. Their evaluation finds that while familiarity scores with the forget set may drop post-unlearning, they still remain higher than those of the retrained model. Wei et al. (2024b) evaluate the feasibility of using unlearning techniques to prevent language models from generating copyrighted content. The closest work to ours is TOFU (Maini et al., 2024), a benchmark featuring 200 synthetic author profiles, each with 20 question-answer pairs, divided into forget and retain sets. However, TOFU is relatively small-scale (0.15M tokens) and focuses on the evaluation of question answering. Additionally, current evaluations focus on limited aspects of data owner expectations and do not adequately reflect real-world deployment considerations, such as scalability and potential sequential unlearning requests. In contrast, MUSE formally defines different unlearning scopes and corresponding metrics, resulting in a systematic six-way evaluation featuring both data ownersâ and deployersâ expectations. The evaluation uses a large-scale corpus of over 6 million tokens, separated into verbatim text and knowledge sets. We also note that some of our findings align with previous evaluations. For example, our observation that over- or under-unlearn can exacerbate privacy leakage (§5.2) is consistent with the recent work by Hayes et al. (2024). Our findings align with the the concurrent study by Shumailov et al. (2024) showing that unlearning gives a false sense of security as unlearned knowledge can resurface through in-context learning. Survey papers. We direct readers to several insightful survey papers for further reading. For non-LLM applications, notable surveys include Shintre et al. (2019); Nguyen et al. (2022); Thudi et al. (2022); Xu et al. (2023). Additionally, the NeurIPS 2023 machine unlearning competition for image classification888https://unlearning-challenge.github.io is a valuable source of empirical methods tailored for this specific application (Triantafillou et al., 2023). For language model applications, Si et al. (2023) categorize unlearning methods into different families and summarize datasets for evaluating unlearning. Liu et al. (2024) review LM unlearning algorithms by targets and methods, discuss the effectiveness and efficiency of existing approaches and emphasize the importance of clearly defining the unlearning scope. 7 Conclusion In this work, we propose MUSE, a comprehensive machine unlearning evaluation benchmark that highlights six desirable properties from the perspectives of both data owners and model deployers. We find that current unlearning methods successfully prevent the modelâs memorization of content at a significant cost to utility on data not intended for removal. They also lead to severe privacy leakage and cannot sustainably accommodate successive unlearning requests or large-scale content removal. These findings highlight the need for future research into more robust unlearning methods. Limitations. While MUSE provides a systematic benchmark for evaluating unlearning algorithms, it does not consider all possible considerations. For example, data owners may have additional expectations, such as ensuring their information cannot be probed from intermediate activations (Song & Raghunathan, 2020) or receiving formal guarantees of unlearning success (Sekhari et al., 2021; Gupta et al., 2021; Ghazi et al., 2023). Similarly, deployers may expect other capabilities, like fine-tuning and in-context learning, to be preserved, and may prefer unlearning algorithms that are both computationally efficient and storage-wise cheap (e.g. does not need to keep a copy of the retain set). MUSE currently evaluates unlearning for language models using books and news articles, but it could be extended to other corpora, such as medical notes (Johnson et al., 2016, 2020) and emails (Klimt & Yang, 2004), which often involve privacy concerns (Li et al., 2023a; Huang et al., 2023). We also plan to evaluate different-sized LMs in the future. Finally, our approach can be generalized to construct multi-faceted benchmarks for multimodal models (Golatkar et al., 2020b; Cheng & Amiri, 2023; Zhang et al., 2024c). Further discussion on broader impact are in Appendix A. 8 Acknowledgements We thank Eric Wallace, Robin Jia, Howard Chen, and anonymous reviewers of the GenLaw workshop for the valuable feedback and discussions. References Belrose et al. (2024) Nora Belrose, David Schneider-Joseph, Shauli Ravfogel, Ryan Cotterell, Edward Raff, and Stella Biderman. Leace: Perfect linear concept erasure in closed form. Advances in Neural Information Processing Systems, 36, 2024. Borkan et al. (2019) Daniel Borkan, Lucas Dixon, Jeffrey Sorensen, Nithum Thain, and Lucy Vasserman. Nuanced metrics for measuring unintended bias with real data for text classification, 2019. Bourtoule et al. (2021) Lucas Bourtoule, Varun Chandrasekaran, Christopher A Choquette-Choo, Hengrui Jia, Adelin Travers, Baiwu Zhang, David Lie, and Nicolas Papernot. Machine unlearning. In 2021 IEEE Symposium on Security and Privacy (SP), p. 141â159. IEEE, 2021. Cao & Yang (2015) Yinzhi Cao and Junfeng Yang. Towards making systems forget with machine unlearning. In 2015 IEEE symposium on security and privacy, p. 463â480. IEEE, 2015. Carlini et al. (2021) Nicholas Carlini, Florian Tramer, Eric Wallace, Matthew Jagielski, Ariel Herbert-Voss, Katherine Lee, Adam Roberts, Tom Brown, Dawn Song, Ulfar Erlingsson, et al. Extracting training data from large language models. In 30th USENIX Security Symposium (USENIX Security 21), p. 2633â2650, 2021. Cauwenberghs & Poggio (2000) Gert Cauwenberghs and Tomaso Poggio. Incremental and decremental support vector machine learning. Advances in neural information processing systems, 13, 2000. Che et al. (2023) Tianshi Che, Yang Zhou, Zijie Zhang, Lingjuan Lyu, Ji Liu, Da Yan, Dejing Dou, and Jun Huan. Fast federated machine unlearning with nonlinear functional theory. In International conference on machine learning, p. 4241â4268. PMLR, 2023. Cheng & Amiri (2023) Jiali Cheng and Hadi Amiri. Multimodal machine unlearning, 2023. Chourasia & Shah (2023) Rishav Chourasia and Neil Shah. Forget unlearning: Towards true data-deletion in machine learning. In International Conference on Machine Learning, p. 6028â6073. PMLR, 2023. Dwork et al. (2006a) Cynthia Dwork, Krishnaram Kenthapadi, Frank McSherry, Ilya Mironov, and Moni Naor. Our data, ourselves: Privacy via distributed noise generation. In Advances in Cryptology-EUROCRYPT 2006: 24th Annual International Conference on the Theory and Applications of Cryptographic Techniques, St. Petersburg, Russia, May 28-June 1, 2006. Proceedings 25, p. 486â503. Springer, 2006a. Dwork et al. (2006b) Cynthia Dwork, Frank McSherry, Kobbi Nissim, and Adam Smith. Calibrating noise to sensitivity in private data analysis. In Theory of Cryptography: Third Theory of Cryptography Conference, TCC 2006, New York, NY, USA, March 4-7, 2006. Proceedings 3, p. 265â284. Springer, 2006b. Eldan & Russinovich (2023) Ronen Eldan and Mark Russinovich. Whoâs Harry Potter? Approximate Unlearning in LLMs. arXiv preprint arXiv:2310.02238, 2023. DOE 1 v. GitHub, Inc. (N.D. Cal. 2022) DOE 1 v. GitHub, Inc. 4:22-cv-06823, N.D. Cal. 2022. Tremblay v. OpenAI, Inc., (2023) Tremblay v. OpenAI, Inc.,. 23-cv-03416-AMO, (N.D. Cal.), 2023. (15) European Parliament and Council of the European Union. Regulation (EU) 2016/679 of the European Parliament and of the Council. URL https://data.europa.eu/eli/reg/2016/679/oj. Fan et al. (2023) Chongyu Fan, Jiancheng Liu, Yihua Zhang, Dennis Wei, Eric Wong, and Sijia Liu. Salun: Empowering machine unlearning via gradient-based weight saliency in both image classification and generation. arXiv preprint arXiv:2310.12508, 2023. Gandikota et al. (2023) Rohit Gandikota, Joanna Materzynska, Jaden Fiotto-Kaufman, and David Bau. Erasing concepts from diffusion models. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), p. 2426â2436, October 2023. Ghazi et al. (2023) Badih Ghazi, Pritish Kamath, Ravi Kumar, Pasin Manurangsi, Ayush Sekhari, and Chiyuan Zhang. Ticketed learningâunlearning schemes. In The Thirty Sixth Annual Conference on Learning Theory, p. 5110â5139. PMLR, 2023. Ginart et al. (2019) Antonio Ginart, Melody Guan, Gregory Valiant, and James Y Zou. Making ai forget you: Data deletion in machine learning. Advances in neural information processing systems, 32, 2019. Golatkar et al. (2020a) Aditya Golatkar, Alessandro Achille, and Stefano Soatto. Eternal sunshine of the spotless net: Selective forgetting in deep networks. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, p. 9304â9312, 2020a. Golatkar et al. (2020b) Aditya Golatkar, Alessandro Achille, and Stefano Soatto. Forgetting outside the box: Scrubbing deep networks of information accessible from input-output observations. In Computer VisionâECCV 2020: 16th European Conference, Glasgow, UK, August 23â28, 2020, Proceedings, Part XXIX 16, p. 383â398. Springer, 2020b. Guo et al. (2020) Chuan Guo, Tom Goldstein, Awni Hannun, and Laurens Van Der Maaten. Certified data removal from machine learning models. In International Conference on Machine Learning, p. 3832â3842. PMLR, 2020. Gupta et al. (2021) Varun Gupta, Christopher Jung, Seth Neel, Aaron Roth, Saeed Sharifi-Malvajerdi, and Chris Waites. Adaptive machine unlearning. In M. Ranzato, A. Beygelzimer, Y. Dauphin, P.S. Liang, and J. Wortman Vaughan (eds.), Advances in Neural Information Processing Systems, volume 34, p. 16319â16330. Curran Associates, Inc., 2021. URL https://proceedings.neurips.c/paper_files/paper/2021/file/87f7e4fdb57bdfd52179947211b7ebb-Paper.pdf. Halimi et al. (2022) Anisa Halimi, Swanand Kadhe, Ambrish Rawat, and Nathalie Baracaldo. Federated unlearning: How to efficiently erase a client in fl? arXiv preprint arXiv:2207.05521, 2022. Hayes et al. (2024) Jamie Hayes, Ilia Shumailov, Eleni Triantafillou, Amr Khalifa, and Nicolas Papernot. Inexact unlearning needs more careful evaluations to avoid a false sense of privacy. arXiv preprint arXiv:2403.01218, 2024. He et al. (2024) Luxi He, Yangsibo Huang, Weijia Shi, Tinghao Xie, Haotian Liu, Yue Wang, Luke Zettlemoyer, Chiyuan Zhang, Danqi Chen, and Peter Henderson. Fantastic copyrighted beasts and how (not) to generate them. arXiv preprint arXiv:2406.14526, 2024. Henderson et al. (2023) Peter Henderson, Xuechen Li, Dan Jurafsky, Tatsunori Hashimoto, Mark A Lemley, and Percy Liang. Foundation models and fair use. arXiv preprint arXiv:2303.15715, 2023. Huang et al. (2022) Yangsibo Huang, Chun-Yin Huang, Xiaoxiao Li, and Kai Li. A dataset auditing method for collaboratively trained machine learning models. IEEE Transactions on Medical Imaging, 42(7):2081â2090, 2022. Huang et al. (2023) Yangsibo Huang, Samyak Gupta, Zexuan Zhong, Kai Li, and Danqi Chen. Privacy implications of retrieval-based language models. arXiv preprint arXiv:2305.14888, 2023. Ilharco et al. (2023) Gabriel Ilharco, Marco Tulio Ribeiro, Mitchell Wortsman, Suchin Gururangan, Ludwig Schmidt, Hannaneh Hajishirzi, and Ali Farhadi. Editing models with task arithmetic, 2023. Izzo et al. (2021) Zachary Izzo, Mary Anne Smart, Kamalika Chaudhuri, and James Zou. Approximate data deletion from machine learning models. In International Conference on Artificial Intelligence and Statistics, p. 2008â2016. PMLR, 2021. Jang et al. (2023) Joel Jang, Dongkeun Yoon, Sohee Yang, Sungmin Cha, Moontae Lee, Lajanugen Logeswaran, and Minjoon Seo. Knowledge unlearning for mitigating privacy risks in language models. In Anna Rogers, Jordan Boyd-Graber, and Naoaki Okazaki (eds.), Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), p. 14389â14408, Toronto, Canada, July 2023. Association for Computational Linguistics. doi: 10.18653/v1/2023.acl-long.805. URL https://aclanthology.org/2023.acl-long.805. Johnson et al. (2020) Alistair Johnson, Lucas Bulgarelli, Tom Pollard, Steven Horng, Leo Anthony Celi, and Roger Mark. Mimic-iv. PhysioNet. Available online at: https://physionet. org/content/mimiciv/1.0/(accessed August 23, 2021), p. 49â55, 2020. Johnson et al. (2016) Alistair EW Johnson, Tom J Pollard, Lu Shen, Li-wei H Lehman, Mengling Feng, Mohammad Ghassemi, Benjamin Moody, Peter Szolovits, Leo Anthony Celi, and Roger G Mark. Mimic-i, a freely accessible critical care database. Scientific data, 3(1):1â9, 2016. Karasuyama & Takeuchi (2010) Masayuki Karasuyama and Ichiro Takeuchi. Multiple incremental decremental learning of support vector machines. IEEE Transactions on Neural Networks, 21(7):1048â1059, 2010. Klimt & Yang (2004) Bryan Klimt and Yiming Yang. The enron corpus: A new dataset for email classification research. In European conference on machine learning, p. 217â226. Springer, 2004. Li et al. (2023a) Haoran Li, Dadi Guo, Wei Fan, Mingshi Xu, Jie Huang, Fanpu Meng, and Yangqiu Song. Multi-step jailbreaking privacy attacks on chatgpt. arXiv preprint arXiv:2304.05197, 2023a. Li et al. (2024a) Nathaniel Li, Alexander Pan, Anjali Gopal, Summer Yue, Daniel Berrios, Alice Gatti, Justin D Li, Ann-Kathrin Dombrowski, Shashwat Goel, Long Phan, et al. The wmdp benchmark: Measuring and reducing malicious use with unlearning. arXiv preprint arXiv:2403.03218, 2024a. Li et al. (2023b) Yucheng Li, Frank Guerin, and Chenghua Lin. Avoiding data contamination in language model evaluation: Dynamic test construction with latest materials, 2023b. Li et al. (2024b) Yuyuan Li, Chaochao Chen, Xiaolin Zheng, Junlin Liu, and Jun Wang. Making recommender systems forget: Learning and unlearning for erasable recommendation. Knowledge-Based Systems, 283:111124, 2024b. Lin (2004) Chin-Yew Lin. Rouge: A package for automatic evaluation of summaries. In Text summarization branches out, p. 74â81, 2004. Liu et al. (2022) Bo Liu, Qiang Liu, and Peter Stone. Continual learning and private unlearning, 2022. Liu et al. (2020) Gaoyang Liu, Xiaoqiang Ma, Yang Yang, Chen Wang, and Jiangchuan Liu. Federated unlearning. arXiv preprint arXiv:2012.13891, 2020. Liu et al. (2024) Sijia Liu, Yuanshun Yao, Jinghan Jia, Stephen Casper, Nathalie Baracaldo, Peter Hase, Xiaojun Xu, Yuguang Yao, Hang Li, Kush R Varshney, et al. Rethinking machine unlearning for large language models. arXiv preprint arXiv:2402.08787, 2024. Loshchilov & Hutter (2017) Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. arXiv preprint arXiv:1711.05101, 2017. Lu et al. (2022) Ximing Lu, Sean Welleck, Jack Hessel, Liwei Jiang, Lianhui Qin, Peter West, Prithviraj Ammanabrolu, and Yejin Choi. Quark: Controllable text generation with reinforced unlearning. Advances in neural information processing systems, 35:27591â27609, 2022. Lynch et al. (2024) Aengus Lynch, Phillip Guo, Aidan Ewart, Stephen Casper, and Dylan Hadfield-Menell. Eight methods to evaluate robust unlearning in llms. arXiv preprint arXiv:2402.16835, 2024. Maini et al. (2024) Pratyush Maini, Zhili Feng, Avi Schwarzschild, Zachary Chase Lipton, and J. Zico Kolter. Tofu: A task of fictitious unlearning for llms. ArXiv, abs/2401.06121, 2024. URL https://api.semanticscholar.org/CorpusID:266933371. Meng et al. (2022) Kevin Meng, David Bau, Alex Andonian, and Yonatan Belinkov. Locating and editing factual associations in gpt. Advances in Neural Information Processing Systems, 35:17359â17372, 2022. Min et al. (2023) Sewon Min, Suchin Gururangan, Eric Wallace, Weijia Shi, Hannaneh Hajishirzi, Noah A Smith, and Luke Zettlemoyer. Silo language models: Isolating legal risk in a nonparametric datastore. arXiv preprint arXiv:2308.04430, 2023. Murakonda et al. (2021) Sasi Kumar Murakonda, Reza Shokri, and George Theodorakopoulos. Quantifying the privacy risks of learning high-dimensional graphical models. In International Conference on Artificial Intelligence and Statistics, p. 2287â2295. PMLR, 2021. Neel et al. (2021) Seth Neel, Aaron Roth, and Saeed Sharifi-Malvajerdi. Descent-to-delete: Gradient-based methods for machine unlearning. In Algorithmic Learning Theory, p. 931â962. PMLR, 2021. Nguyen et al. (2022) Thanh Tam Nguyen, Thanh Trung Huynh, Phi Le Nguyen, Alan Wee-Chung Liew, Hongzhi Yin, and Quoc Viet Hung Nguyen. A survey of machine unlearning. arXiv preprint arXiv:2209.02299, 2022. Oesterling et al. (2024) Alex Oesterling, Jiaqi Ma, Flavio Calmon, and Himabindu Lakkaraju. Fair machine unlearning: Data removal while mitigating disparities. In International Conference on Artificial Intelligence and Statistics, p. 3736â3744. PMLR, 2024. OpenAI (2023) OpenAI. Gpt-4 technical report, 2023. Pawelczyk et al. (2023) Martin Pawelczyk, Seth Neel, and Himabindu Lakkaraju. In-context unlearning: Language models as few shot unlearners. arXiv preprint arXiv:2310.07579, 2023. Rafailov et al. (2023) Rafael Rafailov, Archit Sharma, Eric Mitchell, Stefano Ermon, Christopher D. Manning, and Chelsea Finn. Direct preference optimization: Your language model is secretly a reward model, 2023. Romero et al. (2007) Enrique Romero, Ignacio Barrio, and LluĂs Belanche. Incremental and decremental learning for linear support vector machines. In International Conference on Artificial Neural Networks, p. 209â218. Springer, 2007. Sekhari et al. (2021) Ayush Sekhari, Jayadev Acharya, Gautam Kamath, and Ananda Theertha Suresh. Remember what you want to forget: Algorithms for machine unlearning. Advances in Neural Information Processing Systems, 34:18075â18086, 2021. Shi et al. (2024a) Weijia Shi, Anirudh Ajith, Mengzhou Xia, Yangsibo Huang, Daogao Liu, Terra Blevins, Danqi Chen, and Luke Zettlemoyer. Detecting pretraining data from large language models. In The Twelfth International Conference on Learning Representations, 2024a. URL https://openreview.net/forum?id=zWqr3MQuNs. Shi et al. (2024b) Weijia Shi, Sewon Min, Maria Lomeli, Chunting Zhou, Margaret Li, Xi Victoria Lin, Noah A. Smith, Luke Zettlemoyer, Wen tau Yih, and Mike Lewis. In-context pretraining: Language modeling beyond document boundaries. In The Twelfth International Conference on Learning Representations, 2024b. URL https://openreview.net/forum?id=LXVswInHOo. Shintre et al. (2019) Saurabh Shintre, Kevin A Roundy, and Jasjeet Dhaliwal. Making machine learning forget. In Privacy Technologies and Policy: 7th Annual Privacy Forum, APF 2019, Rome, Italy, June 13â14, 2019, Proceedings 7, p. 72â83. Springer, 2019. Shokri et al. (2017) Reza Shokri, Marco Stronati, Congzheng Song, and Vitaly Shmatikov. Membership inference attacks against machine learning models. In 2017 IEEE symposium on security and privacy (SP), p. 3â18. IEEE, 2017. Shumailov et al. (2024) Ilia Shumailov, Jamie Hayes, Eleni Triantafillou, Guillermo Ortiz-Jimenez, Nicolas Papernot, Matthew Jagielski, Itay Yona, Heidi Howard, and Eugene Bagdasaryan. Ununlearning: Unlearning is not sufficient for content regulation in advanced generative ai. arXiv preprint arXiv:2407.00106, 2024. Si et al. (2023) Nianwen Si, Hao Zhang, Heyu Chang, Wenlin Zhang, Dan Qu, and Weiqiang Zhang. Knowledge unlearning for llms: Tasks, methods, and challenges. arXiv preprint arXiv:2311.15766, 2023. Song & Raghunathan (2020) Congzheng Song and Ananth Raghunathan. Information leakage in embedding models. In Proceedings of the 2020 ACM SIGSAC conference on computer and communications security, p. 377â390, 2020. Thudi et al. (2022) Anvith Thudi, Gabriel Deza, Varun Chandrasekaran, and Nicolas Papernot. Unrolling sgd: Understanding factors influencing machine unlearning. In 2022 IEEE 7th European Symposium on Security and Privacy (EuroS&P), p. 303â319. IEEE, 2022. Touvron et al. (2023) Hugo Touvron, Louis Martin, Kevin Stone, Peter Albert, Amjad Almahairi, Yasmine Babaei, Nikolay Bashlykov, Soumya Batra, Prajjwal Bhargava, Shruti Bhosale, Dan Bikel, Lukas Blecher, Cristian Canton Ferrer, Moya Chen, Guillem Cucurull, David Esiobu, Jude Fernandes, Jeremy Fu, Wenyin Fu, Brian Fuller, Cynthia Gao, Vedanuj Goswami, Naman Goyal, Anthony Hartshorn, Saghar Hosseini, Rui Hou, Hakan Inan, Marcin Kardas, Viktor Kerkez, Madian Khabsa, Isabel Kloumann, Artem Korenev, Punit Singh Koura, Marie-Anne Lachaux, Thibaut Lavril, Jenya Lee, Diana Liskovich, Yinghai Lu, Yuning Mao, Xavier Martinet, Todor Mihaylov, Pushkar Mishra, Igor Molybog, Yixin Nie, Andrew Poulton, Jeremy Reizenstein, Rashi Rungta, Kalyan Saladi, Alan Schelten, Ruan Silva, Eric Michael Smith, Ranjan Subramanian, Xiaoqing Ellen Tan, Binh Tang, Ross Taylor, Adina Williams, Jian Xiang Kuan, Puxin Xu, Zheng Yan, Iliyan Zarov, Yuchen Zhang, Angela Fan, Melanie Kambadur, Sharan Narang, Aurelien Rodriguez, Robert Stojnic, Sergey Edunov, and Thomas Scialom. Llama 2: Open foundation and fine-tuned chat models, 2023. Triantafillou et al. (2023) Eleni Triantafillou, Fabian Pedregosa, Jamie Hayes, Peter Kairouz, Isabelle Guyon, Meghdad Kurmanji, Gintare Karolina Dziugaite, Peter Triantafillou, Kairan Zhao, Lisheng Sun Hosoya, Julio C. S. Jacques Junior, Vincent Dumoulin, Ioannis Mitliagkas, Sergio Escalera, Jun Wan, Sohier Dane, Maggie Demkin, and Walter Reade. Neurips 2023 machine unlearning challenge, 2023. URL https://kaggle.com/competitions/neurips-2023-machine-unlearning. Tveit et al. (2003) Amund Tveit, Magnus Lie Hetland, and HĂĽavard Engum. Incremental and decremental proximal support vector classification using decay coefficients. In International Conference on Data Warehousing and Knowledge Discovery, p. 422â429. Springer, 2003. Ullah et al. (2021) Enayat Ullah, Tung Mai, Anup Rao, Ryan A Rossi, and Raman Arora. Machine unlearning via algorithmic stability. In Conference on Learning Theory, p. 4126â4142. PMLR, 2021. Wei et al. (2024a) Boyi Wei, Kaixuan Huang, Yangsibo Huang, Tinghao Xie, Xiangyu Qi, Mengzhou Xia, Prateek Mittal, Mengdi Wang, and Peter Henderson. Assessing the brittleness of safety alignment via pruning and low-rank modifications. arXiv preprint arXiv:2402.05162, 2024a. Wei et al. (2024b) Boyi Wei, Weijia Shi, Yangsibo Huang, Noah A Smith, Chiyuan Zhang, Luke Zettlemoyer, Kai Li, and Peter Henderson. Evaluating copyright takedown methods for language models. arXiv preprint arXiv:2406.18664, 2024b. Wu et al. (2023) Xinwei Wu, Junzhuo Li, Minghui Xu, Weilong Dong, Shuangzhi Wu, Chao Bian, and Deyi Xiong. Depn: Detecting and editing privacy neurons in pretrained language models. arXiv preprint arXiv:2310.20138, 2023. Wu et al. (2020) Yinjun Wu, Edgar Dobriban, and Susan Davidson. Deltagrad: Rapid retraining of machine learning models. In International Conference on Machine Learning, p. 10355â10366. PMLR, 2020. Xu et al. (2023) Heng Xu, Tianqing Zhu, Lefeng Zhang, Wanlei Zhou, and Yu Philip. Machine unlearning: A survey. ACM Computing Surveys, 2023. Yao et al. (2023) Yuanshun Yao, Xiaojun Xu, and Yang Liu. Large language model unlearning. arXiv preprint arXiv:2310.10683, 2023. Ye et al. (2022a) Jiayuan Ye, Aadyaa Maddi, Sasi Kumar Murakonda, Vincent Bindschaedler, and Reza Shokri. Enhanced membership inference attacks against machine learning models. In Proceedings of the 2022 ACM SIGSAC Conference on Computer and Communications Security, p. 3093â3106, 2022a. Ye et al. (2022b) Jingwen Ye, Yifang Fu, Jie Song, Xingyi Yang, Songhua Liu, Xin Jin, Mingli Song, and Xinchao Wang. Learning with recoverable forgetting. In European Conference on Computer Vision, p. 87â103. Springer, 2022b. Yu et al. (2023) Charles Yu, Sullam Jeoung, Anish Kasi, Pengfei Yu, and Heng Ji. Unlearning bias in language models by partitioning gradients. In Findings of the Association for Computational Linguistics: ACL 2023, p. 6032â6048, 2023. Zhang et al. (2024a) Dawen Zhang, Shidong Pan, Thong Hoang, Zhenchang Xing, Mark Staples, Xiwei Xu, Lina Yao, Qinghua Lu, and Liming Zhu. To be forgotten or to be fair: Unveiling fairness implications of machine unlearning methods. AI and Ethics, p. 1â11, 2024a. Zhang et al. (2023) Eric Zhang, Kai Wang, Xingqian Xu, Zhangyang Wang, and Humphrey Shi. Forget-me-not: Learning to forget in text-to-image diffusion models. arXiv preprint arXiv:2303.17591, 2023. Zhang et al. (2024b) Ruiqi Zhang, Licong Lin, Yu Bai, and Song Mei. Negative preference optimization: From catastrophic collapse to effective unlearning, 2024b. Zhang et al. (2024c) Yihua Zhang, Yimeng Zhang, Yuguang Yao, Jinghan Jia, Jiancheng Liu, Xiaoming Liu, and Sijia Liu. Unlearncanvas: A stylized image dataset to benchmark machine unlearning for diffusion models. arXiv preprint arXiv:2402.11846, 2024c. [sections] [sections]l1 Appendix A Broader Impact As LMs are deployed broadly and publicly, there is mounting legal and social pressure on deployers to release models that permit effective unlearning when requested by data owners (European Parliament & Council of the European Union, ; DOE 1 v. GitHub, Inc., N.D. Cal. 2022; Tremblay v. OpenAI, Inc.,, 2023). These incentives have prompted a flurry of new unlearning algorithms stemming from different technical perspectives. As such, systematic evaluation of the strengths and weaknesses of these methods when executing realistic unlearning requests on popular models is essential. MUSE disentangles several desirable properties of unlearning algorithms and finds that no existing algorithm is able to satisfy all of the data owner and deployer considerations. We hope that our fine-grained, multi-faceted framework facilitates the improvement of unlearning algorithms. Moreover, we expect that the general approach of designing metrics to balance the considerations of various stakeholders is flexible and can adapt to the rapidly shifting legal, social, and economic landscape. We also acknowledge the potential negative impacts of our study. One limitation of our evaluation benchmark is that we do not have comprehensive study of how unlearning would impact the model performance for different user bases, especially underrepresented groups. However, we note proper handling and evaluation of fairness issues in unlearning is still an active ongoing research area (Zhang et al., 2024a; Oesterling et al., 2024), therefore we leave it as future work. Additionally, our work may be misinterpreted towards skepticism regarding the broader use of machine unlearning, as our current evaluation reveals that existing unlearning methods are not yet ready for effective real-world deployment. However, machine unlearning, especially for large language models, is a young and active research area and new algorithms are constantly being proposed. We emphasize that our results is not a criticism of the paradigm of machine unlearning, but a study of the potential downsides of existing methods and a call for better algorithms. We believe our benchmark is an important step towards guiding future algorithm design of machine unlearning research towards more realistic deployment scenarios. Appendix B Experimental Details B.1 Compute Configurations All experiments are conducted on 8 NVIDIA A40 GPU cards in a single node. B.2 Experimental Setup Finetuning details. As described in §5.1, for News, we start from f0=LLaMA-2 7Bsubscript0LLaMA-2 7Bf_0=LLaMA-2 7Bf0 = LLaMA-2 7B (Touvron et al., 2023) and finetune the model on the BBC news articles for 5 epochs with a constant learning rate of 10â5superscript10510^-510- 5 and a batch size of 32 . For Books, we start from f0=ICLM 7Bsubscript0ICLM 7Bf_0=ICLM 7Bf0 = ICLM 7B (Touvron et al., 2023) and finetune the model on the Harry Potter books with same set of hyperparameters. Unlearning details. For all the unlearning methods in Table 3, we use a constant learning rate of 10â5superscript10510^-510- 5 and a batch size of 32. For freinforcedsubscriptreinforcedf_reinforcedfreinforced used in WHP and Task Vector, we fine-tune ftargetsubscripttargetf_ targetftarget for 10 epochs. Before evaluation, for each unlearning method, we select its optimal epoch or Îą (both of which are parameters that control a degree of unlearning) by using our unlearning stopping criteria based on the unlearned modelâs utility on retainsubscriptretainD_ retainDretain compared to that of fretrainsubscriptretrainf_ retrainfretrain. The chosen epochs or Îąâs for each method are listed below. Table 4: Optimal epochs or Îąâs for each unlearning method. Unlearning Method News Books GA epoch 1 epoch 1 GAGDRsubscriptGAGDR GA_ GDRGAGDR epoch 7 epoch 1 GAKLRsubscriptGAKLR GA_ KLRGAKLR epoch 10 epoch 5 NPO epoch 1 epoch 1 NPOGDRsubscriptNPOGDR NPO_ GDRNPOGDR epoch10 epoch 1 NPOKLRsubscriptNPOKLR NPO_ KLRNPOKLR epoch 10 epoch 4 Task Vector Îą=29superscript29Îą=2^9Îą = 29 Îą=29superscript29Îą=2^9Îą = 29 WHP Îą=22superscript22Îą=2^2Îą = 22 Îą=28superscript28Îą=2^8Îą = 28 B.3 Efficiency of Unlearning Methods We report the efficiency of unlearning methods in Table 5, measured by the wall-clock time for a single gradient update step of unlearning. The time measurements were conducted using 8 NVIDIA A40 GPUs on a single node, with a batch size of 32 and an input length of 2048 tokens. Each step corresponds to one gradient update processing a total of 65,536 tokens (32 Ă 2048 tokens). For Task Vector and WHP, each step represents one iteration of fine-tuning to create the reinforced model. Table 5: Wall-clock time required for each unlearning method, measured in seconds per step. Unlearning Method Time (Seconds/Step) GA 4.14 GAGDRsubscriptGAGDR GA_ GDRGAGDR 6.05 GAKLRsubscriptGAKLR GA_ KLRGAKLR 7.58 NPO 5.68 NPOGDRsubscriptNPOGDR NPO_ GDRNPOGDR 7.59 NPOKLRsubscriptNPOKLR NPO_ KLRNPOKLR 9.11 Task Vector 4.14 WHP 4.14 Appendix C More Experimental Results C.1 Confidence Intervals for C1, C2 and C4 in Table 3 We compute confidence intervals for C1, C2, and C4 (Mean ROUGE-L F1) using bootstrapping999https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.bootstrap.html. For each mean ROUGE-L score reported in Table 3, we draw 9,999 bootstrap resamples and calculate a two-tailed 95% confidence interval using the âpercentageâ method. Table 6: 95% confidence intervals computed for mean Rouge-L scores used in C1, C2, and C4. C1. No Verbatim Mem. C2. No Knowledge Mem. C4. Utiltiy Preserv. VerbMem on forgetsubscriptforgetD_ forgetDforget (â â) KnowMem on forgetsubscriptforgetD_ forgetDforget (â â) KnowMem on retainsubscriptretainD_ retainDretain (â â) News Target ftargetsubscripttargetf_ targetftarget 58.458.458.458.4 [54.1, 62.9] 63.963.963.963.9 [58.7, 69.0] 55.255.255.255.2 [50.7, 59.9] Retrain fretrainsubscriptretrainf_ retrainfretrain 20.820.820.820.8 [18.5, 23.7] 33.133.133.133.1 [26.8, 39.5] 55.055.055.055.0 [50.3, 59.8] GA 0.00.00.00.0 [0.0, 0.0] 0.00.00.00.0 [0.0, 0.0] 0.00.00.00.0 [0.0, 0.0] GAGDRsubscriptGAGDR GA_ GDRGAGDR 4.94.94.94.9 [4.5, 5.2] 31.031.031.031.0 [24.2, 38.0] 27.327.327.327.3 [21.9, 33.0] GAKLRsubscriptGAKLR GA_ KLRGAKLR 27.427.427.427.4 [25.1, 29.9] 50.250.250.250.2 [43.1, 56.9] 44.844.844.844.8 [39.2, 50.5] NPO 0.00.00.00.0 [0.0, 0.0] 0.00.00.00.0 [0.0, 0.0] 0.00.00.00.0 [0.0, 0.0] NPOGDRsubscriptNPOGDR NPO_ GDRNPOGDR 1.21.21.21.2 [0.3, 2.3] 54.654.654.654.6 [47.5, 61.5] 40.540.540.540.5 [34.7, 46.2] NPOKLRsubscriptNPOKLR NPO_ KLRNPOKLR 26.926.926.926.9 [24.7, 29.3] 49.049.049.049.0 [41.8, 61.5] 45.445.445.445.4 [39.8, 51.1] Task Vector 57.257.257.257.2 [52.6, 62.0] 66.266.266.266.2 [61.3, 71.2] 55.855.855.855.8 [51.0, 60.6] WHP 19.719.719.719.7 [17.8, 21.6] 21.221.221.221.2 [16.0, 26.7] 28.328.328.328.3 [23.3, 33.4] Books Target ftargetsubscripttargetf_ targetftarget 99.899.899.899.8 [99.8, 99.9] 59.459.459.459.4 [52.7, 66.0] 66.966.966.966.9 [59.6, 73.8] Retrain fretrainsubscriptretrainf_ retrainfretrain 14.314.314.314.3 [13.6, 15.1] 28.928.928.928.9 [22.1, 35.7] 74.574.574.574.5 [68.4, 80.0] GA 0.00.00.00.0 [0.0, 0.0] 0.00.00.00.0 [0.0, 0.0] 0.00.00.00.0 [0.0, 0.0] GAGDRsubscriptGAGDR GA_ GDRGAGDR 0.00.00.00.0 [0.0, 0.0] 0.00.00.00.0 [0.0, 0.0] 10.710.710.710.7 [6.2, 15.7] GAKLRsubscriptGAKLR GA_ KLRGAKLR 16.016.016.016.0 [14.8, 17.2] 21.921.921.921.9 [16.4, 27.7] 37.237.237.237.2 [29.5, 45.0] NPO 0.00.00.00.0 [0.0, 0.0] 0.00.00.00.0 [0.0, 0.0] 0.00.00.00.0 [0.0, 0.0] NPOGDRsubscriptNPOGDR NPO_ GDRNPOGDR 0.00.00.00.0 [0.0, 0.0] 0.00.00.00.0 [0.0, 0.0] 22.822.822.822.8 [16.1, 30.1] NPOKLRsubscriptNPOKLR NPO_ KLRNPOKLR 17.017.017.017.0 [15.7, 18.2] 25.025.025.025.0 [19.0, 31.5] 44.644.644.644.6 [36.5, 52.8] Task Vector 99.799.799.799.7 [99.6, 99.8] 52.452.452.452.4 [45.0, 59.7] 64.764.764.764.7 [57.1, 71.8] WHP 18.018.018.018.0 [16.4, 19.7] 55.755.755.755.7 [48.6, 62.8] 63.663.663.663.6 [56.3, 70.9] Appendix D Dataset Details GPT-generated QA pairs. We begin the generation by partitioning the Verbatim text of each corpus into a set of 2048-token excerpts using LLaMA-2âs tokenizer. For each QA pair to generate, we randomly sample an excerpt from this set and prompt GPT-4 (gpt-4o-2024-05-13) to create a JSON object with two fields: âquestionâ (a question that can only be answered using specific information from the excerpt) and âanswerâ (an answer to the âquestionâ extracted verbatim from the excerpt). We validate and exclude any pairs whose answers cannot be found verbatim in their corresponding excerpts. This verbatim requirement ensures that our Knowledge set is used precisely to evaluate the modelâs ability to correctly associate questions with relevant portions of the training data. For each QA pair to generate, we initiate a new conversation with GPT-4 with its corresponding excerpt. The instruction begins with a system prompt that specifies the desired format of generated QA pairs as follows: System Prompt for Generating QAs with GPT-4 You will be provided with an excerpt of text. Your goal is to create a question-answer pair that assesses reading comprehension and memorization, ensuring that the question can only be answered using details from the excerpt. Please submit your response in a JSON format with the following fields: - âquestionâ: A single question related to the excerpt. The question should be specific enough that it does not allow for an answer other than the one you provide. In particular, it should not be answerable based on common knowledge alone. Also, a few words extracted from the excerpt must suffice in answering this question. - âanswerâ: A precise answer extracted verbatim, character-by-character from the excerpt. The answer to this question must be short, phrase-level at most. The length of the extraction should be minimal, providing the smallest span of the excerpt that completely and efficiently answers the question. We then present the excerpt as a user prompt to the model and collect the generated QA pairs. Here are two example generated QA pairs from the Knowledge set of News: QA Pair Generated by GPT-4: Example #1 Excerpt (User prompt): âŚAccording to the Stockholm International Peace Research Institute (SIPRI), the US accounted for 69% of Israelâs arms imports between 2019 and 2023⌠Question: According to the Stockholm International Peace Research Institute (SIPRI), what percentage of Israelâs arms imports between 2019 and 2023 came from the US? Answer: 69% QA Pair Generated by GPT-4: Example #2 Excerpt (User prompt): âŚWednesdayâs event will be moderated by tech entrepreneur David Sacks, a close ally of the Tesla founder and a supporter of Mr DeSantis⌠Question: Who will moderate Wednesdayâs Twitter Spaces event featuring Mr DeSantis? Answer: tech entrepreneur David Sacks Dataset segmentation. Appendix D shows examples from MUSE and Table 8 presents detailed statistics for MUSE. For both the News and Books datasets, we include the type of documents along with the number of tokens in each dataset. Additionally, MUSE incorporates retain(reg)superscriptsubscriptretainregD_ retain^(reg)Dretain( reg ), a distinct retain set which is seen by ftargetsubscripttargetf_ targetftarget but not included in forgetsubscriptforgetD_ forgetDforget. This set is used exclusively with the GDR and KLR regularizers discussed. To ensure that regularized methods do not directly optimize towards the evaluation set retainsubscriptretainD_ retainDretain , retain(reg)superscriptsubscriptretainregD_ retain^(reg)Dretain( reg ) is kept disjoint from retainsubscriptretainD_ retainDretain. Table 7: Examples of MUSE. Each corpus has Verbatim text and Knowledge sets (QA pairs derived from the original text) for evaluating verbatim and knowledge memorization. In News, forgetsubscriptforgetD_ forgetDforget and retainsubscriptretainD_ retainDretain are two disjoint sets of news articles. In Books, forgetsubscriptforgetD_ forgetDforget is the Harry Potter book series while retainsubscriptretainD_ retainDretain consists of wiki articles about the series. The sizes of the forget and retain sets are reported in tokens in (). Corpus Forget Set Retain Set News Article (0.8 M tokens) News Article (1.6 M tokens) News 6.5cm MP Stuart McDonald has been appointed as the SNPâs new treasurer 5.5cm A father whose 12-year-old son was killed by an IRA bomb 30 years ago 6.5cm Q: What position has Stuart McDonald MP been appointed to? A: The SNPâs new treasurer 6.5cm Q: Who was affected by the IRA bomb 30 years ago? A: A father whose 12-year-old son Harry Potter Books (1.1 M tokens) Harry Potter FanWiki (0.5 M tokens) Books 5.5cm âThereâs more in the frying pan,â said Aunt Petunia, turning eyes on her massive son. 5.5cm This page contains a list of spells: Portuguese for âopenâ. 5.5cm Q: What does Aunt Petunia tell her son? A: Thereâs more in the frying pan. 5.5cm Q: What is the spell used to open things? A: Portuguese Table 8: Statistics of the MUSE dataset. Corpus sizes are reported in tokens, shown in (). Retain Setreg.reg._reg.start_FLOATSUBSCRIPT reg. end_FLOATSUBSCRIPT is disjoint from the standard Retain Set used in evaluation and is employed in unlearning training to preserve utility through regularizers. Corpus Forget Set Retain Set Retain Setreg.reg._reg.start_FLOATSUBSCRIPT reg. end_FLOATSUBSCRIPT Holdout Set News News Articles (3.3M) News Articles (1.6M) News Articles (1.6M) News Articles (2.0M) Books Harry Potter Books (1.1M) Harry Potter FanWiki (0.5M) Harry Potter FanWiki (0.2M) Harry Potter Books (0.6M)