arXiv:2506.03117cs.CV2025-06CVPR被引 6

让CLIP模型忘记特定图像子集,不损失整体性能。

Targeted Forgetting of Image Subgroups in CLIP Models

  • 三阶段流程:遗忘-提醒-恢复,逐步清除指定知识
  • 在CIFAR-10、ImageNet等数据集上保留零样本能力
  • 无需原始训练数据,适合精准删减有害知识

基础模型如CLIP通过大规模无监督预训练,在各类任务中展现出优异的零样本性能。然而,它们常从噪声互联网数据中继承有害或不希望的知识,影响实际应用的可靠性。现有模型删忆方法要么依赖原始训练数据,要么仅支持粗粒度删忆(如整个类别),难以实现细粒度删忆。本文解决在无原始数据访问条件下,选择性删除某类别内特定子群知识的难题,同时保持模型整体性能。提出一种三阶段新方法:(1) 遗忘阶段,对需删忆样本微调CLIP;(2) 提醒阶段,恢复保留样本上的性能;(3) 恢复阶段,通过模型合奏恢复零样本能力。引入知识蒸馏缓解删忆样本、保留样本与未见预训练数据之间的分布差异。在CIFAR-10、ImageNet-1K和风格数据集上的大量实验表明,该方法能有效删忆特定子群知识,同时在语义相近子群及其他类别上保持强零样本性能,显著优于基线删忆方法,在CLIP删忆场景下表现更优。

原文摘要 · Abstract (English)

Foundation models (FMs) such as CLIP have demonstrated impressive zero-shot performance across various tasks by leveraging large-scale, unsupervised pre-training. However, they often inherit harmful or unwanted knowledge from noisy internet-sourced datasets, compromising their reliability in real-world applications. Existing model unlearning methods either rely on access to pre-trained datasets or focus on coarse-grained unlearning (e.g., entire classes), leaving a critical gap for fine-grained unlearning. In this paper, we address the challenging scenario of selectively forgetting specific portions of knowledge within a class, without access to pre-trained data, while preserving the model's overall performance. We propose a novel three-stage approach that progressively unlearns targeted knowledge while mitigating over-forgetting. It consists of (1) a forgetting stage to fine-tune the CLIP on samples to be forgotten, (2) a reminding stage to restore performance on retained samples, and (3) a restoring stage to recover zero-shot capabilities using model souping. Additionally, we introduce knowledge distillation to handle the distribution disparity between forgetting, retaining samples, and unseen pre-trained data. Extensive experiments on CIFAR-10, ImageNet-1K, and style datasets demonstrate that our approach effectively unlearns specific subgroups while maintaining strong zero-shot performance on semantically similar subgroups and other categories, significantly outperforming baseline unlearning methods, which lose effectiveness under the CLIP unlearning setting.

模型删忆CLIP知识管理细粒度控制

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。