Abstract
Machine unlearning is essential for privacy compliance, yet most methods require access to the original training data to prevent performance degradation on remaining samples. We present ZS-PAG, a novel framework for "zero-shot" machine unlearning. By generating adversarial proxy data and employing orthogonal gradient projection, ZS-PAG effectively erases targeted knowledge while preserving—and sometimes enhancing—the model's performance on remaining data without requiring access to the full training set.
Introduction
As privacy regulations like GDPR grant individuals the "right to be forgotten," machine unlearning has become a critical capability for model owners. The primary challenge is over-unlearning: the risk that modifying a model to forget specific samples will inadvertently damage its accuracy on the rest of the dataset. Traditional solutions mitigate this by re-tuning the model using the remaining data. However, in many real-world scenarios, the original training data may be inaccessible due to storage constraints, licensing, or privacy policies. ZS-PAG addresses this "Zero-Shot" challenge by synthesizing the necessary information to protect the model's general knowledge.
Methodology
The ZS-PAG framework operates through three distinct stages designed to simulate the presence of the missing training data and apply surgical updates to the model weights:
- Proxy Adversarial Data Generation: To compensate for the missing "remaining" data, the system generates adversarial samples based on the data to be forgotten. By perturbing these samples across decision boundaries into other class regions, ZS-PAG creates a proxy dataset that approximates the distribution of the inaccessible data.
- Influence-based Pseudo-label Optimization: Rather than simply instructing the model to forget, the framework uses Influence Functions to calculate optimal "pseudo-labels" for the target samples. This ensures the unlearning step has a neutral or positive impact on the accuracy of the remaining classes.
- Unlearning with Orthogonal Projection: To prevent interference with critical model weights, the authors identify the feature subspace occupied by the remaining data. Unlearning gradients are then projected into a complementary (orthogonal) subspace, ensuring that updates intended for forgetting do not degrade the weights essential for general task performance.
Experimental Results
The researchers evaluated ZS-PAG across standard benchmarks including Facescrub, SVHN, CIFAR-10, and CIFAR-100 using architectures ranging from ResNet to Vision Transformers (ViT).
Performance and Forgetting
ZS-PAG demonstrated superior accuracy on remaining data ($Acc_{rt}$), outperforming the best zero-shot baselines by 6.03% on CIFAR-100. Simultaneously, it reduced the accuracy of unlearned classes ($Acc_{ut}$) to near zero, effectively matching the performance of a model retrained from scratch.
Security and Privacy
Visual analysis via saliency maps confirms that the model's attention is successfully diverted from the features of unlearned samples. Furthermore, Membership Inference Attack (MIA) metrics indicate that ZS-PAG makes it nearly impossible for an adversary to determine if a specific sample was ever part of the training set. The method also proved effective in security contexts, successfully removing backdoor triggers—dropping attack success rates from 89.09% to 0.24%—while maintaining high primary task accuracy.
Conclusion
ZS-PAG provides a robust solution for zero-shot machine unlearning by treating the problem as a targeted subspace adjustment rather than a global fine-tuning task. While the computational cost of approximating the Hessian matrix for influence functions remains a challenge for massive models, the framework's ability to achieve surgical forgetting without original data represents a significant step forward for privacy-preserving machine learning.
Summary updated