Towards Machine Unlearning Benchmarks: Forgetting the Personal Identities in Facial Recognition Systems

Dasol Choi, Dongbin NaarXiv 2023

Abstract

Machine unlearning is a crucial tool for enabling a classification model to forget specific data used during training. Recently, various studies have presented machine unlearning algorithms and evaluated them on several datasets. However, most current algorithms are evaluated solely on traditional computer vision datasets like CIFAR-10 or MNIST, typically in a "class-unlearning" setup. This setup, where entire categories are forgotten, often fails to generalize to real-world privacy scenarios. In this work, we propose a machine unlearning setting that aims to unlearn specific instances containing personal identities while maintaining the model's original task. We introduce two benchmark datasets, MUFAC and MUCAC, to evaluate the performance and robustness of unlearning algorithms in realistic facial recognition tasks. Our results highlight the challenges of task-agnostic instance unlearning and provide a baseline for future research.

The Challenge: Class-Unlearning vs. Instance Unlearning

As privacy regulations like the "right to be forgotten" gain traction, Machine Unlearning (MU) has become a vital research area. The goal is to remove the influence of specific training data from a pre-trained model without retraining from scratch.

Most existing research focuses on class-unlearning, where a model is asked to forget an entire category (e.g., "forget all images of cars"). While useful for some applications, this does not address common real-world privacy requests. For example, if an individual requests their data be removed from an age-estimation system, the system should not lose the ability to recognize that age group entirely; it should only forget that specific individual's face.

Comparison between traditional class-unlearning and the proposed task-agnostic instance unlearning.

The authors propose task-agnostic instance unlearning. In this setting, the model's primary task (e.g., age classification) remains unchanged, but specific private identities (instances) are scrubbed. This is significantly more challenging as the model must retain general features while purging specific identity-linked information.

Benchmarking Realistic Unlearning: MUFAC and MUCAC

To bridge the gap between toy datasets and real-world applications, the authors introduced two new benchmarks:

  1. MUFAC (Machine Unlearning for Facial Age Classifier): A dataset of over 13,000 Asian facial images. The task is 8-class age estimation. The unlearning goal is to forget specific personal identities.
  2. MUCAC (Machine Unlearning for Celebrity Attribute Classifier): Derived from CelebA, containing 30,000 images. The task is multi-label classification (gender, age, smiling) while forgetting specific celebrity identities.

These datasets are carefully partitioned into "forget," "retain," and "unseen" sets to ensure no identity overlap, preventing data leakage during evaluation.

Methodology and Metrics

The study evaluates several state-of-the-art (SOTA) unlearning algorithms, including Fine-tuning, Negative Gradient (NegGrad), UNSIR, and SCRUB. They also introduce Advanced NegGrad, a hybrid method that combines fine-tuning on retained data with gradient ascent on forgotten data within the same training batches.

Conceptual overview of the goals of machine unlearning: achieving ordinary activation for forgotten data while maintaining high test accuracy.

To measure success, the authors use the Normalized Machine Unlearning Score (NoMUS). This metric balances:

  • Model Utility: Accuracy on the original classification task.
  • Forgetting Score: Evaluated via a Membership Inference Attack (MIA). A successful unlearning algorithm makes "forgotten" data indistinguishable from "unseen" data to an attacker.

Key Insights and Results

The experiments revealed several critical findings:

  • SOTA Fragility: Algorithms that excel on CIFAR-10 often struggle with realistic facial tasks. Some methods achieve "forgetting" by simply degrading the entire model's performance.
  • The Utility-Privacy Trade-off: There is a clear tension between maintaining accuracy and ensuring privacy. Standard NegGrad often "over-forgets," causing significant drops in general accuracy (e.g., from 60% to 40% on MUFAC).
  • Advanced NegGrad Performance: The authors' hybrid approach provided a superior balance, achieving the highest NoMUS score (0.6863) on MUFAC by effectively improving the forgetting score without catastrophic utility loss.
  • The Retraining Gold Standard: While retraining from scratch is the most private option, its computational cost remains a barrier, emphasizing the need for efficient MU algorithms that can approximate this "gold standard."

Conclusion

This work shifts the focus of machine unlearning from simple class-removal to the more realistic and difficult task of instance-level identity forgetting. By providing the MUFAC and MUCAC benchmarks, the authors offer a rigorous framework for evaluating how well models can respect individual privacy while remaining useful. Future research should extend these benchmarks to generative models and large language models, where the risks of personal data leakage are increasingly complex.

All datasets, source codes, and trained models are publicly available at https://github.com/ndb796/MachineUnlearning.

Summary updated

BibTeX
@misc{choi2023towards,
  author = {Dasol Choi and Dongbin Na},
  title = {{Towards Machine Unlearning Benchmarks: Forgetting the Personal Identities in Facial Recognition Systems}},
  year = {2023},
  eprint = {2311.02240},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2311.02240},
}
Figure