CLIPErase: Efficient Unlearning of Visual-Textual Associations in CLIP
Tianyu Yang, Lisen Dai, Xiangqi Wang, Minhao Cheng, Yapeng Tian, Xiangliang Zhang
TL;DR
This work introduces CLIPErase, a three-module framework (Forgetting, Retention, Consistency) for targeted unlearning in pretrained CLIP, enabling removal of specific visual-textual associations without retraining. By jointly optimizing a forgetting objective on the forget set, a retention objective on the retain set, and a consistency regularization across modalities, CLIPErase achieves near-zero forget-set accuracy while preserving high performance on retained data across zero-shot, retrieval, and diffusion-generation tasks. Experiments on CIFAR-100, Conceptual 12M, and Flickr30K demonstrate precise, scalable forgetting and strong generalization to other VLMs like BLIP, as well as diffusion-model integration for controlled image generation. The results show practical potential for privacy, intellectual property protection, and bias mitigation in multimodal learning, while acknowledging the need for dedicated MU benchmarks and future extensions to broader generative models.
Abstract
Machine unlearning (MU) has gained significant attention as a means to remove specific data from trained models without requiring a full retraining process. While progress has been made in unimodal domains like text and image classification, unlearning in multimodal models remains relatively underexplored. In this work, we address the unique challenges of unlearning in CLIP, a prominent multimodal model that aligns visual and textual representations. We introduce CLIPErase, a novel approach that disentangles and selectively forgets both visual and textual associations, ensuring that unlearning does not compromise model performance. CLIPErase consists of three key modules: a Forgetting Module that disrupts the associations in the forget set, a Retention Module that preserves performance on the retain set, and a Consistency Module that maintains consistency with the original model. Extensive experiments on the CIFAR-100 and Flickr30K datasets across four CLIP downstream tasks demonstrate that CLIPErase effectively forgets designated associations in zero-shot tasks for multimodal samples, while preserving the model's performance on the retain set after unlearning.
