Awesome
<div align='center'>Challenging Forgets: Unveiling the Worst-Case Forget Sets in Machine Unlearning
<table align="center"> <tr> <td align="center"> <img src="assets/teaser.jpeg" alt="Teaser Figure" style="width: 700px;"/> <br> <em style="font-size: 18px;"> <strong style="font-size: 18px;">Figure 1:</strong> An overview of unlearning under worst-case forget set vs. random forget set.</em> </td> </tr> </table> </div>Welcome to the official repository of the ECCV 2024 paper "Challenging Forgets: Unveiling the Worst-Case Forget Sets in Machine Unlearning".
Abstract
The trustworthy machine learning (ML) community is increasingly recognizing the crucial need for models capable of selectively 'unlearning' data points after training. This leads to the problem of machine unlearning (MU), aiming to eliminate the influence of chosen data points on model performance, while still maintaining the model's utility post-unlearning. Despite various MU methods for data influence erasure, evaluations have largely focused on random data forgetting, ignoring the vital inquiry into which subset should be chosen to truly gauge the authenticity of unlearning performance. To tackle this issue, we introduce a new evaluative angle for MU from an adversarial viewpoint. We propose identifying the data subset that presents the most significant challenge for influence erasure, i.e., pinpointing the worst-case forget set. Utilizing a bi-level optimization principle, we amplify unlearning challenges at the upper optimization level to emulate worst-case scenarios, while simultaneously engaging in standard training and unlearning at the lower level, achieving a balance between data influence erasure and model utility. Our proposal offers a worst-case evaluation of MU's resilience and effectiveness. Through extensive experiments across different datasets (including CIFAR-10, 100, CelebA, Tiny ImageNet, and ImageNet) and models (including both image classifiers and generative models), we expose critical pros and cons in existing (approximate) unlearning strategies. Our results illuminate the complex challenges of MU in practice, guiding the future development of more accurate and robust unlearning algorithms.
Quick start
- The worst-case forget set on data-wise unlearning
- The worst-case forget set on prompt-wise unlearning
- The worst-case forget set on class-wise unlearning
Using indices directly
- The indices of the worst-case forget set are available here.
- The format of the indices is a list, named as
{dataset name}_{forgetting data amount}_forget/remain
.
train_set = CIFAR10(data_dir, train=True, transform=train_transform, download=True)
# load the indices of the worst-case forget set
with open('cifar10_4500_forget.pkl', 'rb') as f:
forget_idx = pickle.load(f)
forget_set = Subset(train_set, forget_idx)
Supplementary materials
For appendix in ECCV camera-ready version, please refer to pdfs/appendix.pdf.
Contributors
Cite this work
@misc{fan2024challenging,
title={Challenging Forgets: Unveiling the Worst-Case Forget Sets in Machine Unlearning},
author={Chongyu Fan and Jiancheng Liu and Alfred Hero and Sijia Liu},
year={2024},
eprint={2403.07362},
archivePrefix={arXiv},
primaryClass={cs.LG}
}