arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2412.07658cs.CVcs.AIcs.LG
收藏

TraSCE:用于概念擦除的轨迹引导

Rethinking Negative Prompting for Concept Suppression: Unconditional Anchoring and Localized Guidance

New York University(纽约大学);Sony AI(索尼人工智能公司);Sony Group Corporation(索尼集团公司)

Anubhav Jain, Takashi Shibuya, Yuya Kobayashi, Yuhta Takida, Nasir Memon, Julian Togelius, Yuki Mitsufuji

AI总结:

针对扩散模型有害概念易被越狱绕过的问题,本文提出无需训练的 TraSCE,通过改进负面提示和局部损失引导扩散轨迹,在有害内容、艺术风格与对象擦除基准上达到最先进性能。

摘要:

文本到图像扩散模型的最新进展使其进入公众视野,并被日常用户广泛获取和接受。然而,这些模型已被证明会生成有害内容,例如不适合工作场所(NSFW)的图像。尽管已有方法被提出用于从模型中擦除这类抽象概念,但越狱技术已成功绕过此类安全措施。本文提出 TraSCE,这是一种引导扩散轨迹远离有害内容生成的方法。该方法基于负面提示,但正如本文所示,一种被广泛使用的负面提示策略并不是完整解决方案,在某些边缘情况下很容易被绕过。为解决这一问题,我们首先提出使用一种特定形式的负面提示,而非广泛使用的形式。此外,我们引入了一种基于局部损失的引导,通过引导扩散轨迹来增强改进后的负面提示技术。我们证明,所提方法在去除有害内容(包括红队提出的基准)以及擦除艺术风格和对象的各类基准上均取得最先进结果。所提方法不需要任何训练、权重修改或训练数据(图像或提示),使模型所有者更容易擦除新概念。

英文摘要:

Text-to-image diffusion models have rapidly transitioned from research prototypes to widely deployed tools. Along with their impressive capabilities, these models can also generate harmful or undesirable content (e.g., NSFW imagery), motivating practical mechanisms for removing such concepts. Negative prompting, which uses the negative-prompt prediction as the guidance anchor, is among the most widely used mechanisms for steering sampling trajectories away from unwanted concepts. However, for jailbreak prompts, it can fail in a regime we refer to as \emph{guidance collapse}, where the model's denoising predictions for the prompt and negative prompt become similar, so that the guidance difference driving negative prompting vanishes and the guided prediction degenerates to the negative-prompt prediction, undermining suppression. To fix this issue, we propose TraSCE (Trajectory Steering for ConcEpt Suppression), a training-free inference-time method that makes negative prompting reliable under guidance collapse. TraSCE combines two complementary components: (i) unconditional anchoring, which makes the fallback under guidance collapse a neutral unconditional prediction rather than the negative-prompt prediction, and (ii) an alignment-localized steering step, which deliberately induces this collapse for adversarial prompts and steers the sample to the unconditional fallback, while remaining minimally intrusive on benign prompts. We evaluate TraSCE on adversarial prompt benchmarks targeting nudity and violence, and further demonstrate its applicability to suppressing artistic styles and objects. Across these settings, TraSCE substantially improves the robustness of negative prompting to jailbreak prompts without any training, weight updates, or pre-collected concept-specific data (prompts or images), while keeping the impact on general image quality small.

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

↑