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

邻域感知的局部概念擦除在文本到图像扩散模型中

Neighbor-Aware Localized Concept Erasure in Text-to-Image Diffusion Models

McGill University(麦吉尔大学);Mila - Quebec AI Institute(米拉-魁北克人工智能研究所);EPFL(瑞士联邦理工学院洛桑分校)

Zhuan Shi, Alireza Dehghanpour Farashah, Rik de Vries, Golnoosh Farnadi

AI总结:

本文提出一种无需训练的框架,用于在移除目标概念的同时保护邻域概念。通过三个阶段处理:谱加权嵌入调节、注意力引导的空间门控和空间门控硬擦除,实现局部概念移除并保持周围概念结构。

摘要:

在文本到图像扩散模型中,概念擦除旨在在保持整体生成能力的同时移除不需要的概念。局部擦除方法旨在将编辑限制在目标概念所占据的空间区域。然而,我们发现抑制一个概念可能会无意中削弱语义相关的邻近概念,从而在细粒度领域降低保真度。我们提出邻域感知的局部概念擦除(NLCE),一种无需训练的框架,旨在更好地保护邻近概念的同时移除目标概念。它分三个阶段操作:(1)谱加权嵌入调节,通过削弱目标概念方向并稳定邻近概念表示;(2)注意力引导的空间门控,识别表现出残留概念激活的区域;(3)空间门控硬擦除,仅在必要时消除剩余痕迹。这种邻域感知的流程实现了局部概念移除同时保持周围概念邻域结构。在细粒度数据集(牛津花朵、斯坦福狗)上的实验表明,我们的方法有效移除目标概念并更好地保留密切相关类别。此外,在名人身份、显性内容和艺术风格上的额外结果展示了其在更广泛擦除场景中的鲁棒性和泛化能力。

英文摘要:

Concept erasure in text-to-image diffusion models seeks to remove undesired concepts while preserving overall generative capability. Localized erasure methods aim to restrict edits to the spatial region occupied by the target concept. However, we observe that suppressing a concept can unintentionally weaken semantically related neighbor concepts, reducing fidelity in fine-grained domains. We propose Neighbor-Aware Localized Concept Erasure (NLCE), a training-free framework designed to better preserve neighboring concepts while removing target concepts. It operates in three stages: (1) a spectrally-weighted embedding modulation that attenuates target concept directions while stabilizing neighbor concept representations, (2) an attention-guided spatial gate that identifies regions exhibiting residual concept activation, and (3) a spatially-gated hard erasure that eliminates remaining traces only where necessary. This neighbor-aware pipeline enables localized concept removal while maintaining the surrounding concept neighborhood structure. Experiments on fine-grained datasets (Oxford Flowers, Stanford Dogs) show that our method effectively removes target concepts while better preserving closely related categories. Additional results on celebrity identity, explicit content and artistic style demonstrate robustness and generalization to broader erasure scenarios.

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

↑