Paper deep dive
Are we making progress in unlearning? Findings from the first NeurIPS unlearning competition
Eleni Triantafillou, Peter Kairouz, Fabian Pedregosa, Jamie Hayes, Meghdad Kurmanji, Kairan Zhao, Vincent Dumoulin, Julio Jacques Junior, Ioannis Mitliagkas, Jun Wan, Lisheng Sun Hosoya, Sergio Escalera, Gintare Karolina Dziugaite, Peter Triantafillou, Isabelle Guyon
Models: ResNet-18
Intelligence
Status: succeeded | Model: google/gemini-3.1-flash-lite-preview | Prompt: intel-v1 | Confidence: 94%
Last extracted: 3/12/2026, 7:44:29 PM
Summary
This paper presents the findings of the first NeurIPS competition on machine unlearning, which aimed to foster the development of robust unlearning algorithms and evaluation methodologies. The authors introduce a principled evaluation framework based on a formal (ξ,δ)-unlearning definition, utilizing a hypothesis-testing approach to measure forgetting quality while balancing model utility and computational efficiency. The study analyzes top-performing competition entries, discusses trade-offs in unlearning algorithms, and provides insights into standardizing evaluation in this emerging field.
Entities (4)
Relation Signals (3)
NeurIPS â organized â NeurIPS competition on unlearning
confidence 98% ¡ We present the findings of the first NeurIPS competition on unlearning
NeurIPS competition on unlearning â hostedon â Kaggle
confidence 95% ¡ The competition was hosted on Kaggle
Machine Unlearning â uses â (Îľ,δ)-unlearning
confidence 92% ¡ an operational definition of unlearning that allows us to introduce a practical evaluation framework
Cypher Suggestions (0)
No Cypher suggestions yet.
Abstract
Abstract:We present the findings of the first NeurIPS competition on unlearning, which sought to stimulate the development of novel algorithms and initiate discussions on formal and robust evaluation methodologies. The competition was highly successful: nearly 1,200 teams from across the world participated, and a wealth of novel, imaginative solutions with different characteristics were contributed. In this paper, we analyze top solutions and delve into discussions on benchmarking unlearning, which itself is a research problem. The evaluation methodology we developed for the competition measures forgetting quality according to a formal notion of unlearning, while incorporating model utility for a holistic evaluation. We analyze the effectiveness of different instantiations of this evaluation framework vis-a-vis the associated compute cost, and discuss implications for standardizing evaluation. We find that the ranking of leading methods remains stable under several variations of this framework, pointing to avenues for reducing the cost of evaluation. Overall, our findings indicate progress in unlearning, with top-performing competition entries surpassing existing algorithms under our evaluation framework. We analyze trade-offs made by different algorithms and strengths or weaknesses in terms of generalizability to new datasets, paving the way for advancing both benchmarking and algorithm development in this important area.
Tags
Links
Trouble viewing inline? Open PDF directly â
Full Text
142,364 characters extracted from source content.
Expand or collapse full text
Are we making progress in unlearning? Findings from the first NeurIPS unlearning competition Eleni Triantafillou1 &Peter Kairouz2 &Fabian Pedregosa1 &Jamie Hayes1 &Meghdad Kurmanji3 &Kairan Zhao3 &Vincent Dumoulin1 &Julio Jacques Junior5,6 &Ioannis Mitliagkas1,7 &Jun Wan4,8 &Lisheng Sun Hosoya4,9 &Sergio Escalera4,5,6 &Gintare Karolina Dziugaite1 &Peter Triantafillou3 &Isabelle Guyon1,4,9 1Google DeepMind 2Google Research 3University of Warwick 4ChaLearn 5University of Barcelona 6Computer Vision Center 7University of Montreal 8Institute of Automation, Chinese Academy of Sciences 9UniversitĂŠ Paris Saclay corresponding author: etriantafillou@google.com Abstract We present the findings of the first NeurIPS competition on unlearning, which sought to stimulate the development of novel algorithms and initiate discussions on formal and robust evaluation methodologies. The competition was highly successful: nearly 1,200 teams from across the world participated, and a wealth of novel, imaginative solutions with different characteristics were contributed. In this paper, we analyze top solutions and delve into discussions on benchmarking unlearning, which itself is a research problem. The evaluation methodology we developed for the competition measures forgetting quality according to a formal notion of unlearning, while incorporating model utility for a holistic evaluation. We analyze the effectiveness of different instantiations of this evaluation framework vis-a-vis the associated compute cost, and discuss implications for standardizing evaluation. We find that the ranking of leading methods remains stable under several variations of this framework, pointing to avenues for reducing the cost of evaluation. Overall, our findings indicate progress in unlearning, with top-performing competition entries surpassing existing algorithms under our evaluation framework. We analyze trade-offs made by different algorithms and strengths or weaknesses in terms of generalizability to new datasets, paving the way for advancing both benchmarking and algorithm development in this important area. 1 Introduction The trend of increasingly large and data-hungry deep learning models has led to exciting success stories. However, the heavy reliance of these models on training data has also generated important concerns. These include legal, privacy, safety violations and inaccurate predictions, stemming from the perpetuation of harmful, incorrect or outdated training data. A naive approach for correcting these issues is to simply remove the offending or no longer permissible subset of the training set and retrain âfrom scratchâ. However, these increasingly large models are also increasingly expensive to train, making it impractical to retrain from scratch whenever a new problematic training data subset is identified. We are thus faced with important technical challenges in designing machine learning pipelines that perform strongly, while allowing to efficiently comply with deletion requests. Machine unlearning [25] has emerged as a research area to address this issue of efficiently erasing (the influence of) a subset of training data from a trained model. This is a challenging task, especially given the non-convex loss landscape of deep neural networks, where tracing the influence of a subset of training data on the modelâs weights and / or outputs, both accurately and efficiently, is an open problem [21, 2, 3, 11, 27, 1]. Furthermore, imperfect attempts at erasing information from models may lead to sacrificing the utility of the model and its knowledge of permissible information. There are therefore complex trade-offs between forgetting quality, model utility and efficiency that further complicate the quest of designing practical unlearning algorithms and their evaluation. While unlearning has gained increased attention, we argue that progress is significantly hampered by the challenge of designing benchmarks and operationally meaningful evaluation metrics. In particular, evaluation of unlearning is a research problem in and of itself: if measuring the influence of training data on models is an open problem, then so is measuring the remaining influence after unlearning. In organizing the NeurIPSâ23 competition on unlearning, we had two key objectives: i) increase the visibility of this important problem and foster the creation of better unlearning algorithms, and i) initiate a dialogue on rigorous evaluation methods by introducing a principled evaluation framework. The NeurIPSâ23 competition on unlearning111https://unlearning-challenge.github.io/ was designed to target a realistic scenario where an age predictor is trained on facial images and subsequently, a subset of users whose images were included in the training process request their data be deleted. The competitionâs participants were tasked with the goal of developing algorithms capable of erasing the influence of the data of those users from the model, without (overly) hurting its utility. The competition was hosted on Kaggle222https://w.kaggle.com/competitions/neurips-2023-machine-unlearning/ from September 11 to November 30, 2023. A total of 1,338 individuals from 72 countries participated. At the end of the competition, there were 1,121 teams and 1,923 submissions. With nearly 1,200 teams participating, and a wide range of different algorithms proposed, we consider our first objective a resounding success. At the same time, the plethora of novel algorithms along with a multitude of pre-existing state-of-the-art unlearning algorithms presents us with a lot of exciting work for deepening our understanding of unlearning in general: What are algorithmic success and failure modes? Do the algorithms contributed in the competition outperform state-of-the-art unlearning algorithms? How does evaluation of these methods according to our metric agree or disagree with findings in the literature? All these lead to a key question: Are we making progress in machine unlearning? In this report, we seek to answer these questions through an extensive empirical evaluation and analyses. The principal contributions of this paper include: an operational definition of unlearning that allows us to introduce a practical evaluation framework, an analysis of top-performing solutions from the first NeurIPS competition on unlearning, a discussion of the effectiveness of different instantiations of the evaluation framework concerning computational cost and of algorithm trade-offs in terms of utility and forgetting, as well as ease of generalizability to new datasets. 2 Background 2.1 Defining machine unlearning Let θo=â˘()superscriptθ^o=A(D)θitalic_o = A ( D ) denote the weights of a model (the âoriginal modelâ) obtained by applying learning algorithm AA on dataset DD. Informally, the goal of machine unlearning is to remove the influence of a forget set âS â D from θosuperscriptθ^oθitalic_o. A straightforward solution is to simply retrain the model from scratch on an adjusted training set that excludes SS, referred to as the âretain setâ. We denote by θrsuperscriptθ^rθitalic_r the weights of this ideal solution θr=â˘(â)superscriptθ^r=A(D )θitalic_r = A ( D â S ). Unfortunately, retraining from scratch is inefficient and, in some cases prohibitively costly, depending on the size of the model and the frequency of unlearning requests. Therefore, instead of throwing away θosuperscriptθ^oθitalic_o and retraining a new model, we seek an efficient unlearning algorithm UU that starts from θosuperscriptθ^oθitalic_o and produces an unlearned model θusuperscriptθ^uθitalic_u by post-processing: θu=â˘(θo,,)superscriptsuperscriptθ^u=U(θ^o,S,D)θitalic_u = U ( θitalic_o , S , D ). Intuitively, the âcloserâ θusuperscriptθ^uθitalic_u is to θrsuperscriptθ^rθitalic_r, the more successful UU is at unlearning. Measuring success of unlearning then requires estimating how close two distributions are to one another: the distribution of θusuperscriptθ^uθitalic_u and that of θrsuperscriptθ^rθitalic_r. We refer to distributions here since running AA and UU with different random seeds that control, for instance, the initialization and order of mini-batches, will yield slightly different model weights each time. There are many approaches for estimating closeness of distributions, such as instantiating a KolmogorovâSmirnov test or measuring the KullbackâLeibler divergence. We consider approaches that can be operationalized by mounting âattacksâ that attempt to tell apart the two distributions and measuring closeness based on the degree of failure of the attack. We now formalize the above intuition in a definition that is largely333Ours is a weaker notion that fixes the dataset and forget set, to precisely capture the competition setup. inspired by [30, 16, 24], which in turn draw inspiration from differential privacy [8]. Definition 2.1. (Îľ,δ)( ,δ)( Îľ , δ )-unlearning. For a fixed dataset DD, forget set âS â D, and a randomized learning algorithm AA, an unlearning algorithm UU is (Îľ,δ)( ,δ)( Îľ , δ )-unlearning with respect to (,,)(D,S,A)( D , S , A ) if for all RââR â R where âRR denotes the output space, in this case the space of model parameters θ, we have: PrâĄ[â˘(â)âR]Pr [A(D )â R]Pr [ A ( D â S ) â R ] â¤eÎľâ˘PrâĄ[â˘(â˘(),,)âR]+δ,andabsentsuperscriptPrand ⤠e [U(A(D),% S,D)â R]+δ, ⤠eitalic_Îľ Pr [ U ( A ( D ) , S , D ) â R ] + δ , and PrâĄ[â˘(â˘(),,)âR]Pr [U(A(D),S,D)% â R]Pr [ U ( A ( D ) , S , D ) â R ] â¤eÎľâ˘PrâĄ[â˘(â)âR]+δ.absentsuperscriptPr ⤠e [A(D % S)â R]+δ.⤠eitalic_Îľ Pr [ A ( D â S ) â R ] + δ . The above definition expresses the degree of success of an unlearning algorithm UU (with respect to DD, SS and AA) as a function of a notion of divergence between the distributions of θrsuperscriptθ^rθitalic_r and θusuperscriptθ^uθitalic_u. Specifically, the degree of success of unlearning is captured in the Îľ Îľ and δ parameters. Notice that when Îľ Îľ and δ are very small, the distributions of the retrained model θr=â˘(â)superscriptθ^r=A(D )θitalic_r = A ( D â S ) and the unlearned model θu=â˘(â˘(),,)superscriptθ^u=U(A(D),S,D)θitalic_u = U ( A ( D ) , S , D ) are nearly indistinguishable from one another, signalling successful unlearning. In this work, we will compare unlearning algorithms to one another by fixing δ to a small value, and computing each algorithmâs Îľ Îľ. For a pair of algorithms 1subscript1U_1U1, 2subscript2U_2U2, we will say that 1subscript1U_1U1 is better according to this metric than 2subscript2U_2U2 (with respect to DD, SS and AA) if it yields a smaller Îľ Îľ than that of 2subscript2U_2U2. We refer to an unlearning algorithm UU that is (0,0)00(0,0)( 0 , 0 )-unlearning as exact unlearning. For non-convex models, the only known approach to exact unlearning involves retraining from scratch (parts of) the model. This can be done either naively or through cleverly-designed mixture models, where one only needs to retrain the component(s) affected by an unlearning request [4]. In the worst case, though, where a forget set is distributed across the training sets of all sub-models, even clever systems suffer the same computational cost as naive retraining, and these mixture models may also have poorer utility compared to other architectures. Motivated by these challenges, the community has recently developed a plethora of approximate unlearning methods, whose Îľ Îľ and δ values are generally not known theoretically but are significantly more computationally efficient or perform better than exact methods according to empirical metrics. The competition focused on approximate unlearning. 2.2 Empirical estimation of Îľ Îľ via a hypothesis-testing interpretation Drawing inspiration from empirical estimation of Îľ Îľ for differential privacy (DP), we describe an evaluation procedure for unlearning that can be interpreted as a hypothesis test: the null hypothesis is that AA was trained on all of DD, and unlearning was then applied to erase SS, and the alternative hypothesis is that AA was trained on âD â S. False positives (type-I errors) occur when the null hypothesis is true but is rejected and false negatives (type-I errors) when the alternative hypothesis is true but is rejected. We borrow the result of [19] that characterizes (Îľ,δ)( ,δ)( Îľ , δ )-DP in terms of the false positive rate (FPR) and false negative rate (FNR) achievable by an acceptance region, and use it for empirical estimation of Îľ Îľ for unlearning at any fixed δ. Theorem 2.2 (adapted from [19]). Fix DD, âS â D, and a randomized learning algorithm AA. Assume UU is an (Îľ,δ)( ,δ)( Îľ , δ )-unlearning algorithm with respect to (,,)(D,S,A)( D , S , A ). Let X be sampled from either â˘(â)A(D )A ( D â S ) or â˘(â˘(),,)U(A(D),S,D)U ( A ( D ) , S , D ). Then the performance of any (possibly randomized) hypothesis testing rule that tries to distinguish whether X came from â˘(â)A(D )A ( D â S ) or â˘(â˘(),,)U(A(D),S,D)U ( A ( D ) , S , D ) is governed by FPR+eÎľâ˘FNRFPRsuperscriptFNR +e FNRFPR + eitalic_Îľ FNR âĽ1âδ,andabsent1and ⼠1-δ, ⼠1 - δ , and FNR+eÎľâ˘FPRFNRsuperscriptFPR +e FPRFNR + eitalic_Îľ FPR âĽ1âδ.absent1 ⼠1-δ.⼠1 - δ . Intuitively, if Îľ Îľ and δ are both small, the above theorem states that regardless of computation power of the testing rule, it is statistically impossible to get FPR and FNR to be simultaneously small. This characterization enables estimating Îľ Îľ at a fixed δ as Îľ^=maxâĄlogâĄ1âδâFPR^FNR^,logâĄ1âδâFNR^FPR^,^1^FPR^FNR1^FNR^FPR = \ 1-δ- FPR % FNR, 1-δ- FNR FPR \,over start_ARG Îľ end_ARG = max log divide start_ARG 1 - δ - over start_ARG FPR end_ARG end_ARG start_ARG over start_ARG FNR end_ARG end_ARG , log divide start_ARG 1 - δ - over start_ARG FNR end_ARG end_ARG start_ARG over start_ARG FPR end_ARG end_ARG , (1) where FPR^^FPR FPRover start_ARG FPR end_ARG and FNR^^FNR FNRover start_ARG FNR end_ARG are estimates of the true FPR and FNR under an instantiated attack that is designed to predict as accurately as possible whether a given model was obtained through recipe â˘(â˘(),,)U(A(D),S,D)U ( A ( D ) , S , D ) or â˘(â)A(D )A ( D â S ). Such a prediction problem is closely related to membership inference attacks that aim to infer whether a particular example was included in the training set of a given model [32, 18]. Recent work designs adaptations of such attacks for evaluating unlearning [22, 28, 17]. 3 Introducing our evaluation framework for unlearning Given the challenges around constructing unlearning algorithms that provably satisfy the (Îľ,δ)( ,δ)( Îľ , δ )-unlearning notion given in Definition 2.1, we now devise a principled methodology for empirically evaluating and ranking unlearning algorithms. Evaluating an unlearning algorithm UU requires carefully quantifying three key components: (a) the âforgetting qualityâ (denoted by âąFF) of UU, (b) the utility of θusuperscriptθ^uθitalic_u, and (c) the efficiency of running UU. We can measure the last two via standard, existing metrics. Specifically, we measure utility through accuracy on the retain and test sets, and we ensure that all algorithms that we study are substantially more efficient than retraining by enforcing a hard cut-off on the runtime of unlearning (roughly 20% of the time it takes to retrain-from-scratch). Defining âąFF is involved and is deferred to Section 3.1.Our final score combines an estimate of âąFF, where higher is better, with an estimate of utility: Final score=âąĂAccâ˘(â,θu)Accâ˘(â,θr)ĂAccâ˘(tâ˘eâ˘sâ˘t,θu)Accâ˘(tâ˘eâ˘sâ˘t,θr),Final scoreâąAccsuperscriptAccsuperscriptAccsubscriptsuperscriptAccsubscriptsuperscript score=FĂ Acc(D% ,θ^u)Acc(D ,% θ^r)Ă Acc(D_test,θ^u)Acc(% D_test,θ^r),Final score = F Ă divide start_ARG Acc ( D â S , θitalic_u ) end_ARG start_ARG Acc ( D â S , θitalic_r ) end_ARG Ă divide start_ARG Acc ( Ditalic_t e s t , θitalic_u ) end_ARG start_ARG Acc ( Ditalic_t e s t , θitalic_r ) end_ARG , Accâ˘(,θ)=1||â˘â(x,y)â[fâ˘(x;θ)=y],Acc1subscriptdelimited-[] (D,θ)= 1|D| _(x,y)% [f(x;θ)=y],Acc ( D , θ ) = divide start_ARG 1 end_ARG start_ARG | D | end_ARG â( x , y ) â D [ f ( x ; θ ) = y ] , (2) where fâ˘(x;θ)f(x;θ)f ( x ; θ ) is the network function, parameterized by θ, and mapping input x to a class. Intuitively, the above formula adjusts the forgetting quality âąFF to take utility in consideration, by penalizing an unlearning algorithm if either its retain or test accuracy is smaller than the corresponding accuracy of retraining-from-scratch. Next, we dive in to discussing how we obtain âąFF. 3.1 Measuring forgetting quality âąFF via empirical estimation of Îľ Îľ A straightforward way to measure forgetting quality is via the hypothesis testing interpretation of (Îľ,δ)( ,δ)( Îľ , δ )-unlearning. Specifically, Îľ Îľ is estimated by instantiating various attacks that directly attempt to distinguish between the distributions of θrsuperscriptθ^rθitalic_r and θusuperscriptθ^uθitalic_u. However, this approach faces two important challenges: (a) θrsuperscriptθ^rθitalic_r and θusuperscriptθ^uθitalic_u can be high dimensional, leading to a computational difficulty around running the attacks directly on their parameters, and (b) two unlearning algorithms 1subscript1U_1U1, 2subscript2U_2U2 may have the same (or similar) estimated Îľ Îľ overall, but could still behave very differently on many examples sâs â S (as we show in Section A.9), requiring a more granular resolution for comparing 1subscript1U_1U1 to 2subscript2U_2U2. To address the first challenge, we will consider (in Section 3.1.1) distributions of (scalar) outputs of unlearned and retrained models when given as input examples from SS, rather than distributions in weight space 444Prior work finds that white-box access does not necessarily always translate to an improved attack [29].. To address the second challenge, we will estimate the Îľ Îľ for each sâs â S and then provide (in Section 3.1.2) a methodology for binning and aggregating the estimated Îľ Îľ to obtain âąFF. Putting these two observations together, our procedure for obtaining âąFF has two steps: i) For each sâs â S, estimate the Îľ Îľ for the distributions of outputs of unlearned and retrained models when given as input s, and i) aggregate the per-example Îľ Îľâs to get an overall estimate of forgetting quality âąFF. Overall, this amounts to estimating the discrepancy between the outputs of θusuperscriptθ^uθitalic_u and θrsuperscriptθ^rθitalic_r across all of SS. We overview evaluation of forgetting quality in Figure 1. Figure 1: Left: overview of the evaluation of forgetting quality. We draw N samples of θosuperscriptθ^oθitalic_o and θrsuperscriptθ^rθitalic_r, by repeating procedures â˘()A(D)A ( D ) and â˘(â)A(D )A ( D â S ), respectively, N times, with different random seeds. Then, we obtain N samples of θusuperscriptθ^uθitalic_u by applying UU on each of the original model samples θosuperscriptθ^oθitalic_o. We then compute an estimate of forgetting quality âąFF based on how similar the distributions of θusuperscriptθ^uθitalic_u and θrsuperscriptθ^rθitalic_r are, according to a 1-dimensional test statistic (Section 3.1.1). Closeness of those distributions indicates good unlearning, associated with higher âąFF-score. Right: example decision rule to separate the histograms of a 1-dimensional test statistic of the distributions of θusuperscriptθ^uθitalic_u and θrsuperscriptθ^rθitalic_r, for a given example in the forget set (see Section 3.1.1). This decision rule predicts âunlearnedâ for values greater than the threshold shown as a black dotted line. As we describe in Section 3.1.1, we sweep several thresholds and use the one that best separates the two distributions to measure their closeness. 3.1.1 Computing Îľ Îľ for a given forget set example For an example sâs â S, we denote the outputs under unlearned and retrained models as hâ˘(fâ˘(s;θu))âsuperscripth(f(s;θ^u))h ( f ( s ; θitalic_u ) ) and hâ˘(fâ˘(s;θr))âsuperscripth(f(s;θ^r))h ( f ( s ; θitalic_r ) ), respectively, where hâh is the function used in [6] that applies logit-scaling on the modelâs âconfidenceâ, i.e. a scalar corresponding to the probability of the correct class. The logit-scaling is designed to make the distribution of that scalar more âGaussianâ. We begin by empirically estimating the distributions of hâ˘(fâ˘(s;θu))âsuperscripth(f(s;θ^u))h ( f ( s ; θitalic_u ) ) and hâ˘(fâ˘(s;θr))âsuperscripth(f(s;θ^r))h ( f ( s ; θitalic_r ) ) via N samples of each. This is done by using N samples from each of θu=â˘(â˘(),,)superscriptθ^u=U(A(D),S,D)θitalic_u = U ( A ( D ) , S , D ) and θr=â˘(â)superscriptθ^r=A(D )θitalic_r = A ( D â S ) (corresponding to unlearned and retrained models, respectively), forward-passing example s through each of these models, and post-processing the outputs with hâh. This leaves us with N samples from each of hâ˘(fâ˘(s;θu))âsuperscripth(f(s;θ^u))h ( f ( s ; θitalic_u ) ) and hâ˘(fâ˘(s;θr))âsuperscripth(f(s;θ^r))h ( f ( s ; θitalic_r ) ), each of which is a scalar. To leverage Equation 1 to compute Îľ Îľ, we require estimates of FPR^^FPR FPRover start_ARG FPR end_ARG and FNR^^FNR FNRover start_ARG FNR end_ARG that characterize the degree of success of an attacker in separating the two distributions; the attacker is better the smaller FPR^^FPR FPRover start_ARG FPR end_ARG and FNR^^FNR FNRover start_ARG FNR end_ARG are, signalling poorer unlearning. However, we are not interested in the FPR^^FPR FPRover start_ARG FPR end_ARG and FNR^^FNR FNRover start_ARG FNR end_ARG of any attacker: the failure of a poor attacker at distinguishing the two distributions does not say much about the quality of unlearning. Therefore, we design a procedure that aims to get the strongest attacker for each example (within a parameterized family of computationally tractable attackers), and we use its FPR^^FPR FPRover start_ARG FPR end_ARG and FNR^^FNR FNRover start_ARG FNR end_ARG estimates to compute Îľ Îľ. Practically, we consider m âattacksâ, compute the FPR^^FPR FPRover start_ARG FPR end_ARG and FNR^^FNR FNRover start_ARG FNR end_ARG of each and associated estimates of Îľ Îľ and we keep the largest out of those Îľ Îľâs; i.e. the one corresponding to the strongest attack. The intuition is that, for unlearning to be successful, it must defend against the strongest attack. We outline this procedure in Algorithm 2. More concretely, we consider two families of attacks: i) single-threshold and i) double-threshold attacks. In the first family, each attack is instantiated by the choice of a threshold t and the associated decision rule is that any value >tabsent>t> t is predicted to belong to whichever of the two distributions (unlearned or retrained) has a larger median. In the second family, each attack is instantiated by the choice of two thresholds t1subscript1t_1t1 and t2subscript2t_2t2 with t1<t2subscript1subscript2t_1<t_2t1 < t2, with any values in between t1subscript1t_1t1 and t2subscript2t_2t2 being predicted as belonging to the peakiest distribution. We create many instantiations of each of these two families of attacks (by sweeping several values for t, t1subscript1t_1t1 and t2subscript2t_2t2), compute the FPR^^FPR FPRover start_ARG FPR end_ARG and FNR^^FNR FNRover start_ARG FNR end_ARG of each, and as described above and in Algorithm 2, we keep the Îľ Îľ of the strongest attack across both families. We note that, each decision rule can simply be regarded as a classifier (linear, in the case of single-threshold and non-linear in the case of double-threshold) for separating the outputs of the unlearned and retrained models, for a given example. Including double-threshold attacks is important as we found that unlearning algorithms produce different forms of distributions, some more peaky than others, and not all are easily separable from the retrain-from-scratch solution using only one threshold (see Section A.12 for some examples). We further discuss this issue, and other important âimplementation detailsâ in Section A.2. Figure 2: Practical instantiations of our evaluation framework that explore the accuracy / efficiency trade-off. In each case, N samples from each of θusuperscriptθ^uθitalic_u and θrsuperscriptθ^rθitalic_r are used to compute an estimate of âąFF, and we obtain E samples of âąFF to compute confidence intervals. Each setup differs in how much âworkâ is reused across the E âexperimentsâ. The plate notation (a rectangle with a number at its bottom right corner (e.g. N or E)) denotes that the contents of the rectangle are repeated that number of times. Left, Setup âFullâ: In each of E experiments, we draw N samples of every distribution. This is the statistically correct variant as it yields E i.i.d samples of âąFF but is very costly. Middle, Setup âReuse-N-Nâ: N samples of each of θosuperscriptθ^oθitalic_o and θrsuperscriptθ^rθitalic_r are drawn once and reused across the E runs, each of which simply runs UU on top of each sample of θosuperscriptθ^oθitalic_o. Right, Setup âReuse-N-1â: a single sample of θosuperscriptθ^oθitalic_o is used to obtain all samples of θusuperscriptθ^uθitalic_u, and a single set of N samples of θrsuperscriptθ^rθitalic_r is reused for all E runs. 3.1.2 Aggregating per-example Îľ Îľâs to obtain an overall estimate of forgetting quality We now discuss how to use per-example Îľ Îľâs to obtain the overall estimate of forgetting quality âąFF. To that end, we define a scoring function âHH that awards a number of âpointsâ for each example, based on that exampleâs Îľ Îľ, and we aggregate across SS by averaging the per-example scores. Specifically: âą=1||â˘âsâââ˘(Îľs),âą1subscriptâsuperscript = 1|S| _s % H( ^s),F = divide start_ARG 1 end_ARG start_ARG | S | end_ARG âs â S H ( Îľitalic_s ) , ââ˘(Îľ)=22nâ˘(Îľ),â2superscript2 ( )= 22^n( ),H ( Îľ ) = divide start_ARG 2 end_ARG start_ARG 2n ( Îľ ) end_ARG , nâ˘(Îľ)=floorâ˘(Îľbin-width),floorbin-width n( )=floor ( bin-% width ),n ( Îľ ) = floor ( divide start_ARG Îľ end_ARG start_ARG bin-width end_ARG ) , where n is a function that maps an Îľ Îľ to a âbin indexâ (an integer in the range [1,B]1[1,B][ 1 , B ], where B is the total number of bins). We set bin-width to 0.5. Notice that the smaller the Îľ Îľ for an example (indicating better unlearning of that example), the smaller nâ˘(Îľ)n( )n ( Îľ ) is, and thus the more points will be awarded by âHH. By aggregating over âHH-scores then, âąFF offers an overall estimate of how well SS was unlearned, where higher is better. We chose to use binning as it is more granular than a simple average or computing quantiles and less sensitive to noise compared to directly using estimated Îľ Îľâs. 4 Instantiating our framework: the accuracy / efficiency divide We now present practical instantiations of our framework offer differing accuracy-efficiency trade-offs. This is key as accurate evaluation is computationally expensive and, at the same time, it is imperative to produce confidence intervals and remove statistical dependencies when computing our statistic. More concretely, the procedure we outlined above requires sampling from three distributions: the distribution of i) θr=â˘(â)superscriptθ^r=A(D )θitalic_r = A ( D â S ), i) θu=â˘(â˘(),,)superscriptθ^u=U(A(D),S,D)θitalic_u = U ( A ( D ) , S , D ), which in turn requires estimating the distribution of i) θo=â˘()superscriptθ^o=A(D)θitalic_o = A ( D ). Drawing a sample from each requires running AA (for i and i) and UU (for i). Let N denote the number of samples from each of θusuperscriptθ^uθitalic_u and θrsuperscriptθ^rθitalic_r that are fed into our evaluation framework to compute âąFF, and let E denote a number of âexperimentsâ, each of which produces an estimate of âąFF. We use E>11E>1E > 1 to produce confidence intervals over âąFF. While running UU is relatively inexpensive (we consider unlearning algorithms that are much faster than training from scratch), running AA is costly. Based on this observation, we consider three setups offering different trade-offs between accuracy and compute cost. The gold standard is Setup âFullâ, where each of E experiments draws N fresh samples of every distribution. This is the most statistically correct variant, as it leads to E i.i.d. samples of the forgetting quality âąFF, used to compute confidence intervals. However, it is by far the most computationally intensive. Significantly saving on compute, Setup âReuse-N-Nâ draws N samples form each of θosuperscriptθ^oθitalic_o and θrsuperscriptθ^rθitalic_r once and reuses them across experiments. Each experiment entails running UU to convert each sample of θosuperscriptθ^oθitalic_o into a sample of θusuperscriptθ^uθitalic_u, yielding N in total per experiment. Finally, further simplifying, Setup âReuse-N-1111â uses a single sample of θosuperscriptθ^oθitalic_o to obtain all samples of θusuperscriptθ^uθitalic_u (âreuse 1111â) and a single set of N samples of θrsuperscriptθ^rθitalic_r are reused across all experiments (âreuse Nâ). We illustrate these in Figure 2. Orthogonally, we also explored using bootstrapping to reduce the computation cost of Setup âFullâ. Specifically, from a pool size of K triplets of (θo,θu,θr)superscriptsuperscriptsuperscript(θ^o,θ^u,θ^r)( θitalic_o , θitalic_u , θitalic_r ), we sample N of them with replacement, and compute an estimate of âąFF. We repeat this procedure E times, yielding a total of E estimates of âąFF, as in Setup âFullâ, but requiring only K models from each distribution here for all E estimates, rather than NĂENĂ EN Ă E as in Setup âFullâ. In both cases, we set E to 20 in our experiments, unless otherwise specified. We experiment with different values of K and E and report additional results in Section A.15; by default we use K=NĂ88K=NĂ 8K = N Ă 8; yielding substantial compute savings over Setup âFullâ. The competition setup: The competition, hosted on Kaggle, targeted a realistic scenario where an age predictor is trained on facial images from the CASIA-SURF dataset [35] and subsequently, a subset of users whose images were included in the training process request their data be âforgottenâ. Due to practical considerations, we used Setup âReuse-N-1111â, with N=512512N=512N = 512 and E=11E=1E = 1. We describe the competition setup in full details in Section A.3. In this report, we empirically investigate how different the estimates of âąFF are under the different setups (see Table 1 for overview of the compute of each), including the cheapest setup, used in the competition (see Figure 4; see Section A.14 for analysis of the effect of N). We run experiments to analyze different practical instantiations, revealing paths for compute-efficient proxies of âąFF. 5 Unlearning methods In this section, we describe the top methods from the competition that we analyze in this report555We chose methods that ranked 1â8 on the leaderboard, excluding 5th place which we couldnât reproduce., as well as state-of-the-art approaches that we compare against. We observe that most submitted algorithms can be seen as being comprised of an âeraseâ phase, aiming to remove the influence of the forget set, followed by a ârepairâ phase, aiming to repair any excess damage to the utility of the model that is caused by imperfect erasing (Figure 3).666Note that unlearning phases cannot always be neatly categorized as one of the two: for instance, finetuning on the retain set still has an indirect erasing effect on the forget set due to catastrophic forgetting. See Section A.4 for more details. Some methods implement the âeraseâ phase by reinitializing a subset of the layers, either heuristically (Amnesiacs, Sun), through random selection (Forget), or based on gradient (Kookmin) or parameter (Sebastian) norm. Other methods apply additive Gaussian noise to the parameters of a heuristically (Seif) or randomly (Sun) chosen subset of layers. Fanchuan implements two âeraseâ phases: the first pulls the model predictions for forget examples towards a uniform distribution, and the second attempts to maximize a dot-product contrastive loss between retain and forget predictions. Most approaches implement the ârepairâ phase by directly minimizing a cross-entropy loss on the retain set (Fanchuan, Amnesiacs, Sun) while possibly modulating the learning rate based on a per-parameter (Kookmin, Sun) or per-batch (Seif) basis. The âSebastianâ method combines a weighted (reciprocal class weights) cross-entropy loss and a mean-squared error pulling the modelâs prediction entropy towards the original modelâs prediction entropy on retain examples. Amnesiacs implement two ârepairâ phases: the first minimizes the KL-divergence between the modelâs prediction and the original modelâs prediction on held-out validation examples, and the second combines the cross-entropy loss with a symmetric KL-divergence between the modelâs prediction and the original modelâs prediction on retain examples. The âForgetâ method pulls the modelâs predictions towards the original modelâs predictions with a mean squared error loss for noisy retain examples. Figure 3: Commonalities between participantsâ methods. We illustrate the top three approaches here and provide diagrams for all analyzed competition methods in Figure 10. We also compare against the Finetune baseline that simply finetunes the original model on the retain set, relying on âcatastrophic forgettingâ to remove the effect of the forget set, and five state-of-the-art algorithms: i) NegGrad+ and SCRUB [22], based on gradient ascent on the forget set and descent on the retain set, simultaneously, either using standard cross-entropy (NegGrad+) or distillation from the original model (SCRUB), i) Random Label [14, 10] that assigns a random label to each example in the forget set and finetunes on that re-labelled forget set; we added a ârepair phaseâ that finetunes on the retain set, in line with other methods. i) SalUn based on Random-Label [10], that enhances that unlearning algorithm by only allowing it to update the âsalient weightsâ, determined based on the magnitude of gradients of a simple unlearning step (gradient ascent on the forget set). 6 Experimental investigation We now present experiments designed to answer: Q1: How do top algorithms from the competition compare to one another under practical instantiations of our framework? Q2: How do those algorithms fare against the state-of-the-art from the literature? Q3: How do they trade-off forgetting quality and utility? Q4: How does âąFF correlate with other proxies for forgetting quality? Q5: How generalizable are different algorithms in terms of performance on another dataset after minimal-tuning? We also perform analyses to examine the distributions of per-example Îľ Îľ values and whether different algorithms find the same examples hard (Section A.9), stitching together the âeraseâ and ârepairâ phases of different algorithms (Section A.10), investigating the relationship of forgetting quality estimates of âąFF and a simple MIA A.11, measuring the potential effect of overfitting the attacker, due to choosing the (pair of) threshold(s) on the same set of N samples from each distribution on which it is evaluated (Section A.13), measuring the effect of N (Section A.14) and K (Section A.15). We conduct our investigation primarily (except for Q5) on CASIA-SURF, using setup âFullâ, N = 1024, E = 20 (see Section 4) unless stated otherwise. See Section A.7 for details. Figure 4: âąFF-scores obtained by different setups trading-off accuracy / efficiency (see Section 4). N = 1024, E = 20. Q1. Exploring practical instantiations of our framework Figure 4 compares algorithms under different setups (Section 4), exploring the accuracy / efficiency trade-off of the evaluation method. We observe that Setup âReuse-N-1111â underestimates Fanchuanâs âąFF-score. We note that this method is the most deterministic (it does not explicitly add noise), making it perhaps harder to cover the entire distribution of retrained models when starting from a single sample of θosuperscriptθ^oθitalic_o, especially if getting âunluckyâ with the choice of that sample. However, aside from Setup âReuse-N-1111â (the cheapest one, which was used during the competition), the estimates of âąFF are similar across remaining setups and the relative ranking of algorithms is stable, surfacing directions for mitigating the cost of evaluation. Sections A.13 and A.14 explore other variations of the evaluation that also preserve the ranking. Q2. Comparison with the state-of-the-art In Figure 5, we compare seven top submissions and five state-of-the-art methods. We observe that several top methods outperform existing ones, both in terms of their âąFF-score as well as the final score, after utility adjustment (Equation 2). Figure 5: Comparing leading competition algorithms (to the right of the dotted line) against state-of-the-art from the literature (to the left of the dotted line). We notice that several algorithms from the competition outperform existing ones according to our metrics. Setup âFullâ, N = 1024, E=1010E=10E = 10. Q3. Trade-off between forgetting and utility Comparing the final score to the âąFF-score in Figure 5, we observe that different methods differ in terms of their utility cost. Notably, the method with the best âąFF-score (Sebastian) is most penalized due to utility; a large drop that is perhaps expected since this methods prunes 99% of the weights. We investigate the utility / forgetting quality trade-off further in Figure 12. We notice that some unlearning methods harm utility more than others; some harming retain more than test accuracy, or vice versa. We discuss algorithmsâ trade-off profiles in Section A.8. Figure 6: The simple âaccuracy gapâ proxy (see Q4) for forgetting quality (smaller is better) versus our proposed âąFF-score (higher is better). Q4. Relationship of âąFF-score with other metrics Several metrics for forgetting quality have been proposed (see Section A.5). In Figure 6, we investigate the relationship between our âąFF-score and the simple âaccuracy gapâ metric, arguably the most commonly used in the literature. This measures the âgapâ (absolute difference) between the (average) accuracy of the unlearned model and retrain-from-scratch, on the forget set (smaller is better). The Finetune baseline (with forget set accuracy 93.6%) performs poorly in terms of both metrics: it has the lowest âąFF-score and the lowest âgapâ, due to overestimating the forget set accuracy of retrain (which is 85.6%). Generally, the two metrics behave differently, with several methods that have similar âaccuracy gapâ having very different âąFF-scores; âaccuracy gapâ is not a good proxy for unlearning quality according to Definition 2.1. Figure 7: The scores (see Equation 2) on FEMNIST when applying methods âdirectlyâ (with the same hyperparameters used for CASIA-SURF) or with light tuning (âlightâ). Q5. Generalizability To investigate the ease of reusability of methods, we constructed an unlearning problem using a different dataset, Federated Extended MNIST (FEMNIST) [5], which we modified to have similar properties and size as CASIA-SURF (see Section A.6), to maximize the chances of hyperparameter transfer. We inspect the performance of algorithms under two settings: i) âdirectlyâ using the hyperparameters tuned on CASIA-SURF, and i) with âlightâ tuning around those values (via a grid with 3 values for each of 3 hyperparameters). We used setup âReuse-N-Nâ here to save compute (Figure 4 validates that it is a good proxy). Figure 7 reveals that some but not all top competition methods outperform existing ones under these minimal-adaptation settings. Out of existing methods, Random Label performs notably well under minimal tuning, outperforming some top competition entries. Sebastian remains one of the strongest methods (by far the best when applied directly out-of-the-box) perhaps due to its simplicity. We remark that poor performance under minimal adaptation on FEMNIST does not imply inability of a method to perform well on this dataset (if tuned extensively); and similarly, extensive tuning may lead to changes in the relative ranking of methods presented here. Instead, this experiment is designed to probe the generalizability and ease of reusability of methods, which we argue is a different but very important consideration. 7 Discussion and conclusion In this paper, we presented a thorough evaluation of leading algorithms from the competition, and recent state-of-the-art methods under our proposed framework. We expanded on the initial instantiation of our framework that we used in the competition to consider variations that are more precise, at the expense of a higher compute cost. We found that several practical instantiations preserve the relative ranking of algorithms under the most compute intensive one, with important implications towards standardizing practical evaluation procedures. However, there is important work remaining in designing accurate and efficient methods for evaluation. This is key: if applying an approximate method in practice requires evaluating it first in a manner that requires (much) more compute than retraining-from-scratch, this defeats the purpose of approximate unlearning in the first place. One may argue that we donât necessitate extensive evaluation for every application of the same algorithm (e.g. on a new forget set), suggesting that we can amortize the cost. To achieve that, though, we would require strong indications that the performance on new forget sets or datasets does not change unexpectedly. We therefore emphasize generalizability of an algorithm (e.g. as exemplified by nearly-out-of-the-box adaptability on a new dataset) as an important property for unlearning and we identify strengths and weaknesses of different methods on this front. So, are we making progress? We consider our benchmark a step forward for measuring the quality of an unlearning algorithm according to Definition 2.1, and we have shown that leading methods from the competition outperform existing ones according to our metric, showing substantial progress. However, we note that the competition methods were developed by iterating to improve our specific metric. In contrast, state-of-the-art methods may have been developed for different underlying applications for which other metrics are preferable or sufficient (e.g. we have seen that the âaccuracy gapâ metric correlates poorly with our proposed âąFF-score). Moving forward, we hope the community continues to identify key applications of unlearning and their underlying requirements in terms of defining and evaluating success, standardizing metrics where possible and continuing to build an understanding of algorithmic principles that are well-suited for ensuring strong performance on different metrics and subproblems. 8 Acknowledgements We thank Katja Filippova for her thoughtful feedback on the draft. We also acknowledge the competition teams of the top solutions 777https://w.kaggle.com/competitions/neurips-2023-machine-unlearning/leaderboard: fanchuan, [kookmin Univ] LD&BGW&KJH, Seif Eddine Achour, Sebastian Oleszko, toshi_k & marvelworld, Algorithmic Amnesiacs, Jiaxi Sun, Forget. References [1] Idan Attias, Gintare Karolina Dziugaite, Mahdi Haghifam, Roi Livni, and Daniel M Roy. Information complexity of stochastic convex optimization: Applications to generalization and memorization. arXiv preprint arXiv:2402.09327, 2024. [2] Juhan Bae, Nathan Ng, Alston Lo, Marzyeh Ghassemi, and Roger B Grosse. If influence functions are the answer, then what is the question? Advances in Neural Information Processing Systems, 35:17953â17967, 2022. [3] Elnaz Barshan, Marc-Etienne Brunet, and Gintare Karolina Dziugaite. Relatif: Identifying explanatory training samples via relative influence. In International Conference on Artificial Intelligence and Statistics, pages 1899â1909. PMLR, 2020. [4] 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), pages 141â159. IEEE, 2021. [5] Sebastian Caldas, Sai Meher Karthik Duddu, Peter Wu, Tian Li, Jakub KoneÄnáťł, H Brendan McMahan, Virginia Smith, and Ameet Talwalkar. Leaf: A benchmark for federated settings. arXiv preprint arXiv:1812.01097, 2018. [6] Nicholas Carlini, Steve Chien, Milad Nasr, Shuang Song, Andreas Terzis, and Florian Tramer. Membership inference attacks from first principles. In 2022 IEEE Symposium on Security and Privacy (SP), pages 1897â1914. IEEE, 2022. [7] Marco Cotogni, Jacopo Bonato, Luigi Sabetta, Francesco Pelosin, and Alessandro Nicolosi. Duck: Distance-based unlearning via centroid kinematics. arXiv preprint arXiv:2312.02052, 2023. [8] Cynthia Dwork. Differential privacy. In International colloquium on automata, languages, and programming, pages 1â12. Springer, 2006. [9] Chongyu Fan, Jiancheng Liu, Alfred Hero, and Sijia Liu. Challenging forgets: Unveiling the worst-case forget sets in machine unlearning. arXiv preprint arXiv:2403.07362, 2024. [10] 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. [11] Vitaly Feldman. Does learning require memorization? a short tale about a long tail. In Proceedings of the 52nd Annual ACM SIGACT Symposium on Theory of Computing, pages 954â959, 2020. [12] Shashwat Goel, Ameya Prabhu, Amartya Sanyal, Ser-Nam Lim, Philip Torr, and Ponnurangam Kumaraguru. Towards adversarial evaluations for inexact machine unlearning. arXiv preprint arXiv:2201.06640, 2022. [13] Shashwat Goel, Ameya Prabhu, Philip Torr, Ponnurangam Kumaraguru, and Amartya Sanyal. Corrective machine unlearning. arXiv preprint arXiv:2402.14015, 2024. [14] 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, pages 9304â9312, 2020. [15] 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, pages 383â398. Springer, 2020. [16] Varun Gupta, Christopher Jung, Seth Neel, Aaron Roth, Saeed Sharifi-Malvajerdi, and Chris Waites. Adaptive machine unlearning. Advances in Neural Information Processing Systems, 34:16319â16330, 2021. [17] 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. [18] Matthew Jagielski, Jonathan Ullman, and Alina Oprea. Auditing differentially private machine learning: How private is private sgd? Advances in Neural Information Processing Systems, 33:22205â22216, 2020. [19] Peter Kairouz, Sewoong Oh, and Pramod Viswanath. The composition theorem for differential privacy. In International conference on machine learning, pages 1376â1385. PMLR, 2015. [20] Sangamesh Kodge, Gobinda Saha, and Kaushik Roy. Deep unlearning: Fast and efficient training-free approach to controlled forgetting. arXiv preprint arXiv:2312.00761, 2023. [21] Pang Wei Koh and Percy Liang. Understanding black-box predictions via influence functions. In International conference on machine learning, pages 1885â1894. PMLR, 2017. [22] Meghdad Kurmanji, Peter Triantafillou, Jamie Hayes, and Eleni Triantafillou. Towards unbounded machine unlearning. Advances in Neural Information Processing Systems, 36, 2024. [23] Jiancheng Liu, Parikshit Ram, Yuguang Yao, Gaowen Liu, Yang Liu, PRANAY SHARMA, Sijia Liu, et al. Model sparsity can simplify machine unlearning. Advances in Neural Information Processing Systems, 36, 2024. [24] Seth Neel, Aaron Roth, and Saeed Sharifi-Malvajerdi. Descent-to-delete: Gradient-based methods for machine unlearning. In Algorithmic Learning Theory, pages 931â962. PMLR, 2021. [25] 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. [26] Adam Paszke, Sam Gross, Francisco Massa, Adam Lerer, James Bradbury, Gregory Chanan, Trevor Killeen, Zeming Lin, Natalia Gimelshein, Luca Antiga, et al. Pytorch: An imperative style, high-performance deep learning library. Advances in neural information processing systems, 2019. [27] Mansheej Paul, Surya Ganguli, and Gintare Karolina Dziugaite. Deep learning on a data diet: Finding important examples early in training. Advances in Neural Information Processing Systems, 34:20596â20607, 2021. [28] Martin Pawelczyk, Seth Neel, and Himabindu Lakkaraju. In-context unlearning: Language models as few shot unlearners. arXiv preprint arXiv:2310.07579, 2023. [29] Alexandre Sablayrolles, Matthijs Douze, Cordelia Schmid, Yann Ollivier, and HervĂŠ JĂŠgou. White-box vs black-box: Bayes optimal strategies for membership inference. In International Conference on Machine Learning, pages 5558â5567. PMLR, 2019. [30] 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. [31] Vedant Shah, Frederik Träuble, Ashish Malik, Hugo Larochelle, Michael Mozer, Sanjeev Arora, Yoshua Bengio, and Anirudh Goyal. Unlearning via sparse representations. arXiv preprint arXiv:2311.15268, 2023. [32] 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), pages 3â18. IEEE, 2017. [33] 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), pages 303â319. IEEE, 2022. [34] Yinjun Wu, Edgar Dobriban, and Susan Davidson. Deltagrad: Rapid retraining of machine learning models. In International Conference on Machine Learning, pages 10355â10366. PMLR, 2020. [35] Shifeng Zhang, Ajian Liu, Jun Wan, Yanyan Liang, Guodong Guo, Sergio Escalera, Hugo Jair Escalante, and Stan Z Li. Casia-surf: A large-scale multi-modal benchmark for face anti-spoofing. IEEE Transactions on Biometrics, Behavior, and Identity Science, 2020. [36] Kairan Zhao, Meghdad Kurmanji, George-Octavian Barbulescu, Eleni Triantafillou, and Peter Triantafillou. What makes unlearning hard and what to do about it. arXiv preprint arXiv:2406.01257, 2024. Appendix A Appendix Table of contents ⢠A.1 Discussion of limitations and negative societal impacts ⢠A.2: Detailed description of our evaluation framework ⢠A.3: Detailed description of the competition setup ⢠A.4: Detailed description of unlearning algorithms ⢠A.5: Related work ⢠A.6: Federated Extended MNIST (FEMNIST) ⢠A.7: Implementation details ⢠A.8: Utility / forgetting quality trade-off ⢠A.9: Breaking down forgetting quality into per-example Îľ Îľâs ⢠A.10: Stitching together different âeraseâ and ârepairâ phases ⢠A.11: Relationship between âąFF-scores and a simple MIA ⢠A.12: Histograms of unlearned and retrained distributions ⢠A.13: Exploring the degree of overfitting the attacker ⢠A.14: Exploring the effect of N ⢠A.15: Exploring bootstrapping to efficiently estimate âąFF A.1 Discussion of limitations and negative societal impacts Limitations and future work A limitation of our evaluation framework, and indeed any rigorous principled approach at evaluating unlearning, is its compute cost. As also discussed in the main paper, this can be important for practical application of unlearning algorithms, if frequent evaluation is required. We hope that the practical instantiations of our framework and the analyses we conducted pave the way towards better approaches that find a sweet spot in the spectrum of accuracy and compute cost. We have also discussed limitations of various lower-level design decisions of our framework in the main paper, and further in Section A.2. To summarize, some important future work directions on that front include investigating different design decisions for the attacks we carry out, the mechanism for aggregating estimated Îľ Îľ values across examples as well as the mechanism for aggregating with utility and efficiency. Further, due partially to the computationally intensive nature of our evaluation framework, we limit our investigation to two unlearning problems, one on the same dataset used for the competition, and another on FEMNIST. Similarly, we considered only one architecture and one training algorithm. We hope future work further explores different types of forget sets, datasets, architectures and training algorithms. However, we do feel that this work is an important step forward in benchmarking novel methods from the competition against previous state-of-the-art and has already surfaced previously-unknown findings both about evaluation as well as the strengths and weaknesses of new and existing algorithms. Finally, we remark that, with unlearning being a young research area, the landscape is still forming regarding defining the problem and coming up with metrics for estimating success according to that definition. We donât claim that the definition we adopt, nor the evaluation framework we propose is well suited to every application of unlearning. For some problems one could perhaps use simpler proxies, like the âAccuracy gapâ that we discussed in the main paper. We hope future work discusses this further and develops formal definitions and associated metrics for different subproblems under the umbrella of unlearning. Societal impacts As with most technologies, unlearning can be used to both benefit and harm society. Unlearning could be used to eliminate undesirable behavior (for example, by removing toxic examples), but it could also be used to remove âgoodâ examples, yielding a model that is even more toxic or biased than before. Additionally, unlearning could be used to eliminate defenses of large language models (LLMs). For example, if toxicity filters are learned by providing examples, then in theory, we could unlearn these to create a non-safe LLM. We emphasize that this report is centered on the evaluation framework and examining the behaviors of existing and competitive algorithms. We did not identify any direct negative implications of this work. A.2 Detailed description of our evaluation framework In this section, we discuss our evaluation framework in greater detail and provide pseudocode that overviews the procedure (Algorithm 1) and that details the per-example computation of Îľ Îľ given estimated false positive and false negative rates of m âattacksâ (Algorithm 2). Our implementation is publicly available 888https://github.com/google-deepmind/unlearning_evaluation. We note that several âimplementation detailsâ are important in computing Îľ Îľ due to i) potential numerical issues and i) obtaining robust results despite relatively few samples from each of the two distributions. We now discuss the choices we made. First, as shown in Algorithm 2, if both the FPR and FNR of an attack are equal to 0, we catch this as a special case and manually set the Îľ Îľ to inf. This is because an attack that has both FPR and FNR equal to 0 perfectly separates the two distributions, indicating a complete failure for unlearning. On the other hand, if exactly one of FPR or FNR is 0 (but not both), we decided to discard this threshold, based on the assumption that this is an artifact of having insufficient samples from the two distributions. We hope that future work builds on our implementation and improves aspects of our framework. Further, as mentioned in Section 3.1, we used two families of attacks: single-threshold and double-threshold attacks. We found that including the latter family is really important, as we found in practice that unlearning algorithms produce different forms of distributions, not all of which are easily separable from retrain-from-scratch using only one threshold (see Section A.12 for some examples). One could of course further add more complex decision rules that use three or more thresholds, for instance. However, the potential downside there is that the increased complexity may lead to overfitting the particular samples rather than truly distinguishing the underlying distributions well. We remark that we donât claim our set of attacks and their implementation is perfect, and we hope that future work improves on these. Our evaluation framework is general and agnostic to the particular choice of attacks, enabling easy plug-and-play. We hope that future work further experiments with different designs and analyzes the pros and cons of different instantiations from this perspective. We also hope future work examines different aggregation strategies of per-example Îľ Îľâs. We investigated different alternatives initially and considered e.g. returning the maximum Îľ Îľ across examples, but we worried it would give too pessimistic an estimate, and we found it hard to distinguish different unlearning algorithms, because, while many are similar in the worst-case, their distributions of Îľ Îľ values are different, and this would not be captured by this strategy. Computing quantiles over Îľ Îľ values would also be possible, but we decided that the current proposal is a more granular way of comparing unlearning algorithms to one another. We hope that future iterations of our evaluation protocol will improve upon this choice. Algorithm 1 Overview of evaluation for producing the final score for algorithm UU (w.r.t. AA, SS, DD) AA, UU, SS, DD, N a procedure compute-example-epsilon that computes the Îľ Îľ of an example by first applying a set of âattacksâ aiming to distinguish the distribution of (processed, scalar) outputs of that example under unlearned vs retrained models, and then calling Algorithm 2 to obtain Îľ Îľ from the False Positive Rates and False Negative Rates of those attacks. θ1râ˘âŚâ˘Î¸Nrâźâ˘(â)similar-tosubscriptsuperscript1âŚsubscriptsuperscriptθ^r_1âŚÎ¸^r_N (D % S)θitalic_r1 ⌠θitalic_ritalic_N âź A ( D â S ) ⡠⡠Sample N retrained models θ1oâ˘âŚâ˘Î¸Noâźâ˘()similar-tosubscriptsuperscript1âŚsubscriptsuperscriptθ^o_1âŚÎ¸^o_N (D)θitalic_o1 ⌠θitalic_oitalic_N âź A ( D ) ⡠⡠Sample N original models for iâ[1,N]1iâ[1,N]i â [ 1 , N ] do ⡠⡠Turn each original model into an unlearned one θiuââ˘(θio,,)âsubscriptsuperscriptsubscriptsuperscriptθ^u_i (θ^o_i,S,D)θitalic_uitalic_i â U ( θitalic_oitalic_i , S , D ) end for Retain-Accrâ1Nâ˘âi=1NAccâ˘(â,θir),Retain-Accuâ1Nâ˘âi=1NAccâ˘(â,θiu)formulae-sequenceâsuperscriptRetain-Acc1superscriptsubscript1AccsubscriptsuperscriptâsuperscriptRetain-Acc1superscriptsubscript1AccsubscriptsuperscriptRetain-Acc^râ 1N _i=1^NAcc(D% ,θ^r_i),\ \ \ Retain-Acc^uâ% 1N _i=1^NAcc(D ,θ^u% _i)Retain-Accr â divide start_ARG 1 end_ARG start_ARG N end_ARG âi = 1N Acc ( D â S , θitalic_ritalic_i ) , Retain-Accu â divide start_ARG 1 end_ARG start_ARG N end_ARG âi = 1N Acc ( D â S , θitalic_uitalic_i ) Test-Accrâ1Nâ˘âi=1NAccâ˘(tâ˘eâ˘sâ˘t,θir),Test-Accuâ1Nâ˘âi=1NAccâ˘(tâ˘eâ˘sâ˘t,θiu)formulae-sequenceâsuperscriptTest-Acc1superscriptsubscript1AccsubscriptsubscriptsuperscriptâsuperscriptTest-Acc1superscriptsubscript1AccsubscriptsubscriptsuperscriptTest-Acc^râ 1N _i=1^NAcc(D_% test,θ^r_i),\ \ \ \ \ \ \ Test-Acc^uâ 1N% _i=1^NAcc(D_test,θ^u_i)Test-Accr â divide start_ARG 1 end_ARG start_ARG N end_ARG âi = 1N Acc ( Ditalic_t e s t , θitalic_ritalic_i ) , Test-Accu â divide start_ARG 1 end_ARG start_ARG N end_ARG âi = 1N Acc ( Ditalic_t e s t , θitalic_uitalic_i ) all-â˘Îľâall-all- â\\all- Îľ â for sâs â S do ⡠⡠Compute per-example epsilons Îľsâcompute-example-epsilonâ˘(s,θ1râ˘âŚâ˘Î¸Nr,θ1uâ˘âŚâ˘Î¸Nu)âsuperscriptcompute-example-epsilonsubscriptsuperscript1âŚsubscriptsuperscriptsubscriptsuperscript1âŚsubscriptsuperscript ^sâ compute-example-epsilon(s,θ^r_1% âŚÎ¸^r_N,θ^u_1âŚÎ¸^u_N)Îľitalic_s â compute-example-epsilon ( s , θitalic_r1 ⌠θitalic_ritalic_N , θitalic_u1 ⌠θitalic_uitalic_N ) all-â˘Îľâ˘.addâ˘(Îľs)all-.addsuperscriptall- .add( ^s)all- Îľ .add ( Îľitalic_s ) end for âąâ1||â˘âÎľâall-â˘Îľââ˘(Îľ)ââą1subscriptall-âFâ 1|S| _ -% H( )F â divide start_ARG 1 end_ARG start_ARG | S | end_ARG âÎľ â all- Îľ H ( Îľ ) ⡠⡠Compute overall estimate of forgetting quality return âąĂRetain-AccuRetain-AccrĂTest-AccuTest-AccrâąsuperscriptRetain-AccsuperscriptRetain-AccsuperscriptTest-AccsuperscriptTest-AccFĂ Retain-Acc^uRetain-Acc^% rĂ Test-Acc^uTest-Acc^rF Ă divide start_ARG Retain-Accu end_ARG start_ARG Retain-Accr end_ARG Ă divide start_ARG Test-Accu end_ARG start_ARG Test-Accr end_ARG ⡠⡠Compute final score by adjusting for utility Algorithm 2 Computes Îľssuperscript ^sÎľitalic_s for example sâs â S from the FPRs and FNRs obtained by carrying out m attacks that aim to distinguish the unlearned and retrained distributions of (transformed) outputs for s. FPR, FNR: two lists of length m each, storing the false positive and false negative rates (respectively) from running a collection of m attacks to distinguish outputs for example s of retrained and unlearned models. nan-max: a function that returns the max of its inputs, discarding any that are nan. δ: a float. per-attack-â˘Îľâper-attack-per-attack- â\\per-attack- Îľ â for iâ0â˘âŚâ˘m0âŚiâ\0⌠m\i â 0 ⌠m do if FPR[i]=0FPR[i]0FPR[i]=0FPR[i] = 0 and FNR[i]=0FNR[i]0FNR[i]=0FNR[i] = 0 then ⡠⡠Perfect separation of the two distributions. per-attack-â˘Îľâ˘.addâ˘(inf)per-attack-.addinfper-attack- .add( inf)per-attack- Îľ .add ( inf ) else if FPR[i]=0FPR[i]0FPR[i]=0FPR[i] = 0 or FNR[i]=0FNR[i]0FNR[i]=0FNR[i] = 0 then ⡠⡠Discard this attack. pass else⡠⡠Compute Îľ Îľ via Equation 1 per-attack-â˘Îľ1âlogâĄ(1âδâFPR[i])âlogâĄ(FNR[i]))âper-attack-subscript11FPR[i]FNR[i])per-attack- _1â (1-δ-FPR[i])- (% FNR[i]))per-attack- Îľ1 â log ( 1 - δ - FPR[i] ) - log ( FNR[i]) ) per-attack-â˘Îľ2âlogâĄ(1âδâFNR[i])âlogâĄ(FPR[i]))âper-attack-subscript21FNR[i]FPR[i])per-attack- _2â (1-δ-FNR[i])- (% FPR[i]))per-attack- Îľ2 â log ( 1 - δ - FNR[i] ) - log ( FPR[i]) ) per-attack-â˘Îľâ˘.addâ˘(nan-maxâ˘(per-attack-â˘Îľ1,per-attack-â˘Îľ2))per-attack-.addnan-maxper-attack-subscript1per-attack-subscript2per-attack- .add( nan-max(per-attack-% _1,per-attack- _2))per-attack- Îľ .add ( nan-max ( per-attack- Îľ1 , per-attack- Îľ2 ) ) end if end for Îľânan-maxâ˘(per-attack-â˘Îľ)ânan-maxper-attack- â nan-max(per-attack- )Îľ â nan-max ( per-attack- Îľ ) ⡠⡠The Îľ Îľ for this example is that of the strongest attack return Îľ Îľ Details of compute required by different instantiations For convenience, we present in Table 1 a breakdown of how compute-intensive each of our practical instantiations is, based on the number of samples that it requires from each of the original and retrained model distributions in order to obtain E estimates of forgetting quality âąFF, each time using N unlearned and N retrained models (see Figure 4) for details. Number of original models Number of retrained models Setup âFullâ N Ă E N Ă E Setup âReuse-N-Nâ N N Setup âReuse-N-1â 1 N Bootstrapping K K Table 1: Breakdown of how compute-intensive each of our practical instantiations is, based on the number of samples that it requires from each of the original and retrained model distributions in order to obtain E estimates of forgetting quality âąFF, each time using N unlearned and N retrained models (see Figure 4) for details. For bootstrapping, we consider different values of the pool size K, but in all cases K<EĂNK<EĂ NK < E Ă N, and we use 8N by default, leading to significant savings over setup âFullâ that requires E Ă N, where we set E = 20 in our experiments. A.3 Detailed description of the competition setup Overview The competition was hosted on Kaggle999https://w.kaggle.com/competitions/neurips-2023-machine-unlearning/ and ran from September 11 to November 30, 2023. Submissions were automatically evaluated based on two key criteria: 1) the quality of forgetting (how effectively the model could remove specific information) and 2) the utility of the model (how well the model performed its intended task after unlearning), while we used a hard threshold on runtime to ensure efficiency. This was a code-only competition, in which participants did not have access to the dataset nor the âoriginalâ and âretrained-from-scratchâ models trained on that dataset. We also kept some details of our evaluation framework hidden during the competition: we did not reveal the attacks that we ran nor the form of function hâh for processing the outputs. This decision was made in order to avoid participants developing approaches that were tailored to specific details of our evaluation procedure, rather than producing high quality unlearning algorithms that would perform well more generally, under different design decisions. Submissions were run on GPU equipped machines. For an entry to be considered valid, the algorithm had to execute the participantâs unlearning algorithm across 512 model checkpoints within 8h. Stats A total of 1,338 individuals from 72 countries participated (i.e., made a submission to the leaderboard). For 500 of these participants (including 44 in the top 100), this was their first competition. At the end of the competition, there were 1,121 teams and 1,923 submissions. Figure 8 illustrates the distribution of final scores obtained by different submissions, with the red dotted line indicating the score of the âFinetuneâ baseline we provided in the starting notebook (which simply finetunes the original model on the retain set, relying on catastrophic forgetting to remove the influence of the forget set) 101010https://w.kaggle.com/code/eleni30fillou/run-unlearn-finetune. Figure 8: Distribution of scores of submitted unlearning algorithms. Vertical lines denote the first 8 highest scoring submissions, with our baseline method in red. Evaluation setup for the competition In more detail, the participants were asked to submit a Python notebook implementing their unlearning algorithm. The âevaluation engineâ would then load the submitted algorithm, run it 512 times, starting each time from a single âoriginal modelâ (Setup Reuse-N-1), and use those 512 unlearned models, together with (a single set of) 512 retrained models, in order to compute the score. In the terminology of this report, this corresponds to using Setup Reuse-N-1 with N = 512 and E = 1. We were forced to make these simplifications in the competition for efficiency and practicality reasons. In this report, we have additionally compared top methods (and state-of-the-art methods from the literature) under different instantiations of our evaluation framework that trade-off accuracy of the evaluation against computation cost. Leaderboards During the competition, the participants had access to a public leaderboard where they could see the score of their submissions. Participants developed algorithms to maximize this score. Then, to avoid overfitting on a particular retain/forget split, we finally re-evaluated each method on a version of the dataset splits created with a fresh random seed (the âprivate splitâ). This private split was used to generate the final, âprivateâ, leaderboard that is now visible on kaggle and was used to award prizes. In this report, we analyze seven top methods according to the private leaderboard, using a fresh random seed that controls the retain / forget partition. Dataset details and forget set split We use the CASIA-SURF dataset [35] containing natural images of peopleâs faces. Each image is labelled with an age group (there are 10 total classes / age groups). We split the dataset into a training, validation and test set. We further split the training set into a retain set and a forget set. When doing so, we take care that no subjectâs images are split between the retain and the forget set; that is, each subject is placed entirely in either the retain set or the forget set. The size of the forget set is roughly 2% of the size of the training set. In Figure 9, we show the class (age group) distribution of the different sets. (a) Train, validation and test histograms (b) Retain and forget histograms Figure 9: Histograms of age groups for different sets. As can be seen, the distribution across classes / age groups is similar across the train, validation and test sets. There is a lot of class imbalance: class 0 is by far the most common. Note too that, while the retain set follows a similar distribution as the training set, the forget set contains examples from only the first two classes, with the vast majority belonging to class 0. Training details The âoriginal modelâ we consider is a ResNet-18 classifier, trained for 30 epochs on the training set to predict the age group associated with each image of a personâs face. It is trained with class weights, to deal with class imbalance (where the loss value of an example is adjusted based on how frequent that exampleâs class label is). We use no data augmentation. The original model obtains 98.98% accuracy on the training set and 96.43% on the test set. Baseline unlearning algorithm We consider a simple unlearning algorithm: finetuning the original model on only the retain set. We do this for 1 epoch using SGD with momentum of 0.9, a learning rate of 0.001 and weight decay of 5e-4. A.4 Detailed description of unlearning algorithms Figure 10: The top methods from the competition. âReinitâ, âCEâ, âMSEâ, and âHâ stand for âreinitializeâ, âcross-entropyâ, âmean-squared errorâ, and âentropyâ, respectively. The upward (â â) and downward (â â) arrows indicate maximization or minimization of the objective, respectively. As previously explained, the top methods from the competition operate in phases that can roughly be categorized into âerasingâ the influence of the forget set and ârepairingâ any excess damage to the utility of the model that is caused by imperfect erasing (Figure 10). We note that this is a separation that we find useful conceptually, though we remark that an operation can not be cleanly categorized into exactly one of âeraseâ or ârepairâ. For instance, finetuning on the retain set can be seen as a means of repairing performance, but it also has an idirect effect of erasing information about the forget set passively, due to catastrophic forgetting. We categorize phases into âeraseâ and ârepairâ here based on their hypothesized primary functionality. The Fanchuan method first iterates over the entire forget set once and performs one step per mini-batch towards minimizing the KL-divergence between the predictions and a uniform distribution (âKL[f(xu)âŁuniform] [f(x_u) ]â KL [ f ( xitalic_u ) ⣠⣠uniform ]). It then iterates for 8 epochs over the forget set and performs gradient ascent steps towards maximizing a (temperature-mitigated) dot-product contrastive loss between the forget set mini-batch and a mini-batch of randomly-sampled retain set examples (âcontrastiveâ˘(fâ˘(xr),fâ˘(xu))âabsentcontrastivesubscriptsubscript (f(x_r),f(x_u))â contrastive ( f ( xitalic_r ) , f ( xitalic_u ) )). After each contrastive epoch, it performs one epoch of categorical cross-entropy training on the retain set (âCEâ˘(fâ˘(xr),yr)âabsentCEsubscriptsubscript (f(x_r),y_r)â CE ( f ( xitalic_r ) , yitalic_r )). The Kookmin method reinitializes a subset of the model weights (Reinitâ˘Î¸âθ0Reinitsuperscript0Reinit 9.0muθ θ^0Reinit θ â θ0) before finetuning on the retain set (âCEâ˘(fâ˘(xr),yr)âabsentCEsubscriptsubscript (f(x_r),y_r)â CE ( f ( xitalic_r ) , yitalic_r )). The parameters to be reinitialized are decided based on the gradient magnitude of the NegGrad+ loss over the forget and retain sets. The convolutional weights with the bottom 30% gradient magnitudes are reinitialized. During finetuning, the gradients of the reinitialized and remaining convolutional parameters are multiplied by 1.0 and 0.1, respectively. The Seif method adds Gaussian noise (Îź=0,Ď=0.6formulae-sequence00.6Îź=0,Ď=0.6Îź = 0 , Ď = 0.6) to convolutional weights (θâźâ˘(Îź=θ0,Ď2â I)similar-tosuperscript0â superscript2θ (Îź=θ^0,Ď^2¡ I)θ âź N ( Îź = θ0 , Ď2 â I )) and performs 4 epochs of finetuning using a cross-entropy loss (âCEâ˘(fâ˘(xr),yr)âabsentCEsubscriptsubscript (f(x_r),y_r)â CE ( f ( xitalic_r ) , yitalic_r )), the magnitude of which is adjusted based on the number of majority class examples present in the mini-batch. Rather than directly averaging the examplewise losses in the mini-batch, the Seif method computes a weighted average of the examplewise losses using a weight of 1.0 for majority class examples and a weight of 0.05 for other examples. This is equivalent to using a learning rate which depends on the number of majority class examples in the mini-batch. Before the final epoch, additive Gaussian noise (Îź=0,Ď=0.005formulae-sequence00.005Îź=0,Ď=0.005Îź = 0 , Ď = 0.005) is applied to the convolutional weights. The Sebastian method reinitializes a significant portion (99%) of the convolutional and fully-connected layer weights with the lowest L1 norm (Reinitâ˘Î¸âθ0Reinitsuperscript0Reinit 9.0muθ θ^0Reinit θ â θ0), then performs finetuning on the retain set (âCEâ˘(fâ˘(xr),yr)+MSEâ˘(Hâ˘(fâ˘(xr)),Hâ˘(f0â˘(xr)))âabsentCEsubscriptsubscriptMSEsubscriptsubscript0subscript (f(x_r),y_r)+MSE(H(f(x_r)),H(f_0(x_r)))â CE ( f ( xitalic_r ) , yitalic_r ) + MSE ( H ( f ( xitalic_r ) ) , H ( f0 ( xitalic_r ) ) )) using a combination of cross-entropy and mean squared error between the model predictionâs entropy Hâ˘(fâ˘(xr))subscriptH(f(x_r))H ( f ( xitalic_r ) ) and that of the original model Hâ˘(f0â˘(xr))subscript0subscriptH(f_0(x_r))H ( f0 ( xitalic_r ) ). The Amnesiacs method reinitializes the first convolutional layer and the fully-connected layer (Reinitâ˘Î¸âθ0Reinitsuperscript0Reinit 9.0muθ θ^0Reinit θ â θ0) before performing 3 âwarmupâ epochs of distilling the original modelâs predictions f0â˘(xv)subscript0subscriptf_0(x_v)f0 ( xitalic_v ) for a held-out validation set into the reinitialized model (âKL[f(xv)âŁf0(xv)] [f(x_v) f_0(x_v)]â KL [ f ( xitalic_v ) ⣠⣠f0 ( xitalic_v ) ]). The method then performs an additional 3 epochs of finetuning on the retain set using a combination of cross-entropy loss (CEâ˘(fâ˘(xr),yr)CEsubscriptsubscriptCE(f(x_r),y_r)CE ( f ( xitalic_r ) , yitalic_r )) and symmetric KL-divergence loss (KLsym[f(xr)âŁf0(xr)]KL_sym[f(x_r) f_0(x_r)]KLroman_sym [ f ( xitalic_r ) ⣠⣠f0 ( xitalic_r ) ]) between the modelâs predictions fâ˘(xr)subscriptf(x_r)f ( xitalic_r ) and the original modelâs predictions f0â˘(xr)subscript0subscriptf_0(x_r)f0 ( xitalic_r ). The Sun method reinitializes the fully-connected layer (Reinitâ˘Î¸âθ0Reinitsuperscript0Reinit 9.0muθ θ^0Reinit θ â θ0), then performs several epochs of ânoisedâ finetuning on the retain set. Before each such epoch, a random subset of layers (excluding batch normalization) is selected and additive Gaussian noise is applied to their parameters (θâźâ˘(Îź=θ0,Ď2â I)similar-tosuperscript0â superscript2θ (Îź=θ^0,Ď^2¡ I)θ âź N ( Îź = θ0 , Ď2 â I )). The selected layers are then finetuned for an epoch. Finally, the model is finetuned normally on the retain set for a few epochs. The Forget method iterates over several cycles of i) reinitializing a random subset of layers (Reinitâ˘Î¸âθ0Reinitsuperscript0Reinit 9.0muθ θ^0Reinit θ â θ0), and i) distilling the original modelâs predictions on the forget set into the reinitialized model for an epoch using a mean squared error loss (âMSE(f0(xr),f(xr))) (f_0(x_r),f(x_r)))â MSE ( f0 ( xitalic_r ) , f ( xitalic_r ) ) )). A.5 Related work While unlearning is enjoying increased attention recently, it is a young area of research and the community lacks a standardized notion and associated evaluation metrics. In this work, we have adopted a a formal but non-worst case notion for unlearning that is largely inspired by [30, 16, 24] and we have proposed an evaluation framework based on that. In this section, we describe other unlearning metrics that arenât necessarily tied to a formal definition, as well as different recent proposals for aggregating forgetting quality and utility. Related metrics for forgetting quality Several metrics for forgetting quality have been proposed based on the principle that unlearning should ideally âmatchâ (different aspects of) a model retrained from scratch on only the retain set. While these share the same underlying goal, they vary substantially in complexity. The simplest such metric that has been widely adopted in the context of classifiers is to simply report the âaccuracy gapâ, i.e. the absolute difference of the accuracy of the unlearned model from the retrained model, on the forget set. Ideal unlearning according to this metric is characterized by an accuracy gap of 0. A different metric is based on ârelearn timeâ [14]: the âtimeâ (in epochs) that it takes to relearn the forget set after having allegedly forgotten it. Intuitively, if the unlearned model can relearn the forget set much faster than a model that never trained on that set, this is an indication of imperfect unlearning according to this metric. Instead, [34] propose to measure forgetting quality via the l2subscript2l_2l2-distance in weight space between the unlearned and retrained models (a quantity that [33] refer to this as the âverification errorâ). [33] further propose a proxy for the verification error, referred to as the âunlearned errorâ that is easy to compute and does not require the retrained-from-scratch model. Distances in weight space, however, are not very interpretable and may not be meaningful since neural networks are permutation-invariant and small variations to the training recipe (or even the order of mini-batches) may lead to different weights. [14] instead use KL-divergence between the distributions of weights of the unlearned and retrained models, which accounts for the randomness of the training algorithm at the expense of being more computationally expensive. [14] also discuss the âStreisand effectâ where an unlearning method may cause the modelâs confidence on forget set examples to follow a very different distribution than would have been observed had the model never seen those examples. The Streisand effect refers to the undesired consequence of a sample becoming more noticeable after unlearning, causing vulnerability to attacks. These authors measure this effect qualitatively by plotting the distribution of the entropy of the unlearned model outputs. Ideally, this distribution would match that of the retrained-from-scratch model. To operationalize this intuition, several Membership Inference Attacks (MIAs) of varying degrees of complexity have also been proposed: if an attacker can infer that a sample has been unlearned (rather than not having ever been trained on), this marks a failure for the unlearning algorithm. Attackers of varying degrees of strength have been used in the unlearning literature. The MIAs proposed in [14, 15, 23, 20] and the âBaseline MIAâ in [22] are simple attacks instantiated as binary classifiers (e.g. using logistic regression) that operate directly on outputs (e.g. entropies or confidences) of the unlearned model. For instance, the attack in [14] trains a binary classifier to separate outputs from the retain set (âinâ) versus the test set (âoutâ) and then queries this classifier on outputs of the forget set (ideally predicted as being âoutâ). On the other hand, [22]âs âBaseline MIAâ trains a binary classifier that directly aims to distinguish outputs of the forget and test sets. Ideally, this classifier (applied on âheld-outâ samples from the forget and test sets) should struggle to separate the two sets and shouldnât perform any better than if it were applied on a model retrained from scratch. Recently, unlearning papers have also started using stronger MIAs, inspired by LiRA [6], a state-of-the-art MIA in the privacy community. This MIA can be thought of as instantiating a dedicated attacker for each example, that infers the membership status of that example (âinâ versus âoutâ in the classical version; âunlearnedâ versus âoutâ in the adaptation to unlearning) based on information tailored to that specific example. In particular, through training several shadow models, LiRA collects confidences of each particular example under the two different âworldsâ and uses those to estimate one Gaussian for each of the two worlds for a given example, allowing to make predictions based on likelihood under those Gaussians. [22, 28] recently reported results with an adaptation of LiRA for unlearning, and [17] demonstrated that this attack is substantially stronger than previous ones used in the literature, that unfortunately had overestimated the privacy protection afforded by unlearning algorithms. This attack is the closest to our evaluation framework. Alternative notions and metrics As a significant departure from the spirit of the above notions and metrics, some authors argue that, for some applications, matching retraining-from-scratch is not necessarily the criterion of interest. Instead, unlearning may be employed to mitigate the impact of incorrect of adversarially-manipulated training data, a subset of which may be known (this is referred to as âcorrective unlearningâ, in [13]). Dedicated metrics can be defined for these applications that capture the reversal of unwanted behaviours that were learned from the problematic data. [12], for instance, propose a metric that measures the degree of âconfusionâ between two classes that is due to the presence of mislabelled examples between those classes in the original training set. A successful unlearning algorithm, operating on a forget set containing all and only the mislabelled training data, would fully eliminate that confusion. [31] similarly aim for the goal of what they refer to as âcomplete unlearningâ: achieving minimal accuracy on the forget set (without harming utility), irrespective of the accuracy of retraining-from-scratch. [22] argues that the notion and metric of unlearning should be application-dependent e.g. unlearning old data simply for keeping the model up to date may come with vastly different desiderata or priorities than unlearning to protect user privacy. They propose a method that can be adapted to handle different scenarios and investigate empirically different metrics for different applications. Alternative aggregation strategies Regardless of how one defines and measures âforgetting qualityâ, a holistic evaluation of unlearning requires taking into account utility and efficiency as well. While in most research papers these aspects have been explored in isolation, some recent works propose (partial) aggregation mechanisms, for utility and forgetting quality. Specifically, [10] propose the âAverage Gapâ metric. In particular, for a given metric (e.g. the accuracy on the forget set), they compute the âgapâ (absolute difference) between the unlearned and retrained modelsâ performance according to that metric. Then, they average the âgapsâ across metrics that capture both forgetting quality as well as utility. In their work, they average the gaps for accuracy-based metrics only, where the gap in terms of forget set accuracy captures forgetting quality and the gaps in terms of retain and test accuracy capture utility. [7] also propose an aggregate metric called Adaptive Unlearning Score (AUS), that combines an estimate of forgetting quality (in their work this is given by the accuracy on the forget set) with the performance loss relative to the original model, measured in terms of test accuracy, as an estimate of utility. [36] propose a âTug of Warâ score, where higher is better, obtained by also combining âaverage gapsâ on the forget, retain and test sets, aiming to capture trade-offs. Generally, the unlearning literature lacks discussion about aggregation strategies and it not clear a priori when one of the aforementioned proposals is preferable over another. Designing careful aggregation strategies that allow us to both assess unlearning quality holistically and encode trade-offs in an interpretable manner is an interesting study for future work. A.6 Federated Extended MNIST (FEMNIST) We chose the Federated Extended MNIST (FEMNIST) dataset [5] as the second dataset we use in this report due to its similar structure to CASIA-SURF. Specifically, this dataset contains a set of âusersâ, each of which has hand-drawn a set of number and characters. The classification problem is a 62-way task, to distinguish between numbers and characters written by different users, based on 28x28 color images. We adjusted the dataset by (randomly) picking a subset of size 30400. This is in order to have the same dataset size as CASIA-SURF, to increase the chance of hyperparameters tranferring. This is key due to our experimental setup and underlying research question that we investigate on FEMNIST, namely probing at the generalizability and ease of reusability of different unlearning algorithms. We followed the same protocol in creating different splits in FEMNIST as we did in the competition for CASIA-SURF, again to ensure as similar properties as possible between the two. Specifically, we created an 80% / 10% / 10% train / validation / test split uniformly at random. Then, we divided the training set into a retain / forget partition by ensuring that there is no overlap in users between the retain and forget sets, reflecting a scenario where a subset of users request their data to be deleted. The sizes of the retain and forget set are 23853 and 467, respectively. Similar to CASIA-SURF, this dataset also has class imbalance. We plot the label distribution of the retain, forget and test sets in Figure 11. (a) Retain set. (b) Forget set. (c) Test set. Figure 11: Label distribution of FEMNIST. Refer to the below section for implementation details on both CASIA-SURF and FEMNIST. A.7 Implementation details We implemented all experimentation in this report by further building on top of our public code-base 111111https://github.com/google-deepmind/unlearning_evaluation (released under the Apache 2.0 license), in PyTorch [26]. For the state-of-the-art baselines, we adapted publicly-available code from the respective authors, to ensure correctness, largely using the repository associated with SalUn [10] 121212https://github.com/OPTML-Group/Unlearn-Saliency, which also implements other baselines. For the Random Label baseline, we follow the implementation that operates in a sequence, first finetuning on the forget set with the random labels, and subsequently finetunes on the retain set (a ârepair phaseâ, similar in spirit to top submissions). A.7.1 Hyperparameters for original training For all experiments, we used the same architecture as in the competition, a ResNet-18. For our CASIA-SURF experiments, we follow the same training details as for the competition, as described in Section A.3. We trained for 30 epochs, using SGD with momentum 0.9, weight decay of 5e-3 and a learning rate of 0.0001. For FEMNIST, we found we needed many more epochs to obtain strong performance, perhaps due to the much larger set of classes involved in this task. We trained for 120 epochs, using SGD with momentum 0.9, a weight decay of 0.001 and a learning rate of 0.0005. For both datasets, to deal with the imbalance, we calculated a âweightâ for each class as the reciprocal number of occurrences of that class in the training set, so that popular classes are associated with a smaller such weight compared to rare classes. We then passed the class weights to pytorchâs âCrossEntropyLossâ function as the âweightâ parameter, leading to down-weighting popular classes during training, in order to enable learning the rare classes too. The original model on SURF obtains 98.98% training accuracy and 96.43% test accuracy, and the original model on FEMNIST obtains 98.95% training accuracy and 95.76% test accuracy. A.7.2 Hyperparameters for unlearning CASIA-SURF For all analyses in the CASIA-SURF dataset, we used the competition algorithms using the configurations from the respective submissions. On the other hand, comparing against state-of-the-art methods necessitates tuning those methods on CASIA-SURF, for a fair comparison. We remark that competition methods have a strong advantage in this comparison: they were developed by iterating to improve a score that reflects the exact metric used for evaluation. To give the state-of-the-art methods a fair chance, we tuned their hyperparameters âoptimisticallyâ, by computing the final score (see Equation 2) of different hyperparameter settings, and choosing the setting with the highest score. To make this practical, we used Setup âReuse-N-Nâ for hyperparameter tuning, with N=512512N=512N = 512. We repeated this 10101010 times for each configuration and picked the configuration that had the best average final score. We note that this tuning procedure is not always practical given that computing our score is expensive. We chose to use it here for a fair reflection of whether competition methods improve upon the state-of-the-art; having tuned state-of-the-art methods less optimistically may mislead us in incorrectly answering the above question to the affirmative. Nonetheless, we hope that future work iterates on approaches for model selection and hyperparameter tuning that are computationally efficient, leading to practical unlearning pipelines. More concretely, for each method considered, we utilized a grid of 3 values for each of 3 hyperparameters. We list the considered values below: ⢠NegGrad+: We tuned the learning rate (0.0005, 0.001, 0.005), the number of epochs (1, 2, 3) and the Îą parameter that balances the retain and forget losses (0.999 0.9999 0.99999); see [22] for details. The best values we discovered were 0.001, 1 and 0.99999, respectively. ⢠SCRUB: We tuned the learning rate (0.0001, 0.0005, 0.001), the number of epochs (1, 2, 3) and the number of âmax stepsâ (1, 2, 3), i.e. epochs in which to perform both âminâ and âmaxâ steps rather than just âminâ. Note that any trailing âminâ steps can be seen as a ârepairâ phase, in line with the sequential nature of several competition methods; see [22] for details. The best values we discovered were 0.0005, 1 and 1, respectively. ⢠Random Label: We tuned the learning rate of the erase phase (0.0001, 0.0005, 0.001), the number of epochs of the erase phase (1, 2, 3) and for the repair phase (1, 2, 3). The best values we discovered were 0.0005, 2, and 1, respectively. ⢠SalUn: We tuned the threshold for choosing which parameters will be masked based on their gradient magnitude (0.4, 0.5, 0.6), the learning rate (0.0001, 0.0005, 0.001) and number of epochs (1, 2, 3) of the erase phase of the Random Label algorithm on which SalUn is based; see [10] for details. The best values we discovered were 0.5, 0.0005 and 2, respectively. For other Random Label hyperparameters, we used the best values found for Random Label. ⢠L1 Sparse: We tuned the learning rate (0.0005, 0.001, 0.005) and Îą parameter controlling the weight of the L1-penalty (1e-5, 1e-4, 1e-3, 1e-2, 1e-1); see [23] for details. Given there were only two relevant hyperparameters in this case, we allowed more values for the second. The best values discovered were 0.001 and 0.0001, respectively. FEMNIST For the experiments on FEMNIST, we tuned hyperparameters both for the competition methods and state-of-the-art methods. In all cases, we tuned around the values that worked best for CASIA-SURF, using again a grid of 3 values for each of 3 hyperparameters per method. We note that the cross-entropy reweighting strategy that Seif uses is hard-coded for 10 classes (and based on the label distribution of CASIA-SURF) and is therefore not applicable to FEMNIST. We applied it on FEMNIST with a vanilla cross-entropy, without reweighting, recognizing that the performance of Seif on FEMNIST could be improved by other strategies. We list the considered values below: ⢠Fanchuan: We tuned the learning rate of the first erase phase (0.001, 0.005, 0.01), the learning rate of the second erase phase (1e-4, 3e-4, 6e-4) and the learning rate of the repair phase (0.0005, 0.001, 0.005). We were not able to discover good hyperparameter values within this grid. ⢠Kookmin: We tuned the learning rate of the initial phase used to determine which parameters to reinitialize (0.1, 0.3, 0.5), the learning rate of the repair phase (0.0005, 0.001, 0.005) and number of epochs (4, 5, 6).The best values discovered were 0.3, 0.0005 and 5, respectively. ⢠Seif: We tuned the standard deviation of the Gaussian for adding noise (0.5, 0.6, 0.7), the learning rate (0.0004, 0.0007, 0.001) and number of epochs (3, 4, 5). The best values discovered were 0.6, 0.001 and 5, respectively. ⢠Sebastian: We tuned the learning rate (0.0001, 0.0005, 0.001), the pruning amount (0.999, 0.99, 0.9) and the epochs (2.2, 3.2, 4.2), represented as a float in their implementation. The best values discovered were 0.0005, 0.99 and 4.2, respectively. ⢠Amnesiacs: We tuned the learning rate for the warmup phase (8e-4, 9e-4, 1e-3), the learning rate for the repair phase (5e-4, 1e-3, 5e-3) and number of epochs (2, 3, 4). The best values discovered were 0.001, 0.005 and 4, respectively. The best values we discovered for the state-of-the-art algorithms on this dataset were the following: ⢠NegGrad+: learning rate of 0.005, 1 epoch and Îą 0.9999. ⢠SCRUB: learning rate of 0.001, 2 epochs and 2 max steps. ⢠Random label: learning rate for the forgetting phase 0.001, 2 epochs for each of the erase and repair phases. ⢠SalUn: threshold of 0.4, learning rate 0.001 and 2 epochs. ⢠L1 Sparse: learning rate 0.001 and Îą 0.001. A.8 Utility / forgetting quality trade-off We further investigate the trade-off between utility and forgetting quality in Figure 12. We notice that some unlearning methods harm retain or test accuracy disproportionately more than the other (e.g. Kookmin and Seif have high retain but low test accuracy while Forget has lower retain than test accuracy). We also observe diverse trade-off profiles, with some methods (like SCRUB) having high retain and test accuracy but low âąFF-score, while, as discussed previously, Sebastian has the highest âąFF-score but poor utility. Figure 12: The utility / forgetting quality trade-off where utility is measured in terms of the retain and test accuracy. We notice that some unlearning methods harm retain or test accuracy disproportionately more than the other (e.g. Kookmin and Seif have high retain but low test accuracy while Forget has lower retain than test accuracy). We also observe diverse trade-off profiles, with some methods (like SCRUB) having high retain and test accuracy but low âąFF-score, while, as discussed previously, Sebastian has the highest âąFF-score but poor utility. We observe that while there is some variance in the âąFF-score across different runs of a given unlearning algorithm, the retain and test accuracy of these runs have smaller variance. A.9 Breaking down forgetting quality into per-example Îľ Îľâs We now inspect the distribution of per-example Îľ Îľâs produced by different algorithms. We are interested in investigating: are better performing algorithms better due to uniformly improving Îľ Îľâs of all examples equally, or do they improve by further boosting a subset of the Îľ Îľâs by a larger amount? Are there examples that are difficult to unlearn, across all algorithms? In Figure 13, we visualize histograms of the distribution of per-example Îľ Îľâs, for different unlearning algorithms. We observe that several algorithms span a wide range of Îľ Îľ values, but we do see differences between their distributions. For instance, the Finetune baseline leads to several examples having Îľ Îľ values near the higher end, which is not the case for better-performing algorithms. Interestingly, Forget (which is one of the top methods in terms of forgetting quality âąFF) has very few Îľ Îľ values greater than 4, which is not the case for other top methods. We believe these characteristics warrant further investigation and understand better properties of different algorithms is very valuable, to inform which to choose for different downstream applications (e.g. where we care about worst-case versus average-case performance). Figure 13: For different unlearning algorithms, the histogram of per-example Îľ Îľ. We further conduct a preliminary investigation on whether there are certain examples that are âhardâ (i.e. associated with a large Îľ Îľ) across unlearning algorithms. In Figure 14 we show, for each example in the forget set (represented by a different bar in this barplot), the sum of the Îľ Îľ values for that example across the twelve unlearning methods used in 13. We sort examples by their sum for easier visualization. We observe (at the far right), that there are some examples approaching the maximum realizable value of this sum (which is roughly 6 x 12 = 72; since there are 12 methods and the maximum Îľ Îľ value is roughly 6). This indicates that these examples are hard for all algorithms considered. On the other hand, the far left of the plot reveals the existence of some overall easy examples too. Recent work [9, 36] discusses the creation of challenging forget sets, by treating the problem as adversarial optimization, and investigating hypotheses surrounding interpretable factors that influence difficulty, respectively. We leave it to future work to apply those methods to the novel algorithms developed in the competition, and under our evaluation framework. Figure 14: For each example in the forget set (represented by a different bar in this barplot), the sum of the Îľ Îľ values for that example across the twelve unlearning methods used in 13. We sort examples by their sum for easier visualization. We observe (at the far right), that there are some examples approaching the maximum realizable value of this sum (which is roughly 6 x 12 = 72; since there are 12 methods and the maximum Îľ Îľ value is roughly 6). This indicates that these examples are hard for all algorithms considered. On the other hand, the far left of the plot reveals the existence of some overall easy examples too. Further, we look into correlations of Îľ Îľ values between pairs of algorithms. We plot the results in from Figure 15. Each subplot corresponds to a pair of algorithms and contains one dot per example in the forget set, where the x-value is the Ďľitalic-ϾξϾ for that example for one algorithm and the y-value is the Ďľitalic-ϾξϾ for that same example for the other algorithm. We notice that different pairs of algorithms have different strengths of correlation between their Îľ Îľ values estimated for different examples. We do see, for instance, that Sebastian and Kookmin agree on some hard examples, but we also notice several disagreements. For instance, L1 Sparse, SalUn and Random Label each have a cluster of examples with high Îľ Îľ that have lower Îľ Îľ values according to Sebastian. An interesting observation is also that Sebastian and Forget (second cell of the bottom row), the two top methods in terms of âąFF-scores, donât agree much on which examples are the hardest. We hope future work investigates these phenomena further. Figure 15: Relationship between Îľ Îľ values produced by different pairs of algorithms. Each subplot corresponds to a pair of algorithms and contains one dot per example in the forget set, where the x-value is the Ďľitalic-ϾξϾ for that example for one algorithm and the y-value is the Ďľitalic-ϾξϾ for that same example for the other algorithm. A.10 Stitching together different âeraseâ and ârepairâ phases In this section, we investigate whether one can directly âstitchâ the erase phase of one unlearning algorithm together with the ârepairâ phase of another, or whether the erase and repair phases have co-adapted (e.g. their hyperparameters and design principles depend heavily on one another). Specifically, we look into whether we can directly improve the performance of unlearning algorithms that have a âvanillaâ repair phase (simply finetuning on the retian set with a standard cross-entropy loss), by replacing their repair phase with a more sophisticated repair phase from another unlearning algorithm. We seek to do this in the simplest form, without updating any hyperparameters, as a proof of concept. To that end, we take two unlearning algorithms that have a vanilla repair phase, Fanchuan and Kookmin, and we investigate the effect of replacing that repair phase with Seifâs, that can be seen as applying a per-batch adjustment to the learning rate based on how many examples of the majority class are in the current batch (batches with many majority class examples will receive a larger effective learning rate compared to batches with fewer majority class examples); see Section A.4 for a more detailed explanation. When integrating Seifâs repair phase into Fanchuan and Kookmin, we adjust their (base) learning rate for the repair phase so that, on average, the per-batch effective learning rates will be the same as the original learning rate for each of Fanchuan and Kookmin. This is done so that any improvements are due to the per-batch adjustment, rather than due to larger (overall) learning rates (i.e. simply discovering a better hyperparameter setting accidentally). Further, we keep the âstructureâ of Fanchuan and Kookmin intact; i.e. the same number of epochs and structure that dictates how the erase and repair phases are arranged. We only update the objective function of repair. There are of course other forms of stitching that we hope future work explores. Figure 16: Exploring direct stitching of different erase and repair phases. We used Setup âReuse-N-Nâ here, with N = 1024, E = 1024, which we verified is a good proxy for Setup âFullâ. We present the results in Figure 16. We find that, first of all, replacing Seifâs repair phase with a vanilla repair phase (and making the appropriate learning rate adjustment to keep the vanilla learning rate the same as the average per-batch learning rate of Seifâs original recipe) leads to a small degradation to Seifâs performance, both in terms of âąFF-score and final score, though within the confidence intervals. Then, when stitching Seifâs repair phase into Kookmin and Fanchuan as described above, we observe positive results in the former case and negative in the latter. Interestingly, Fanchuanâs confidence intervals become wider with this change, which warrants further investigation. We hypothesize that the structure of Fanchuan, whose second phase iterates between âeraseâ and ârepairâ, rather than performing the two phases sequentially, with more epochs each, is potentially more prone to instability that may be caused by using different effective learning rates for different batches. However, the fact that we see a mild improvement for Kookmin by replacing its repair phase by Seifâs is encouraging evidence for continuing to explore this direction. We remark that this type of stitching is the simplest possible and is meant to serve as a proof of concept for pathways of improving existing algorithms by combining insights across submissions. We expect that re-tuning all relevant hyperparamters (of both newly-combined âeraseâ and ârepairâ phases) after stitching would yield stronger results. We hope future work conducts these experiments, towards discovering even better unlearning algorithms. A.11 Relationship between âąFF-scores and a simple MIA In this section, we investigate the relationship between our âąFF-score and a different proxy for forgetting quality: using a simple Membership Inference Attack (MIA), referred to as the âBaseline MIAâ in [22]. This MIA is a binary classifier trained to distinguish the losses of the unlearned model for forget set examples from the losses of the unlearned model on test set examples. Intuitively, if the forget and test sets follow the same distribution, then ideal unlearning according to this metric is given by a 50% accuracy of this classifier, signalling its inability to tell apart examples that were unlearned from those that were never trained on in the first place (from their losses), and marking a success for unlearning. Given that the distributions of the forget and test set are not necessarily the same (and thus, even for a perfectly unlearned model, the loss distributions may differ slightly on those two sets), instead of defining ideal unlearning as 50% accuracy of that classifier, we define it as matching the reference point of the classifierâs accuracy when applied on a model retrained-from-scratch. This leads to the âMIA gapâ score, defined as the absolute difference in the accuracy of the binary classifier when applied to the unlearned and retrained model. Lower is better and the ideal score is 0. In practice, we implement the training of the binary attacker via cross-validation: it is trained on a subset of forget and test losses, and its success in telling apart those two sets is then evaluated on held-out forget and test losses. We used 10 such splits of the two sets of losses, and we report the score as the average over the held-out losses of each such split. Further, we repeat the procedure of applying this attack 500 times for retrain-from-scratch (each of those 500 times, the attack is applied on a different sample of retraining-from-scratch) and similarly 500 times for unlearning (each time applied on an unlearned model produced by running the given unlearning procedure on a different sample of the original model). We use these 500 estimates of the MIA score to produce the MIA gap, which we report in Figure 17. Due to very large confidence intervals, we are not able to make strong claims about the correlation of this metric with our F-scores, however Figure Figure 17 suggests that i) competition methods improve upon the Finetune baseline in this metric too, and that i) the relative ranking between competition algorithms is not the same as the one produced by our forgetting quality score, according to which Sebastian significantly outperforms other methods on this aspect. We leave it to future work to investigate whether these observations hold and are statistically significant when the variance of MIA gap scores is reduced. Figure 17: The âMIA gapâ using a simple membership inference attack (lower is better) for top competition algorithms. A.12 Histograms of unlearned and retrained distributions In Figure 18, we plot the histograms of our one-dimensional test statistic (the logit-scaled probability of the correct class) for different forget set examples and the five top unlearning algorithms, as well as the Finetune baseline. Each row represents a different forget set example and each column a different unlearning algorithm. We observe that, while different unlearning algorithms lead to different distributions, we sometimes observe per-example patterns across algorithms, especially across Kookmin, Seif, Sebastian and Amnesaics. This is particularly visible in rows 3-5, for instance. Finally, these plots illustrate the diversity of shapes that these histograms can take, making it difficult to separate unlearned from retrained distributions well with a single-threshold decision rule, in all cases. Note that, in the case where one distribution is more peaky that the other (e.g. Sebastian, in the second-to-last row), a double-threshold rule, that attempts to enclose the peakiest of the two distributions is better than any single-threshold one. Figure 18: Histograms of our one-dimensional test statistic (the logit-scaled probability of the correct class) for different forget set examples and the five top unlearning algorithms, as well as the Finetune baseline. Each row represents a different forget set example and each column a different unlearning algorithm. A.13 Exploring the degree of overfitting the attacker As we described in Section 3.1, we compute a Îľ Îľ for each example sâs â S by running m attacks to separate the (post-processed through hâh) distributions of outputs of the retrained and unlearned models, when given as input example s. The procedure we outlined for that (see Section 3.1 and Algorithm 2) determines the instantiation of the attack to use (i.e. the specific choice for the threshold t or t1subscript1t_1t1 and t2subscript2t_2t2) based on how well it separates the N samples from each of the two distributions. Then, the reported Îľ Îľ for that example is based on the success of that instantiated attack in telling apart those same N samples from each distribution. An alternative framework disentangles the following two steps: i) the step of âfittingâ the attacker, i.e. instantiating a decision rule through choosing a threshold or pair of thresholds, and i) the step of âevaluatingâ the attacker, i.e. computing Îľ Îľ based on the success of the chosen decision rule. Importantly, a different set of N samples from each distribution would be used for each of those two steps. This disentanglement intuitively will prevent the attacker from âoverfittingâ to the N samples from the two distributions: that is, picking a decision rule that happens to separate well the specific N samples from the two distributions, but would not work as well if the two distributions were estimated with a different set of N samples each. In this section, we examine the degree of potential overfitting of the attacker by disentangling the two steps as mentioned above, and using separate sets of N samples for each. This, however, comes with the following technical difficulty. Notice from Algorithm 2 that we discard a decision rule if exactly one of its FPR or FNR is 0. This is based on a hypothesis that the FPR or FNR is 0 only due to the fact that have a limited number of samples of a continuous distribution and that, having had more samples from it, the FPR / FNR may have been small but not exactly 0. Now, when disentangling the two steps mentioned above, step i may yield a decision rule that while is considered valid for the âfittingâ set of samples, is considered invalid (one of FNR or FPR is 0) when applied on the âevaluationâ set of samples, leaving us unable to compute a Îľ Îľ based on the chosen decision rule. To alleviate this issue, we apply Kernel Density Estimation (KDE) to smooth the distribution in step 2. This is useful as the estimated PDF will have some (small) probability mass even in areas where the raw empirical distribution does not. Therefore, this makes it unlikely that a threshold chosen based on the âfittingâ samples will yield an FPR of FNR of exactly 0 on the smoothed version of the evaluation distribution. We present the results of this investigation in Figure 19, using setup âFullâ (see Figure 2) and N=10241024N=1024N = 1024. When the two phases are disentangled, each of the two phases receives 1024 samples from each distribution. As expected, we do observe some degree of overfitting: the âąFF values are larger when using a fresh set of samples from each distribution to evaluate the chosen decision rule. However, we find that this effect isnât severe and does not change the relative rankings between different unlearning algorithms. Figure 19: The degree of attacker âoverfittingâ. We compare our default setup, as described in 3.1 and Algorithm 2 against a setup that disentangles (and uses separate sets of N samples from the retrained and unlearned distributions for) two steps: i) fitting the attacker, i.e. instantiating a decision rule by picking a threshold or pair of thresholds, and i) evaluating the attacker, i.e using that fixed decision rule to compute FPR and FNR and, from those ingredients, obtain Îľ Îľ. As discussed in Section A.13, when disentangling the two steps, we use KDE to smooth the evaluation distribution, in step i. Intuitively, allowing the attacker to overfit on the set of samples used for âfittingâ will yield results that are more optimistic for the attacker (and thus less optimistic for unlearning, producing smaller âąFF values). Indeed, we observe some degree of overfitting: the âąFF values are larger when using a fresh set of samples from each distribution to evaluate the chosen decision rule. However, we find that this effect isnât severe and does not change the relative rankings between different unlearning algorithms. A.14 Exploring the effect of N We now discuss how the results change as we modify N, the number of samples that are used to instantiate the empirical distributions of unlearning and retraining on which we base our evaluation. We decided to conduct this investigation in the setup of disentangled sets of samples for âfittingâ and âevaluatingâ, as is described in Section A.13. This is because, varying N with fitting and evaluation entangled makes it harder to interpret the results: increasing values of N in that setting would lead to two effects simultaneously: i) a stronger attacker that has more samples to inform its decision about the ideal threshold(s), and i) more accurate evaluation due to a better estimation of the two distributions. In Figure 20, we compare the âąFF scores obtained using 1024 samples from each distribution for fitting, and N-eval samples for evaluation, for different values of N-eval. We observe that, while the differences are not severe and donât affect the relative ranking between different algorithms, larger values of N-eval, associated with a better representation of the two distributions, do lead to slightly lower means of âąFF values, though well within the confidence intervals of other N-eval values. Figure 20: Investigating the effect of the number of samples from each distribution used for evaluation, N-eval, in terms of the forgetting quality estimate âąFF. In all cases the fitting step was performed using 1024 samples from each of the retrained and unlearned distributions (see Section A.13 for a description of the two-step setup of disentangled âfittingâ and âevaluationâ). A.15 Exploring bootstrapping to efficiently estimate âąFF As discussed in Section 4, we explored using bootstrapping, a common statistical tool, to reduce the computation cost of Setup âFullâ by sampling with replacement from a smaller pool of samples than those required to compute the âFullâ variant. Specifically, from a pool size of K triplets of (θo,θu,θr)superscriptsuperscriptsuperscript(θ^o,θ^u,θ^r)( θitalic_o , θitalic_u , θitalic_r ), we sample N of them with replacement, and compute an estimate of âąFF. We repeat this procedure E times, yielding a total of E estimates of âąFF, as in Setup âFullâ, but requiring only K models from each distribution here for all E estimates, rather than NĂENĂ EN Ă E as in Setup âFullâ. In both cases, we set E to 20 in our experiments, unless otherwise specified. We report results for different values of the pool size K in Figure 21(a) and, for the largest pool size, we report results for different values of E in Figure 21(b). As expected, we observe that, the larger K is, the better bootstrapping can estimate the âFullâ setup, since more samples from the population are used, rather than simply reusing repetitions of a smaller sample size. We note that, perhaps surprisingly, we can get a decent approximation of setup âFullâ via bootstrapping with K = 8192, which yields significant savings in the compute cost, especially for larger values of E: it requires training a total of NĂ88NĂ 8N Ă 8 models per distribution in total, whereas setup âFullâ requires NĂENĂ EN Ă E, saving more than half of the compute cost for our default value E=2020E=20E = 20. We also observe that, for the largest pool size, increasing E for bootstrapping (i.e. simply sampling with replacement more times) does not further improve the approximation. (a) Investigation of different values of K (for fixed E=2020E=20E = 20). As expected, we observe that, the larger K is, the better bootstrapping can estimate the Full setup, since more samples from the population are used, rather than simply reusing repetitions of a smaller sample size. (b) Investigation of different values of E (for fixed K=81928192K=8192K = 8192). We observe that increasing E (i.e. simply sampling with replacement more times) does not further improve the approximation. Figure 21: Can we use bootstrapping to estimate âąFF more efficiently? We also show a visual illustration of the distributions (of our test statistic, i.e. logit-scaled confidence) obtained from N=10241024N=1024N = 1024 fresh samples (top) versus N=10241024N=1024N = 1024 bootstrapped samples (from the smallest pool size considered, K=10241024K=1024K = 1024) for unlearning method Fanchuan and for a particular example in the forget set, in Figure 22. We notice that, even when considering K=10241024K=1024K = 1024, the bottom row (bootstrapped samples) donât appear too different from the histograms in the top row, offering some additional qualitative evidence for the ability of bootstrapping to mimic the unlearned and retrained distributions of interest. Figure 22: Qualitative investigation of the unlearned and retrained distributions (of our test statistic, i.e. logit-scaled confidence) obtained from fresh versus bootstrapped samples, for a particular forget set example, and for the unlearning algorithm Fanchuan. Specifically, each subplot in the top row shows the empirical distributions instantiated through a different set of N=10241024N=1024N = 1024 fresh samples from the two distributions (unlearned versus retrained). In contrast, all subplots in the bottom row are the empirical distributions of different bootstrapped samples, all originating from the pool corresponding to the samples of leftmost subplot of the top row (so K=10241024K=1024K = 1024). We observe that, even with this smallest considered pool size, the bottom row does not look too different visually from the top row, offering some additional qualitative evidence for the ability of bootstrapping to mimic the unlearned and retrained distributions of interest.