计算机科学 > 机器学习
[提交于 2024年12月21日 (v1),最后修订于 2026年11月24日 (此版本, v5)]
标题:Forget Vectors at Play: Universal Input Perturbations Driving Machine Unlearning in Image Classification and Generation
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Machine unlearning (MU), which seeks to erase the influence of specific unwanted data from already-trained models, is becoming increasingly vital in model editing, particularly to comply with evolving data regulations like the "right to be forgotten". Conventional MU approaches are predominantly model-based, typically requiring retraining or fine-tuning the model's weights to meet unlearning requirements. In this work, we approach the MU problem from an input perturbation-based perspective, where the model weights remain intact throughout the unlearning process. We demonstrate the existence of a proactive input-based unlearning strategy, referred to forget vector, which can be generated as an input-agnostic data perturbation and remains as effective as model-based approximate unlearning approaches in both image classification and image generation. For image classification, we demonstrate that forget vector can induce effective class-wise and random data forgetting in frozen classifiers while preserving performance on retained data. We also explore forget vector arithmetic, whereby multiple class-specific forget vectors can be combined through simple operations (e.g., linear combinations) to generate new forget vectors for unseen unlearning tasks, such as forgetting arbitrary subsets across classes. For image generation, we extend forget vector to conditional diffusion models by jointly perturbing the noisy input and conditioning embeddings of frozen denoisers, enabling targeted removal of unwanted classes and concepts from generated outputs. Extensive experiments on both image classification and image generation validate the effectiveness and adaptability of the forget vector, showcasing its competitive performance relative to state-of-the-art model-based methods while achieving superior parameter efficiency.