MUC: Machine Unlearning for Contrastive Learning with Black-box Evaluation

Yihan Wang, Yiwei Lu, Guojun Zhang, Franziska Boenisch, Adam Dziedzic +2 more
6/5/2024
cs.LG

Official code: EhanW/Alignment-Calibration (3 stars, last commit 2024-10-01).

Abstract

Machine unlearning offers effective solutions for revoking the influence of specific training data on pre-trained model parameters. While existing approaches address unlearning for classification and generative models, they overlook an important category of machine learning models: contrastive learning (CL) methods. This paper addresses this gap by introducing the Machine Unlearning for Contrastive Learning (MUC) framework and adapting existing methods. We identify limitations in current approaches, noting that several methods perform inadequately as unlearners and that existing evaluation tools insufficiently validate unlearning effects in contrastive learning. To address these issues, we propose Alignment Calibration (AC), a novel method that explicitly considers contrastive learning properties and optimizes towards new auditing metrics for easy verification of unlearning. Through empirical comparisons with baseline methods on SimCLR, MoCo, and CLIP, we demonstrate that AC: (1) achieves state-of-the-art performance, approximating exact unlearning (retraining); (2) enables data owners to clearly visualize unlearning effects through black-box evaluation. The code is available at https://github.com/EhanW/Alignment-Calibration.

View on arXivView PDF

Code Implementations(1)

30PythonMay 22, 20242 years ago

Similar Papers

Cite this paper

@article{wang2024muc,
  title  = {MUC: Machine Unlearning for Contrastive Learning with Black-box Evaluation},
  author = {Yihan Wang and Yiwei Lu and Guojun Zhang and Franziska Boenisch and Adam Dziedzic and Yaoliang Yu and Xiao-Shan Gao},
  year   = {2024},
  eprint = {2406.03603},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.03603v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.03603.svg)](https://codeofpaper.com/paper/2406.03603)

Discussion