arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.27719cs.CV
收藏

用于扩散模型概念擦除的推拉注意力锚定

Push-Pull Attentional Anchoring for Diffusion Concept Erasure

VISTEC(泰国东方科技学院);Chulalongkorn University(朱拉隆功大学)

Nattanat Chatthee, Tagon Sompong, Ekapol Chuangsuwanich, Supasorn Suwajanakorn

AI总结:

针对扩散模型概念擦除中现有方法导致语义漂移的问题,提出推拉注意力锚定(PPAA)机制,在Stable Diffusion v1.4及FLUX架构上实现了良好的概念擦除权衡。

摘要:

扩散模型的快速发展引发了对隐私、有害内容和版权侵犯的担忧。概念擦除方法旨在通过从预训练模型中移除不良概念来解决这些风险,而无需完全重新训练。然而,现有方法通常通过启发式强度缩放(例如无分类器引导或负面提示缩放)降低非目标生成质量,导致不受控制且过度的语义漂移。为解决这一问题,我们提出推拉注意力锚定(PPAA),这是一种在交叉注意力空间中的机制,可在通过有界余弦相似度约束锚定擦除规模的同时,置换目标表示。通过使用相对相似度比率而非绝对差值,我们的自适应阈值表示有意义的语义保留百分比,便于将单个值均匀应用于各层。我们在多个概念类别上进行了广泛实验,包括名人、艺术风格、裸体和知识产权。我们的方法在Stable Diffusion v1.4上与现有方法相比取得了良好的权衡,并证明了其对FLUX等现代架构的适用性。

英文摘要:

Rapid advances in diffusion models have raised concerns about privacy, harmful content, and copyright violations. Concept erasure methods aim to address these risks by removing undesirable concepts from pretrained models without full retraining. However, existing approaches often degrade non-target generation quality through heuristic strength scaling (e.g., classifier-free guidance or negative prompt scaling), leading to uncontrolled and excessive semantic drift. To address this, we propose Push-Pull Attentional Anchoring (PPAA), a mechanism in the cross-attention space that displaces target representations while anchoring the scale of erasure via bounded cosine-similarity constraints. By using a relative similarity ratio instead of an absolute difference, our adaptive threshold represents a meaningful percentage of semantic retention, facilitating a single value to be applied uniformly across layers. We conduct extensive experiments across multiple concept categories, including celebrities, artistic styles, nudity, and intellectual property. Our method achieves favorable trade-offs against prior approaches on Stable Diffusion v1.4 and demonstrates its applicability to modern architectures such as FLUX.

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

↑