[Paper Review] Unlearning Concepts in Diffusion Model via Concept Domain Correction and Concept Preserving Gradient
This paper proposes a novel approach to unlearning sensitive concepts in text-to-image diffusion models by combining concept domain correction via adversarial training and concept-preserving gradient surgery. It achieves generalized unlearning of target concepts—such as Van Gogh’s style or explicit content—while minimizing performance degradation on unrelated concepts, outperforming prior methods in both unlearning effectiveness and model utility preservation.
Text-to-image diffusion models have achieved remarkable success in generating photorealistic images. However, the inclusion of sensitive information during pre-training poses significant risks. Machine Unlearning (MU) offers a promising solution to eliminate sensitive concepts from these models. Despite its potential, existing MU methods face two main challenges: 1) limited generalization, where concept erasure is effective only within the unlearned set, failing to prevent sensitive concept generation from out-of-set prompts; and 2) utility degradation, where removing target concepts significantly impacts the model's overall performance. To address these issues, we propose a novel concept domain correction framework named extbf{DoCo} ( extbf{Do}main extbf{Co}rrection). By aligning the output domains of sensitive and anchor concepts through adversarial training, our approach ensures comprehensive unlearning of target concepts. Additionally, we introduce a concept-preserving gradient surgery technique that mitigates conflicting gradient components, thereby preserving the model's utility while unlearning specific concepts. Extensive experiments across various instances, styles, and offensive concepts demonstrate the effectiveness of our method in unlearning targeted concepts with minimal impact on related concepts, outperforming previous approaches even for out-of-distribution prompts.
Motivation & Objective
- Address the generalization gap in machine unlearning for diffusion models, where unlearning fails on prompts outside the training scope.
- Mitigate the utility drop caused by concept unlearning, which degrades performance on non-target concepts.
- Enable effective unlearning of sensitive concepts such as copyrighted styles (e.g., Van Gogh) or explicit content (e.g., nudity) without retraining from scratch.
- Improve robustness to implicit or semantically related prompts (e.g., 'Starry Night' for Van Gogh) that previous methods fail to unlearn.
- Preserve model performance on unrelated concepts during unlearning, ensuring minimal disruption to overall generative quality.
Proposed method
- Introduce a concept domain correction framework using adversarial training to align the output distributions of target concepts and anchor concepts, enhancing generalization.
- Apply gradient surgery to identify and remove conflicting components between the unlearning gradient and the relearning gradient, preserving model utility.
- Use a concept-preserving gradient scheme that selectively modifies the unlearning update to avoid damaging non-target concept representations.
- Leverage a pre-defined anchor concept (e.g., a neutral or generic style) to guide the domain alignment process and stabilize unlearning.
- Train the model to minimize the distance between generated outputs of target and anchor concepts while maintaining fidelity to other concepts.
- Integrate the method into the diffusion model’s denoising process, enabling unlearning without full retraining.
Experimental results
Research questions
- RQ1Can adversarial domain alignment between target and anchor concepts improve the generalization of unlearning beyond the specific prompts used during training?
- RQ2To what extent can gradient surgery reduce the conflict between unlearning and relearning objectives, thereby preserving model utility?
- RQ3How effective is the proposed method in unlearning implicit or semantically related concepts (e.g., 'Starry Night' for Van Gogh) compared to prior approaches?
- RQ4Does the concept-preserving gradient mechanism outperform standard L2 regularization in maintaining performance on non-target concepts?
- RQ5Can the method achieve strong unlearning of sensitive content (e.g., nudity, copyrighted styles) while maintaining high FID and CLIP scores?
Key findings
- The proposed method reduced sensitive content generation by 75.67% on the I2P benchmark, significantly outperforming ESD and ConAbl and approaching SPM’s performance while better mitigating exposure of specific body parts.
- The method achieved a 74.29% CS (conceptual similarity) reduction for the target concept 'Van Gogh' while maintaining a CA (conceptual accuracy) of 93.01% for non-target concepts, indicating strong utility preservation.
- In ablation studies, the concept-preserving gradient outperformed L2 regularization, achieving a 52.27 FID score (vs. 107.59 with L2) and higher CA and CS metrics across all tested concepts.
- The method successfully unlearned implicit prompts such as 'Starry Night'—a case where prior methods failed—demonstrating superior generalization beyond direct prompt matching.
- The combination of domain correction and gradient surgery led to a 49.29% L2 loss and 209.92 FID score in the unlearning of 'Snoopy', showing effective balance between forgetting and utility.
- The method maintained high performance on non-target concepts (e.g., 90.38 CA for 'Mickey'), confirming that the concept-preserving gradient effectively minimizes unintended performance degradation.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.