Unified Gradient-Based Machine Unlearning with Remain Geometry Enhancement
Preprint
Abstract
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.Keywords
All Related Versions
This publication has 19 references indexed in Scilit:
- Forget-Me-Not: Learning to Forget in Text-to-Image Diffusion Models2024
- Hierarchical off-diagonal low-rank approximation of Hessians in inverse problems, with application to ice sheet model initializationInverse Problems, 2023
- An adaptive Hessian approximated stochastic gradient MCMC methodJournal of Computational Physics, 2021
- Note on the quadratic penalties in elastic weight consolidationProceedings of the National Academy of Sciences of the United States of America, 2018
- Overcoming catastrophic forgetting in neural networksProceedings of the National Academy of Sciences of the United States of America, 2017
- U-Net: Convolutional Networks for Biomedical Image Segmentation2015
- Geometric Modeling in Probability and Statistics2014
- Connectionist models of recognition memory: Constraints imposed by learning and forgetting functions.Psychological Review, 1990
- Catastrophic Interference in Connectionist Networks: The Sequential Learning Problem1989
- Convergence of Projected Hessian Approximations in Quasi-Newton Methods for the Nonlinear Programming ProblemIMA Journal of Numerical Analysis, 1986