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

HOSE:用于扩散模型中概念遗忘的分层正交子空间擦除

HOSE: Hierarchical Orthogonal Subspace Erasure for Concept Unlearning in Diffusion Models

Shanghai University(上海大学);University of Science and Technology of China(中国科学技术大学)

Xiaoqi Wei, Li Li, Kejiang Chen, Hanzhou Wu, Xinpeng Zhang

AI总结:

该研究针对扩散模型概念遗忘中干扰非目标概念、难以平衡擦除与质量的问题,提出HOSE方法,通过分层自适应正交子空间投影实现高效有害内容抑制,性能优于基线。

摘要:

文本到图像的扩散模型能够生成有害或敏感内容,如色情或暴力图像,引发了严重的安全问题。模型编辑作为一种高效方法被提出,它通过最小的参数更新修改预训练模型,以改变特定概念同时保留模型整体能力。然而,由于扩散模型中不同概念的表示相互纠缠,直接修改不可避免地会干扰非目标概念;同时,U-Net的分层异质性阻碍了统一策略平衡擦除与图像质量。为解决这些问题,我们提出分层正交子空间擦除(HOSE)方法,该方法将参数更新投影到与通用知识正交的子空间,从而消除对非目标概念的干扰。考虑到U-Net架构的分层异质性,我们进一步提出分层自适应机制,为不同层构建差异化的子空间投影,以精确适配模型的分层结构,解决统一约束中擦除与图像质量的固有权衡问题。实验结果表明,与未编辑的模型相比,所提方法将有害内容生成降低了80%;尽管不可避免地会导致一定的图像质量下降,但在质量保留方面仍优于其他基于编辑的基线方法,且在有害内容抑制与质量损失之间的权衡显著优于这些基线。值得注意的是,我们的方法比现有SOTA方法具有更高的对抗鲁棒性,表明目标概念已被更彻底地擦除。源代码可在此URL获取。

英文摘要:

Text-to-image diffusion models can generate harmful or sensitive content, such as pornographic or violent imagery, raising serious security concerns. Model editing has recently emerged as an efficient approach to mitigate this issue. It modifies pretrained models with minimal parameter updates to alter specific concepts while preserving overall model capabilities. However, due to the entangled representations of different concepts in diffusion models, direct modifications inevitably disrupt non-target concepts. Meanwhile, U-Net's hierarchical heterogeneity hinders unified strategies from balancing erasure and quality. To address these issues, we propose Hierarchical Orthogonal Subspace Erasure (HOSE). This method projects parameter updates into the subspace orthogonal to general knowledge, thereby eliminating interference with non-target concepts. Considering the hierarchical heterogeneity of the U-Net architecture, we further propose a hierarchical adaptive mechanism, constructing differentiated subspace projections for different layers to precisely adapt to the model's hierarchical structure, thereby resolving the inherent trade-off between erasure and image quality in unified constraints. Experimental results demonstrate the proposed method reduces harmful content generation by 80% compared with the unedited model. While it inevitably incurs some image quality degradation, it still outperforms other editing-based baselines in terms of quality preservation, and achieves a significantly better trade-off between harmful content suppression and quality loss than these baselines. Notably, our approach demonstrates higher adversarial robustness than existing SOTA method, indicating that the target concepts have been more thoroughly erased. The source code is publicly available at https://github.com/sevenqiiu/HOSE.

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

↑