arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2312.12807cs.CVcs.AI
收藏

除一之外全部保留:文本到图像扩散模型中的外科手术式概念擦除与模型保持

All but One: Surgical Concept Erasing with Model Preservation in Text-to-Image Diffusion Models

Sungkyunkwan University(成均馆大学)

Seunghoo Hong, Juhun Lee, Simon S. Woo

AI总结:

本文提出一种基于分类器引导的外科手术式概念擦除方法,通过约束无条件得分项漂移,在有效擦除目标概念的同时保持模型生成能力,并支持用户选择替代概念。

摘要:

诸如稳定扩散之类的文本到图像模型,由于利用了大规模数据集,展现出了令人印象深刻的图像生成合成能力。然而,这些数据集可能包含露骨色情、受版权保护或不受欢迎的内容,这使得模型能够直接生成这些内容。鉴于在这些大型模型上针对单个概念删除请求进行重新训练是不可行的,因此开发了微调算法来应对扩散模型中的概念擦除。虽然这些算法取得了良好的概念擦除效果,但它们都存在以下问题之一:1)被破坏的特征空间导致生成破碎的对象;2)最初合成的内容在生成图像的空间结构和语义上发生分歧;3)次优的训练更新加剧了模型对实用性损害的敏感性。这些问题严重降低了生成模型原有的实用性。在这项工作中,我们提出了一种解决所有这些挑战的新方法。我们从分类器引导的概念中汲取灵感,提出对分类器引导项进行外科手术式更新,同时约束无条件得分项的漂移。此外,我们的算法使用户能够选择擦除概念的替代方案,从而实现更强的可控性。我们的实验结果表明,我们的算法不仅有效地擦除了目标概念,而且保持了模型的生成能力。

英文摘要:

Text-to-Image models such as Stable Diffusion have shown impressive image generation synthesis, thanks to the utilization of large-scale datasets. However, these datasets may contain sexually explicit, copyrighted, or undesirable content, which allows the model to directly generate them. Given that retraining these large models on individual concept deletion requests is infeasible, fine-tuning algorithms have been developed to tackle concept erasing in diffusion models. While these algorithms yield good concept erasure, they all present one of the following issues: 1) the corrupted feature space yields synthesis of disintegrated objects, 2) the initially synthesized content undergoes a divergence in both spatial structure and semantics in the generated images, and 3) sub-optimal training updates heighten the model's susceptibility to utility harm. These issues severely degrade the original utility of generative models. In this work, we present a new approach that solves all of these challenges. We take inspiration from the concept of classifier guidance and propose a surgical update on the classifier guidance term while constraining the drift of the unconditional score term. Furthermore, our algorithm empowers the user to select an alternative to the erasing concept, allowing for more controllability. Our experimental results show that our algorithm not only erases the target concept effectively but also preserves the model's generation capability.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑