Contrastive Representation Learning for Robust Concept Erasure in Diffusion Models
Samuel SimkoRishit DagliChangling LiArth SinghZhijing JinBernhard Schölkopf
Samuel Simko
Rishit Dagli
Changling Li
Arth Singh
Zhijing Jin
Bernhard Schölkopf
+6
CIRCE (Contrastive Image-Representation Concept Erasure) reshapes the internal representations of pretrained text-to-image diffusion models through contrastive learning, fine-tuning the model to retain benign concepts while treating harmful concepts as negative examples for unlearning. Evaluated on objects, artistic styles, and nudity with Stable Diffusion and Qwen-Image-2.1, it achieves the highest mean across six erasure and retention metrics on UnlearnCanvas, resists adaptive prompt search for nudity erasure better than any method preserving high image quality, and under white-box embedding attacks is more robust than most methods, with only such attacks recovering the concept often on Stable Diffusion. This robustness comes at some cost to preservation on benign prompts close to the erased concept, placing CIRCE on the robustness–preservation Pareto frontier; a 24-annotator human study finds the best observed preservation on general prompts for both backbones, supporting direct representation reshaping as a promising route to robust concept erasure.

OpenReview · September 6, 2026