arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2605.28902cs.AI
收藏

扩散模型的正交概念擦除

Orthogonal Concept Erasure for Diffusion Models

University of Science(科学技术大学)

Yuhao Sun, Lingyun Yu, Haoxiang Xu, Fengyuan Miao, Zhuoer Xu, Hongtao Xie

AI总结:

提出正交概念擦除(OCE)方法,通过几何视角的乘法参数更新实现精确概念擦除,同时保持生成能力,支持多概念擦除。

摘要:

概念擦除已成为减轻扩散模型中不期望或不安全内容的有前途方法,但现有方法仍面临显著限制。基于训练的方法有效,但高计算成本限制了可扩展性。基于编辑的方法更高效且易于部署,但难以同时实现精确的概念擦除和保持整体生成能力。我们将基于编辑的方法的这一核心限制归因于对加法参数更新的依赖。我们的实证分析表明,概念语义主要依赖于神经元方向而非神经元幅度,而整体生成能力依赖于神经元的角几何。由于加法更新固有地纠缠方向、幅度和角几何,它们不可避免地引入概念擦除与整体生成性能之间的意外干扰。为了解决这个问题,我们提出了正交概念擦除(OCE),它从几何角度将基于编辑的擦除重新表述为乘法参数更新。具体来说,OCE应用从参数的闭式解导出的逐层正交变换,能够在保持神经元幅度和角几何的同时实现精确的概念擦除。此外,为了解决多概念擦除中的冲突约束,OCE引入了具有结构化子空间操作的子空间级目标,实现了更有效和可扩展的擦除。在单概念和多概念擦除上的大量实验表明,OCE在概念擦除和非目标保持方面优于现有方法,可在4.3秒内擦除多达100个概念。代码:https://github.com/HansSunY/OCE。

英文摘要:

Concept erasure has emerged as a promising approach to mitigate undesired or unsafe content in diffusion models, yet existing methods still face significant limitations. While training-based methods are effective, their high computational cost limits scalability. Editing-based methods are more efficient and deployment-friendly, yet they struggle to simultaneously achieve precise concept erasure and preserve overall generative capacity. We identify this core limitation of the editing-based methods as reliance on additive parameter updates. Our empirical analysis reveals that concept semantics primarily depend on neuron direction rather than neuron magnitude, while overall generative capacity relies on the angular geometry of neurons. As additive updates inherently entangle direction, magnitude, and angular geometry, they inevitably introduce unintended interference between concept erasure and overall generation performance. To address this, we propose Orthogonal Concept Erasure (OCE), which reformulates editing-based erasure as multiplicative parameter updates from a geometric perspective. Specifically, OCE applies layer-wise orthogonal transformations derived from a closed-form solution to the parameters, enabling precise concept erasure while preserving the neuron magnitude and angular geometry. Furthermore, to address conflicting constraints in multi-concept erasure, OCE introduces a subspace-level objective with structured subspace manipulation, yielding a more effective and scalable erasure. Extensive experiments on single- and multi-concept erasure demonstrate that OCE outperforms existing methods in concept erasure and non-target preservation, erasing up to 100 concepts in 4.3 s. Code: https://github.com/HansSunY/OCE.

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

↑