TL;DR
Evaluating whether a diffusion model has truly "unlearned" a concept without collateral damage is notoriously difficult and manual. The authors introduce autoeval-dmun, an automated pipeline that leverages (Vision-)Language Models (V-LMs) to extract world knowledge, semantically rank neighboring concepts to quantify retention damage, and generate adversarial bypass prompts. Their results show that larger V-LMs reliably predict collateral damage patterns and easily craft circumvention prompts that defeat popular unlearning algorithms.
What Problem Does This Paper Address?
Text-to-image diffusion models often memorize copyrighted characters, artistic styles, or harmful material. While Machine Unlearning (MU) can theoretically erase targeted concepts without the immense cost of retraining from scratch, validating these methods poses two major challenges:
- Collateral Damage (Unlearning Locality): Erasing a concept (e.g., "Formula 1 car") often degrades generation quality for related concepts (e.g., "IndyCar" or "Grand Prix car"). Standard evaluations typically test either the target concept alone or treat all other concepts as a monolithic retain set.
- False Sense of Safety: Directly querying the model with the erased keyword might yield no target images, but users can easily bypass filters using misspellings or oblique descriptive prompts (jailbreaks) that still trigger the model’s residual visual knowledge.
Methods
The authors propose autoeval-dmun, an automated evaluation framework powered by the Llama family of language and vision-language models (Llama-3.1-8B, Llama-3.3-70B, and Llama-3.2-90B-Vision):
- Semantic Locality Ranking: Given a target concept, the V-LM brainstorms $n = 10$ neighboring concepts over 3 iterations, deduplicates them, and repeatedly ranks them by target relevance. The top-$k$ ($k = 10$) concepts are evaluated using Kernel Inception Distance (KID) between baseline and unlearned model generations (30 images per concept). The pipeline calculates the Spearman rank correlation ($r_s$) between V-LM relevance rank and empirical KID degradation.
- Automated Red-Teaming (Adversarial Prompts): The V-LM automatically generates two classes of adversarial prompts:
adv_miss: Creative and realistic misspellings (e.g.,Formul4 1 c4r).adv_evoke: Detailed descriptive scene prompts that evoke the concept's key visual features without ever using its name.- Automated Evaluation: An unlearned model generates images for each adversarial prompt. CLIP is used to classify whether the generated image still depicts the forbidden target rather than one of the $k = 10$ related retain concepts.
Datasets
The authors do not introduce a standard static benchmark dataset. Instead, the framework dynamically queries V-LMs to generate custom, structured evaluation plans (concepts, misspellings, and evoke prompts) for user-defined targets. Evaluated targets include:
- Objects: "Formula 1 car"
- Characters: "Mickey Mouse"
- Styles: "Van Gogh style"
Evaluated models include Stable Diffusion v1.4 (trained on LAION-5B) and FLUX.1-dev.
Key Insights and Ideas
- V-LM World Knowledge Mirrors Model Damage: Language models naturally arrange concepts in a similarity hierarchy that strongly tracks visual damage. When a model unlearns a concept, its nearest semantic neighbors consistently suffer the highest distribution shift (KID).
- Model Capability Directly Dictates Evaluation Quality: Larger, more capable assistant models (70B and 90B) generate conceptual rankings that correlate much more strongly with empirical damage ($r_s \approx -0.57$ to $-0.75$) than smaller models (8B, where $r_s \approx -0.12$ to $-0.35$).
- Concept Erasure is Brittle: Popular concept-erasure methods often remove direct keyword associations rather than the underlying generative representations, leaving models completely open to descriptive prompt-evasion attacks.
Key Results
- Adversarial Circumvention on SD v1.4:
- Testing ESD (Erasing Concepts from Diffusion Models) and Receler (REC) on "Mickey Mouse", every V-LM-crafted descriptive prompt produced a higher CLIP target prediction rate than the direct target prompt—in half the cases eliciting ~30% more target predictions.
- For "Van Gogh style", certain adversarial prompts increased target-style generation by 60% to 80% compared to baseline direct queries.
- Damage Correlation: On "Formula 1 car", the Spearman rank correlation between Llama-3.2-90B-Vision’s semantic similarity rankings and KID damage was $-0.672$ (ESD) and $-0.636$ (REC). On "Van Gogh style", REC exhibited a correlation of $-0.753$ with Llama-3.3-70B.
- Testing FLUX.1-dev + LoRA (Ablating Concepts): When ablating "Formula 1 car" toward the anchor concept "car", the direct target prompt dropped to 0% target predictions (down from 100% in base). However, V-LM adversarial prompts achieved up to a 20% success rate in forcing the model to generate an F1 car.
Limitations and Future Work
- Scope of Concepts: Experiments primarily focus on a handful of individual targets (Formula 1 car, Mickey Mouse, Van Gogh style) and unlearning baselines (ESD, REC, and Ablating Concepts).
- Metrics and Modalities: The quantitative assessment relies heavily on KID distributions (with relatively small sample sizes of 30 images) and CLIP zero-shot classification, which can carry its own perceptual biases.
- Future Work: The authors plan to expand the framework to incorporate broader metric suites and explore more structured, complex adversarial prompting strategies.
Summary updated