2025-04-18 · 专家 · 机器学习 · 计算机视觉

Set You Straight: Auto-Steering Denoising Trajectories to Sidestep Unwanted Concepts

该论文提出了一种名为ANT的自动引导去噪轨迹的框架,旨在通过避免不希望的概念来提高文本到图像模型中概念擦除的有效性和安全性。

更新于 2025-04-18。作者:Leyang Li、Shilin Lu、Yan Ren、Adams Wai-Kin Kong。

中文摘要

确保文本到图像模型的道德部署需要有效的技术来防止生成有害或不适当的内容。虽然概念擦除方法提供了一个有希望的解决方案,但现有的基于微调的方法存在明显的局限性。无锚点方法可能会干扰采样轨迹,导致视觉伪影,而基于锚点的方法则依赖于启发式地选择锚点概念。为了克服这些缺点,我们介绍了一个微调框架,名为ANT,它能够自动引导去噪轨迹以避免不希望的概念。ANT基于一个关键洞察:在中后期去噪阶段反转无分类器引导的条件方向,可以在不牺牲早期阶段结构完整性的情况下实现精确的内容修改。这启发了一个轨迹感知目标,它保留了早期阶段得分函数场的完整性,引导样本向自然图像流形发展,而不依赖于启发式锚点概念的选择。对于单概念擦除,我们提出了一种增强型权重显著性图,以精确识别对不希望的概念贡献最大的关键参数,从而实现更彻底和高效的擦除。对于多概念擦除,我们的目标函数提供了一种灵活的即插即用解决方案,显著提升了性能。广泛的实验表明,ANT在单概念和多概念擦除方面都实现了最先进的结果,提供了高质量的、安全的输出,同时不牺牲生成保真度。代码可在https://github.com/lileyang1210/ANT获取。

英文摘要

Ensuring the ethical deployment of text-to-image models requires effective techniques to prevent the generation of harmful or inappropriate content. While concept erasure methods offer a promising solution, existing finetuning-based approaches suffer from notable limitations. Anchor-free methods risk disrupting sampling trajectories, leading to visual artifacts, while anchor-based methods rely on the heuristic selection of anchor concepts. To overcome these shortcomings, we introduce a finetuning framework, dubbed ANT, which Automatically guides deNoising Trajectories to avoid unwanted concepts. ANT is built on a key insight: reversing the condition direction of classifier-free guidance during mid-to-late denoising stages enables precise content modification without sacrificing early-stage structural integrity. This inspires a trajectory-aware objective that preserves the integrity of the early-stage score function field, which steers samples toward the natural image manifold, without relying on heuristic anchor concept selection. For single-concept erasure, we propose an augmentation-enhanced weight saliency map to precisely identify the critical parameters that most significantly contribute to the unwanted concept, enabling more thorough and efficient erasure. For multi-concept erasure, our objective function offers a versatile plug-and-play solution that significantly boosts performance. Extensive experiments demonstrate that ANT achieves state-of-the-art results in both single and multi-concept erasure, delivering high-quality, safe outputs without compromising the generative fidelity. Code is available at https://github.com/lileyang1210/ANT

解读

一句话总结

该论文提出了一种名为ANT的自动引导去噪轨迹的框架,旨在通过避免不希望的概念来提高文本到图像模型中概念擦除的有效性和安全性。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源