TL;DR
Teaching a vision-language model like CLIP to "forget" a sensitive concept—say, weapons—without accidentally giving it amnesia about the laptop and table sitting next to them is surprisingly hard, especially when new deletion requests keep arriving over time. This paper introduces CMCT-G, a framework that surgically isolates what to erase across messy image–text pairs while preventing sequential deletions from reviving old concepts or degrading general knowledge.
What Problem Does This Paper Address?
Vision-language models learn by Vacuuming up the open internet, inevitably absorbing harmful, biased, or privacy-sensitive concepts. Because retraining from scratch is prohibitively expensive, machine unlearning tries to erase specific concepts after the fact.
However, existing unlearning methods mostly live in a laboratory bubble: they assume static, one-off deletions on object-centric data (like a clean photo of a single dog). Real-world safety policies evolve continuously, and real multimodal data is messy. The authors formalize Cross-Modal Continual Unlearning (CMCU), tackling two compounding shifts:
- Semantic-Centric Entanglement: Real image–text pairs contain co-occurring background objects and loose alignment (e.g., an image of laptops, guns, and a chair paired with a caption omitting the chair). Suppressing the whole pair causes collateral damage to innocent concepts.
- Sequential Instability: As deletion requests arrive one after another, errors accumulate—erasing a new concept can accidentally revive a previously forgotten one or degrade unrelated representations.
Methods
Keeping the CLIP backbone frozen, CMCT-G introduces two complementary guidance mechanisms:
- Cross-Modality Guidance (CM-G) [Training-Only]: To pinpoint only the target concept inside noisy data, CM-G uses purified signals from one modality to guide the other via cross-attention at each transformer layer. A clean prompt (e.g., "a close-up of a weapon") guides the vision encoder away from background clutter, while segmented target regions—extracted offline via Grounded-SAM—guide the text encoder to ignore unrelated words.
- Cross-Task Guidance (CT-G) [Modular Routing]: Each sequential deletion request gets its own lightweight LoRA adapter (low-rank weight updates) and a compact prototype summary (mean and covariance of its CM-G features). At inference, Grounded-SAM is no longer needed. Instead, CT-G measures the cross-modal Mahalanobis distance between a query–candidate pair and stored prototypes to dynamically weight the adapters. A built-in prototype-confidence gate ensures that if an input is far from all forgotten concepts, total adapter influence drops near zero—leaving the original CLIP representation intact.
Training balances a standard contrastive loss on retained pairs with a cosine-similarity suppression loss on CM-G-guided forget pairs.
Datasets
Because standard benchmarks rely on clean single-object images, the authors build two semantic-centric datasets, split into four continual benchmarks:
- UnSafeBench (
Single20andGroup7): Synthetic unsafe image–text pairs spanning 20 concepts (e.g., blood, weapons, harassment), generated via DPO-tuned LLaMA-2 and an NSFW diffusion model, filtered for CLIP alignment. - ObjectBench (
Single20andGroup5): A natural-image counterpart reorganized from MS-COCO (80 categories, 12 supercategories), featuring multi-object scenes and partial caption coverage.
Key Insights and Ideas
- Cross-modal purification actually disentangles features: Reconstructing images from CLIP's visual features (via Deep Image Prior) shows standard models encode peripheral laptops and tables right alongside guns; CM-G strips those away before the unlearning loss ever fires.
- Giving baselines clean masks isn't enough: Feeding Grounded-SAM crops and clean prompts directly into existing methods improves them, yet they still trail CMCT-G—proving cross-modal attention injection is doing the heavy lifting, not just extra supervision.
- Confidence gating stops "death by a thousand adapters": Without gating, stacking 20 sequential adapters steadily erodes unrelated concepts. Scaling adapter strength by prototype proximity lets related concepts share knowledge (like blood and suicide) while insulating safe queries.
Key Results
Evaluated on CLIP-ViT-Large/14 (tuning just 1.71% of parameters), CMCT-G outperforms continual learning, static unlearning, and continual unlearning baselines across all four benchmarks:
- UnSafeBench-Single20: Slashes forgotten-concept text-to-image retrieval ($\mathcal{F}_B$, lower is better) from 95.20% down to 17.50% (vs. 28.40% for Hyperbolic Safe-CLIP and 35.97% for FG-OrIU), while retaining 62.40% accuracy on unrelated concepts ($\mathcal{R}_B$, vs. 66.60% pretrained).
- ObjectBench-Single20: Achieves 21.29% text-to-image forgetting and 68.37% retention, plus the best zero-shot classification trade-off (18.9% forget / 66.9% retain accuracy).
- Stability: Across 20 sequential tasks, early-deleted concepts stay suppressed without rebounding, and results remain stable across reversed or randomized task orders.
Limitations and Future Work
- Grounding bottlenecks: Grounded-SAM excels on concrete objects (weapons), but struggles with abstract, contextual concepts (hate, harassment). When no mask is found, CMCT-G falls back to the raw image.
- Linear scaling: Storing one adapter per task adds ~33 MiB each, and full prototype routing roughly doubles inference latency and peak GPU memory from 1 to 20 tasks (9.2 ms to 18.8 ms/pair). Future work aims to explore top-$k$ routing, adapter merging/pruning, and stronger grounding models.
- Benchmark scope: UnSafeBench is synthetic (carrying potential generation biases), and retrieval metrics may need stronger auditing before high-stakes deployment.
Summary updated