Generative Adversarial Networks Unlearning

Hui Sun, Tianqing Zhu, Wenhan Chang, Wanlei Zhou

Introduction

As privacy regulations like the GDPR grant individuals the "right to be forgotten," machine learning models must be capable of erasing specific training data upon request. While "machine unlearning" is well-studied for classifiers, Generative Adversarial Networks (GANs) present unique challenges. A GAN’s generator relies on a continuous latent space; simply deleting a mapping can create disruptions that ruin the model's ability to generate smooth, realistic images. Furthermore, defining a criterion for the discriminator is difficult, as its response to training versus test data is often too similar to provide a clear unlearning signal.

Methodology

To address these challenges, this paper introduces a Cascaded Unlearning Algorithm. This framework alternates between an "unlearning" phase, which erases target data, and a "learning" phase, which preserves the rest of the model's knowledge. This cascading approach acts as a regularizer, preventing "over-unlearning" and maintaining general model functionality.

The Cascaded Unlearning framework alternates between unlearning phases and learning phases to maintain model stability.

Key Innovations

  • Substitute Mechanism: Instead of leaving a void where the forgotten data used to be, the generator is trained to map the "forgotten" latent codes to a benign substitute, such as an average image or a projection. This preserves latent space continuity, ensuring the generator remains stable.
  • Fake Labeling: To train the discriminator to forget, the authors assign a fixed "fake label" (a low confidence score) to the unlearning images. This forces the discriminator to treat previously known training images as if they were unfamiliar.
The substitute mechanism redirects sensitive latent codes to non-sensitive average images to preserve latent space continuity.

The framework is versatile, supporting Few-Shot and Zero-Shot scenarios. In zero-shot cases, where original training data is unavailable, the raw GAN generates "learning" samples to anchor existing knowledge while the target data is unlearned.

Experimental Results

The researchers evaluated the approach on MNIST, CIFAR-10, and FFHQ datasets. The cascaded approach achieved massive efficiency gains, performing up to 284x faster than retraining from scratch for CIFAR-10.

Effectiveness was measured using the Area Under the Curve (AUC) metric, showing that the discriminator's ability to recognize unlearned images dropped significantly. This makes the model resistant to Membership Inference Attacks (MIA). Importantly, the model's intrinsic performance (measured by Frechet Inception Distance or FID) experienced negligible degradation for item unlearning, and generated images remained high-quality enough for downstream tasks.

Conclusion and Future Work

Unlearning in generative models is fundamentally about redirection rather than deletion. By re-mapping sensitive latent codes to non-sensitive representations, the model remains mathematically stable while effectively losing specific identities. While successful on images up to 256x256, scaling to extremely high resolutions (e.g., 1024x1024) and unlearning massive percentages of the training set remain areas for future exploration.

Summary updated

BibTeX
@article{sun2023generative,
  author = {Hui Sun and Tianqing Zhu and Wenhan Chang and Wanlei Zhou},
  title = {{Generative Adversarial Networks Unlearning}},
  journal = {IEEE Trans. Dependable Secur. Comput.},
  year = {2023},
}
Figure