Introduction
Machine unlearning is the process of removing the influence of specific training data from a machine learning model. This is increasingly critical due to privacy regulations like GDPR. While retraining from scratch is the gold standard for data removal, its computational cost is prohibitive for modern large-scale models. Current approximate unlearning methods often struggle with a trade-off: updating all parameters is slow and can degrade utility, while updating only the final layer often fails to erase information stored deeper in the network.
Sharpness-Aware Parameter Selection
This paper proposes a Sharpness-Aware (SA) parameter selection strategy to identify the most salient parameters for unlearning. The core idea is to leverage second-order information from the training loss landscape, specifically the diagonal values of the Hessian matrix.
The authors categorize parameters based on the flatness of the loss landscape:
- Flat Regions (Low Sharpness): Parameters where the loss landscape is wide and stable.
- Sharp Regions (High Sharpness): Parameters where small changes lead to significant loss fluctuations.
The strategy targets parameters in "flat" regions. Intuitively, these parameters are the most "sticky" because the model is highly certain in these regions, making them resistant to standard first-order updates and more likely to retain the influence of the data to be forgotten.
The "Sticky" Parameter Hypothesis
The researchers hypothesize that the most effective parameters to update for unlearning are those in the flattest parts of the loss landscape. In experiments on MNIST, they observed a clear correlation between low layer-wise sharpness and the effectiveness of unlearning.
As shown in the figure above, Layer 3 exhibits the lowest average Hessian value and corresponds to the peak accuracy improvement after unlearning. This suggests that middle-to-late layers may store critical information that "last-layer only" methods miss.
Performance Evaluation
The SA strategy was evaluated on MNIST and CIFAR-10 (using ResNet-18) under poisoning scenarios. In these tests, the labels of several thousand samples were corrupted, and the goal was to "unlearn" these poisoned samples to restore model accuracy.
The results demonstrate that the SA method consistently outperforms standard fine-tuning and last-layer updates. On CIFAR-10, the SA method achieved an accuracy of 86.71%, significantly higher than the 82.12% achieved by standard fine-tuning. Furthermore, the method is computationally efficient, requiring only a one-step update on the selected parameters.
Conclusion
Sharpness-Aware parameter selection provides a principled way to target specific model weights for unlearning. By focusing on "sticky" parameters in flat regions of the loss landscape, the method achieves superior accuracy recovery and robustness against relearning attacks with minimal computational overhead. Future work will explore scaling this approach to large language models and refining Hessian approximations for complex architectures.
Summary updated