Boundary Unlearning

Min Chen, Weizhuo Gao, Gaoyang Liu, Kai Peng, Chen Wang · DOI

Abstract

As privacy regulations like GDPR mandate the "right to be forgotten," machine learning models must be able to erase specific training data. Traditional retraining from scratch is computationally prohibitive for modern deep neural networks (DNNs). We present Boundary Unlearning, a novel framework that shifts a model's decision boundaries in the decision space rather than scrubbing millions of parameters. Our methods, Boundary Shrink and Boundary Expanding, achieve a 17x to 19x speedup over retraining while maintaining high accuracy on remaining data and providing robust privacy guarantees against membership inference attacks.

Introduction

AI developers face a significant technical hurdle: how to make a trained model forget specific data without the resource-intensive process of retraining. Existing "machine unlearning" alternatives often attempt to "scrub" model parameters using techniques like the Fisher Information Matrix. However, because DNNs possess millions of parameters, these methods are often computationally expensive and can inadvertently degrade performance on the data the model is intended to keep. Boundary Unlearning addresses the need for an efficient, real-world solution that ensures forgotten data cannot be recovered via privacy attacks.

Methodology

The core innovation of this work is the shift from parameter space to decision space. Instead of modifying every weight in the network, we propose two mechanisms to manipulate the boundary defining the forgotten class:

  1. Boundary Shrink: Inspired by adversarial attacks, this method identifies "nearest but incorrect" labels for samples to be forgotten. By finetuning the model to predict these incorrect labels, the decision boundary for that class shrinks until it disappears, redistributing the feature space among remaining classes.
  2. Boundary Expanding: This faster alternative introduces a temporary "shadow class" (an additional neuron in the final layer). The model is finetuned to map all forgetting samples to this shadow class. Once mapping is complete, the shadow neuron is pruned, leaving no activation path for the forgotten class.
Overview of the Boundary Shrink and Boundary Expanding methods for manipulating decision boundaries.

Experimental Evaluation

We evaluated our methods on two standard benchmarks:

  • CIFAR-10: A classic 10-class image classification dataset.
  • Vggface2: A large-scale face recognition dataset. We simulated a realistic scenario by selecting 10 celebrities to be unlearned from the system.

Key Results and Insights

Our experiments yielded several critical insights into the efficacy of boundary-based unlearning:

  • Efficiency: Boundary Unlearning achieved a 17x speedup on CIFAR-10 and a 19x speedup on Vggface2 compared to retraining from scratch.
  • Effective Forgetting: On Vggface2, accuracy for the forgotten class plummeted from ~98% to 1.54% using Boundary Shrink, effectively erasing the class's influence.
  • Utility Retention: Accuracy on remaining data stayed nearly identical to the original model, typically dropping by less than 1%.
  • Privacy Protection: Membership Inference Attack (MIA) success rates for the unlearned models were comparable to those of models retrained from scratch, indicating that the process leaves no "ghost" traces of the deleted data.
Membership Inference Attack (MIA) success rates on CIFAR-10. Boundary methods show competitive privacy protection compared to the gold standard of retraining.

Limitations and Future Work

While effective for class-level forgetting, future research is needed to refine these techniques for "sample-level" unlearning (forgetting specific images within a class). Additionally, the method currently requires access to the data being forgotten to calculate the boundary shift, which may not be possible in all "black-box" scenarios. Finally, datasets with millions of complex, overlapping classes present a remaining challenge for perfect boundary cleaning.

Conclusion

Boundary Unlearning offers a scalable and efficient path forward for compliance with privacy regulations. By focusing on the decision boundaries that define a model's behavior, we can achieve rapid data erasure without sacrificing the utility of the underlying AI system.

Summary updated

BibTeX
@inproceedings{chen2023boundary,
  author = {Min Chen and Weizhuo Gao and Gaoyang Liu and Kai Peng and Chen Wang},
  title = {{Boundary Unlearning}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
  doi = {10.1109/cvpr52729.2023.00750},
}
Figure