Machine learning models have a memory problem. When trained on massive crawls of the internet, models like CLIP often soak up copyrighted material, private data, or biased content. "Machine unlearning" is the field dedicated to scrubbing this specific knowledge without the astronomical cost of retraining the model from scratch.
However, unlearning is a delicate surgery. If you push the model too hard to forget, you might accidentally "lobotomize" its general utility. A new paper from researchers at Sogang University and KAIST, titled "Alignment-aware Data Selection for Unlearning in Contrastive Vision-Language Models," suggests that the secret to successful unlearning isn't just the algorithm you use, but the specific samples you choose to show the model during the "forgetting" process.
TL;DR
The authors introduce ALISE, a framework that improves machine unlearning by carefully selecting which samples to use in the "forget set." By choosing samples that represent the target knowledge well but don't overlap with the knowledge we want to keep, ALISE achieves superior forgetting with minimal impact on model utility across tasks like image retrieval and text-to-image generation.
What Problem Does This Paper Address?
Most current research focuses on how to update model parameters to forget (e.g., gradient ascent on the data you want to remove). But the authors noticed a glaring inconsistency: even using the same algorithm, unlearning performance varies wildly depending on which specific subset of the "forget set" is used.
In high-dimensional models like Contrastive Vision-Language Models (VLMs), parameters are "entangled." Knowledge about a specific celebrity might be stored in the same weights used for general face recognition. If you try to unlearn that celebrity using the wrong data samples, you risk damaging the model's ability to recognize faces entirely. The challenge is finding the "purest" samples for unlearning—those that target the specific knowledge to be removed while leaving the "retain set" (the stuff we want to keep) untouched.
Methods
The authors propose ALISE (ALignment-aware data SElection). Instead of using the full forget set or a random subset, ALISE evaluates every potential forget sample based on two scores:
- Retain Alignment ($s_r$): This measures how much a sample’s gradient aligns with the gradients of the "retain set." A high score means the sample is "entangled" with useful knowledge. ALISE looks for samples with low $|s_r|$.
- Forget Alignment ($s_f$): This measures how well a sample represents the "full forget set" (the total knowledge we want to erase). ALISE looks for samples with high $s_f$.
To balance these often-conflicting goals, ALISE uses Pareto front optimization. It identifies samples that offer the best possible trade-off between being highly representative of the forget target and minimally intrusive to the retain set. It then uses Non-Dominated Sorting (NDS) to pick a sufficient number of these "optimal" samples to form a new, refined forget set.
Crucially, ALISE uses representation gradients (gradients of the embeddings) rather than parameter gradients. This makes the selection process significantly faster and more computationally efficient.
Datasets
The researchers validated ALISE across a diverse battery of benchmarks:
- Retain Set: A subset of LAION-400M (approx. 7,900 pairs).
- Open-Vocabulary Classification: Identity Unlearning (IU) (removing celebrity identities) and StanfordCars (fine-grained car models).
- Image-Text Retrieval: Flickr30k.
- Text-to-Image (T2I): UnlearnCanvas, targeting 50 artistic styles and 20 object concepts.
- MLLMs: Evaluated using MMBench to ensure general reasoning remains intact.
Key Insights and Ideas
- The "Aha" Moment: Randomly sampling just 10% of a forget set can lead to a 40% swing in unlearning accuracy. This proves that data selection is a primary bottleneck in unlearning research that has been largely ignored.
- Entanglement is the Enemy: The paper formalizes the idea that some samples are "noisier" than others. By avoiding samples that align too closely with the retain set, you can apply stronger unlearning gradients without breaking the model.
- Multimodal Synergy: The authors found that concatenating vision and text gradients is essential. Evaluating them separately fails to capture how VLMs truly "understand" the relationship between the two modalities.
Key Results
ALISE consistently outperformed full-set unlearning and other state-of-the-art selection methods (like RUM or UPCORE) across five different unlearning algorithms:
- Superior Forgetting: In Open-Vocabulary Classification (OVC), ALISE reduced Forget Accuracy ($Acc_F$) to near zero in several cases. For example, using the GAFT algorithm on the IU dataset, ALISE dropped $Acc_F$ from 15.0% (baseline) to 1.0%.
- Utility Preservation: While other methods often saw a significant drop in general performance, ALISE kept the "Retain Accuracy" drop within a strict 5% limit.
- Qualitative Success: In MLLM tests (LLaVA), when asked to identify a forgotten celebrity like Lady Gaga, a baseline-unlearned model might still name her. An ALISE-unlearned model instead provides a generic, safe description like "a woman with blonde hair."
- Efficiency: Using representation gradients allowed ALISE to perform selection in seconds, whereas parameter-based methods took nearly 20 minutes for the same task.
Limitations and Future Work
The authors note that ALISE doesn't currently have a way to automatically determine the optimal "budget" (the exact number of samples to select). Users have to choose how many "Pareto layers" to include.
Looking forward, the authors suggest a "dual" approach: just as they select the best samples to forget, future frameworks could also select the most critical samples to protect within the retain set, further narrowing the gap between approximate unlearning and the gold standard of full retraining.
Summary updated