Unified Gradient-Based Machine Unlearning with Remain Geometry Enhancement

Machine unlearning (MU) has emerged to enhance the privacy and trustworthiness of deep neural networks. Approximate MU is a practical method for large-scale models. Our investigation into approximate MU starts with identifying the steepest descent direction, minimizing the output Kullback-Leibler divergence to exact MU inside a parameters' neighborhood. This probed direction decomposes into three components: weighted forgetting gradient ascent, fine-tuning retaining gradient descent, and a weight saliency matrix. Such decomposition derived from Euclidean metric encompasses most existing gradient-based MU methods. Nevertheless, adhering to Euclidean space may result in sub-optimal iterative trajectories due to the overlooked geometric structure of the output probability space. We suggest embedding the unlearning update into a manifold rendered by the remaining geometry, incorporating second-order Hessian from the remaining data. It helps prevent effective unlearning from interfering with the retained performance. However, computing the second-order Hessian for large-scale models is intractable. To efficiently leverage the benefits of Hessian modulation, we propose a fast-slow parameter update strategy to implicitly approximate the up-to-date salient unlearning direction. Free from specific modal constraints, our approach is adaptable across computer vision unlearning tasks, including classification and generation. Extensive experiments validate our efficacy and efficiency. Notably, our method successfully performs class-forgetting on ImageNet using DiT and forgets a class on CIFAR-10 using DDPM in just 50 steps, compared to thousands of steps required by previous methods.

Paper

References (98)

Scroll for more · 38 remaining

Similar papers

Peer review

Reviewer S1BA7/10 · confidence 2/52024-06-25

Summary

The paper tackles the problem of machine unlearning, i.e. forgetting the influence of some data points, with remain-preserving manifold geometry. Authors dig deep into the gradient based approximate unlearning methods from the perspective of steepest descent and come up with a method beyond Euclidean constraints. To overcome computationally-intensive inverse Hessian calculation, authors proposed an efficient fast-slow weight update method to approximate the Hessian-adjusted direction. The theoretical findings are experimentally validated on CIFAR and TinyImagenet image classification problem and CIFAR and ImageNet image generation problems.

Strengths

1) The problem is very important to make current ML models more trustworthy and private. 2) Rigorous mathematical framework that unifies all the previous unlearning methods and introduce all the details of the proposed approach. 3) Interesting algorithm of overcoming inverse Hessian calculation by efficient fast-slow weight update. 4) Encouraging results and substantial improvements over previous baselines. 5) Easy-to-follow read with vivid illustrative figures.

Weaknesses

1) Only CV unlearning is presented. If your method works on ML algorithms in general, it would be nice to present some results on other tasks such as NLP, Audio, etc. 2) One interesting observation is that machine unlearning should make the model such that "forget" and "test" set results as close as possible, meaning FA and TA should be really close like in gold-standard RT model. However the proposed method performs not really the best in terms of this metric (|FA-TA|) compared to previous approaches on TinyImageNet. I genuinely don't know if it is a good metric, I might be wrong. Minor: 3. it would be nice to show with arrows ($\uparrow$ and $\downarrow$) in table 2 which metrics are the greater the better and which are the lesser the better.

Questions

1) How does your model remove the influence of one data point, when there's a request to delete one sample from the training dataset? This might be a practical scenario. 2) Are accuracy disparities actually good measure for unlearning comparison? It might be possible that two different models predicted right different samples, thus their accuracies are the same, while they are not close to each other. 3) Why does "R-only" models have greater RTE (longer time) compared to the "full SFR" model?

Rating

7

Confidence

2

Soundness

4

Presentation

3

Contribution

3

Limitations

Authors clearly defined the paper's broader impact and limitations in the appendix G.

Reviewer S1BA2024-08-11

Thanks to authors for adequately addressing all the issues, therefore, I am raising my score to 7. Hope, you will find a space for the new experiments in the final version as they significantly bolster the paper.

Authorsrebuttal2024-08-12

Thank you!

We deeply appreciate your kind appraisal and positive feedback. We will carefully plan the final version of our paper to incorporate additional experiments. Thank you again for your valuable insights and dedicated effort in reviewing our manuscript.

Reviewer fu6N5/10 · confidence 3/52024-07-09

Summary

This paper summarizes the previous gradient-based unlearning methods and proposes three essential components for unlearning: weighted forgetting gradient ascent, remaining gradient descent, and a weight saliency matrix. Then, this paper derives the steepest descent direction and proposes a fast-slow weight method to update the model parameters. The experiments in both image classification and image generation shows the effectiveness of the proposed method.

Strengths

1. This paper provides a new perspective to unify the gradient-based unlearning methods. 2. The experiments contain both image classification and image generation to show the effectiveness of the proposed methods 3. The derivation of the proposed method is attractive.

Weaknesses

1. The gradient-based unlearning methods usually make more changes to the latter layers than the previous layers, which leads to inefficient information removal. This paper does not consider the drawbacks of such unlearning methods. 2. For the image classification task, this paper only tries the ResNet18 model. Then, for the image generation, this paper only tries DDPM. It might not be enough to claim to ''form a unified MU approach for all CV unlearning tasks, including image classification and image generation.'' 3. This paper lacks more ablation studies to prove how SFR affect the unlearning results compared with other methods without the repairing stage on the updated model. 4. The main contributions of this paper are not clear. This paper claims to derive the steepest descent direction and proposes a fast-slow weight method. However, this paper still lacks a thorough advantage analysis of the steepest descent direction and the proposed update method.

Questions

1. How many remaining data does the proposed method require, and how many remaining data is actually used in experiments? 2. The calculation of Hessian matrix $(H_t^r)^{-1}$ still demands large computational resources. Does the proposed method have any approximation on it? 3. Although this paper claims the proposed methods can significantly reduce the optimization steps in unlearning, why does the RTE not show significant reductions compared with SCRUB and SalUn? 4. In the implementations, $\nabla\mathcal{L}^r(\theta_*)$, $\nabla C(\theta_t)$, and $\nabla R(\theta_t)$ may not be zero. Thus, how large are the influences of the three approximation operations in eqs 3,4,6.

Rating

5

Confidence

3

Soundness

3

Presentation

3

Contribution

2

Limitations

No further potential negative societal impact.

Authorsrebuttal2024-08-06

Rebuttal Reference

> [1] Goel, Shashwat, et al. "Towards adversarial evaluations for inexact machine unlearning." ArXiv. 2022. > > [2] Fan, Chongyu, et al. "SalUn: Empowering Machine Unlearning via Gradient-Based Weight Saliency in Both Image Classification and Generation." ICLR. 2024. > > [3] Martens, James. "New insights and perspectives on the natural gradient method." JMLR. 2020. > > [4] Wu, Yichen, et al. "Meta Continual Learning Revisited: Implicitly Enhancing Online Hessian Approximation via Variance Reduction." ICLR. 2024.

Authorsrebuttal2024-08-13

Looking forward to further discussions (one day left before rebuttal ends)

We sincerely appreciate the time and effort you've invested in reviewing our manuscript. We hope that our responses have adequately addressed your concerns. As the discussion phase draws to a close in just one day, we kindly request your feedback on our rebuttal. If there are any remaining questions or concerns, we are looking forward to further discussions!

Reviewer HvBU7/10 · confidence 2/52024-07-12

Summary

This work introduces a perspective to unify previous machine unlearning approaches by decomposing the gradient descent direction into three components including forgetting gradient ascent, remaining gradient descent, and weight saliency matrix. The steepest descent direction is derived on the remain-preserved manifold, and a fast-slow weight method is proposed to implicitly approximate online Hessian-modulated salient forgetting updates.

Strengths

1. This paper is well-written and well-structured. Each proposition is thoroughly proven in the appendix, and the preliminary section provides a detailed overview of the topic. 2. Experiments are comprehensive and encompass the most common settings in image classification and generation tasks. Additionally, the consideration of large pretrained models such as Stable Diffusion caters to practical scenarios.

Weaknesses

I am not familiar with the concept of machine unlearning. It seems like this work is rigorous and comprehensive. From my perspective, there are no obvious weaknesses.

Questions

Is the proposed method available for models in other modalities, apart from images? Including experiments on other modalities such as large language models could further broaden the scope of this work.

Rating

7

Confidence

2

Soundness

3

Presentation

3

Contribution

3

Limitations

Please refer to the "Weaknesses" and "Questions" sections.

Reviewer HvBU2024-08-12

I thank the authors for their response. I've read the related work section in Appendix B to learn more about the concept of Machine Unlearning, and I appreciate that the authors have included additional experimental results in the attached rebuttal PDF. I have accordingly increased my confidence score.

Reviewer fu6N2024-08-13

Thanks for your rebuttal.

Thanks for the authors' rebuttal. The rebuttal has solved my concerns on weaknesses 1, 3, and 4, and also on questions 2, 3, and 4. However, I still have the following three questions (not requiring extra experiments) 1. I acknowledge that currently, classification and generation are two major computer vision tasks for unlearning. Still, it does not mean all CV tasks consider the importance of image segmentation, object detection, etc. Although there are few works towards the unlearning on such tasks, they should also be considered if the paper wants to claim to work on all CV tasks. 2. Access to all the training data may not be practical, even in classification tasks. Then, I suggest that this paper can reduce the usage of training data or use a small public training data during unlearning, and it might also improve the time efficiency.

Authorsrebuttal2024-08-13

Response to additional questions

Additional **Q1**: Clarification on applicability to 'all CV unlearning tasks' > We apologize for any confusion caused by our unclear wording. As you have noticed that currently 'classification and generation are two major computer vision tasks for unlearning', our phrase 'all computer vision unlearning tasks' is intended to refer specifically to widely studied unlearning settings, including class-wise and random subset forgetting. We fully acknowledge that segmentation and object detection are also crucial and popular areas in CV, and MU should not exclude them. We believe that the progress of MU on classification and generation may spread to other CV tasks. **To avoid any future misunderstandings, we will refrain from making broad claims on 'all computer vision unlearning tasks' and instead use more precise and accurate descriptions of the task scope**. > > Furthermore, it is important to note that our method is not constrained by input modalities or loss forms. We are eager to explore the potential of our approach for unlearning tasks in image segmentation and object detection in future research. Additional **Q2**: Reducing the usage of training data in unlearning >We agree that employing limited training data presents a more realistic scenario, and we appreciate your insights on reducing training data usage. MU is still in its preliminary stages. Thus, the standard configuration of previous baseline methods uses all the remaining data. Our study adheres to this setting to ensure fair comparisons. > >Notably, our variant without using retain data (Tab.R2 in response to your W3) has outperformed previous baseline methods (Avg.D$\downarrow$: 2.37(SF) < 3.03(SalUn)). **This indicates that our proposed components are capable of efficiently forgetting even in scenarios devoid of retain data.** > > Your suggestion to reduce the training data also hits the essence: using retain data inherently involves a trade-off between remaining data performance and forgetting efficiency. We look forward to contributing to future research that aims to pursue better a trade-off with limited or even no retain data. Thank you for your detailed review and valuable comments. We notice that you mentioned there are three addition questions, but it appears we may have only received two. To ensure we can comprehensively address all concerns and refine our manuscript, could you please provide the details of the third question? Additionally, if there are any other concerns or suggestions that require further discussion, we warmly welcome your feedback!

Program Chairsdecision2024-09-25

Decision

Accept (spotlight)

© 2026 NYSGPT2525 LLC