arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2508.04472cs.CVcs.AIcs.LG
收藏

零残差概念擦除:文本到图像模型中的渐进对齐方法

Zero-Residual Concept Erasure via Progressive Alignment in Text-to-Image Model

The Hong Kong University of Science and Technology(香港科学与技术大学);University of Science and Technology of China(中国科学技术大学)

Hongxu Chen, Zhen Wang, Taoran Mei, Lin Li, Bowei Zhu, Runshi Li, Long Chen

AI总结:

针对现有闭式概念擦除方法存在残差导致擦除不完整及深层更新损害生成质量的问题,提出ErasePro方法,通过零残差约束和渐进逐层更新,实现更彻底擦除并保持生成质量。

摘要:

概念擦除旨在防止预训练的文本到图像模型生成与语义有害概念(即目标概念)相关的内容,正受到越来越多的关注。最先进的方法将此任务表述为一个优化问题:它们将所有目标概念与语义无害的锚定概念对齐,并应用闭式解来相应地更新模型。虽然这些闭式方法效率较高,但我们认为现有方法存在两个被忽视的局限性:1)由于“非零对齐残差”,它们常常导致擦除不完整,尤其是在文本提示相对复杂时。2)由于它们总是将参数更新集中在少数深层,可能会遭受生成质量下降的问题。为了解决这些问题,我们提出了一种新颖的闭式方法ErasePro:它旨在实现更完整的概念擦除,并更好地保持整体生成质量。具体来说,ErasePro首先在优化目标中引入严格的零残差约束,确保目标概念与锚定概念特征之间的完美对齐,从而实现更完整的擦除。其次,它采用渐进式的逐层更新策略,从浅层到深层逐步将目标概念特征转移为锚定概念的特征。随着深度的增加,所需的参数变化逐渐减小,从而减少敏感深层的偏差并保持生成质量。在包括实例擦除、艺术风格擦除和裸体擦除在内的不同概念擦除任务上的实证结果证明了我们ErasePro的有效性。

英文摘要:

Concept Erasure, which aims to prevent pretrained text-to-image models from generating content associated with semantic-harmful concepts (i.e., target concepts), is getting increased attention. State-of-the-art methods formulate this task as an optimization problem: they align all target concepts with semantic-harmless anchor concepts, and apply closed-form solutions to update the model accordingly. While these closed-form methods are efficient, we argue that existing methods have two overlooked limitations: 1) They often result in incomplete erasure due to "non-zero alignment residual", especially when text prompts are relatively complex. 2) They may suffer from generation quality degradation as they always concentrate parameter updates in a few deep layers. To address these issues, we propose a novel closed-form method ErasePro: it is designed for more complete concept erasure and better preserving overall generative quality. Specifically, ErasePro first introduces a strict zero-residual constraint into the optimization objective, ensuring perfect alignment between target and anchor concept features and enabling more complete erasure. Secondly, it employs a progressive, layer-wise update strategy that gradually transfers target concept features to those of the anchor concept from shallow to deep layers. As the depth increases, the required parameter changes diminish, thereby reducing deviations in sensitive deep layers and preserving generative quality. Empirical results across different concept erasure tasks (including instance, art style, and nudity erasure) have demonstrated the effectiveness of our ErasePro.

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

↑