Abstract
Machine unlearning refers to removing the influence of a specified subset of training data from a model efficiently, after it has already been trained. This is important for key applications, including making the model more accurate by removing outdated, mislabeled, or poisoned data. In this paper, we draw inspiration from prior work that attempts to identify where in the network a given example is memorized, to propose a new "localized unlearning" algorithm, Deletion by Example Localization (DEL). DEL has two components: a localization strategy that identifies critical parameters for a given set of examples, and a simple unlearning algorithm that finetunes only the critical parameters on the data we want to retain. Through extensive experiments, we find that our localization strategy outperforms prior strategies in terms of metrics of interest for unlearning and test accuracy, and pairs well with various unlearning algorithms. Our experiments on different datasets, forget sets, and metrics reveal that DEL outperforms prior work in producing better trade-offs between unlearning performance and accuracy.
Introduction
Machine unlearning is the process of removing the influence of specific training data from a pre-trained model—essentially a "right to be forgotten" for AI. While the gold standard is to retrain the model from scratch without the "forget set," this is computationally ruinous for large models. Existing "approximate" unlearning methods often face a difficult balancing act between unlearning quality (forgetting the data), utility (maintaining accuracy on the retain set), and efficiency. The authors identify a gap in "localized" unlearning: current methods either modify too much of the network, hurting utility, or use poor heuristics to find which parts of the network to change.
Methods: Deletion by Example Localization (DEL)
The paper introduces DEL, which consists of two main phases:
- Localization Strategy: Instead of looking at individual weights or entire layers, DEL operates at the channel/neuron level. It calculates a "criticality score" for each parameter using the magnitude of the weighted gradient: $s_j = |\theta_j \cdot g_j|$, where $\theta$ is the weight and $g$ is the gradient on the forget set. It then aggregates these scores to identify the most influential neurons for the data being forgotten.
- Unlearning Algorithm: Once the critical neurons are identified (within a specific "parameter budget"), those weights are reset (reinitialized). The model then undergoes a brief finetuning phase where only these reset parameters and the final classifier are updated using the retain set.
This approach is inspired by memorization research, which suggests that specific examples are often stored in scattered pockets of the network rather than being uniformly distributed.
Experimental Evaluation
The authors evaluated DEL across diverse architectures (ResNet-18, ResNet-50, ViT) and tasks (CIFAR-10, SVHN, ImageNet-100) under various scenarios like subclass, class, and continual unlearning.
Key Results
- Superior Trade-offs: DEL consistently outperformed prior localized methods (like SalUn and SSD). As shown in the results, DEL (black triangles) achieves forget accuracy and Membership Inference Attack (MIA) scores closer to the Oracle (red dashed line) at lower parameter budgets than most baselines.
- Utility Preservation: DEL maintains significantly higher test accuracy than competitors, especially when the parameter budget is constrained.
- Robustness: DEL is remarkably stable across different parameter budgets. Even when restricted to modifying only 20% of the model, it maintained high unlearning quality, whereas other methods saw their performance drop significantly.
- Efficiency: While more complex than simple finetuning, DEL's localization takes only a few seconds, making it orders of magnitude faster than retraining from scratch.
Discussion and Conclusion
The research highlights that channel-level localization provides the best "smoothing" to identify critical regions without destroying model utility. Furthermore, multiplying the gradient by the weight value provides a much stronger signal of which neurons are actually active in representing the forget set compared to gradient magnitude alone.
While DEL assumes access to the retain set for finetuning and has some computational overhead during that phase, it represents a significant step forward in localized unlearning. Future work includes extending this framework to Large Language Models (LLMs), which present different architectural challenges.
Summary updated