ZS-PAG: Zero-Shot Machine Unlearning
- ZS-PAG is a framework for zero-shot machine unlearning that uses adversarially generated proxy samples to mimic unavailable remaining data.
- It employs subspace-constrained gradient updates and influence-based pseudo-labeling to ensure model risk is preserved on retained data.
- Empirical evaluations show that ZS-PAG achieves near-complete forgetting of unlearned data while maintaining or even improving accuracy on remaining classes.
ZS-PAG is an abbreviation for Zero-Shot Machine Unlearning with Proxy Adversarial Data Generation, a framework for data removal from trained classifiers when only the unlearning samples and the trained model are accessible, with no access to the remaining dataset. ZS-PAG circumvents the reliance on remaining data by using adversarially generated proxy samples, subspace-constrained updates, and an influence-based pseudo-labeling procedure. It forms the first known method to explicitly address the zero-shot unlearning setting, providing both theoretical guarantees for risk preservation and empirical superiority over prior unlearning baselines (Chen et al., 29 Jul 2025).
1. Problem Setting and Objectives
ZS-PAG addresses the machine unlearning scenario where, after model deployment, it becomes necessary to eliminate the influence of a specific subset of training data, , from a trained model . The classic paradigm assumes access to the remaining subset so as to regulate model updates and avoid the phenomenon of over-unlearning, where model utility collapses. In ZS-PAG, by contrast, only the model and the unlearning data are available, with being entirely inaccessible.
The optimization goal is to obtain parameters such that: (a) the model's predictive accuracy on the unlearning data is driven to chance, i.e., the class to be unlearned is “forgotten”; and (b) the risk over the unseen remaining data is preserved near its original value .
2. Proxy Adversarial Data Generation
ZS-PAG generates synthetic samples to mimic the distributional role of unavailable remaining data. For each , a proxy adversarial example 0 is constructed by PGD (Projected Gradient Descent), targeting the model's second highest logit: 1 The optimization is: 2 yielding an adversarial proxy set 3. These “proxies” are empirically shown to cluster with the remaining data classes, enabling estimation of the effect of unlearning updates.
3. Subspace-Constrained Unlearning
To mitigate over-unlearning, ZS-PAG constrains the gradient-based updates during parameter refinement to be orthogonal to the estimated subspace occupied by the features of the remaining classes, as reconstructed from the adversarial proxy data. For each layer 4 and each class 5 (where 6 is the unlearning class), the activation matrix 7 is formed and subjected to SVD to yield 8, the orthonormal basis of class-9 features. All such bases are concatenated and re-orthonormalized to form 0, the overall retained-class subspace. The orthogonal projector 1 is then applied: 2 ensuring parameter adjustment does not disrupt directions informative to the retained data classes.
4. Influence-Based Pseudo-Labeling
Within the projected (orthogonal complement) subspace, ZS-PAG determines optimal pseudo-labels 3 for proxy adversarial samples to minimize first-order risk shifts for the (unseen) remaining data. Influence functions as described by Koh and Liang are used: 4 The total first-order effect on 5 by removing 6 with soft label 7 is: 8 The pseudo-label is optimized to minimize this risk increment subject to a KL-penalty with respect to the original label, using projected gradient steps over the 9-dimensional probability simplex.
5. Combined Algorithm
ZS-PAG proceeds in four sequential stages:
- Proxy Generation: Adversarial examples corresponding to the unlearning samples, targeting the nearest non-original logit.
- Subspace Estimation: SVD-based local subspaces per class and layer, aggregated into a global retained-class subspace.
- Pseudo-Label Optimization: Influence-based risk minimization with KL-penalty.
- Projected Unlearning: PGD updates, per-layer projection using 0, and pseudo-label supervision.
Empirically, these techniques yield near-complete forgetting (1) and preservation or slight enhancement of retained-class accuracy (2). For example, on CIFAR-100/ResNet: original 3 73.31%, ZS-PAG 4 75.54% (Chen et al., 29 Jul 2025).
6. Theoretical Guarantee
ZS-PAG possesses a convergence guarantee under the Polyak–Łojasiewicz condition for the “remaining risk” functional. If 5 is 6-smooth and admits a PL constant 7, then with learning rate 8 and projected-GD unlearning updates: 9 implying exponential convergence to the original performance as 0. The subspace-projection step is critical to the preservation of the retained-data risk (Chen et al., 29 Jul 2025).
7. Experimental Evaluation and Impact
ZS-PAG has been benchmarked on multiple vision datasets and network architectures, including Facescrub/AlexNet, SVHN/VGG, CIFAR-10/ViT, and CIFAR-100/ResNet. The key metrics reported are accuracy on unlearned and retained classes and membership inference attack (MIA) robustness. ZS-PAG consistently outperforms zero-shot and data-free baselines, both achieving effective forgetting and maintaining or improving accuracy on retained data (1, 2 original).
Component ablations demonstrate that adversarial proxies are adequate for approximating the remaining distribution, and that the combination of subspace projection and influence pseudo-labeling achieves maximal retained-risk preservation. Robustness is reported for different adversarial strengths and attack methodologies. The framework is also extensible to multiclass and multiattribute unlearning.
ZS-PAG’s principled approach to zero-shot unlearning expands the applicability of unlearning procedures and provides a template for risk-preserving, data-minimal interventions in model lifecycle management (Chen et al., 29 Jul 2025).