arXiv:2508.04472cs.CVcs.AI2025-08

提出新方法实现文本生成模型概念擦除的完全清除与质量保持

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

  • 引入零残差约束确保目标与锚点概念特征完全对齐
  • 分层渐进更新策略降低深层参数扰动,避免生成质量下降
  • 在实例、风格、裸露内容擦除中均表现更优,适合安全可控生成

概念擦除旨在防止预训练文本到图像模型生成与语义有害概念相关的图像,当前最先进方法将其视为优化问题:将所有目标概念与无害锚点概念对齐,并采用闭式解更新模型。尽管高效,现有方法存在两个被忽视的局限:1)复杂提示下常因“非零对齐残差”导致擦除不彻底;2)参数更新集中于少数深层,易引发生成质量下降。为此,我们提出新型闭式方法ErasePro:首先在优化目标中引入严格零残差约束,确保目标与锚点概念特征完全对齐,实现更完整的擦除;其次采用从浅到深的分层渐进更新策略,随深度增加所需参数调整量递减,减少敏感深层偏差,保留生成质量。在实例、艺术风格及裸露内容擦除等任务上,实证结果验证了ErasePro的有效性。

原文摘要 · Abstract (English)

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.

概念擦除文本生成模型安全生成质量

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。