arXiv:2501.01633cs.CV2025-01CVPR被引 18

让文生图模型在生成和编辑时都自动删除特定概念,防止侵权内容出现。

ACE: Anti-Editing Concept Erasure in Text-to-Image Models

  • 在生成与编辑阶段同时注入擦除引导,阻止目标概念出现。
  • 在多种编辑方法下(如LEDITS++、MasaCtrl),对版权角色擦除效果显著。
  • 适合需要内容安全控制的AI图像生成应用,如版权保护场景。

文本到图像扩散模型的进展极大提升了图像生成质量,但也引发非法生成有害内容(如盗用版权图像)的担忧。现有概念擦除方法虽能有效防止提示词中出现被擦除概念,但在编辑过程中表现不佳。为此,我们提出抗编辑概念擦除(ACE)方法,不仅在生成时擦除目标概念,还在编辑阶段进行过滤。具体地,将擦除引导注入条件与无条件噪声预测中,使模型在生成和编辑时均能有效防止擦除概念的出现。此外,训练中引入随机修正引导以缓解无关概念的侵蚀。我们在代表性编辑方法(LEDITS++ 和 MasaCtrl)上测试了对知识产权角色的擦除,结果表明ACE在两类编辑中均能有效过滤目标概念。对敏感内容及艺术风格的额外实验也显示,该方法优于当前最先进水平。代码将公开于 https://github.com/120L020904/ACE。

原文摘要 · Abstract (English)

Recent advance in text-to-image diffusion models have significantly facilitated the generation of high-quality images, but also raising concerns about the illegal creation of harmful content, such as copyrighted images. Existing concept erasure methods achieve superior results in preventing the production of erased concept from prompts, but typically perform poorly in preventing undesired editing. To address this issue, we propose an Anti-Editing Concept Erasure (ACE) method, which not only erases the target concept during generation but also filters out it during editing. Specifically, we propose to inject the erasure guidance into both conditional and the unconditional noise prediction, enabling the model to effectively prevent the creation of erasure concepts during both editing and generation. Furthermore, a stochastic correction guidance is introduced during training to address the erosion of unrelated concepts. We conducted erasure editing experiments with representative editing methods (i.e., LEDITS++ and MasaCtrl) to erase IP characters, and the results indicate that our ACE effectively filters out target concepts in both types of edits. Additional experiments on erasing explicit concepts and artistic styles further demonstrate that our ACE performs favorably against state-of-the-art methods. Our code will be publicly available at https://github.com/120L020904/ACE.

文生图概念擦除内容安全图像编辑

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。