arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2601.03305cs.CVcs.AIcs.CY
收藏

扩散模型中的概念擦除与概念层次

Mass Concept Erasure in Diffusion Models with Concept Hierarchy

Jiahang Tu, Ye Li, Yiming Wu, Hanbin Zhao, Chao Zhang, Hui Qian

AI总结:

本文提出了一种基于概念层次的扩散模型擦除方法,通过群体擦除和超类型保留低秩适应技术,提高擦除效率并减少生成质量退化。

摘要:

扩散模型的成功引发了对生成不安全或有害内容的担忧,促使了概念擦除方法的发展,这些方法通过微调模块来抑制特定概念,同时保持通用生成能力。然而,随着被擦除概念数量的增加,这些方法往往变得效率低下且效果不佳,因为每个概念都需要一组独立的微调参数,可能会降低整体生成质量。在本文中,我们提出了一种超类型-子类型概念层次,将被擦除的概念组织成父-子结构。每个被擦除的概念被视为一个子节点,而语义相关联的概念(例如,金刚鹦鹉和秃鹰)被归类到共享的父节点下,称为超类型概念(例如,鸟类)。而不是单独擦除概念,我们引入了一种有效且高效的群体擦除方法,通过将语义相似的概念分组并共享一组可学习的参数进行联合擦除。在擦除阶段,应用标准的扩散正则化以保持未遮蔽区域的去噪过程。为缓解因过度擦除语义相关子类型而导致的超类型生成退化,我们提出了一种新的方法,称为超类型保留低秩适应(SuPLoRA),该方法在冻结的下投影矩阵中编码超类型概念信息,并在擦除过程中仅更新上投影矩阵。理论分析展示了SuPLoRA在缓解生成性能退化方面的有效性。我们构建了一个更具挑战性的基准测试,要求同时擦除跨多个领域的概念,包括名人、物体和色情内容。

英文摘要:

The success of diffusion models has raised concerns about the generation of unsafe or harmful content, prompting concept erasure approaches that fine-tune modules to suppress specific concepts while preserving general generative capabilities. However, as the number of erased concepts grows, these methods often become inefficient and ineffective, since each concept requires a separate set of fine-tuned parameters and may degrade the overall generation quality. In this work, we propose a supertype-subtype concept hierarchy that organizes erased concepts into a parent-child structure. Each erased concept is treated as a child node, and semantically related concepts (e.g., macaw, and bald eagle) are grouped under a shared parent node, referred to as a supertype concept (e.g., bird). Rather than erasing concepts individually, we introduce an effective and efficient group-wise suppression method, where semantically similar concepts are grouped and erased jointly by sharing a single set of learnable parameters. During the erasure phase, standard diffusion regularization is applied to preserve denoising process in unmasked regions. To mitigate the degradation of supertype generation caused by excessive erasure of semantically related subtypes, we propose a novel method called Supertype-Preserving Low-Rank Adaptation (SuPLoRA), which encodes the supertype concept information in the frozen down-projection matrix and updates only the up-projection matrix during erasure. Theoretical analysis demonstrates the effectiveness of SuPLoRA in mitigating generation performance degradation. We construct a more challenging benchmark that requires simultaneous erasure of concepts across diverse domains, including celebrities, objects, and pornographic content.

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

↑